Question 190
After adopting Remove resource block from configuration, an infrastructure maintainer wants objective acceptance evidence for its goal to plan destruction of a managed object no longer represented in the desired configuration. Which result should the reviewer expect?
Explanation
Correct Answer
This finding directly verifies Remove resource block from configuration: absent desired resource definitions normally lead to managed object deletion. It establishes the stated outcome rather than merely confirming a resource exists.
Incorrect Answers
That evidence concerns terraform destroy, used to intentionally remove all objects that remain managed by the current configuration and state. It does not verify whether Remove resource block from configuration meets its acceptance criteria.
That evidence concerns prevent_destroy lifecycle rule, used to block accidental deletion of a configured critical resource while its guard is present. It does not verify whether Remove resource block from configuration meets its acceptance criteria.
That evidence concerns terraform plan -destroy, used to review a proposed full teardown without performing the deletion. It does not verify whether Remove resource block from configuration meets its acceptance criteria.






HashiCorp Certified: Terraform Associate (004) (Terraform Associate 004) Practice Tests