Question 240
A deployment service principal has read-only permissions on a resource group but the IaC job creates networks. The investigation finds that The plan displays resources correctly, yet the apply stage fails with access-denied responses. Which underlying technical or operational deficiency is the most relevant to address?
Explanation
Correct Answer
The failure is the principal lacks write authorization for the resources being provisioned. The key principle is that read access sufficient for planning does not authorize actual resource creation.
Incorrect Answers
Provider-side service quotas can reject otherwise valid provisioning requests. “Account-level service quota, not malformed infrastructure syntax, blocks the resource request” would address that alternative cause, not the condition in this question: read access sufficient for planning does not authorize actual resource creation.
“API request-rate throttling is being mistaken for a persistent resource quota breach” responds to this separate finding: rate throttling limits request frequency and differs from an account resource-count quota. This question instead needs “The principal lacks write authorization for the resources being provisioned”, so the alternative does not meet the stated condition.
Cloud automation can break when provider API contracts retire even without application-code changes. “The resource provider no longer supports the legacy version referenced in the template” applies to that separate problem. The observed case is a deployment service principal has read-only permissions on a resource group but the IaC job creates networks; choosing this alternative would address the wrong failure mode.