nerdexam
HashiCorpHashiCorp

TERRAFORM-ASSOCIATE-004 · Question #188

TERRAFORM-ASSOCIATE-004 Question #188: Real Exam Question with Answer & Explanation

The correct answer is A: In an HCP Terraform/Terraform Cloud variable, with the sensitive option checked.. Sensitive values such as API tokens should be stored in a secure way, either in Terraform Cloud variables marked as sensitive or in HashiCorp Vault. Storing secrets in version control systems or plaintext files is not recommended.

Submitted by diego_uy· Apr 18, 2026Work with Terraform Configurations

Question

You want to use API tokens and other secrets within your team's Terraform workspaces. Where does HashiCorp recommend you store these sensitive values? (Pick the 3 correct responses)

Options

  • AIn an HCP Terraform/Terraform Cloud variable, with the sensitive option checked.
  • BIn HashiCorp Vault.
  • CIn a terraform.tfvars file, securely managed and shared with your team.
  • DIn a terraform.tfvars file, checked into your version control system.
  • EIn a plaintext document on a shared drive.

Explanation

Sensitive values such as API tokens should be stored in a secure way, either in Terraform Cloud variables marked as sensitive or in HashiCorp Vault. Storing secrets in version control systems or plaintext files is not recommended.

Topics

#Secrets Management#Sensitive Variables#Terraform Cloud#HashiCorp Vault

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-004 PracticeBrowse All TERRAFORM-ASSOCIATE-004 Questions