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 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 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
enook
10 months, 3 weeks ago
Selected Answer: BD
BD for sure
upvoted 2 times
...
hungran91
1 year, 4 months ago
Selected Answer: BD
Definitely BD
upvoted 1 times
...
Jlee7
1 year, 5 months ago
Glad to see most popular answer and examtopics answer agree!! :) B&D
upvoted 3 times
...
karendavtyan
1 year, 6 months ago
Selected Answer: BD
B and D
upvoted 1 times
...
Ni33
1 year, 6 months ago
Selected Answer: BD
B and D
upvoted 1 times
...
connecttozee
1 year, 7 months ago
required sure init first & apply later BD is correct
upvoted 2 times
...
Power123
1 year, 7 months ago
B & D - init and apply
upvoted 1 times
...
Nunyabiznes
1 year, 8 months 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 3 times
...
Bilalglg93350
1 year, 8 months 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 year, 9 months 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 year, 9 months ago
B , D right
upvoted 1 times
...
FarziWaliMarzi
1 year, 11 months ago
Selected Answer: BD
Obviously, plan can be skipped.
upvoted 1 times
...
RVivek
2 years, 2 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
2 years, 4 months ago
Selected Answer: BD
Options B and D are correct.
upvoted 3 times
...
Eltooth
2 years, 5 months ago
Selected Answer: BD
B and D are correct answers.
upvoted 3 times
...
BlackZeros
2 years, 5 months ago
Selected Answer: BD
b and d sounds logical
upvoted 2 times
...
javibadillo
2 years, 5 months ago
Selected Answer: BD
b and d
upvoted 3 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 ...