Question 650
During an infrastructure audit, the team must accomplish all of these distinct aims: (1) enumerate the tracked resource addresses in the selected state; (2) download a copy of the current backend state for protected inspection. Select exactly the two relevant mechanisms. Choose TWO.
Explanation
Correct Answers
The command reports addresses, not a complete catalog of provider-side objects; unmanaged objects will not appear; this behavior should be assessed against the concrete need to enumerate the tracked resource addresses in the selected state and download a copy of the current backend state for protected inspection. This matches the distinct objective to enumerate the tracked resource addresses in the selected state; the remaining chosen features address download a copy of the current backend state for protected inspection.
Pull emits the full state, potentially including secrets; it should not be treated as a public debugging log; this behavior should be assessed against the concrete need to enumerate the tracked resource addresses in the selected state and download a copy of the current backend state for protected inspection. This matches the distinct objective to download a copy of the current backend state for protected inspection; the remaining chosen features address enumerate the tracked resource addresses in the selected state.
Incorrect Answers
The removed block records the intentional withdrawal of management without instructing the provider to delete the remote object; it is not a mere address rename like a moved block; this behavior should be assessed against the concrete need to enumerate the tracked resource addresses in the selected state and download a copy of the current backend state for protected inspection. Its main application is to document a handoff where Terraform relinquishes ownership but leaves deployed infrastructure untouched; the checklist instead asks for enumerate the tracked resource addresses in the selected state; and download a copy of the current backend state for protected inspection. None of those distinct criteria specifically calls for this alternative.
State holds a previous observation rather than live inventory; a new normal plan asks the provider for current properties and can expose drift that a static state inspection alone would miss; this behavior should be assessed against the concrete need to enumerate the tracked resource addresses in the selected state and download a copy of the current backend state for protected inspection. Its main application is to identify whether old recorded values still reflect remote reality after out-of-band changes; the checklist instead asks for enumerate the tracked resource addresses in the selected state; and download a copy of the current backend state for protected inspection. None of those distinct criteria specifically calls for this alternative.
If a tracked object no longer exists but configuration still declares it, a normal plan may propose recreating it; state alone cannot revive the original object; this behavior should be assessed against the concrete need to enumerate the tracked resource addresses in the selected state and download a copy of the current backend state for protected inspection. Its main application is to understand why Terraform may propose creation again; the checklist instead asks for enumerate the tracked resource addresses in the selected state; and download a copy of the current backend state for protected inspection. None of those distinct criteria specifically calls for this alternative.