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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam Terraform Associate topic 1 question 86 discussion

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

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?

  • A. Run an apply and confirm the planned changes
  • B. Inspect your Terraform state because you want to change it
  • C. Reinitialize because your configuration has changed
  • D. Inspect all Terraform outputs to make sure they are correct
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
vitasac
Highly Voted 1 year, 11 months ago
Selected Answer: A
I'm aggree it's A
upvoted 12 times
...
Power123
Most Recent 1 year ago
A is correct
upvoted 1 times
...
RVivek
1 year, 7 months ago
Selected Answer: 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
upvoted 3 times
...
Eltooth
1 year, 10 months ago
Selected Answer: A
A is correct answer : apply You need your deployment to match your config, so only way to implement changes is through terraform apply.
upvoted 3 times
...
leonelferrari
1 year, 10 months ago
A is correct
upvoted 2 times
...
stalk98
1 year, 10 months ago
A is the answer
upvoted 1 times
...
wangchung
1 year, 11 months ago
D? Its like throughout all these questions for this exam the answers are often not just wrong, but the obvious wrong one. A
upvoted 1 times
...
Sunrayk
1 year, 11 months ago
It should be A as the plan will show you what will change and then you can confirm the apply
upvoted 3 times
Sunrayk
1 year, 11 months ago
Actually no, it should be C as the config has changed. https://www.terraform.io/cli/commands/init
upvoted 1 times
vikramvlr
1 year, 4 months ago
initialize is used to refer the plug-ins
upvoted 1 times
...
...
...
Parthasarathi
1 year, 11 months ago
Selected Answer: C
It should be C as the configuration file is changed
upvoted 2 times
Maaran07
1 year, 11 months ago
Configuration change don't require init
upvoted 3 times
...
...
nez15
1 year, 12 months ago
Selected Answer: A
Not sure why D. Should be A
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 ...