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 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 (?) , you can switch to a simple comment.
Switch to a voting comment New
Coursesh1
11 months, 4 weeks ago
terraform init choose (A)
upvoted 2 times
...
Ramdi1
12 months 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 ...