HashiCorp Certified: Terraform Associate — Question 31

You should store secret data in the same version control repository as your Terraform configuration.

Answer options

Correct answer: B

Explanation

The correct answer is B because storing secret data in the same version control repository poses a security risk, as it may expose sensitive information to unauthorized users. Keeping secrets separate from your configuration helps ensure better security practices and reduces the risk of accidental leaks.