Courseiva
Question 1,028 of 981
Describe Azure architecture and servicesmediumMultiple ChoiceObjective-mapped

AZ-900 Describe Azure architecture and services Practice Question

A company's data engineering team needs to process CSV files that are uploaded to an Azure Blob Storage container. For each uploaded file, the team must run a custom Python script to clean and transform the data. The team wants a solution that automatically triggers the script upon file upload, does not require them to manage any virtual machines or containers, and charges only when code executes. Which Azure service should the team use?

⚠ Common exam trap

Many exam-takers confuse Azure Logic Apps with Azure Functions because both can respond to blob uploads, but Logic Apps cannot natively execute arbitrary Python code without an intermediate service, and its pricing model charges per action execution rather than per compute time.

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 Functions

Azure Functions is the correct choice because it provides a serverless compute service that can be triggered directly by an HTTP request or a Blob Storage event (via an Event Grid subscription or a Blob trigger). This allows the custom Python script to execute automatically when a CSV file is uploaded, without provisioning or managing any virtual machines or containers. The consumption plan ensures you are charged only for the duration of code execution, meeting all stated requirements.

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 Logic Apps

    Why it's wrong here

    Azure Logic Apps is a workflow automation service that uses pre-built connectors to orchestrate tasks. It can trigger on blob uploads, but it is designed for integrating services and managing workflows, not for running custom Python scripts directly. To execute Python code within Logic Apps, you would need a separate compute service like Azure Functions, making this an indirect and less optimal choice.

    When this WOULD be correct

    A company needs to orchestrate a workflow that, upon file upload to Blob Storage, sends an email notification and copies the file to another container. The team wants a no-code solution with built-in connectors. In that case, Azure Logic Apps would be the correct answer.

  • Azure Functions

    Why this is correct

    Azure Functions is a serverless compute service that supports multiple languages, including Python. It can be triggered by Azure Blob Storage events (e.g., a new blob created) to automatically run the function code. The consumption plan bills only for the execution time, and there is no infrastructure to manage. This matches all the requirements perfectly.

  • Azure Container Instances

    Why it's wrong here

    Azure Container Instances (ACI) allows you to run containers without managing servers, but it does not natively support event-driven triggers like blob uploads. You would need an external service (e.g., Azure Functions or Logic Apps) to invoke the container, which adds complexity and cost. Additionally, ACI charges for the entire duration the container runs, not per execution.

    When this WOULD be correct

    A question where the team needs to run a custom Docker container for data processing, requires fast startup times, and wants to avoid managing underlying VMs but is okay with paying for container uptime (e.g., a batch processing job that runs for a few minutes).

  • Azure Batch

    Why it's wrong here

    Azure Batch is a job scheduling service for running large-scale parallel and high-performance computing (HPC) workloads. It is designed for batch processing of many tasks, not for executing a single script in response to an event. While you could potentially use it, it would be overly complex and costly for the simple, event-driven file processing described.

    When this WOULD be correct

    A question where the team needs to run a large number of data processing tasks (e.g., thousands of CSV files) in parallel, with the ability to scale across many VMs, and they are willing to manage compute resources. For example: 'A company needs to process millions of image files using a custom tool, running on a cluster of VMs, with job scheduling and auto-scaling.'

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The AZ-900 exam frequently reuses these exact scenarios with slightly different constraints.

Azure FunctionsCorrect answer

Why this is correct

Azure Functions is a serverless compute service that supports multiple languages, including Python. It can be triggered by Azure Blob Storage events (e.g., a new blob created) to automatically run the function code. The consumption plan bills only for the execution time, and there is no infrastructure to manage. This matches all the requirements perfectly.

Azure Logic AppsWrong answer — click to see why

Why this is wrong here

Azure Logic Apps is a low-code integration service that uses connectors and workflows, not custom Python scripts. The requirement to run a custom Python script makes Logic Apps unsuitable, as it does not natively execute arbitrary code.

★ When this WOULD be the correct answer

A company needs to orchestrate a workflow that, upon file upload to Blob Storage, sends an email notification and copies the file to another container. The team wants a no-code solution with built-in connectors. In that case, Azure Logic Apps would be the correct answer.

Why candidates choose this

Candidates may confuse Logic Apps' trigger-on-blob-upload capability with the ability to run custom code, not realizing Logic Apps is designed for workflow automation with pre-built connectors rather than executing arbitrary scripts.

Azure Container InstancesWrong answer — click to see why

Why this is wrong here

Azure Container Instances requires managing containers (though simplified) and incurs costs for running containers even when idle, not just when code executes. It does not natively trigger on Blob Storage uploads without additional components like Event Grid.

★ When this WOULD be the correct answer

A question where the team needs to run a custom Docker container for data processing, requires fast startup times, and wants to avoid managing underlying VMs but is okay with paying for container uptime (e.g., a batch processing job that runs for a few minutes).

Why candidates choose this

Candidates may confuse 'serverless containers' with 'serverless functions', thinking Container Instances is serverless and can be triggered automatically, but it lacks built-in event-driven triggers and pay-per-execution pricing.

Azure BatchWrong answer — click to see why

Why this is wrong here

Azure Batch requires managing a pool of compute nodes and is designed for large-scale parallel batch processing, not for event-driven, serverless execution triggered by file uploads. It does not charge only when code executes and involves more management overhead.

★ When this WOULD be the correct answer

A question where the team needs to run a large number of data processing tasks (e.g., thousands of CSV files) in parallel, with the ability to scale across many VMs, and they are willing to manage compute resources. For example: 'A company needs to process millions of image files using a custom tool, running on a cluster of VMs, with job scheduling and auto-scaling.'

Why candidates choose this

Candidates may confuse Azure Batch with serverless options because it can run custom scripts and is triggered by jobs, but they overlook its requirement for managing compute nodes and its cost model based on allocated VMs, not per execution.

Analysis generated from the official AZ-900blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

Quick reference

Azure Blob Storage Tier Comparison

TierStorage CostRetrieval CostLatencyUse Case
HotHighestLowestImmediateActive data, frequent reads
CoolLowerHigherImmediateData accessed < once / month
ColdLower stillHigherImmediateData accessed < once / quarter
ArchiveLowestHighest + rehydration delayHoursLong-term compliance retention

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 →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

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.

Loading comments…

Sign in to join the discussion.

This AZ-900 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-900 exam.