Question 40
The test plan for this case says: A text-processing container runs as root despite not needing privileged Linux operations. Which outcome demonstrates successful implementation?
Explanation
Correct Answer
The application completes inference jobs under a non-root UID. The scenario specifically states: A text-processing container runs as root despite not needing privileged Linux operations. Running containers as non-root reduces the impact of compatible process compromises. This result directly measures the intended change after implementation. The corresponding corrective action is Set an unprivileged runtime user and grant only required writable directory permissions. The important remaining qualification is: Non-root execution alone cannot fix overly broad cloud IAM role permissions.
Incorrect Answers
ACR tags can be reassigned but an image digest identifies specific content. In the present case the governing issue is Running containers as non-root reduces the impact of compatible, which this does not resolve.
A supported App Service managed identity needs registry pull authorization and configured identity-based image retrieval. That observation may hold without resolving the relevant issue: The application completes inference jobs under a non-root UID.
ACR Tasks can automate builds using configured source-code triggers. This is different from the required The application completes inference jobs under a non-root UID result.