HashiCorp Terraform Associate 003 Practice Exams
Last updated on Apr 07,2025- Exam Code: Terraform Associate 003
- Exam Name: HashiCorp Certified: Terraform Associate (003)
- Certification Provider: HashiCorp
- Latest update: Apr 07,2025
When using a remote backend or terraform Cloud integration, where does Terraform save resource sate?
- A . In an environment variable
- B . On the disk
- C . In the remote backend or Terraform Cloud
- D . In memory
Which of these statements about Terraform Cloud workspaces is false?
- A . They have role-based access controls
- B . You must use the CLI to switch between workspaces
- C . Plans and applies can be triggered via version control system integrations
- D . They can securely store cloud credentials
What are some benefits of using Sentinel with Terraform Cloud/Terra form Cloud? Choose three correct answers.
- A . You can enforce a list of approved AWS AMIs
- B . Policy-as-code can enforce security best practices
- C . You can check out and check in cloud access keys
- D . You can restrict specific resource configurations, such as disallowing the use of CIDR=0.0.0.0/0.
- E . Sentinel Policies can be written in HashiCorp Configuration Language (HCL)
Which of these are features of Terraform Cloud? Choose two correct answers.
- A . A web-based user interface (Ul)
- B . Automated infrastructure deployment visualization
- C . Automatic backups
- D . Remote state storage
Where in your Terraform configuration do you specify a state backend?
- A . The resource block
- B . The data source block
- C . The terraform block
- D . The provider block
What feature stops multiple users from operating on the Terraform state at the same time?
- A . State locking
- B . Version control
- C . Provider constraints
- D . Remote backends
You can reference a resource created with for_each using a Splat ( *) expression.
- A . True
- B . False
You should run terraform fnt to rewrite all Terraform configurations within the current working directory to conform to Terraform-style conventions.
- A . True
- B . False
Which type of block fetches or computes information for use elsewhere in a Terraform configuration?
- A . data
- B . local
- C . resource
- D . provider
Define the purpose of state in Terraform.
- A . State maps real world resources to your configuration and keeps track of metadata
- B . State lets you enforce resource configurations that relate to compliance policies
- C . State stores variables and lets you quickly reuse existing code
- D . State codifies the dependencies of related resources