
HashiCorp Certified:Terraform Associate
Domain 6Objective 3
6c Configure Remote State Using the Backend Block TERRAFORM-ASSOCIATE-004 Practice Questions (Page 2)
Part of the Terraform state management domain, which makes up ~10% of our current practice bank. HashiCorp does not publish an official question count, but from its 60-minute exam (~25–40 total, ~3–4 in this domain), expect 1–1 from this objective — we provide 28 practice questions to prepare you well beyond it. (estimate)
28questions here
6free pages
8concepts
Questions 6–10
- 6
A team uses the GCS backend for Terraform state. They want to authenticate using a service account key file. Which environment variable should they set before running `terraform init`?
Select an answer first - 7
A team is migrating from an S3 backend to an AzureRM backend. They have updated the backend block and run `terraform init -migrate-state`. The migration succeeds, but they notice that the local state file still exists. What should they do?
Select an answer first - 8
A team uses the S3 backend. They have configured the backend block with `bucket`, `key`, and `region`. They have also set the `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` environment variables. However, `terraform init` fails with an authentication error. What is the most likely cause?
Select an answer first - 9
What must you do after modifying the backend block to change remote state storage?
Select an answer first - 10
A team uses the GCS backend. They have set the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to point to a service account key file. However, `terraform init` fails with a permissions error. What is the most likely cause?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by HashiCorp. “TERRAFORM-ASSOCIATE-004” is a trademark of its owner, used for identification only.