Question 100
The reliability team at Mariner Infrastructure Group is closing an incident described as follows: A project uses a provider's resource type but expects the provider to infer a region from unrelated application variables. Which controlled check would validate the remediation?
Explanation
Correct Answer
The provider targets the intended region and a plan shows resources using its configured account and endpoint. This directly verifies the corrective action: Set supported region and authentication settings in the provider configuration or its documented environment variables. The measured result specifically addresses the failure at Mariner Infrastructure Group: A project uses a provider's resource type but expects the provider to infer a region from unrelated application variables.
Incorrect Answers
Terraform init resolves a provider version satisfying every participating required_providers constraint. This evidence would validate a DIFFERENT correction: Reconcile compatible provider constraints across root and child modules before selecting an installed version. That different correction addresses: A platform's provider version range conflicts with the constraints of a child module and initialization fails with no compatible release. It does not establish that the Mariner Infrastructure Group issue has been corrected: A project uses a provider's resource type but expects the provider to infer a region from unrelated application variables. The relevant measured outcome is: The provider targets the intended region and a plan shows resources using its configured account and endpoint.
terraform validate accepts an appropriately typed input and rejects the incompatible fixture. This evidence would validate a DIFFERENT correction: Align the passed value with the child module's declared input type or update the module contract explicitly. That different correction addresses: A caller supplies a variable with the right name but the child module declares a different type and rejects the value. It does not establish that the Mariner Infrastructure Group issue has been corrected: A project uses a provider's resource type but expects the provider to infer a region from unrelated application variables. The relevant measured outcome is: The provider targets the intended region and a plan shows resources using its configured account and endpoint.
The initialized backend reads the expected workspace state, not an unintended empty backend. This evidence would validate a DIFFERENT correction: Run terraform init with the appropriate reconfigure or migration options after reviewing state location intent. That different correction addresses: A team reconfigures the remote state endpoint but assumes terraform plan alone will switch to the new backend automatically. It does not establish that the Mariner Infrastructure Group issue has been corrected: A project uses a provider's resource type but expects the provider to infer a region from unrelated application variables. The relevant measured outcome is: The provider targets the intended region and a plan shows resources using its configured account and endpoint.