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 113 discussion

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

When you use a remote backend that needs authentication, HashiCorp recommends that you:

  • A. Use partial configuration to load the authentication credentials outside of the Terraform code
  • B. Push your Terraform configuration to an encrypted git repository
  • C. Write the authentication credentials in the Terraform configuration files
  • D. Keep the Terraform configuration files in a secret store
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Hizumi
Highly Voted 2 years, 2 months ago
Answer is A. Note: We recommend omitting the token from the configuration, and instead using terraform login or manually configuring credentials in the CLI config file. Reference: https://www.terraform.io/language/settings/backends/remote
upvoted 8 times
...
Mattt
Most Recent 2 months, 1 week ago
Selected Answer: A
Answer is A
upvoted 1 times
...
Bere
12 months ago
Selected Answer: A
Answer is A This means that you should use environment variables to store these credentials. The partial configuration does not include sensitive data in the file but relies on environment variables that Terraform automatically detects. Credentials and Sensitive Data https://developer.hashicorp.com/terraform/language/settings/backends/configuration#credentials-and-sensitive-data Warning: We recommend using environment variables to supply credentials and other sensitive data. If you use -backend-config or hardcode these values directly in your configuration, Terraform will include these values in both the .terraform subdirectory and in plan files. This can leak sensitive credentials.
upvoted 4 times
...
Tyler2023
1 year ago
Partial Configuration You do not need to specify every required argument in the backend configuration. Omitting certain arguments may be desirable if some arguments are provided automatically by an automation script running Terraform. When some or all of the arguments are omitted, we call this a partial configuration. With a partial configuration, the remaining configuration arguments must be provided as part of the initialization process. https://developer.hashicorp.com/terraform/language/settings/backends/configuration#partial-configuration
upvoted 1 times
Tyler2023
1 year ago
Answer is A
upvoted 1 times
...
...
cruz95
1 year, 2 months ago
Selected Answer: A
definitely
upvoted 1 times
...
camps
1 year, 7 months ago
Selected Answer: A
it's a
upvoted 1 times
...
legendary7
2 years, 1 month ago
A is the correct answer
upvoted 2 times
...
RVivek
2 years, 2 months ago
Selected Answer: A
https://www.terraform.io/language/settings/backends/configuration#credentials-and-sensitive-data
upvoted 2 times
...
jjkcoins
2 years, 2 months ago
https://www.terraform.io/language/settings/backends/configuration#credentials-and-sensitive-data
upvoted 3 times
...
jjkcoins
2 years, 2 months ago
Warning: We recommend using environment variables to supply credentials and other sensitive data. If you use -backend-config or hardcode these values directly in your configuration, Terraform will include these values in both the .terraform subdirectory and in plan files. This can leak sensitive credentials.
upvoted 3 times
...
hkacholiya
2 years, 2 months ago
Answer is A
upvoted 1 times
...
shopkitty
2 years, 2 months ago
Selected Answer: A
vote for A
upvoted 1 times
...
Burakko
2 years, 2 months ago
Selected Answer: A
It should be A.
upvoted 3 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 ...