Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Terraform Associate All Questions

View all questions & answers for the Terraform Associate exam

Exam Terraform Associate topic 1 question 230 discussion

Actual exam question from HashiCorp's Terraform Associate
Question #: 230
Topic #: 1
[All Terraform Associate Questions]

You want to share Terraform state with your team, store it securely, and provide state locking.

How would you do this? (Choose three.)

  • A. Using the remote Terraform backend with Terraform Cloud / Terraform Enterprise.
  • B. Using the local backend.
  • C. Using the s3 terraform backend. The dynamodb_field option is not needed.
  • D. Using an s3 terraform backend with an appropriate IAM policy and dynamodb_field option configured.
  • E. Using the consul Terraform backend.
Show Suggested Answer Hide Answer
Suggested Answer: ADE 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Oleg_gol
1 year, 6 months ago
Selected Answer: ADE
The correct answers are A, D, and E
upvoted 1 times
...
Nunyabiznes
1 year, 7 months ago
Selected Answer: ADE
It is not C because without dynamo_db enabled, it does not provide state locking
upvoted 1 times
...
tbhtp
1 year, 7 months ago
Selected Answer: ADE
A. Using the remote Terraform backend with Terraform Cloud / Terraform Enterprise. D. Using an s3 terraform backend with an appropriate IAM policy and dynamodb_field option configured. E. Using the consul Terraform backend. To share Terraform state with your team, store it securely, and provide state locking, you can use the following options: A. Remote Terraform backend with Terraform Cloud or Terraform Enterprise provides state storage, versioning, locking, and integration with workspaces. D. An S3 backend with an appropriate IAM policy and the dynamodb_field option configured allows you to store your state file in an S3 bucket and use DynamoDB for state locking. E. The Consul Terraform backend enables you to store the state file in Consul, a distributed key-value store, and provides state locking as well.
upvoted 2 times
...
camps
1 year, 7 months ago
Selected Answer: ADE
A. Using the remote Terraform backend with Terraform Cloud / Terraform Enterprise. This option allows you to store your Terraform state file securely in a managed service provided by HashiCorp. Terraform Cloud and Terraform Enterprise offer additional features such as access controls, remote execution, and collaboration tools. D. Using an s3 terraform backend with an appropriate IAM policy and dynamodb_field option configured. This option enables you to store your Terraform state file in an Amazon S3 bucket, which provides secure storage with access controls. By configuring an appropriate IAM policy, you can ensure that only authorized users and services can access the state file. Additionally, using the dynamodb_field option allows you to enable state file locking with Amazon DynamoDB, preventing multiple users from concurrently modifying the state. E. Using the consul Terraform backend. This option allows you to store your Terraform state file in a Consul cluster, a distributed key-value store. Consul provides features like access control lists (ACLs) and TLS encryption to help you secure your state file.
upvoted 3 times
...
hahano
1 year, 7 months ago
Selected Answer: ACE
Dynamo DB flag? I don't think so.
upvoted 1 times
oskarq
1 year, 7 months ago
https://developer.hashicorp.com/terraform/language/settings/backends/s3 flag needs to be enabled
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...