Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Exam Terraform Associate topic 1 question 23 discussion

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

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

  • A. Destroy
  • B. Apply
  • C. Import
  • D. Init
  • E. Validate
Show Suggested Answer Hide Answer
Suggested Answer: BD ūüó≥ÔłŹ
Reference:
https://www.terraform.io/guides/core-workflow.html

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nunyabiznes
6 days, 2 hours ago
Selected Answer: BD
The two steps required to provision new infrastructure in the Terraform workflow are: B. Apply: This step applies the changes to the infrastructure by creating or modifying resources in accordance with the configuration described in the Terraform code. D. Init: This step initializes a new or existing Terraform working directory by downloading and installing any required providers and modules, as well as setting up the backend. The other options are: A. Destroy: This step destroys the resources that are managed by Terraform in the specified configuration. C. Import: This step allows the user to import existing infrastructure into Terraform's state. E. Validate: This step checks the syntax and validity of the Terraform configuration files without actually creating or modifying any resources.
upvoted 1 times
...
Bilalglg93350
1 week, 3 days ago
The two required steps to provision new infrastructure in the Terraform workflow are: B. Apply - This step applies the changes to the infrastructure by creating, modifying, or deleting resources based on the Terraform configuration. D. Init - This step initializes a new or existing Terraform configuration by downloading the required provider plugins and setting up the backend to store the state of the infrastructure. Options A, C, and E are not required steps to provision new infrastructure in the Terraform workflow: Destroy (option A) is used to destroy the resources created by the Terraform configuration, which is not required to provision new infrastructure. Import (option C) is used to import an existing infrastructure resource into the Terraform state, which is not a required step to provision new infrastructure. Validate (option E) is used to validate the syntax and structure of the Terraform configuration but is not a required step to provision new infrastructure.
upvoted 2 times
...
SilentMilli
1 month, 1 week ago
Selected Answer: BD
The Terraform workflow consists of several steps for provisioning new infrastructure. The two steps that are required to provision new infrastructure in the Terraform workflow are: B. Apply: The "terraform apply" command is used to provision new infrastructure. This command takes the Terraform configuration files as input and creates or updates the resources specified in the configuration files. D. Init: The "terraform init" command is used to initialize a Terraform configuration directory. This command must be run before running the "terraform apply" command to ensure that the required Terraform modules and plugins are installed and available. Note that other steps in the Terraform workflow, such as "terraform destroy" or "terraform import," may also be used depending on your specific needs and the nature of your infrastructure. However, the "terraform apply" and "terraform init" commands are the two steps that are required to provision new infrastructure in the Terraform workflow.
upvoted 1 times
...
awsguys
1 month, 3 weeks ago
B , D right
upvoted 1 times
...
FarziWaliMarzi
3 months, 1 week ago
Selected Answer: BD
Obviously, plan can be skipped.
upvoted 1 times
...
RVivek
6 months ago
Selected Answer: BD
A- is to destrory C- is to import an existng resource that was manually created . The question is about provisioning a new resource E - is sjust to valaidate the command structure
upvoted 1 times
...
cjig
8 months ago
Selected Answer: BD
Options B and D are correct.
upvoted 3 times
...
Eltooth
9 months ago
Selected Answer: BD
B and D are correct answers.
upvoted 3 times
...
BlackZeros
9 months ago
Selected Answer: BD
b and d sounds logical
upvoted 2 times
...
javibadillo
9 months, 2 weeks ago
Selected Answer: BD
b and d
upvoted 3 times
...
softarts
10 months, 1 week ago
D and B
upvoted 4 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 ...