nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-003 · Question #181

Terraform encrypts sensitive values stored in your state file.

The correct answer is B. False. Terraform state files are not automatically encrypted by default. Sensitive values are stored in plaintext within the state file. However, you can protect the state file by using remote backends that support encryption, such as AWS S3 with server-side encryption enabled or…

Implement and maintain state

Question

Terraform encrypts sensitive values stored in your state file.

Options

  • ATrue
  • BFalse

How the community answered

(23 responses)
  • A
    17% (4)
  • B
    83% (19)

Explanation

Terraform state files are not automatically encrypted by default. Sensitive values are stored in plaintext within the state file. However, you can protect the state file by using remote backends that support encryption, such as AWS S3 with server-side encryption enabled or Terraform Cloud, which offers encrypted state storage.

Topics

#state file security#sensitive data#state encryption#secrets management

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-003 Practice