Azure Container Registry Admin Username

Answer Correct answer: D — Use the registry name ContReg1 as the username when the admin user is enabled for an Azure Container Registry.

You have an Azure subscription that contains an Azure container registry named ContReg1. You enable the Admin user for ContReg1. Which username can you use to sign in to ContReg1?

  1. root
  2. admin
  3. administrator
  4. ContReg1 Correct Answer

Community Votes

D
100%

100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

The ACR admin account uses the registry name as the username, not generic terms like 'admin' or 'root'.

When you enable the admin user for an Azure Container Registry, the username for authentication is the name of the registry itself. This page establishes that for a registry named ContReg1, the sign-in username is ContReg1.

Choosing 'admin' (Option B) because it seems intuitive for an 'admin user' account, but ACR specifically uses the registry name as the username.

Community Discussion (11 comments)

Andreas_Czech 👍 33 Selected: D
tested in LAB when you go to this Option in the Portal - next to the "Mark" is a Explanation Field and when you hover over it, it say -> the admin user is identical to the Name of the Container Registry. The Name of the Container Registry is ContReg1 therefore is the admin user ContReg1 and that means D
rumino 👍 6 Selected: B
https://learn.microsoft.com/en-us/azure/container-registry/container-registry-authentication?tabs=azure-cli#admin-account
GarrethM 👍 1 Selected: D
When you enable the "Admin user" for an Azure Container Registry (ACR), the username you use to sign in is the registry's name. Therefore, the correct answer is D. ContReg1.
ozansenturk 👍 1 Selected: B
Each container registry includes an admin user account, which is disabled by default. You can enable the admin user and manage its credentials in the Azure portal, or by using the Azure CLI, Azure PowerShell, or other Azure tools. https://learn.microsoft.com/en-us/azure/container-registry/container-registry-authentication?tabs=azure-cli#admin-account
mort81 👍 1 Selected: D
correctm answer d,
danlo 👍 1 Selected: D
If activated, you can use the registry name as username and admin user access key as password to docker login to your container registry.
Josh219 👍 1
To connect to the Azure container registry named ContReg1 as an admin user, you should use the username "Admin". When you enable the admin user for a container registry, the username for the admin user is set to "Admin" by default.
Jobalos009 👍 2 Selected: D
The answer is D. The admin username is the name of the SA
Harry300 👍 4 Selected: D
tested on lab and ref: https://ystatit.medium.com/methods-to-login-azure-container-registry-ba70e837c96d
SDiwan 👍 2 Selected: D
D, is correct. admin user name matches the container registry
arr73 👍 3
B: admin Reference: https://learn.microsoft.com/en-us/azure/container-registry/container-registry-authentication?tabs=azure-cli#admin-account

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

When the admin user is enabled on an Azure Container Registry (ACR), Azure automatically assigns the registry's name as the username for that admin account. Therefore, for a registry named ContReg1, the username used to sign in is exactly ContReg1, making Option D correct. This design ensures that admin credentials are uniquely tied to each specific registry instance.

Why the Other Options Are Wrong

Options A ("root"), B ("admin"), and C ("administrator") are incorrect because ACR does not use these generic usernames for its admin account. While other systems might default to "admin" or "root", Azure Container Registry explicitly sets the username to match the registry name. This avoids conflicts and provides registry-specific credentials, rendering the generic options invalid.

Community Comment Notes

Several community members confirmed through lab testing that the username matches the registry name, as Andreas_Czech noted when saying "the admin user is identical to the Name of the Container Registry". Others who selected "admin" likely confused ACR with other services that use generic admin usernames. However, danlo correctly pointed out that "you can use the registry name as username and admin user access key as password".

Official Reference

Exam Strategy

Remember that Azure Container Registry admin credentials are unique; the username is always the registry name, not a generic string like "admin". When you see "Admin user" in the context of ACR, immediately associate it with the registry's specific name.

Related Analysis

Practice All AZ-104 Questions

Access 100 questions with complete answers and detailed explanations.

View Full AZ-104 Practice Test →

← Back to AZ-104 Study Guide