
HashiCorp Certified:Terraform Associate
Domain 4Objective 8
4h Understand Best Practices for Managing Sensitive Data, Including Secrets Management with Vault TERRAFORM-ASSOCIATE-004 Practice Questions (Page 12)
Part of the Terraform configuration domain, which makes up ~22% of our current practice bank. HashiCorp does not publish an official question count, but from its 60-minute exam (~25–40 total, ~6–9 in this domain), expect 1–1 from this objective — we provide 76 practice questions to prepare you well beyond it. (estimate)
76questions here
16free pages
36concepts
Questions 56–60
- 56
A DevOps engineer is configuring Terraform to read a database password from HashiCorp Vault. The Vault server requires TLS client authentication, and the engineer wants to ensure that only the Terraform service account can read the secret. The engineer has already created a Vault token for Terraform. Which configuration approach should the engineer use?
Select an answer first - 57
In a Terraform configuration, which Vault secret engine is used to generate short-lived credentials for a database, reducing the risk of long-lived static passwords?
Select an answer first - 58
A Terraform configuration fails to apply because a Vault data source cannot read a secret. The team needs to troubleshoot the issue. They have enabled TF_LOG=TRACE to capture logs. What should they do to troubleshoot without exposing the secret values?
Select an answer first - 59
A team wants to test a Terraform configuration that uses Vault secrets in a CI/CD pipeline. They want to avoid using production secrets in tests. What is the best approach?
Select an answer first - 60
A team is writing documentation for a Terraform module that uses Vault secrets. What is the best practice for documenting the configuration without exposing secrets?
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.