Microsoft Azure Administrator (AZ-104) · Section 3 · 23% of the exam
Manage sizing and scaling for containers, including Azure Container Instances and Azure Container Apps
One of the objectives of the Microsoft Azure Administrator (AZ-104) exam, in the section “Deploy and manage Azure compute resources”. Here is what it covers, the points to remember and a question to try.
What it covers
A container registry stores your images, and Azure runs them without servers to manage in Container Instances (single, short-lived groups) or Container Apps (revisions, ingress and event-driven scaling). This lesson covers registry tiers and sign-in, deploying to both services, and how each is sized and scaled.
Points to remember
- ACR tiers: Basic (10 GiB), Standard (100 GiB), Premium (500 GiB); only Premium has geo-replication, private link, content trust and customer-managed keys.
az acr login --name <name>gives a token valid for 3 hours;az acr buildbuilds in the cloud with ACR Tasks.- Give runtimes the AcrPull role through a managed identity; keep the admin account disabled.
- ACI runs a container group (shared lifecycle, network and volumes) billed per second; restart policies are Always (default), OnFailure and Never.
- ACI has no autoscale; container resources are set at deployment; use Azure Files to persist data.
Try a question
A company needs a container registry that supports private endpoints and geo-replication to two regions. Which Azure Container Registry tier is the minimum that meets both requirements?
- APremium
- BBasic
- CStandard
- DAny tier, if the admin account is enabled
Show the answer
A. Basic includes 10 GiB, Standard 100 GiB and Premium 500 GiB of storage. Premium also adds geo-replication, private link, content trust, customer-managed keys, dedicated data endpoints and artifact streaming. You can change tiers without downtime, but must remove Premium-only resources before moving down.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Containers: Azure Container Registry, Container Instances and Container Apps teaches this objective (about 55 minutes), and 16 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.
More in this section
- Interpret an Azure Resource Manager template or a Bicep file
- Modify an existing Azure Resource Manager template
- Modify an existing Bicep file
- Deploy resources by using an Azure Resource Manager template or a Bicep file
- Export a deployment as an Azure Resource Manager template or convert an Azure Resource Manager template to a Bicep file
- Create a virtual machine
- Configure Azure Disk Encryption
- Move a virtual machine to another resource group, subscription, or region
- Manage virtual machine sizes
- Manage virtual machine disks
- Deploy virtual machines to availability zones and availability sets
- Deploy and configure an Azure Virtual Machine Scale Sets