AZ-104 exam dumps

AZ-104 practice question 155 of 289

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

AZ-104 Question 155

Select 2

Your company has developed a custom web application container image stored on Docker Hub. You are tasked with deploying it in Azure Container Instances (ACI) using the Azure portal so that it’s publicly accessible on port 80. Which of the following steps should you perform?

  1. A

    Set the container image source to Docker Hub, provide the Docker repository name, and specify port 80 under container settings.

  2. B

    Select 'Public' under 'Networking' to assign a publicly accessible IP address.

  3. C

    Configure Azure Container Instances to use a fully managed Kubernetes cluster in Azure Kubernetes Service (AKS).

  4. D

    Enable the 'Always On' feature under App Service Plan to keep the container continuously active.

Show answer and explanation

Correct answers: A, B

Explanation

When deploying a container in Azure Container Instances from the Azure portal, you must specify the image repository and expose the correct port. Additionally, configuring a public IP address will ensure public accessibility. Using AKS and App Service features are not necessary for basic ACI deployments.

  • A. Correct.

    Specifying Docker Hub as the image source and port 80 is necessary for deploying your container from a public repository and exposing it on port 80 in ACI.

  • B. Correct.

    Selecting 'Public' under the Networking tab allocates a public IP address, making the container accessible over the internet.

  • C. Incorrect.

    AKS is a managed Kubernetes environment separate from ACI deployment; you do not need a Kubernetes cluster for a single-container deployment in ACI.

  • D. Incorrect.

    The 'Always On' feature is an App Service setting, not applicable to Azure Container Instances.

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