ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 131 - AZ-204 discussion

Report
Export

HOTSPOT

You develop a containerized application. You plan to deploy the application to a new Azure Container instance by using a third-party continuous integration and continuous delivery (CI/CD) utility.

The deployment must be unattended and include all application assets. The third-party utility must only be able to push and pull images from the registry. The authentication must be managed by Azure Active Directory (Azure AD). The solution must use the principle of least privilege.

You need to ensure that the third-party utility can access the registry.

Which authentication options should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 131
Correct answer: Question 131

Explanation:

Box 1: Service principal Applications and container orchestrators can perform unattended, or "headless," authentication by using an Azure Active Directory (Azure AD) service principal.

Incorrect Answers:

Individual AD identity does not support unattended push/pull

Repository-scoped access token is not integrated with AD identity

Managed identity for Azure resources is used to authenticate to an Azure container registry from another Azure resource.

Box 2: AcrPush

AcrPush provides pull/push permissions only and meets the principle of least privilege.

Incorrect Answers:

AcrPull only allows pull permissions it does not allow push permissions.

Owner and Contributor allow pull/push permissions but does not meet the principle of least privilege.

Reference:

https://docs.microsoft.com/en-us/azure/container-registry/container-registry-authentication?tabs=azure-cli

https://docs.microsoft.com/en-us/azure/container-registry/container-registry-roles?tabs=azure-cli

asked 02/10/2024
Miguel Tuimil Galdo
40 questions
User
0 comments
Sorted by

Leave a comment first