ExamGecko
Question list
Search
Search

Question 68 - Terraform Associate 003 discussion

Report
Export

Which two steps are required to provision new infrastructure in the Terraform workflow? Choose two correct answers.

A.
Plan
Answers
A.
Plan
B.
Import
Answers
B.
Import
C.
Alidate
Answers
C.
Alidate
D.
Init
Answers
D.
Init
E.
apply
Answers
E.
apply
Suggested answer: D, E

Explanation:

The two steps that are required to provision new infrastructure in the Terraform workflow areinitandapply. Theterraform initcommand initializes a working directory containing Terraform configuration files. It downloads and installs the provider plugins that are needed for the configuration, and prepares the backend for storing the state. Theterraform applycommand applies the changes required to reach the desired state of the configuration, as described by the resource definitions in the configuration files. It shows a plan of the proposed changes and asks for confirmation before making any changes to the infrastructure.Reference= [The Core Terraform Workflow], [Initialize a Terraform working directory with init], [Apply Terraform Configuration with apply]

asked 18/09/2024
Carlos John Ricafort
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first