exam questions

Exam Terraform Associate All Questions

View all questions & answers for the Terraform Associate exam

Exam Terraform Associate topic 1 question 111 discussion

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

You just upgraded the version of a provider in an existing Terraform project. What do you need to do to install the new provider?

  • A. Run terraform apply -upgrade
  • B. Run terraform init -upgrade
  • C. Run terraform refresh
  • D. Upgrade your version of Terraform
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Hizumi
Highly Voted 2 years ago
Answer is B. [-upgrade] - Opt to upgrade modules and plugins as part of their respective installation steps. See the sections below for more details. Reference: https://www.terraform.io/cli/commands/init#upgrade
upvoted 16 times
...
Prince_devops
Most Recent 7 months, 3 weeks ago
Selected Answer: B
Answer is B
upvoted 1 times
...
Tyler2023
10 months, 2 weeks ago
https://developer.hashicorp.com/terraform/tutorials/configuration-language/provider-versioning#upgrade-the-aws-provider-version
upvoted 1 times
...
IK912
1 year, 2 months ago
its B, I tried this
upvoted 1 times
...
Ni33
1 year, 4 months ago
Selected Answer: B
BBBBBBBB
upvoted 1 times
...
srcntpc
1 year, 8 months ago
Selected Answer: B
Answer is B.
upvoted 1 times
...
hectordj
1 year, 10 months ago
Selected Answer: B
Answer is B.
upvoted 1 times
...
Bortoloto
1 year, 11 months ago
Selected Answer: B
Answer is B.
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago