Question 960
At Elmriver Logistics Networks, an authorized infrastructure engineering team manages a Terraform 1.12 and HCP Terraform environment. The team encounters the following situation: a Terraform root can create cloud compute but cannot initialize its remote backend due to a different identity permission. Choose the technically best Terraform Associate 004 practice response to this particular infrastructure case. Which operational control addresses the risk long term?
Explanation
Correct Answer
Test backend and provider access separately in release pipelines. This control addresses state backend authentication separate from providers because backend operations use their own authentication path and may fail before resources are planned. The original implementation remedy remains: Grant required backend storage access to the runner independently from resource provider permissions.
Incorrect Answers
This safeguard is for the dependency described by: Changing a backend does not automatically guarantee the previous local snapshot has been transferred. The continuing risk here is determined by: Backend operations use their own authentication path and may fail before resources are planned. The targeted safeguard is “Test backend and provider access separately in release pipelines”.
That review protects the control associated with: A state lock protects against concurrent state writers that could corrupt mappings. It does not directly prevent the stated recurrence, which concerns: Backend operations use their own authentication path and may fail before resources are planned. The appropriate guardrail is “Test backend and provider access separately in release pipelines”.
This safeguard is for the dependency described by: Terraform's provider plugin model supports multiple service APIs in the same configuration. The continuing risk here is determined by: Backend operations use their own authentication path and may fail before resources are planned. The targeted safeguard is “Test backend and provider access separately in release pipelines”.