BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Fortinet Exam NSE7_PBC-7.2 Topic 1 Question 13 Discussion

Actual exam question for Fortinet's NSE7_PBC-7.2 exam
Question #: 13
Topic #: 1
[All NSE7_PBC-7.2 Questions]

Refer to the exhibit.

What would be the impact of confirming to delete all the resources in Terraform?

Show Suggested Answer Hide Answer
Suggested Answer: D

Confirming to delete all the resources in Terraform will have the following impact:

D) It destroys all the resources in the state file.

Terraform State File Role: The terraform.tfstate file contains a real-time mapping of the resources that Terraform manages, including their current configuration and relationships. This file tracks the actual state of resources provisioned by Terraform.

Impact of Destruction: When Terraform prompts for confirmation to destroy resources, and 'yes' is entered, Terraform reads the state file and systematically removes all the resources that are managed as part of that state. This is not limited to a specific .tfvars file, IAM user, or resource group---it is a global action that affects all resources tracked by the state file associated with the current Terraform workspace and configuration.


Contribute your Thoughts:

Corazon
6 months ago
That makes sense. Option A seems misleading.
upvoted 0 times
...
Leonor
6 months ago
Because Terraform state files keep track of resources. Confirming delete impacts all resources in that file.
upvoted 0 times
...
Vicky
6 months ago
Why D?
upvoted 0 times
...
Leonor
6 months ago
Yeah, but I think the answer is D.
upvoted 0 times
...
Corazon
6 months ago
Wow, this question is tricky.
upvoted 0 times
...

Save Cancel