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

You just scaled your VM infrastructure and realized you set the count variable to the wrong value. You correct the value and save your change.

What do you do next to make your infrastructure match your configuration?

    Correct Answer: A

    To ensure your VM infrastructure matches your updated configuration after correcting the count variable, you should run an apply and confirm the planned changes. Running 'terraform apply' will apply the changes in your configuration to your infrastructure, thus making them consistent with each other. Neither inspecting the state file, reinitializing, nor inspecting outputs will directly apply the necessary changes to the infrastructure.

Discussion
vitasacOption: A

I'm aggree it's A

RVivekOption: A

A-- is required to deploy the the changed count B- Not required C-- checked in my Lab for the count change it worked with out init D Not required

EltoothOption: A

A is correct answer : apply You need your deployment to match your config, so only way to implement changes is through terraform apply.

nez15Option: A

Not sure why D. Should be A

SunraykOption: A

It should be A as the plan will show you what will change and then you can confirm the apply

Sunrayk

Actually no, it should be C as the config has changed. https://www.terraform.io/cli/commands/init

vikramvlr

initialize is used to refer the plug-ins

leonelferrariOption: A

A is correct

ParthasarathiOption: C

It should be C as the configuration file is changed

Maaran07

Configuration change don't require init

090200fOption: A

A: run an apply is correct ans

Power123Option: A

A is correct

stalk98Option: A

A is the answer

wangchungOption: A

D? Its like throughout all these questions for this exam the answers are often not just wrong, but the obvious wrong one. A