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 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 2 years, 6 months ago
Selected Answer: A
I'm aggree it's A
upvoted 12 times
...
090200f
Most Recent 4 months, 1 week ago
A: run an apply is correct ans
upvoted 1 times
...
Power123
1 year, 7 months ago
A is correct
upvoted 1 times
...
RVivek
2 years, 1 month 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 4 times
...
Eltooth
2 years, 4 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 4 times
...
leonelferrari
2 years, 5 months ago
A is correct
upvoted 2 times
...
stalk98
2 years, 5 months ago
A is the answer
upvoted 1 times
...
wangchung
2 years, 6 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
2 years, 6 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
2 years, 6 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, 11 months ago
initialize is used to refer the plug-ins
upvoted 1 times
...
...
...
Parthasarathi
2 years, 6 months ago
Selected Answer: C
It should be C as the configuration file is changed
upvoted 2 times
Maaran07
2 years, 6 months ago
Configuration change don't require init
upvoted 3 times
...
...
nez15
2 years, 6 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 ...