Azure Container Registry Admin Username

AZ-104 By islever Editorial Last updated

Short answer

D Use the registry name ContReg1 as the username when the admin user is enabled for an Azure Container Registry.

Question

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

Key Takeaways

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.

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

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.

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.

Discussion 11 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors, not of islever. The comments shown first are the most substantive of the thread — ranked by depth, community endorsement and relevance; expand the list below to read the rest.

From public community threads 11

  1. Andreas_Czech 👍 33 Answered 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
  2. rumino 👍 6 Answered B
    https://learn.microsoft.com/en-us/azure/container-registry/container-registry-authentication?tabs=azure-cli#admin-account
  3. Harry300 👍 4 Answered D
    tested on lab and ref: https://ystatit.medium.com/methods-to-login-azure-container-registry-ba70e837c96d
  4. arr73 👍 3
    B: admin Reference: https://learn.microsoft.com/en-us/azure/container-registry/container-registry-authentication?tabs=azure-cli#admin-account
  5. SDiwan 👍 2 Answered D
    D, is correct. admin user name matches the container registry
Show 6 more comments
  1. Jobalos009 👍 2 Answered D
    The answer is D. The admin username is the name of the SA
  2. ozansenturk 👍 1 Answered 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
  3. 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.
  4. GarrethM 👍 1 Answered 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.
  5. danlo 👍 1 Answered 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.
  6. mort81 👍 1 Answered D
    correctm answer d,

Reader comments & corrections

No reader corrections 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.

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