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

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

Using the terraform state rm command against a resource will destroy it.

  • A. True
  • B. False
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
333e1ab
5 months ago
Selected Answer: B
How does examTopics evaluate correct answers?
upvoted 2 times
...
Tlakmini
1 year, 3 months ago
Selected Answer: B
it will update state file only
upvoted 2 times
...
FarziWaliMarzi
1 year, 7 months ago
Selected Answer: B
will update state file only
upvoted 1 times
...
AlenKumar
1 year, 7 months ago
Answer: B
upvoted 1 times
...
bugalter
1 year, 7 months ago
Selected Answer: B
B. False
upvoted 1 times
...
camps
1 year, 7 months ago
Selected Answer: B
B. False Using the terraform state rm command does not destroy the actual resource. Instead, it removes the resource's entry from the Terraform state file. As a result, Terraform will no longer manage or track the resource. However, the resource itself will still exist in your infrastructure. If you want to destroy the resource, you should use the terraform destroy command or modify your configuration to remove the resource and run terraform apply.
upvoted 4 times
...
micropbl4
1 year, 7 months ago
Selected Answer: B
Command just remove it from the state file, but didn't touch existing resources
upvoted 1 times
...
SilentMilli
1 year, 8 months ago
Selected Answer: B
The terraform state rm command removes a resource from the Terraform state file without destroying the actual resource in your infrastructure. This command is typically used when you want to delete a resource that was not created using Terraform, or when you want to remove a resource from the Terraform state file for some other reason, such as to re-create the resource using a different configuration.
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 ...