exam questions

Exam AZ-500 All Questions

View all questions & answers for the AZ-500 exam

Exam AZ-500 topic 1 question 12 discussion

Actual exam question from Microsoft's AZ-500
Question #: 12
Topic #: 1
[All AZ-500 Questions]

Your company has an Azure Container Registry.
You have been tasked with assigning a user a role that allows for the downloading of images from the Azure Container Registry. The role assigned should not require more privileges than necessary.
Which of the following is the role you should assign?

  • A. Reader
  • B. Contributor
  • C. AcrDelete
  • D. AcrPull
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Lyonel
Highly Voted 6 months, 4 weeks ago
Question gives the condition, "The role assigned should not require more privileges than necessary." Therefore, D (Acrpull) is CORRECT because it provides the least number of permissions required for downloading images from a Container Registry. Answer A (Reader): provides at least two (2) permissions, which would be one (1) more than Acrpull allows for. [Ref. https://docs.microsoft.com/bs-latn-ba/azure/container-registry/container-registry-roles?tabs=azure-cli]
upvoted 79 times
ashxos
3 years, 4 months ago
Perfect!
upvoted 3 times
...
[Removed]
3 years, 4 months ago
correct
upvoted 1 times
...
ech
3 years, 5 months ago
agree read can Access Resource Manager and Pull, but AcrPull role is just for pulling the image.
upvoted 4 times
...
heatfan900
1 year, 7 months ago
CORRECT. NOT SURE Y EVERYONE THINKS YOU NEED THE READER ROLE FOR THIS SCENARIO. FROM MICROSOFT: Azure Resource Manager access is required for the Azure portal and registry management with the Azure CLI. For example, to get a list of registries by using the az acr list command, you need this permission set.
upvoted 1 times
...
...
Ucy
Highly Voted 3 years, 9 months ago
Answer is Wrong.... Correct answer is D AcrPull
upvoted 15 times
...
Sinemorec2024
Most Recent 3 days, 6 hours ago
Selected Answer: D
Reference: https://learn.microsoft.com/en-us/azure/container-registry/container-registry-roles
upvoted 1 times
...
stonwall12
2 months ago
Selected Answer: D
Answer: D, AcrPull Reason: AcrPull role provides minimum required permissions to pull/download images from Azure Container Registry while following the principle of least privilege. Reader, Contributor, and AcrDelete either provide insufficient or excessive permissions. Reference: https://learn.microsoft.com/en-us/azure/container-registry/container-registry-roles
upvoted 1 times
...
Ruffyit
6 months ago
Question gives the condition, "The role assigned should not require more privileges than necessary." Therefore, D (Acrpull) is CORRECT because it provides the least number of permissions required for downloading images from a Container Registry. Answer A (Reader): provides at least two (2) permissions, which would be one (1) more than Acrpull allows for. [Ref. https://docs.microsoft.com/bs-latn-ba/azure/container-registry/container-registry-roles?tabs=azure-cli]
upvoted 1 times
...
Janmigs
6 months, 4 weeks ago
Selected Answer: D
Therefore, D (Acrpull) is CORRECT because it provides the least number of permissions required for downloading images from a Container Registry. Answer A (Reader): provides at least two (2) permissions, which would be one (1) more than Acrpull allows for. [Ref. https://docs.microsoft.com/bs-latn-ba/azure/container-registry/container-registry-roles?tabs=azure-cli]
upvoted 1 times
...
smilinghacker
6 months, 4 weeks ago
Question gives the condition, "The role assigned should not require more privileges than necessary." Therefore, D (Acrpull) is CORRECT because it provides the least number of permissions required for downloading images from a Container Registry. Answer A (Reader): provides at least two (2) permissions, which would be one (1) more than Acrpull allows for. [Ref. https://docs.microsoft.com/bs-latn-ba/azure/container-registry/container-registry-roles?tabs=azure-cli]
upvoted 2 times
...
amondal354
6 months, 4 weeks ago
Selected Answer: D
Question gives the condition, "The role assigned should not require more privileges than necessary." Therefore, D (Acrpull) is CORRECT because it provides the least number of permissions required for downloading images from a Container Registry. Answer A (Reader): provides at least two (2) permissions, which would be one (1) more than Acrpull allows for.
upvoted 1 times
...
Fal991l
6 months, 4 weeks ago
Selected Answer: D
The role that should be assigned to allow for the downloading of images from the Azure Container Registry without granting unnecessary privileges is "AcrPull". The AcrPull role provides read-only permissions to pull images from the registry. This role is the minimum required permission to pull an image. It does not allow pushing or modifying images or managing the registry itself. The other options are not the best fit for this scenario: The Reader role provides read-only access to all resources within a resource group, which includes the container registry. However, this role is too broad and provides more access than needed for just pulling images. The Contributor role provides the ability to manage all aspects of a resource, including creating, modifying, and deleting. This role is more permissions than are necessary for just pulling images. The AcrDelete role provides the ability to delete repositories and images from the registry. This role is more permissions than are necessary for just pulling images.
upvoted 2 times
...
xRiot007
9 months, 1 week ago
Wrong answer. Correct answer is D - AcrPull. Viewing the available images in the registry is not enough, you actually have to be able to download (pull) them.
upvoted 1 times
...
Mazhar1993
1 year ago
The role you should assign is AcrPull because it specifically grants the ability to pull (download) images from the Azure Container Registry, which is the required permission for the user. Assigning the Reader role would provide broader access than necessary, as it includes permissions beyond image pulling. Similarly, assigning the Contributor role would grant excessive privileges, as it includes permissions for creating, deleting, and modifying resources, which are not required for simply downloading images. The AcrDelete role is also not suitable, as it specifically grants permission to delete image data from the registry, which is not needed for the task described. Therefore, AcrPull is the most appropriate role that meets the requirement of allowing image downloading without granting unnecessary privileges. https://learn.microsoft.com/bs-latn-ba/azure/container-registry/container-registry-roles?tabs=azure-cli
upvoted 1 times
...
TheFamousSpy
1 year, 1 month ago
Selected Answer: D
Clearly stated in the reference
upvoted 1 times
...
kb1342
1 year, 2 months ago
https://learn.microsoft.com/en-us/azure/container-registry/container-registry-roles?tabs=azure-cli D. Arc Pull Since Reader has more access than necessary
upvoted 2 times
...
codeunit
1 year, 5 months ago
Following and article from Microsoft, ArcPull role will provide the least privilege access: https://learn.microsoft.com/en-us/azure/container-registry/container-registry-roles?tabs=azure-cli
upvoted 2 times
...
wardy1983
1 year, 6 months ago
Answer is ARCPULL Arcpull can only pull and image Reader can access access Resource Manager and PULL Least access is ArcPull case closed!!!
upvoted 1 times
...
16116
1 year, 8 months ago
Selected Answer: D
Most certainly agreed with the above statements. Unless proven otherwise, the answer D is correct as pert MS documentation.
upvoted 1 times
...
ESAJRR
1 year, 9 months ago
Selected Answer: D
D. ArcPull
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago