exam questions

Exam Terraform Associate All Questions

View all questions & answers for the Terraform Associate exam

Exam Terraform Associate topic 1 question 306 discussion

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

What is the workflow for deploying new infrastructure with Terraform?

  • A. Write Terraform configuration, run terraform init to initialize the working directory or workspace, and run terraform apply
  • B. Write Terraform configuration, run terraform show to view proposed changes, and terraform apply to create new infrastructure
  • C. Write Terraform configuration, run terraform apply to create infrastructure, use terraform validate to confirm Terraform deployed resources correctly
  • D. Write Terraform configuration, run terraform plan to initialize the working directory or workspace, and terraform apply to create the infrastructure
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Coursesh1
3 weeks, 6 days ago
terraform init choose (A)
upvoted 2 times
...
Ramdi1
1 month ago
Selected Answer: A
After writing the config you need to run terraform init so it can download plugins etc. Terraform plan is optional. Hence A is the only correct answer.
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago