easymultiple choiceObjective-mapped

A build pipeline needs to run a Linux container for 10 to 15 minutes at a time. The team does not want to manage servers, clusters, or an always-on VM. Which Azure service should be used?

Question 1easymultiple choice
Full question →

A build pipeline needs to run a Linux container for 10 to 15 minutes at a time. The team does not want to manage servers, clusters, or an always-on VM. Which Azure service should be used?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Best answer

Azure Container Instances

Azure Container Instances is well suited for short-lived, isolated container runs without cluster management. It lets the team start a container on demand, run the job, and stop paying for a continuously running server once the task is complete. For scheduled or event-driven container workloads that do not need orchestration features, it is a simple and practical choice.

B

Distractor review

Azure Kubernetes Service

AKS is powerful for orchestrating many containers, but it adds cluster management that the team does not want.

C

Distractor review

Azure Virtual Machine

A VM would require managing the operating system and keeping a server running for a short task.

D

Distractor review

Azure App Service

App Service is primarily for web applications and APIs, not for a short-lived container job with no web endpoint.

Common exam trap

Common exam trap: answer the scenario, not the keyword

Many certification questions include familiar terms but test a specific constraint. Read the exact wording before choosing an answer that is generally true but wrong for this case.

Technical deep dive

How to think about this question

This question should be treated as a scenario, not a definition check. Identify the problem, the constraint and the best action. Then compare each option against those facts.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.
  • Use explanations to understand the rule behind the answer.

TExam Day Tips

  • Underline the problem statement mentally.
  • 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.

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.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this AZ-104 question test?

Read the scenario before looking for a memorised answer.

What is the correct answer to this question?

The correct answer is: Azure Container Instances — Azure Container Instances is the right service for a short-lived container that needs to run without managing a server or cluster. It is designed for simple container execution scenarios such as scheduled jobs, build tasks, or burst workloads. Because the container runs only when needed, the team avoids the overhead of maintaining a VM or a Kubernetes environment. That makes ACI the operationally simplest option in this situation. Why others are wrong: AKS is better when you need container orchestration, scaling, and cluster lifecycle management, but those features are unnecessary here. A virtual machine would add server administration overhead for a task that only runs briefly. App Service is focused on hosting web apps and APIs, not one-off container jobs. Azure Container Instances is the only option aligned with the stated operational needs.

What should I do if I get this AZ-104 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.