ExamGecko
Question list
Search
Search

Question 111 - Terraform Associate 003 discussion

Report
Export

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
Answers
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
Answers
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
Answers
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
Answers
D.
Write Terraform configuration, run terraform plan to initialize the working directory or workspace, and terraform apply to create the infrastructure
Suggested answer: A

Explanation:

This is the workflow for deploying new infrastructure with Terraform, as it will create a plan and apply it to the target environment. The other options are either incorrect or incomplete.

asked 18/09/2024
MIGUEL FERNANDEZ
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first