nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-003 · Question #9

As a member of an operations team that uses infrastructure as code (lac) practices, you are tasked with making a change to an infrastructure stack running in a public cloud. Which pattern would…

The correct answer is E. Submit a pull request and wait for an approved merge of the proposed changes. You do not need to use different Terraform commands depending on the cloud provider you use. Terraform commands are consistent across different providers, as they operate on the Terraform configuration files and state files, not on the provider APIs directly.

Tools for Test Analysts

Question

As a member of an operations team that uses infrastructure as code (lac) practices, you are tasked with making a change to an infrastructure stack running in a public cloud. Which pattern would follow laC best practices for making a change?

Options

  • AMake the change via the public cloud API endpoint
  • BClone the repository containing your infrastructure code and then run the code
  • CUse the public cloud console to make the change after a database record has been approved
  • DMake the change programmatically via the public cloud CLI
  • ESubmit a pull request and wait for an approved merge of the proposed changes

How the community answered

(21 responses)
  • A
    5% (1)
  • C
    10% (2)
  • D
    14% (3)
  • E
    71% (15)

Explanation

You do not need to use different Terraform commands depending on the cloud provider you use. Terraform commands are consistent across different providers, as they operate on the Terraform configuration files and state files, not on the provider APIs directly.

Topics

#Infrastructure as Code#GitOps#pull request workflow#IaC best practices

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-003 Practice