nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-003 · Question #253

When you use a backend that requires authentication, it is best practice to:

The correct answer is C. Use environment variables to configure authentication credentials outside of your Terraform. Credentials should not be hardcoded in Terraform files. Best practice is to configure them via environment variables or secret managers. Exam Questions, Study Guides, Practice Tests. Lead the way to help you pass any IT Certification exams, 100% Pass Guaranteed or Full Refund…

Implement and Maintain State

Question

When you use a backend that requires authentication, it is best practice to:

Options

  • ARun all Terraform commands on a shared server or container.
  • BConfigure the authentication credentials in your Terraform configuration files, and store them in
  • CUse environment variables to configure authentication credentials outside of your Terraform
  • DNone of the above.

How the community answered

(50 responses)
  • A
    8% (4)
  • B
    14% (7)
  • C
    76% (38)
  • D
    2% (1)

Explanation

Credentials should not be hardcoded in Terraform files. Best practice is to configure them via environment variables or secret managers. Exam Questions, Study Guides, Practice Tests. Lead the way to help you pass any IT Certification exams, 100% Pass Guaranteed or Full Refund. Especially Cisco, Microsoft, CompTIA, Citrix, EMC, HP, Oracle, VMware, Juniper, Check Point, LPI, Nortel, EXIN and so on. Our Slogan: First Test, First Pass. Help you to pass any IT Certification exams at the first try. You can reach us at any of the email addresses listed below. Any problems about IT certification or our products, you could rely upon us, we will give you satisfactory answers in 24 hours.

Topics

#backend authentication#environment variables#credentials management#security best practices

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-003 Practice