In HCL, which meta-argument creates multiple instances of a resource indexed by strings rather than integers?
Terraformpro Hcl Category
Question · Easy
Which block in Terraform 1.5+ declaratively imports existing infrastructure into state during plan and apply?
Question · Medium
A team renames a module instance from module.network to module.vpc without destroying resources. Which construct should they use?
Terraformpro Refactoring Category
Tech Exam Prep Podcast
Listen on Spotify
Podcast
Which Terraform backend supports built-in state locking without any extra configuration?
Terraformpro State Category
What is the purpose of the sensitive = true argument on a variable?
Which feature in HCP Terraform (Terraform Cloud) lets you enforce custom organizational policies during plan?
Terraformpro Policy Category
Which Sentinel enforcement level allows an HCP Terraform admin to override a policy failure?
Question · Hard
Which Terraform command moves a resource to a new address in the state without re-creating it?
Which block allows assertions during plan or apply without defining a resource?
Which Terraform workflow stage does Sentinel policy checking run in (HCP Terraform)?
In HCL, which syntax defines a dynamic block to generate repeated nested configuration?
Which statement describes the recommended Terraform module structure?
Terraformpro Modules Category
Which version constraint format is recommended for published modules?
Which Terraform function conditionally returns one of two values?
Which property in an S3 backend configuration enables state locking?
Which configuration enables HCP Terraform's dynamic provider credentials for AWS using workload identity?
Terraformpro Cloud Category
Which HCP Terraform workspace type runs on its own agent in a customer network?
Which function converts a list to a set to use with for_each?
Which block type removes a resource from management without destroying the real infrastructure?
Which is a valid use case for a provider block inside a module?
Which Terraform command verifies the syntax of configuration files?
Terraformpro Cli Category
Which construct supports optional object attributes with default values?
Which configuration prevents accidental destruction of a production resource?
Which Terraform workspace strategy supports strong isolation between environments?
Which HCP Terraform feature monitors for state drift (resources changed outside Terraform)?
Which function iterates over a collection to produce a list or map expression?
Which statement about the terraform test command is correct?
Which Terraform CLI flag outputs the plan in machine-readable JSON?
Which best practice applies to storing Terraform state?
Which meta-argument controls how Terraform handles resource replacement?
Which HCP Terraform feature lets you run external webhooks/custom checks during the plan pipeline?
Which command encrypts the local state file at rest?
Which output argument prevents module outputs from being shown in plan/apply logs?
Which Sentinel import provides access to the planned resource changes?
Which CI integration pattern uses plan output comments and manual apply approval for pull requests?
Terraformpro Cicd Category
Which provider feature lets modules define compatibility with provider versions?
Which approach refactors a monolithic configuration into reusable modules?
Which HCP Terraform feature triggers one workspace after another completes?
Which HCL feature lets you define reusable named values locally in a module?
Which statement about Terraform state files is true?
Which syntax uses the splat operator in HCL?
Which file format can provide variable values externally?
Which is a potential drawback of using count with resource instances?
Which HashiCorp tool natively integrates with Terraform to provide dynamic secrets?
Terraformpro Secrets Category
Which is the purpose of the terraform init command?
Which file locks provider versions so future runs use the same providers?
Which is true about the terraform plan -refresh-only flag?
Loading more…