
HashiCorp Certified:Terraform Associate
Domain 6Objective 3
6c Configure Remote State Using the Backend Block TERRAFORM-ASSOCIATE-004 Practice Questions (Page 4)
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 16–20
- 16
When you run `terraform init` with a remote backend and there is existing local state, what does Terraform do?
Select an answer first - 17
A team is migrating from local state to an S3 backend. They have added the following backend block to their configuration: ```hcl terraform { backend "s3" { bucket = "my-tf-state" key = "prod/network/terraform.tfstate" region = "us-east-1" } } ``` After running `terraform init`, they notice that the existing local state file was not copied to S3. What is the most likely reason?
Select an answer first - 18
Which environment variable is commonly used to provide AWS credentials to the S3 backend?
Select an answer first - 19
A company is using the AzureRM backend. They want to ensure that concurrent Terraform runs do not corrupt the state. What must they configure in the backend block?
Select an answer first - 20
Which command-line option is used to provide a backend configuration file during initialization?
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.