Exam Terraform Associate All QuestionsBrowse all questions from this exam
Question 45

Only the user that generated a plan may apply it.

    Correct Answer: B

    The statement is false. The user who generated a plan is not the only one who may apply it. In Terraform, for instance, a plan can be saved to a file and any user with appropriate permissions can apply that plan. This facilitates collaboration among team members, as one member can generate the plan and another can apply it.

Discussion
Jaro3000

I suppose they do it by purpose so we discuss it

kopper2019

this made me laugh :)

vibzr2023

you made my day :)

yuvifoseOption: B

B is correct, a plan can be stored as a file and another person can execute the plan file

BereOption: B

For example, in a continuous deployment pipeline, one job might run terraform plan -out=plan.out to generate the plan, and this plan could be applied later in a separate job (potentially triggered manually for additional control) using terraform apply plan.out. These jobs might be run under different user accounts, or even on different machines. As described here: https://developer.hashicorp.com/terraform/tutorials/automation/automate-terraform?utm_source=WEBSITE&utm_medium=WEB_IO&utm_offer=ARTICLE_PAGE&utm_content=DOCS Steps 1, 2 and 4 can be carried out using the familiar Terraform CLI commands, with some additional options: terraform init -input=false to initialize the working directory. terraform plan -out=tfplan -input=false to create a plan and save it to the local file tfplan. terraform apply -input=false tfplan to apply the plan stored in the file tfplan.

biscuithammerOption: B

It should be B

ItaloVinodiOption: B

A lot of question are wrong here, in this case is B: False

IpergortaOption: B

B: False

chael88Option: B

B. False Somebody else can apply the plan via Terraform Cloud. I have tested this.

sahara99Option: B

B is correct

EltoothOption: B

B is correct answer.

fsdgrtsdfcjmuOption: B

It looks like 50% of provided answers here are wrong, should be false

tfdestroyOption: B

B. False Terraform does not restrict who can apply a generated plan based on who created it. As long as the person applying the plan has appropriate permissions to modify the resources in question, they should be able to apply the plan. This means that multiple team members can collaborate on Terraform configurations and one person's plan can be applied by someone else. However, it's important to note that good practices might involve controlling who has the necessary permissions to apply changes, especially in production environments, to ensure that changes are reviewed and approved before being applied.

junk4shareOption: B

b is the answer

kiran15789Option: A

aws_instance.example[*].id is a valid

Ni33Option: B

B is the answer

Power123Option: B

B is correct

wimarshaOption: B

Someone can run an apply without plan also. So B is the correct answer.

Ahmad_TerraformOption: B

B is correct ,,