- A
Azure Container Instances
This is a serverless container host that fits short-lived, on-demand container jobs.
- B
Azure App Service
This provides built-in HTTPS, deployment slots, and autoscale for web applications.
- C
Azure Kubernetes Service
Why wrong: AKS is powerful, but it adds cluster management that the scenario explicitly wants to avoid.
- D
Azure Virtual Machines
Why wrong: VMs can run both workloads, but they require much more operational management than needed.
- E
Azure Functions
Why wrong: Functions are event-driven, but the container job and the web-app requirements point to different services.
Quick Answer
The answer is Azure Container Instances for the ephemeral container workload and Azure App Service for the public web app. Azure Container Instances is the correct choice for the first job because it runs a Linux container on demand with per-second billing, no inbound traffic requirements, and no need for persistent nodes or clustering—perfect for a 15-minute build pipeline triggered by a request. Azure App Service handles the second workload by providing built-in TLS termination, deployment slots for staging and swapping, and native autoscale, all essential for a public web app. On the AZ-104 exam, this question tests your ability to match compute services to specific workload characteristics: ACI for serverless, short-lived containers versus App Service for managed, feature-rich web hosting. A common trap is choosing Azure Container Instances for the web app, but remember that ACI lacks built-in TLS, slots, and autoscale. Memory tip: “ACI for a quick container chore, App Service for a web app with more.”
AZ-104 Deploy and Manage Azure Compute Practice Question
This AZ-104 practice question tests your understanding of deploy and manage azure compute. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. A key principle to apply: azure Container Instances (ACI) offers serverless container execution.. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A build pipeline needs to run a Linux container for about 15 minutes whenever a request arrives. The job never needs inbound traffic, clustering, or persistent node management. A second workload is a public web app that needs built-in TLS, deployment slots, and autoscale. Which two Azure compute services should the administrator choose? Select two.
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"never"Why it matters: Absolute qualifier. True only if the statement has zero exceptions — be cautious of options that seem obvious but break down in edge cases.
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
Azure Container Instances
Azure Container Instances (ACI) is the correct choice for the first workload because it allows you to run a Linux container on demand without managing any underlying infrastructure, and it supports a 15-minute execution time perfectly with its per-second billing and no requirement for persistent nodes or inbound traffic. Azure App Service is correct for the second workload because it natively provides built-in TLS/SSL termination, deployment slots for staging and swapping, and autoscale capabilities out of the box, making it ideal for a public web app.
Key principle: Azure Container Instances (ACI) offers serverless container execution.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Azure Container Instances
Why this is correct
This is a serverless container host that fits short-lived, on-demand container jobs.
Clue confirmation
The clue word "never" in the question point toward this answer.
Related concept
Azure Container Instances (ACI) offers serverless container execution.
- ✓
Azure App Service
Why this is correct
This provides built-in HTTPS, deployment slots, and autoscale for web applications.
Clue confirmation
The clue word "never" in the question point toward this answer.
Related concept
Azure Container Instances (ACI) offers serverless container execution.
- ✗
Azure Kubernetes Service
Why it's wrong here
AKS is powerful, but it adds cluster management that the scenario explicitly wants to avoid.
- ✗
Azure Virtual Machines
Why it's wrong here
VMs can run both workloads, but they require much more operational management than needed.
- ✗
Azure Functions
Why it's wrong here
Functions are event-driven, but the container job and the web-app requirements point to different services.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often choose Azure Kubernetes Service for any container workload, overlooking that ACI is simpler and cheaper for ephemeral, single-container tasks, and they may also pick Azure Functions for the web app without realizing it lacks native deployment slots and built-in TLS management compared to App Service.
Trap categories for this question
Scenario analysis trap
AKS is powerful, but it adds cluster management that the scenario explicitly wants to avoid.
Detailed technical explanation
How to think about this question
Azure Container Instances uses a hypervisor-level isolation with a per-second billing model, allowing containers to start in seconds and run for exactly the needed duration without any orchestration; it is ideal for batch jobs or build tasks. Azure App Service runs on a multi-tenant platform that handles TLS termination at the front-end load balancer using SNI (Server Name Indication) and supports deployment slots with traffic routing via Azure Traffic Manager or slot swap operations that preserve warm-up and validation. A real-world scenario: a CI/CD pipeline triggers a container in ACI to run unit tests for 15 minutes, while the production web app runs on App Service with a staging slot for zero-downtime deployments.
KKey Concepts to Remember
- Azure Container Instances (ACI) offers serverless container execution.
- ACI is ideal for burstable, short-lived, and event-driven container workloads.
- ACI eliminates the need for VM or cluster management.
- Billing for ACI is based on per-second usage of CPU and memory.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Azure Container Instances (ACI) offers serverless container execution.
Real-world example
How this comes up in practice
A startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.
What to study next
Got this wrong? Here's your next step.
Review azure Container Instances (ACI) offers serverless container execution., then practise related AZ-104 questions on the same topic to reinforce the concept.
- →
Deploy and Manage Azure Compute — study guide chapter
Learn the concepts, then practise the questions
- →
Deploy and Manage Azure Compute practice questions
Targeted practice on this topic area only
- →
All AZ-104 questions
1,170 questions across all exam domains
- →
AZ-104 study guide
Full concept coverage aligned to exam objectives
- →
AZ-104 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related AZ-104 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Manage Azure Identities and Governance practice questions
Practise AZ-104 questions linked to Manage Azure Identities and Governance.
Implement and Manage Storage practice questions
Practise AZ-104 questions linked to Implement and Manage Storage.
Deploy and Manage Azure Compute practice questions
Practise AZ-104 questions linked to Deploy and Manage Azure Compute.
Implement and Manage Virtual Networking practice questions
Practise AZ-104 questions linked to Implement and Manage Virtual Networking.
Monitor and Maintain Azure Resources practice questions
Practise AZ-104 questions linked to Monitor and Maintain Azure Resources.
AZ-104 Azure RBAC practice questions
Practise AZ-104 questions linked to AZ-104 Azure RBAC.
AZ-104 storage account practice questions
Practise AZ-104 questions linked to AZ-104 storage account.
AZ-104 virtual network practice questions
Practise AZ-104 questions linked to AZ-104 virtual network.
AZ-104 NSG practice questions
Practise AZ-104 questions linked to AZ-104 NSG.
AZ-104 Azure Monitor practice questions
Practise AZ-104 questions linked to AZ-104 Azure Monitor.
AZ-104 backup practice questions
Practise AZ-104 questions linked to AZ-104 backup.
AZ-104 managed identity practice questions
Practise AZ-104 questions linked to AZ-104 managed identity.
Practice this exam
Start a free AZ-104 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this AZ-104 question test?
Deploy and Manage Azure Compute — This question tests Deploy and Manage Azure Compute — Azure Container Instances (ACI) offers serverless container execution..
What is the correct answer to this question?
The correct answer is: Azure Container Instances — Azure Container Instances (ACI) is the correct choice for the first workload because it allows you to run a Linux container on demand without managing any underlying infrastructure, and it supports a 15-minute execution time perfectly with its per-second billing and no requirement for persistent nodes or inbound traffic. Azure App Service is correct for the second workload because it natively provides built-in TLS/SSL termination, deployment slots for staging and swapping, and autoscale capabilities out of the box, making it ideal for a public web app.
What should I do if I get this AZ-104 question wrong?
Review azure Container Instances (ACI) offers serverless container execution., then practise related AZ-104 questions on the same topic to reinforce the concept.
Are there clue words in this question I should notice?
Yes — watch for: "never". Absolute qualifier. True only if the statement has zero exceptions — be cautious of options that seem obvious but break down in edge cases.
What is the key concept behind this question?
Azure Container Instances (ACI) offers serverless container execution.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more ways this is tested on AZ-104
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. One team needs to run a Linux container for about 15 minutes per request with no inbound traffic and no cluster to manage. Another team needs an internet-facing web app with built-in HTTPS, deployment slots, and autoscale. Which two Azure services should the administrator choose? Select two.
medium- ✓ A.Azure Container Instances
- ✓ B.Azure App Service
- C.Azure Virtual Machines
- D.Azure Kubernetes Service
- E.Azure Batch
Why A: Azure Container Instances (ACI) is the correct choice for the first team because it allows running a Linux container directly on Azure without managing any underlying infrastructure or cluster, and it supports a 15-minute execution time with no inbound traffic required. ACI is ideal for burstable, short-lived container workloads that do not need orchestration.
Last reviewed: Jun 11, 2026
This AZ-104 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-104 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.