AZ-500 · Question #104
You have an Azure subscription that contains a user named User1 and an Azure Container Registry named ConReg1. You enable content trust for ContReg1. You need to ensure that User1 can create trusted…
The correct answer is C. AcrPush D. AcrImageSigner. Explanation To create trusted images in Azure Container Registry with Content Trust enabled, a user needs two distinct capabilities: the ability to push images to the registry and the ability to sign those images digitally. AcrPush (C) grants the permission to push container…
Question
Options
- AAcrQuarantineReader
- BContributor
- CAcrPush
- DAcrImageSigner
- EAcrQuarantineWriter
How the community answered
(26 responses)- A8% (2)
- B4% (1)
- C73% (19)
- E15% (4)
Explanation
Explanation
To create trusted images in Azure Container Registry with Content Trust enabled, a user needs two distinct capabilities: the ability to push images to the registry and the ability to sign those images digitally. AcrPush (C) grants the permission to push container images to the registry, while AcrImageSigner (D) specifically grants the permission to sign images, which is required when content trust is enabled - together, these two roles fulfill the requirement with least privilege.
The distractors are wrong for these reasons: AcrQuarantineReader (A) and AcrQuarantineWriter (E) are related to quarantine policies for scanning images, not content trust or image signing. Contributor (B) would technically work but grants far broader permissions across the subscription, violating the principle of least privilege.
Memory Tip: Think of it as a two-step process - you must "Push then Sign" (C + D). If you can't push, you have no image; if you can't sign, you can't make it trusted. The role names literally tell you what they do: AcrPush = upload, AcrImageSigner = sign. Avoid "Contributor" on exams whenever least privilege is mentioned - it's almost always a trap.
Topics
Community Discussion
No community discussion yet for this question.