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 166 discussion

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

Changing the Terraform backend from the default "local" backend to a different one after doing your first terraform apply is:

  • A. Mandatory
  • B. Optional
  • C. Impossible
  • D. Discouraged
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
szyszka
1 year, 8 months ago
I think most of you misread the question. It is not about requirement of running terraform apply it is about whether it is possible to change backend after first apply command.
upvoted 1 times
Paul_white
1 year, 3 months ago
SO WHAT IS THE ANSWER ?
upvoted 1 times
...
...
adouban
1 year, 11 months ago
Selected Answer: B
B. Optional , the mandatory using terraform init
upvoted 1 times
...
G4Exams
2 years ago
Selected Answer: B
You can do it. Not a must. If it's useful epends on the usecase. So B.
upvoted 4 times
...
itsVespucci
2 years ago
its gotta be C as there will be an error. When you change a backend's configuration, you must run terraform init again to validate and configure the backend before you can perform any plans, applies, or state operations.
upvoted 1 times
wanrltw
1 year, 11 months ago
This has nothing to do with the question. Can you change the backend after running your first `terraform apply`? Yes, you can. Sure you'll have to run the init again but that's another story - question doesn't mention anything about "after".
upvoted 2 times
...
...
depal_dhir
2 years, 2 months ago
Selected Answer: B
It is optional
upvoted 2 times
...
keiffo2
2 years, 2 months ago
It is Optional - so it's 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 ...