Your security team scanned some Terraform workspaces and found secrets stored in plaintext in state files.
How can you protect that data?
A . Edit your state file to scrub out the sensitive data
B . Always store your secrets in a secrets.tfvars file
C . Delete the state file every time you run Terraform
D . Store the state in an encrypted backend
Answer: D
Explanation:
This is a secure way to protect sensitive data in the state file, as it will be encrypted at rest and in transit2. The other options are not recommended, as they could lead to data loss, errors, or security breaches.
Latest Terraform Associate 003 Dumps Valid Version with 141 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund