AZ-500 Exam QuestionsBrowse all questions from this exam

AZ-500 Exam - Question 12


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?

Show Answer
Correct Answer: D

To download images from an Azure Container Registry, you should assign a role that grants the necessary permissions without providing excessive access. The appropriate role for this task is 'AcrPull,' which specifically allows the pulling (downloading) of images from the registry without granting broader access or additional permissions. Other roles like 'Reader' provide more extensive access than required, 'Contributor' grants the ability to manage all aspects of a resource, and 'AcrDelete' allows for deleting images—all exceeding the minimal necessary permissions for the task at hand. Therefore, the 'AcrPull' role is the correct choice.

Discussion

61 comments
Sign in to comment
Lyonel
Sep 23, 2024

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]

Anonymous
Oct 23, 2021

agree read can Access Resource Manager and Pull, but AcrPull role is just for pulling the image.

ashxos
Nov 25, 2021

Perfect!

[Removed]
Nov 29, 2021

correct

heatfan900
Sep 19, 2023

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.

Ucy
Jul 2, 2021

Answer is Wrong.... Correct answer is D AcrPull

Rume
Jun 30, 2021

ACR Pull?

perkarelei
Jul 2, 2021

ACR Pull seems the better option considering "least privileges": https://docs.microsoft.com/en-us/azure/container-registry/container-registry-roles?tabs=azure-cli#pull-image

ChinkSantana
Jul 4, 2021

If the question asked for Download Image then AcrPull

nicejob
Jul 8, 2021

reader role has AcrPull and Access Resource Manager

nicejob
Jul 8, 2021

Which of the following is the role you should assign? AcrPull is permission not role.

Vanht
Jul 10, 2021

The correct answer should be D

Madball
Jul 12, 2021

The correct answer is D, this has the least privileges in accordance with the following Microsoft article. https://docs.microsoft.com/en-us/azure/container-registry/container-registry-roles?tabs=azure-cli

moutaz1983
Aug 10, 2021

I will go also for ArcPull (D)

majstor86Option: D
Mar 2, 2023

D. AcrPull

Scryptre
Nov 1, 2021

Although I agree w the panel that the answer is acrPull, the question asks specifically about pulling or downloading the image and do ACR tasks to it. Although Reader has both "Access Resource manager" and "Pull" functions, a Reader does just that, it reads and will not function in the capacity for the ACR. I would say "Reader" is a probable answer.

SYCNSOption: D
Nov 30, 2021

D is correct

ranharaOption: D
Dec 2, 2021

Excellent function to override wrong answer !

IlkoOption: D
Dec 27, 2021

AcrPull can only pull image and A is wrong because got more access than is needed it can Access Resource Manager. Correct answer is D !

saran_gkOption: D
Dec 29, 2021

Answer is D

rodrigo_alxOption: D
Jan 4, 2022

D is correct

Siwel72
Jan 12, 2022

D is correct, can ExamTopics Admin look to research and correct these answers??

DarkCyberGhost
Jan 18, 2022

I agree that READER is not the correct answer here Reader also gives you the Access Resource Manager role which is more priviliegs than is reuired to download an image. the ANSWER here is D Acrpull

EltoothOption: D
Mar 15, 2022

D is correct. https://docs.microsoft.com/en-gb/learn/modules/enable-containers-security/6-enable-azure-container-registry-authentication

asfgsertwegOption: D
Apr 18, 2022

Reader provides more than requested access

Lutu
Sep 22, 2022

D. AcrPull is correct

codeunit
Nov 15, 2023

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

kb1342
Feb 8, 2024

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

smilinghacker
Sep 23, 2024

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]

Fal991lOption: D
Sep 23, 2024

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.

Kamee18
Aug 24, 2021

Keyline " The role assigned should not require more privileges than necessary". As per the link which I will mention in my last line; Role: ArcPull has one permission = (Pull Image) Role: Reader has two permission = (Access Resource Manager) + (Pull Image) So according to the keyline Statement; Answer should be ArcPull Reference: https://docs.microsoft.com/en-us/azure/container-registry/container-registry-roles?tabs=azure-cli

poplovic
Sep 11, 2021

AcrPull for sure. The more specific answer wins.

Hemantsudhanshu
Sep 27, 2021

Should be D

salmantarik
Oct 9, 2021

In my view, the correct answer is Arc Pull (D) as this role only has single authorization to pull the image. The reader holds more privileges than Arc Pull.

SammyUJ
Oct 11, 2021

Correct Answer is D Dockers images upload permissions: Contributor, ArcPush Docker images download permissions: Contributor, ArcPull, ArcPush

AZbebeOption: D
Nov 26, 2021

pull is correct

rohitmedi
Nov 28, 2021

wrong answer: It should be D

xoe123Option: D
Dec 1, 2021

Arc Pull has minimum required access

nhclordOption: D
Dec 1, 2021

In reference https://docs.microsoft.com/bs-latn-ba/azure/container-registry/container-registry-roles AcrPull only pull... Reader two permissions, (Access Resource Management)

samarora310Option: D
Dec 8, 2021

AcrPUll should be the answer as it follows the principal of least privileges

snake_alejo
Dec 16, 2021

the question says you only need to download, not upload images. the answer is A (Reader is OK)

PatchfoxOption: D
Dec 19, 2021

Reader permission has to much access

yotonOption: D
Feb 23, 2022

Option A provides two permissions while D, provides one.

Ahmed911
Apr 7, 2022

I believe the correct answer is D AcrPull Pull artifacts from a container registry. 7f951dda-4ed3-4680-a7ca-43fe172d538d Reader View all resources, but does not allow you to make any changes. acdd72a7-3385-48ef-bd42-f606fba81ae7

theplaceholderOption: D
Apr 12, 2022

AcrPull, always use the theory of least privilege

gursimran_sOption: D
Apr 19, 2022

https://docs.microsoft.com/bs-latn-ba/azure/container-registry/container-registry-roles?tabs=azure-cli

FerrixOption: D
Sep 6, 2022

Perfect!

koreshioOption: D
Oct 14, 2022

as others have explained too, and quite obvious as per doco here: https://learn.microsoft.com/bs-latn-ba/azure/container-registry/container-registry-roles?tabs=azure-cli

awfnewf1q243Option: D
Oct 26, 2022

D. AcrPull https://learn.microsoft.com/en-us/azure/container-registry/container-registry-roles

God2029
Dec 2, 2022

Reader can access Resources Manager. So it doesn't satisfy the least previlage condition mentioned in the question. Acrpull is the right answer.

AZ5cert
Dec 11, 2022

D. AcrPull

kaboozeOption: D
Dec 16, 2022

arcpull is correct

SeelearndoOption: D
Jan 9, 2023

https://docs.microsoft.com/bs-latn-ba/azure/container-registry/container-registry-roles?tabs=azure-cli

Andre369Option: D
Apr 24, 2023

D is correct

zellckOption: D
May 7, 2023

D is the answer. https://learn.microsoft.com/en-us/azure/container-registry/container-registry-roles

QadourOption: D
Jun 14, 2023

AcrPull is the correct answer ! When we apply the principle of Least privilege

ESAJRROption: D
Jul 4, 2023

D. ArcPull

16116Option: D
Aug 8, 2023

Most certainly agreed with the above statements. Unless proven otherwise, the answer D is correct as pert MS documentation.

wardy1983
Oct 18, 2023

Answer is ARCPULL Arcpull can only pull and image Reader can access access Resource Manager and PULL Least access is ArcPull case closed!!!

TheFamousSpyOption: D
Mar 3, 2024

Clearly stated in the reference

Mazhar1993
Apr 19, 2024

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

xRiot007
Jul 15, 2024

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.

amondal354Option: D
Sep 23, 2024

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.

JanmigsOption: D
Sep 23, 2024

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]

Ruffyit
Oct 17, 2024

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]

stonwall12Option: D
Feb 13, 2025

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

Sinemorec2024Option: D
Apr 16, 2025

Reference: https://learn.microsoft.com/en-us/azure/container-registry/container-registry-roles