Which two steps are required to provision new infrastructure in the Terraform workflow? (Choose two.)
Which two steps are required to provision new infrastructure in the Terraform workflow? (Choose two.)
To provision new infrastructure in the Terraform workflow, two essential steps are required: 'Init' and 'Apply.' First, the 'Init' step initializes a new or existing Terraform working directory by installing necessary provider plugins and setting up state backends. Then, the 'Apply' step takes the Terraform configuration files and applies the changes to create or modify resources according to the defined specifications. Other operations such as 'Destroy,' 'Import,' and 'Validate' are not fundamental steps in the provisioning process but serve different roles within the Terraform lifecycle.
Glad to see most popular answer and examtopics answer agree!! :) B&D
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.
Options B and D are correct.
B and D are correct answers.
b and d
BD for sure
required sure init first & apply later BD is correct
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.
b and d sounds logical
Definitely BD
B and D
B and D
B & D - init and apply
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.
B , D right
Obviously, plan can be skipped.
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