Sample questions
Microsoft Azure Developer Associate AZ-204 practice questions
Three analytics pipelines each need to read every event from the same Azure Event Hub: one pipeline archives events to cold storage, one computes real-time aggregations, and one fe…
Connect to and consume Azure services and third-party servicesmediumSee the answer and why each option is right or wrong →After deploying a new version to the staging slot and swapping to production, users report a 60-second spike in 503 errors. The application takes 45 seconds to initialize its conne…
Monitor, troubleshoot, and optimize Azure solutionsmediumSee the answer and why each option is right or wrong →Multiple teams need different levels of access to the same Azure Key Vault: the DevOps team needs to create and rotate secrets, the application team needs read-only secret access,…
A business process requires sending an approval email, waiting up to 48 hours for a manager's response, and then updating a SharePoint list based on the decision. The process owner…
Connect to and consume Azure services and third-party serviceseasySee the answer and why each option is right or wrong →Backend APIs exposed through Azure API Management are consumed by multiple subscribers. The product owner wants to prevent any single subscriber from sending more than 100 requests…
Connect to and consume Azure services and third-party servicesmediumSee the answer and why each option is right or wrong →Three microservices collaborate on a single user transaction: an App Service API, an Azure Function that processes a Service Bus message, and a downstream storage service. Traces a…
Monitor, troubleshoot, and optimize Azure solutionshardSee the answer and why each option is right or wrong →The team is writing an Azure Function that needs to retrieve secrets from Azure Key Vault at runtime. The security policy prohibits storing client secrets, connection strings, or c…
You are building an Azure Logic App that needs to call a third-party REST API. The API requires an API key to be passed in the 'X-API-Key' header. You have stored the API key as a…
Connect to and consume Azure services and third-party servicesmediumSee the answer and why each option is right or wrong →An application stores sensor readings in Azure Table Storage. Each sensor produces thousands of readings per hour. Queries always filter by sensor ID and time range. A developer ne…
You are monitoring a web application with Application Insights. The application occasionally returns HTTP 500 errors. You want to be notified immediately when the error rate exceed…
Monitor, troubleshoot, and optimize Azure solutionsmediumSee the answer and why each option is right or wrong →You are building an Azure Logic App that must call a third-party REST API secured with OAuth 2.0 Client Credentials flow. The client ID and client secret are stored in Azure Key Va…
Connect to and consume Azure services and third-party servicesmediumSee the answer and why each option is right or wrong →You are developing an ASP.NET Core web app that uses Azure SQL Database. The SQL connection string contains a password that must be rotated every 30 days. The app runs on Azure App…
You need to grant a user from another Microsoft Entra ID tenant access to a specific blob container in your Azure Storage account. The solution must use Azure RBAC and minimize adm…
You are building an Azure Logic App that must call an external REST API. The API requires an API key passed in the Authorization header. You need to store the API key securely and…
Connect to and consume Azure services and third-party serviceseasySee the answer and why each option is right or wrong →You are using Azure Application Insights to monitor a web application. You need to create a custom dashboard that shows the number of failed requests per endpoint over the last 24…
Monitor, troubleshoot, and optimize Azure solutionseasySee the answer and why each option is right or wrong →You are developing an Azure Function that runs on a Consumption Plan. The function calls an external API that enforces a rate limit of 10 requests per second. When the function sca…
You have an Azure Storage account with cool tier blobs. You need to implement lifecycle management to move blobs to the archive tier after 30 days if they have not been accessed, a…
You are monitoring an Azure web application with Application Insights. You need to identify the top 5 slowest API endpoints over the last 7 days. The results should show the endpoi…
Monitor, troubleshoot, and optimize Azure solutionsmediumSee the answer and why each option is right or wrong →Your company uses Azure Key Vault to store secrets. You need to ensure that only a specific Microsoft Entra ID application can read a particular secret, while other applications ar…
You are monitoring an Azure App Service with Application Insights. You need to create a custom dashboard that shows the number of requests over time and the average server response…
Monitor, troubleshoot, and optimize Azure solutionseasySee the answer and why each option is right or wrong →You are using Azure API Management (APIM) to expose a REST API. The backend API requires mutual TLS (client certificate) for authentication. The client certificate is stored in Azu…
A storage account for thumbnail metadata must allow an application to read only blobs under one container for two hours. The application should not receive the account key. What sh…
You are building a data pipeline that writes billions of small log records (each ~200 bytes) to Azure Blob Storage. The logs are always written in chronological order and are read…
You are building a real-time dashboard that displays data from Azure Event Hubs. You need to aggregate events over a one-minute window and update the dashboard every minute. Which…