Does Enabling ACR Admin User Meet Container Instance Deployment Goal?
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure container registry named Registry1 that contains an image named image1. You receive an error message when you attempt to deploy a container instance by using image1. You need to be able to deploy a container instance by using image1. Solution: You set Admin user to Enable for Registry1. Does this meet the goal?
Community Votes
100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
Tests ACR authentication for Azure Container Instances; the trap is assuming enabling admin user alone is insufficient without passing credentials manually, but the portal uses admin credentials automatically.
This AZ-104 scenario asks whether enabling the admin user on an Azure Container Registry (Registry1) allows a container instance to deploy image1. The answer is Yes: the Azure portal requires the registry's admin account to authenticate and pull the image from ACR.
Learners often answer No, thinking you must also configure registry credentials in the container instance; however, when deploying via the portal, enabling the admin user is the required step that provides the credentials.
Community Discussion (3 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Enabling the Admin user on Registry1 generates a username and password that Azure Container Instances can use to authenticate to the registry. In the Azure portal, when you deploy a container instance and select an image from an Azure Container Registry, the portal uses the registry's admin credentials by default. If the admin user is disabled, the portal cannot pull image1 and the deployment fails with an authentication error. Setting Admin user to Enable therefore resolves the authentication issue and allows the deployment to succeed. This is exactly the prerequisite that the solution aims to satisfy.Why the Other Options Are Wrong
Option B ("No") would only be correct if enabling the admin user were irrelevant or insufficient for the deployment. However, the scenario's error stems from the registry denying access to image1 because no admin credentials were available. The portal automatically consumes the admin user credentials once enabled, so no additional manual credential configuration is required for a portal-based deployment. Thus, answering "No" mischaracterizes the role of the admin account in this flow.Community Comment Notes
Community voters unanimously chose Yes, and their explanations align with the official behavior. Elite4Life noted that enabling the admin user provides credentials for pulling images, which resolves authentication issues. Arunyadav09 shared a Microsoft Learn link and stated that "you must enable the registry's admin account" when deploying through the portal. Lumax007 reinforced that the portal requires the registry's admin account to be enabled. These comments support the conclusion that the solution meets the goal.Official Reference
Exam Strategy
For ACR authentication questions, note whether the deployment method is portal or CLI. Portal deployments can use the registry's admin user automatically once enabled, while CLI deployments need explicit --registry-username and --registry-password values.
Frequently Asked Questions
Why is enabling the ACR admin user enough to fix the container instance error?
The Azure portal automatically uses the registry's admin credentials to pull the image when you select an Azure Container Registry image for a container instance.
Does enabling admin user work for CLI-based ACI deployments too?
No, CLI deployments require explicit --registry-username and --registry-password; enabling the admin user alone does not pass credentials.
Related Analysis
Practice All AZ-104 Questions
Access 100 questions with complete answers and detailed explanations.
View Full AZ-104 Practice Test →