AZ-104 exam dumps

AZ-104 practice question 161 of 289

Microsoft Certified: Azure Administrator Associate. Associate level, Microsoft. Free question with the correct answer and a full explanation.

AZ-104 Question 161

Select 2

You are an Azure Administrator. You need to run a private container image from Azure Container Registry in Azure Container Instances. The container must be able to pull the image from the registry without error. Which two tasks should you perform during container creation?

  1. A

    Specify the container registry credentials in the container creation settings

  2. B

    Enable public network access on Azure Container Instances

  3. C

    Enable a system-assigned managed identity for the container group

  4. D

    Use the fully qualified image name including the login server

Show answer and explanation

Correct answers: A, D

Explanation

When creating an Azure Container Instance from a private Azure Container Registry, you must specify valid registry credentials and reference the container image by its fully qualified path. This ensures the container can be successfully pulled and deployed.

  • A. Correct.

    Providing the registry credentials (username and password or a Service Principal token) is required to authenticate and pull images from a private registry.

  • B. Incorrect.

    Public network access on Azure Container Instances is not necessary just to pull a private image; you only need credentials and the correct image reference for authentication.

  • C. Incorrect.

    A system-assigned managed identity is not a requirement for pulling the image from a private registry; registry credentials are sufficient in this scenario.

  • D. Correct.

    Using the fully qualified image name, which includes the registry’s login server and repository details, is essential to pull the container image correctly.

Timed practice exam

Take a AZ-104 practice test under exam conditions

60 questions in 60 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam