Question 40
A build service needs to push images while applications must only pull them. After the proposed remediation, what should be observed?
Explanation
Correct Answer
Separating push and pull authorization enforces least privilege for the registry supply chain. The observed result “Build uploads succeed; the application identity can pull but cannot push or delete images” would confirm the change “Assign scoped ACR roles to the build identity and runtime identity rather than sharing admin credentials” in this situation: A build service needs to push images while applications must only pull them.
Incorrect Answers
ACR import performs a registry-to-registry transfer without requiring the client to pull and push layers locally. The situation here is: A build service needs to push images while applications must only pull them. A test of this alternative would miss the specific outcome “Build uploads succeed; the application identity can pull but cannot push or delete images”.
Health Check uses an application endpoint to recognize instances that should not serve requests. The situation here is: A build service needs to push images while applications must only pull them. A test of this alternative would miss the specific outcome “Build uploads succeed; the application identity can pull but cannot push or delete images”.
ACR webhooks announce registry events; they are not substitutes for image build or hosting services. The situation here is: A build service needs to push images while applications must only pull them. A test of this alternative would miss the specific outcome “Build uploads succeed; the application identity can pull but cannot push or delete images”.