Back to Microsoft Azure Developer Associate AZ-204 questions

Scenario-based practice

Select Two (Multi-Select) Questions

Practise Microsoft Azure Developer Associate AZ-204 practice questions — original exam-style scenarios covering every exam domain, with detailed explanations, wrong-answer analysis, and common exam traps.

20
scenario questions
AZ-204
exam code
Microsoft
vendor

Scenario guide

How to approach select two (multi-select) questions

Multi-select questions tell you to 'Choose TWO' or 'Choose THREE'. Getting partial credit is not a thing — you must select all correct answers with no incorrect ones. The stem always states how many to choose, so trust it. These questions require precision, not best-guess elimination.

Quick answer

Select Two (Multi-Select) Questions questions test whether you can apply the concept in context, not just recognise a definition.

How the topic appears in realistic exam-style scenarios.

Which detail in the question changes the correct answer.

How to eliminate plausible but wrong options.

How to connect the question back to the wider exam objective.

Related practice questions

Related AZ-204 topic practice pages

Scenario questions usually connect to one or more exam topics. Use these links to review the underlying concepts behind the scenario.

Practice set

Practice scenarios

Question 1mediummulti select
Read the full NAT/PAT explanation →

Which TWO services can be used to implement a publish-subscribe messaging pattern in Azure?

Question 2mediummulti select
Full question →

You are monitoring an ASP.NET Core web API with Application Insights. You want to view the SQL queries being executed, including the command text and duration, in the Application Insights portal. Which actions must you take? (Select all that apply.) (Choose 2.)

Question 3hardmulti select
Full question →

A production API needs proactive alerting for failed dependency calls. Which two elements are required for a useful Azure Monitor alert?

A production API needs proactive alerting for high telemetry cost. Which two elements are required for a useful Azure Monitor alert?

Question 5hardmulti select
Full question →

A document rendering job in Azure App Service must safely access Key Vault secrets without connection strings in configuration. Which two steps are required?

Question 6hardmulti select
Full question →

A production API needs proactive alerting for unexpected exceptions. Which two elements are required for a useful Azure Monitor alert?

Question 7hardmulti select
Full question →

An API receives JWT access tokens from Microsoft Entra ID. Which two token properties should the API validate before accepting a request? The team wants the control to be enforceable during normal operations.

Question 8hardmulti select
Full question →

An API receives JWT access tokens from Microsoft Entra ID. Which two token properties should the API validate before accepting a request? The design must avoid adding custom operational scripts.

Question 9hardmulti select
Read the full NAT/PAT explanation →

An API receives JWT access tokens from Microsoft Entra ID. Which two token properties should the API validate before accepting a request? The architecture review board prefers a managed AWS-native control.

Question 10hardmulti select
Full question →

Your company is deploying a multi-tier application on Azure. The application consists of a web front end, an API layer, and a database. You need to ensure secure communication between tiers. Which TWO actions should you take? (Choose two.)

Question 11mediummulti select
Full question →

You are developing a serverless application using Azure Functions. The application processes orders from a queue and writes results to Azure Cosmos DB. You need to ensure that the function scales out automatically to handle sudden spikes in order volume. Which two actions should you take? (Choose two.)

Question 12mediummulti select
Full question →

Which THREE features does Azure Container Instances (ACI) provide?

Question 13mediummulti select
Full question →

You are designing a solution that uses Azure Functions to process events from Azure Event Hubs. Which TWO features should you enable to ensure the function processes events in order and exactly once?

Question 14hardmulti select
Full question →

Your Azure Container Apps solution uses Dapr for microservices communication. Which THREE Dapr building blocks are essential for service-to-service invocation and state management?

Question 15hardmulti select
Full question →

Which THREE factors should you consider when choosing between Azure Functions (Consumption plan) and Azure Container Instances for running a background job that processes messages from Azure Service Bus?

Question 16mediummulti select
Full question →

Which TWO of the following are valid use cases for Azure Queue Storage? (Choose TWO.)

Question 17mediummulti select
Full question →

Which TWO actions should you take to ensure high availability for a stateful ASP.NET application deployed on Azure App Service?

Question 18easymulti select
Full question →

Which TWO actions can you perform using Azure Container Registry (ACR) tasks?

Question 19mediummulti select
Read the full VPN explanation →

You are deploying an Azure App Service that must be accessible only from your corporate network via a VPN. You need to restrict inbound traffic. Which TWO actions should you take?

Question 20mediummulti select
Full question →

You are developing a solution that uses Azure Container Instances (ACI) to run a batch processing job. The job runs for approximately 30 minutes and requires access to a configuration file stored in Azure Files. You need to ensure the container instance can access the file share securely without using a public endpoint. Which TWO actions should you take?

These AZ-204 practice questions are part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style AZ-204 questions with detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics.