nerdexam
Fortinet

FCSS_CDS_AR-7.6 · Question #5

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

The correct answer is C. It destroys all the resources in the state file. When you confirm a terraform destroy, Terraform deletes all resources that are tracked in its state file. The state file represents the managed infrastructure, so only those resources defined and tracked there will be destroyed.

Multi-Cloud Security Orchestration

Question

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

Exhibit

FCSS_CDS_AR-7.6 question #5 exhibit

Options

  • AIt destroys all the resources tied to the AWS Identity and Access Management (IAM) user.
  • BIt destroys all the resources in the resource group.
  • CIt destroys all the resources in the state file.
  • DIt destroys all the resources in the .tfvars file.

How the community answered

(28 responses)
  • B
    4% (1)
  • C
    93% (26)
  • D
    4% (1)

Explanation

When you confirm a terraform destroy, Terraform deletes all resources that are tracked in its state file. The state file represents the managed infrastructure, so only those resources defined and tracked there will be destroyed.

Topics

#Terraform state file#terraform destroy#infrastructure as code#resource management

Community Discussion

No community discussion yet for this question.

Full FCSS_CDS_AR-7.6 Practice