Drag steps to the numbered slots on the right, or tap a step then tap a slot.
AZ-204 Practice Question: Connect to and consume Azure services and third-party services
Arrange the steps to deploy a containerized application to Azure Container Instances (ACI) from Azure Container Registry (ACR) in the correct order.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Create an Azure Container Registry, push the container image to the registry, create a container group in Azure Container Instances, configure the container group settings, then start the container group.
First create ACR, push image, create container group, configure settings, then start.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Create an Azure Container Registry, push the container image to the registry, create a container group in Azure Container Instances, configure the container group settings, then start the container group.
Why this is correct
This is correct because the registry must exist before pushing an image, and the image must be in the registry before creating a container group that references it. The container group is created with initial settings, and if needed, additional configuration and starting follow, though in ACI the container starts upon creation.
- ✗
Push the container image, create an Azure Container Registry, create a container group, configure settings, then start.
Why it's wrong here
This sequence is fundamentally flawed because a container image cannot be pushed to a destination that does not yet exist. Azure Container Registry (ACR) serves as the secure, private repository for Docker images. Therefore, the ACR instance must be provisioned and available before any 'docker push' command can successfully upload an image to it, making the initial step of pushing the image impossible.
- ✗
Create a container group, create an Azure Container Registry, push the container image, configure settings, then start.
Why it's wrong here
This order is incorrect because an Azure Container Instance (ACI) container group requires a specific container image to be referenced at the time of its creation. The ACI service pulls this image from a registry, such as Azure Container Registry, to instantiate the containers. Consequently, the image must already be built and pushed to a registry before the container group can be defined and provisioned to utilize it.
- ✗
Create an Azure Container Registry, create a container group, push the container image, configure settings, then start.
Why it's wrong here
While creating the Azure Container Registry first is a correct initial step, this sequence fails because the container group is attempted before the image is actually available within that registry. When creating an Azure Container Instance (ACI) container group, you must specify the image source. If the image has not yet been pushed to the ACR, the ACI deployment will fail as it cannot locate or pull the specified container image from the designated repository.
Go deeper
Related to this question
Learn chapter
Azure Functions Development
Key term
Azure Container Instances
Azure Container Instances (ACI) is a PaaS service that lets you run a container directly in Azure without managing any underlying servers or orchestration.
Key term
Container registry
A container registry is a centralized storage and distribution system for container images, enabling developers to push, pull, and manage versions of application snapshots across environments.
About these practice questions
Courseiva writes every AZ-204 question from scratch — 881 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AZ-204 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-204 exam.