Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

← Develop Azure compute solutions practice sets

AZ-204 Develop Azure compute solutions • Complete Question Bank

AZ-204 Develop Azure compute solutions — All Questions With Answers

Complete AZ-204 Develop Azure compute solutions question bank — all 0 questions with answers and detailed explanations.

258
Questions
Free
No signup
Certifications/AZ-204/Practice Test/Develop Azure compute solutions/All Questions
Question 1mediummultiple choice
Read the full NAT/PAT explanation →

You are implementing an Azure Durable Functions application that processes orders. The function must call three external APIs (payment gateway, inventory system, and shipping calculator) in parallel, then aggregate the results once all three have completed. Which Durable Functions pattern should you use?

Question 2easymultiple choice
Read the full Develop compute solutions explanation →

A company uses Azure Functions with a consumption plan. The function processes messages from a queue. During peak hours, the function takes longer to execute, and some messages are processed twice. What is the most likely cause?

Question 3mediummultiple choice
Read the full Develop compute solutions explanation →

You are deploying a Node.js application to Azure Web Apps for Containers. The application needs to read configuration settings from Azure App Configuration. What is the recommended method to securely connect the app to the configuration store?

Question 4mediummultiple choice
Read the full Develop compute solutions explanation →

You are implementing an order processing system using Azure Durable Functions. The function must send notifications to multiple channels (email, SMS, push) in parallel and wait for all to complete before sending a confirmation. Which Durable Functions feature should you utilize?

Question 5mediummultiple choice
Read the full Develop compute solutions explanation →

You are deploying a sensitive configuration to Azure Container Instances. The configuration must be encrypted at rest and not visible in the container logs. What should you use?

Question 6easymultiple choice
Read the full Develop compute solutions explanation →

A company deploys a web application to Azure App Service. They want to deploy a new version of the app with zero downtime and the ability to quickly roll back if needed. Which deployment feature should they use?

Question 7easymultiple choice
Read the full Develop compute solutions explanation →

A company deploys a stateful application as a container in Azure Container Instances (ACI). They need persistent storage that can be shared across multiple container instances and retain data after container restarts. Which volume mount should they use?

Question 8easymultiple choice
Read the full Develop compute solutions explanation →

A company deploys an Azure Function app that processes orders. The function needs to scale out automatically when the queue length grows and be billed only for execution time. Which hosting plan should you use?

Question 9hardmultiple choice
Read the full Develop compute solutions explanation →

You deploy a containerized application on Azure Container Instances (ACI). The application writes data that must persist across container restarts and be accessible from multiple instances. Which volume mount should you configure?

Question 10easymultiple choice
Read the full Develop compute solutions explanation →

You deploy a web application to Azure App Service. You need to deploy a new version of the application without downtime and have the ability to test the new version before switching traffic. Which feature should you use?

Question 11mediummultiple choice
Read the full NAT/PAT explanation →

You develop an Azure Functions app that processes images triggered by blob uploads. You need to ensure the function can process images in parallel and handle high upload volumes without missing events. Which trigger and plan combination is recommended?

Question 12mediummultiple choice
Read the full Develop compute solutions explanation →

You deploy a containerized application to Azure Container Instances (ACI). The application writes logs that must persist across container restarts and be accessible from a file system. The solution must minimize cost and complexity. Which configuration should you use?

Question 13mediummultiple choice
Read the full NAT/PAT explanation →

You develop a serverless application using Azure Functions. The function must process images uploaded to a blob container. You need to ensure the function runs only when a new blob is created, and that it scales out automatically for high upload volumes. Which trigger and hosting plan combination should you use?

Question 14easymultiple choice
Read the full Develop compute solutions explanation →

You are deploying a background processing job that reads messages from an Azure Storage Queue. The job must run on the same compute resources as the main web application and must not require additional deployment or monitoring overhead. Which solution should you use?

Question 15easymultiple choice
Read the full Develop compute solutions explanation →

You need to deploy a container that runs a simple web server on Azure Container Instances. The container should be accessible via a public IP address. Which property should you set in the container group configuration?

Question 16hardmultiple choice
Read the full Develop compute solutions explanation →

You are deploying a Docker container to Azure Container Instances (ACI). The container must use GPU resources for machine learning inference. You need to select the appropriate option to provision GPU-enabled containers. What should you do?

Question 17easymultiple choice
Read the full NAT/PAT explanation →

You are deploying a containerized application to Azure Container Instances. The application requires a custom domain name and SSL/TLS termination. You need to configure these features. Which resource should you create alongside the container group?

Question 18mediummultiple choice
Read the full NAT/PAT explanation →

You develop an Azure Function app that processes orders. The function must write order status updates to a database. You need to ensure that if the function fails after writing to the database, the order is not lost and can be retried. Which pattern should you implement?

Question 19easymultiple choice
Read the full Develop compute solutions explanation →

You are building a serverless image-processing solution using Azure Functions. The function must automatically run whenever a new image is uploaded to a blob container and must scale out to handle high upload volumes. Which trigger and hosting plan should you use?

Question 20mediummultiple choice
Read the full Develop compute solutions explanation →

You deploy a container to Azure Container Instances (ACI). The container runs a background job that should automatically restart only if it exits with a non-zero exit code (i.e., crashes). You want to minimize costs. Which restart policy should you configure?

Question 21easymultiple choice
Read the full Develop compute solutions explanation →

You are deploying a containerized application to Azure Container Instances (ACI). The application writes temporary data to a local disk that must persist across container restarts (e.g., after a crash). Which configuration should you use?

Question 22hardmultiple choice
Read the full NAT/PAT explanation →

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 scales out to multiple instances, you must ensure the rate limit is not exceeded. Which pattern should you implement?

Question 23mediummultiple choice
Read the full Develop compute solutions explanation →

You deploy a containerized background job to Azure Container Instances (ACI). The job should automatically restart only if it exits with a non-zero exit code (i.e., crashes). You want to minimize costs. Which restart policy should you configure?

Question 24mediummultiple choice
Read the full Develop compute solutions explanation →

You are developing an Azure Function that processes messages from an Azure Service Bus queue. The function uses a Service Bus queue trigger and runs on a Consumption Plan. The queue receives a high volume of messages in bursts. You need to ensure that the function scales out to handle the load but does not exceed 10 concurrent instances. Which configuration should you apply?

Question 25easymultiple choice
Read the full Develop compute solutions explanation →

You deploy a containerized web application to Azure Container Instances (ACI). The application writes session data to a local directory. You need the data to persist across container restarts (e.g., after a crash or redeployment). Which storage configuration should you use?

Question 26easymultiple choice
Read the full Develop compute solutions explanation →

You are developing an Azure Function that uses a Service Bus queue trigger. You need to ensure that the function processes messages one at a time to guarantee order. Which configuration should you use?

Question 27mediummultiple choice
Read the full Develop compute solutions explanation →

You have an Azure Function with a Service Bus queue trigger. The function processes messages that must be handled in order within each partition of the queue. You need to ensure that the function does not process multiple messages from the same partition concurrently, while still allowing parallel processing across different partitions. Which setting should you configure?

Question 28easymultiple choice
Read the full Develop compute solutions explanation →

You are developing a solution that needs to run a background task every 10 minutes to clean up temporary files in Azure Blob Storage. You want to use Azure Functions with the Consumption Plan to minimize cost. Which trigger type should you use?

Question 29hardmultiple choice
Read the full Develop compute solutions explanation →

You are deploying a batch processing application to Azure Container Instances (ACI). The application processes multiple files from an Azure Blob Storage container and writes results to another container. Each container instance processes a single file and then exits. The processing logic is written in a Docker image that reads input and output connection strings from environment variables. You need to configure the container group so that it writes the results to the output container durably and efficiently. The environment variables must be provided at runtime but must not be exposed in the ACI configuration. Which approach should you use?

Question 30easymultiple choice
Read the full Develop compute solutions explanation →

You are developing a solution that needs to perform a multi-step workflow. The workflow involves calling several third-party APIs, and some steps may require waiting for a human approval via email. The workflow may run for hours. You want to use Azure Functions to implement this orchestration. Which Azure Functions feature should you use?

Question 31mediummultiple choice
Read the full Develop compute solutions explanation →

You are deploying a containerized application to Azure Container Instances (ACI). The application requires a connection string to an Azure SQL Database. The connection string contains a password that is stored as a secret in Azure Key Vault. The container image expects to read the connection string from an environment variable named SQL_CONNECTION_STRING. You want to pass the secret securely without embedding it in the YAML deployment file and without modifying the container image. The ACI container group will use a system-assigned managed identity that has access to the Key Vault secret. Which approach should you use?

Question 32hardmultiple choice
Read the full Develop compute solutions explanation →

You have implemented a long-running order processing workflow using Azure Durable Functions. The orchestration may run for hours and involves multiple activity functions. You need to monitor the status of all running orchestrations and receive alerts when an orchestration fails. Which approach provides the most comprehensive and real-time monitoring?

Question 33easymultiple choice
Read the full Develop compute solutions explanation →

You are deploying a new version of an ASP.NET Core web application to Azure App Service. You want to test the new version with a subset of users before making it available to everyone. You also need to be able to switch back instantly if issues are found. Which App Service feature should you use?

Question 34mediummultiple choice
Read the full Develop compute solutions explanation →

You have an Azure App Service web app that experiences fluctuating traffic. During peak hours, the CPU usage reaches 90% and response times increase. You want to automatically scale out the number of instances when CPU usage exceeds 75% and scale in when it drops below 25%. The scaling should be gradual to avoid thrashing. Which configuration should you use?

Question 35easymultiple choice
Read the full Develop compute solutions explanation →

You need to execute a PowerShell script every night to clean up unused resources in your Azure subscription. The script should run with a specific service principal identity that has the necessary permissions. You want a serverless solution with minimal management overhead. Which Azure service should you use?

Question 36hardmultiple choice
Read the full Develop compute solutions explanation →

You are implementing a Durable Functions orchestration that calls an activity function which may fail transiently. You want to retry the activity up to 3 times with a 5-second delay and exponential backoff. Which code snippet should you use?

Question 37mediummultiple choice
Read the full Develop compute solutions explanation →

You are deploying a container group to Azure Container Instances that runs a stateful application. The application writes data to the /data directory. You need to ensure that the data is preserved if the container restarts. Which volume mount type should you use?

Question 38hardmultiple choice
Read the full Develop compute solutions explanation →

You are implementing an Azure Durable Functions orchestration. The orchestration calls several activity functions that may fail transiently. You need to retry an activity up to 3 times with a 5-second delay, doubling the delay each time (exponential backoff). Which method should you use to call the activity?

Question 39mediummultiple choice
Read the full Develop compute solutions explanation →

You deploy a containerized application to Azure Container Instances (ACI). The application writes state to the /data directory. You need to ensure that if the container restarts, the data persists. Which type of volume mount should you use?

Question 40hardmultiple choice
Read the full Develop compute solutions explanation →

You have a Durable Functions orchestration that calls an activity function which may throw an exception due to a transient network issue. You want to retry the activity up to 3 times with a 2-second delay between attempts and exponential backoff. Which method should you use in the orchestrator function?

Question 41easymultiple choice
Read the full Develop compute solutions explanation →

You deploy a container to Azure Container Instances. The container needs to persist data when it restarts. You mount an Azure Files share to a directory inside the container. Which volume type is this?

Question 42mediummultiple choice
Read the full Develop compute solutions explanation →

An Azure Functions image resize worker must run for up to 30 minutes and uses a VNet integration feature. The team wants serverless scaling without managing virtual machines. Which hosting plan should be used?

Question 43hardmultiple choice
Read the full Develop compute solutions explanation →

A containerized checkout API deployed to Azure Container Apps must scale to zero when idle and scale out based on queue length. What should the developer configure?

Question 44mediummultiple choice
Read the full Develop compute solutions explanation →

A web app for a claims processing function needs separate staging and production environments. The team must warm up the new version before swapping traffic. Which App Service feature should be used?

Question 45hardmulti select
Read the full Develop compute solutions explanation →

An Azure Functions document rendering job processes Service Bus messages. The function sometimes fails after partially completing work. Which two practices improve correctness?

Question 46mediummultiple choice
Read the full Develop compute solutions explanation →

A IoT command API runs in Azure App Service and must call a private API hosted inside a virtual network. Which feature allows outbound access from the app to the VNet?

Question 47hardmultiple choice
Read the full NAT/PAT explanation →

A Durable Functions workflow for a booking backend must call five independent activity functions and continue only after all results are available. Which pattern is appropriate?

Question 48mediummultiple choice
Read the full Develop compute solutions explanation →

An Azure Container Instance running a webhook processor requires a password at startup. The password must not be visible in the portal or container logs. What should be used?

Question 49mediummultiple choice
Read the full Develop compute solutions explanation →

A report export service hosted on App Service returns intermittent 502 errors during deployment. The team wants zero-downtime release with validation before traffic moves. What should be implemented?

Question 50hardmultiple choice
Read the full Develop compute solutions explanation →

A Kubernetes-based image resize worker on AKS must pull images from Azure Container Registry without storing registry passwords in Kubernetes secrets. What should be used?

Question 51mediummultiple choice
Read the full Develop compute solutions explanation →

A checkout API uses Azure Functions with HTTP triggers. The developer wants to reject unauthenticated calls before function code executes. Which feature should be configured?

Question 52mediummultiple choice
Read the full Develop compute solutions explanation →

A long-running claims processing function must process thousands of independent files. The developer wants status tracking, checkpoints, and replay-safe orchestration. Which Azure Functions capability should be used?

Question 53hardmulti select
Read the full Develop compute solutions explanation →

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 54mediummultiple choice
Read the full Develop compute solutions explanation →

An Azure Functions IoT command API must run for up to 30 minutes and uses a VNet integration feature. The team wants serverless scaling without managing virtual machines. Which hosting plan should be used?

Question 55hardmultiple choice
Read the full Develop compute solutions explanation →

A containerized booking backend deployed to Azure Container Apps must scale to zero when idle and scale out based on queue length. What should the developer configure?

Question 56mediummultiple choice
Read the full Develop compute solutions explanation →

A web app for a webhook processor needs separate staging and production environments. The team must warm up the new version before swapping traffic. Which App Service feature should be used?

Question 57hardmulti select
Read the full Develop compute solutions explanation →

An Azure Functions report export service processes Service Bus messages. The function sometimes fails after partially completing work. Which two practices improve correctness?

Question 58mediummultiple choice
Read the full Develop compute solutions explanation →

A image resize worker runs in Azure App Service and must call a private API hosted inside a virtual network. Which feature allows outbound access from the app to the VNet?

Question 59hardmultiple choice
Read the full NAT/PAT explanation →

A Durable Functions workflow for a checkout API must call five independent activity functions and continue only after all results are available. Which pattern is appropriate?

Question 60mediummultiple choice
Read the full Develop compute solutions explanation →

An Azure Container Instance running a claims processing function requires a password at startup. The password must not be visible in the portal or container logs. What should be used?

Question 61mediummultiple choice
Read the full Develop compute solutions explanation →

A document rendering job hosted on App Service returns intermittent 502 errors during deployment. The team wants zero-downtime release with validation before traffic moves. What should be implemented?

Question 62hardmultiple choice
Read the full Develop compute solutions explanation →

A Kubernetes-based IoT command API on AKS must pull images from Azure Container Registry without storing registry passwords in Kubernetes secrets. What should be used?

Question 63mediummultiple choice
Read the full Develop compute solutions explanation →

A booking backend uses Azure Functions with HTTP triggers. The developer wants to reject unauthenticated calls before function code executes. Which feature should be configured?

Question 64mediummultiple choice
Read the full Develop compute solutions explanation →

A long-running webhook processor must process thousands of independent files. The developer wants status tracking, checkpoints, and replay-safe orchestration. Which Azure Functions capability should be used?

Question 65hardmulti select
Read the full Develop compute solutions explanation →

A report export service in Azure App Service must safely access Key Vault secrets without connection strings in configuration. Which two steps are required?

Question 66mediummultiple choice
Read the full Develop compute solutions explanation →

An Azure Functions image resize worker must run for up to 30 minutes and uses a VNet integration feature. The team wants serverless scaling without managing virtual machines. Which hosting plan should be used? The design must avoid adding custom operational scripts.

Question 67hardmultiple choice
Read the full NAT/PAT explanation →

A workflow must process 500 customer records in parallel and then aggregate all results into a single summary report. The team wants to use Azure Durable Functions so the orchestration state is durable and the solution can resume after a Function App restart. Which Durable Functions pattern matches this requirement?

Question 68easymultiple choice
Read the full NAT/PAT explanation →

Configuration values that control whether a new checkout experience is enabled must be changeable without redeploying the App Service application. The team uses ASP.NET Core. Which Azure service provides the correct combination of runtime configuration reload and feature flag management?

Question 69mediummultiple choice
Read the full Develop compute solutions explanation →

The internal API team is deploying a containerized .NET API that receives sporadic requests — sometimes none for hours, then bursts of activity. Cost is a priority. The team wants the container to stop running when idle and start automatically when a request arrives, with no server management overhead. Which Azure service is the best fit?

Question 70hardmultiple choice
Read the full Develop compute solutions explanation →

Images are uploaded to a high-volume Blob Storage account. An Azure Function with a Blob Storage trigger processes each new image. The team has observed processing delays of up to 10 minutes on accounts with large numbers of containers and blobs. They need processing to start within seconds of upload. What should the developer change?

Question 71mediummultiple choice
Read the full Develop compute solutions explanation →

An App Service application uses a staging deployment slot connected to a staging database and a production slot connected to a production database. Both use an app setting called 'DbConnectionString'. After a slot swap, the production slot starts using the staging database connection string. What configuration change prevents this?

Question 72mediumdrag order
Read the full Develop compute solutions explanation →

Arrange the steps to deploy an Azure App Service using Azure CLI in the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 73mediumdrag order
Read the full Develop compute solutions explanation →

Arrange the steps to implement Azure Functions with a Cosmos DB trigger in the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 74mediummatching
Read the full Develop compute solutions explanation →

Match each Azure service to its primary purpose.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

NoSQL globally distributed database

Serverless compute for event-driven apps

Workflow automation and integration

Enterprise message broker with queues and topics

Event routing service for pub/sub

Question 75mediummatching
Read the full Develop compute solutions explanation →

Match each Azure security feature to its function.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Securely store and manage secrets, keys, and certificates

Cloud workload protection with threat detection

Enforce organizational standards and compliance rules

Fine-grained access management for Azure resources

Question 76mediummultiple choice
Read the full Develop compute solutions explanation →

You are developing a solution that processes orders from an e-commerce website. The order processing logic is CPU-intensive and can take up to 30 seconds per order. You need to ensure that the web front-end remains responsive and that orders are processed reliably. What should you use?

Question 77hardmultiple choice
Read the full Develop compute solutions explanation →

You are building a serverless application using Azure Functions. The function processes large CSV files uploaded to Azure Blob Storage. Each file can be up to 100 MB. The function must parse the file and insert each row into a SQL database. You need to minimize cold start latency and ensure the function can handle the processing within the default timeout. What should you do?

Question 78easymultiple choice
Read the full Develop compute solutions explanation →

You are deploying a web application to Azure App Service. The application needs to read configuration settings that vary by deployment environment (development, staging, production). You want to minimize application changes and leverage Azure services. What should you use?

Question 79mediummultiple choice
Read the full Develop compute solutions explanation →

You are developing a microservices application on Azure Kubernetes Service (AKS). One of the services needs to securely access Azure SQL Database without storing connection strings in the application code. You need to use managed identities. What should you do?

Question 80hardmultiple choice
Read the full Develop compute solutions explanation →

You are designing a solution that uses Azure Container Instances (ACI) to run a batch job that processes images. The job is triggered by a message in Azure Queue Storage. Each image takes about 5 minutes to process. You need to ensure that the container runs only when there are messages in the queue and scales automatically. What should you use?

Question 81easymultiple choice
Study the full multicast explanation →

You are developing an API using Azure API Management (APIM). The API is backed by an Azure Function that processes requests. You need to implement caching for responses that are expensive to compute. The cache should expire after 10 minutes. What should you configure in APIM?

Question 82mediummultiple choice
Read the full Develop compute solutions explanation →

You are developing an application that runs on Azure App Service. The application needs to store session state. The session state must be shared across multiple instances of the app and survive restarts. You need to choose a session state provider. What should you use?

Question 83hardmultiple choice
Read the full Develop compute solutions explanation →

You are deploying a containerized application to Azure App Service. The application consists of a web front-end and a background worker. You want to run both containers in the same App Service plan to minimize costs. The worker should scale independently from the web front-end. What should you do?

Question 84easymultiple choice
Read the full Develop compute solutions explanation →

You are developing a web application that allows users to upload images. The application runs on Azure App Service. You need to ensure that uploaded images are stored in Azure Blob Storage and that the application remains responsive. What should you use?

Question 85mediummulti select
Read the full Develop compute solutions explanation →

You are developing a solution that uses Azure Functions to process events from Azure Event Grid. The function must handle events reliably. Which TWO options should you implement?

Question 86hardmulti select
Read the full Develop compute solutions explanation →

You are designing a serverless application using Azure Functions. The application processes messages from Azure Service Bus. You need to ensure that processing is idempotent and that messages are not lost. Which THREE actions should you take?

Question 87easymulti select
Read the full Develop compute solutions explanation →

You are developing a web application that will be deployed to Azure App Service. You need to configure automatic scaling based on CPU usage. Which TWO settings should you configure?

Question 88mediummultiple choice
Read the full Develop compute solutions explanation →

You are deploying an Azure Functions app using ARM template. The exhibit shows a portion of the template. You notice that the AzureWebJobsStorage connection string includes the account key directly. What is the MOST important security concern?

Exhibit

Refer to the exhibit.

{
  "type": "Microsoft.Web/sites/config",
  "apiVersion": "2023-01-01",
  "name": "[concat(parameters('siteName'), '/appsettings')]",
  "properties": {
    "WEBSITE_RUN_FROM_PACKAGE": "1",
    "FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated",
    "AzureWebJobsStorage": "[concat('DefaultEndpointsProtocol=https;AccountName=', parameters('storageAccountName'), ';AccountKey=', listKeys(resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccountName')), '2023-01-01').keys[0].value, ';EndpointSuffix=core.windows.net')]"
  }
}
Question 89hardmultiple choice
Read the full Develop compute solutions explanation →

You are creating an Azure Container Instance using the Azure CLI command shown in the exhibit. The container needs to connect to a SQL database. After running the command, you notice that the DB_PASSWORD environment variable is visible in the container's logs. What is the most likely reason?

Network Topology
az container createresource-group myRGname mycontainerimage myimage:latestcpu 1memory 1.5ports 80environment-variables DB_HOST=mydb.database.windows.net DB_NAME=mydbsecure-environment-variables DB_PASSWORD=supersecretRefer to the exhibit.
Question 90easymultiple choice
Read the full Develop compute solutions explanation →

You are reviewing an ARM template snippet for an Azure App Service. The exhibit shows the site configuration. You need to ensure that the app supports WebSocket connections for a real-time feature. Which setting must be added?

Exhibit

Refer to the exhibit.

{
  "type": "Microsoft.Web/sites",
  "apiVersion": "2023-01-01",
  "name": "[parameters('webAppName')]",
  "kind": "app",
  "properties": {
    "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', parameters('hostingPlanName'))]",
    "siteConfig": {
      "alwaysOn": true,
      "http20Enabled": true,
      "minTlsVersion": "1.2",
      "ftpsState": "FtpsOnly"
    }
  }
}
Question 91mediummultiple choice
Read the full Develop compute solutions explanation →

A company deploys a microservices application on Azure Kubernetes Service (AKS). They need to securely store configuration settings such as database connection strings and API keys. The solution must minimize administrative overhead and automatically rotate keys. What should they use?

Question 92hardmultiple choice
Read the full Develop compute solutions explanation →

You are developing an Azure Functions app that processes orders. Each order triggers a function that writes to Azure Cosmos DB. You notice occasional throttling (429 errors) from Cosmos DB during peak hours. The function app uses the Consumption plan. What is the most cost-effective way to reduce throttling?

Question 93easymultiple choice
Read the full DNS explanation →

You need to deploy a containerized application to Azure Container Instances (ACI) with a public IP address and DNS name label. The container must restart automatically if it exits unexpectedly. Which configuration should you use?

Question 94mediummultiple choice
Read the full Develop compute solutions explanation →

You are developing an Azure Logic App that processes files from an FTP server. The workflow must run every 10 minutes and process only new files. You need to ensure that files are not processed more than once. What should you use?

Question 95hardmultiple choice
Read the full Develop compute solutions explanation →

A company runs an ASP.NET Core web app on Azure App Service. They need to implement health checks that monitor the app's dependencies, such as a database and an external API. The health endpoint should return a 200 status if all dependencies are healthy, a 503 if any dependency is unhealthy, and a 400 if the request is malformed. Which approach should you take?

Question 96easymultiple choice
Read the full Develop compute solutions explanation →

You are developing an Azure Functions app that uses Durable Functions to orchestrate a long-running workflow. The workflow involves calling multiple external APIs. You need to ensure that the orchestration can survive a function app restart. Which feature should you use?

Question 97mediummultiple choice
Read the full Develop compute solutions explanation →

You are deploying a containerized application to Azure Container Instances. The container image is stored in a private Azure Container Registry (ACR). You need to ensure that ACI can pull the image without storing credentials in the container group definition. What should you use?

Question 98hardmultiple choice
Read the full Develop compute solutions explanation →

You are building a serverless API using Azure Functions with an HTTP trigger. The API must authenticate requests using Microsoft Entra ID (formerly Azure AD). You need to validate the token in the function code. Which component should you use?

Question 99easymultiple choice
Read the full Develop compute solutions explanation →

You need to deploy an Azure App Service web app that uses a custom domain (www.contoso.com) and SSL/TLS certificate. The certificate is stored in Azure Key Vault. What should you use to bind the certificate to the App Service?

Question 100mediummulti select
Read the full Develop compute solutions explanation →

Which TWO actions should you perform to configure autoscaling for an Azure App Service web app based on CPU usage?

Question 101mediummulti select
Read the full Develop compute solutions explanation →

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

Question 102hardmulti select
Read the full Develop compute solutions explanation →

Which TWO options are valid ways to scale an Azure Functions app running on the Premium plan?

Question 103mediummultiple choice
Read the full Develop compute solutions explanation →

You find the above ARM template snippet in a deployment. What is the effect of this configuration on the App Service?

Exhibit

Refer to the exhibit.

```json
{
  "type": "Microsoft.Web/sites/config",
  "apiVersion": "2022-03-01",
  "name": "[concat(parameters('siteName'), '/web')]",
  "properties": {
    "cors": {
      "allowedOrigins": [
        "https://app.contoso.com",
        "https://portal.contoso.com"
      ],
      "supportCredentials": false
    }
  }
}
```
Question 104hardmultiple choice
Read the full Develop compute solutions explanation →

You are reviewing the ARM template for an App Service. What is the effect of the 'alwaysOn' property set to true?

Exhibit

Refer to the exhibit.

```json
{
  "type": "Microsoft.Web/sites/config",
  "apiVersion": "2022-03-01",
  "name": "[concat(parameters('siteName'), '/config')]",
  "properties": {
    "alwaysOn": true,
    "http20Enabled": true,
    "minTlsVersion": "1.2",
    "ftpsState": "FtpsOnly",
    "healthCheckPath": "/health"
  }
}
```
Question 105mediummultiple choice
Read the full Develop compute solutions explanation →

You find the above ARM template for an App Service. What is a security concern with this configuration?

Exhibit

Refer to the exhibit.

```json
{
  "type": "Microsoft.Web/sites/config",
  "apiVersion": "2022-03-01",
  "name": "[concat(parameters('siteName'), '/config')]",
  "properties": {
    "connectionStrings": [
      {
        "name": "DefaultConnection",
        "connectionString": "[concat('Server=tcp:', parameters('sqlServerName'), '.database.windows.net,1433;Initial Catalog=', parameters('sqlDatabaseName'), ';Persist Security Info=False;User ID=', parameters('sqlLogin'), ';Password=', parameters('sqlPassword'), ';MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;')]",
        "type": "SQLAzure"
      }
    ]
  }
}
```
Question 106mediummultiple choice
Read the full Develop compute solutions explanation →

You are deploying a containerized application to Azure Container Instances. The application requires writing temporary files to a local filesystem. You need to ensure that the files persist if the container restarts. What should you do?

Question 107hardmultiple choice
Read the full Develop compute solutions explanation →

Your Azure Functions app uses a consumption plan and processes messages from an Azure Service Bus queue. You notice that message processing takes up to 10 minutes, and some messages are being processed multiple times. What is the most likely cause?

Question 108easymulti select
Read the full Develop compute solutions explanation →

Which TWO actions should you take to enable a user-assigned managed identity for an Azure App Service web app?

Question 109mediummulti select
Read the full Develop compute solutions explanation →

Which THREE features are supported by Azure Container Apps? (Select three.)

Question 110easymultiple choice
Read the full Develop compute solutions explanation →

You are developing an Azure Function that runs on a Consumption plan. The function needs to process a large file uploaded to Azure Blob Storage. The processing is CPU-intensive and may take up to 30 minutes. What should you use to implement the function?

Question 111hardmultiple choice
Read the full Develop compute solutions explanation →

You deploy the above ARM template. Later, you update the web app's code by deploying a new ZIP package to Azure Blob Storage and updating the WEBSITE_RUN_FROM_PACKAGE setting with the new package URL. However, the web app continues to run the old code. What is the most likely cause?

Exhibit

Refer to the exhibit.

```json
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "webAppName": {
      "type": "string",
      "defaultValue": "myWebApp"
    }
  },
  "resources": [
    {
      "type": "Microsoft.Web/sites",
      "apiVersion": "2022-09-01",
      "name": "[parameters('webAppName')]",
      "location": "[resourceGroup().location]",
      "properties": {
        "siteConfig": {
          "appSettings": [
            {
              "name": "WEBSITE_RUN_FROM_PACKAGE",
              "value": "1"
            }
          ]
        }
      }
    }
  ]
}
```
Question 112mediummultiple choice
Read the full Develop compute solutions explanation →

Your Azure Function app uses an event-driven architecture with Azure Event Hubs. You need to ensure that if the function fails to process an event, the event is retried up to three times and then sent to a dead-letter queue. What should you configure?

Question 113hardmultiple choice
Read the full Develop compute solutions explanation →

You deploy the above ARM template resource. After deployment, the web app cannot connect to Application Insights. The Application Insights resource exists in the same region. What is the most likely cause?

Exhibit

Refer to the exhibit.

```json
{
  "name": "myApp",
  "type": "Microsoft.Web/sites",
  "apiVersion": "2022-09-01",
  "location": "westus",
  "properties": {
    "serverFarmId": "/subscriptions/{sub-id}/resourceGroups/myRG/providers/Microsoft.Web/serverfarms/myPlan",
    "siteConfig": {
      "appSettings": [
        {
          "name": "APPINSIGHTS_INSTRUMENTATIONKEY",
          "value": "1234-5678"
        }
      ]
    },
    "identity": {
      "type": "SystemAssigned"
    }
  },
  "dependsOn": [
    "[resourceId('Microsoft.OperationalInsights/workspaces', 'myWorkspace')]"
  ]
}
```
Question 114easymulti select
Read the full Develop compute solutions explanation →

Which TWO conditions are required to use the 'Run from Package' feature in Azure App Service?

Question 115mediummultiple choice
Read the full Develop compute solutions explanation →

You are designing a solution that uses Azure Container Instances (ACI) to run a batch processing job. The job is expected to run for up to 2 hours. You need to minimize costs. Which ACI configuration should you use?

Question 116hardmultiple choice
Read the full Develop compute solutions explanation →

You run the above command. The web app is connected to a GitHub repository via Continuous Deployment. You push a new commit to the 'main' branch, but the web app does not update. What is the most likely cause?

Network Topology
name myAppresource-group myRGRefer to the exhibit.```powershell# Azure CLI command output"branch": "main","deploymentRollbackEnabled": false,"isManualIntegration": false,"isMercurial": false,"repoUrl": "https://github.com/myorg/myrepo"```
Question 117hardmulti select
Read the full NAT/PAT explanation →

Which THREE considerations are important when designing an Azure Function that uses Durable Functions for fan-out/fan-in pattern?

Question 118easymultiple choice
Read the full Develop compute solutions explanation →

Your company has an Azure App Service web app that runs on a Standard App Service plan. You need to scale out the app to handle increased traffic during business hours and scale in during off-hours. What should you configure?

Question 119mediummultiple choice
Read the full Develop compute solutions explanation →

You deploy the above ARM template resource for a web app. The web app reads the connection string from the 'DefaultConnection' name. However, the web app fails to connect to the database with an error 'Login failed for user 'myuser'. What is the most likely cause?

Exhibit

Refer to the exhibit.

```json
{
  "type": "Microsoft.Web/sites/config",
  "apiVersion": "2022-09-01",
  "name": "myApp/connectionstrings",
  "properties": {
    "DefaultConnection": {
      "value": "Server=tcp:myserver.database.windows.net;Database=mydb;User ID=myuser;Password=mypassword;Encrypt=True;",
      "type": "SQLAzure"
    }
  }
}
```
Question 120hardmultiple choice
Read the full Develop compute solutions explanation →

You are developing a solution that uses Azure Container Apps. Your application is a microservice that needs to expose a gRPC endpoint. The service must scale to zero when idle. What should you do?

Question 121mediummultiple choice
Read the full Develop compute solutions explanation →

A company deploys a microservices application on Azure Kubernetes Service (AKS). They need to automatically scale individual microservices based on custom metrics (e.g., queue depth). Which feature should they use?

Question 122hardmultiple choice
Read the full network assurance explanation →

A team develops an Azure Functions app that processes IoT telemetry. They notice cold start latency is impacting performance. The function uses the Consumption plan. Which action reduces cold starts most effectively?

Question 123easymultiple choice
Read the full Develop compute solutions explanation →

You need to deploy a containerized application to Azure that must be restarted automatically if it crashes. The solution should minimize management overhead. Which compute service should you use?

Question 124hardmultiple choice
Read the full Develop compute solutions explanation →

A company runs a critical web app on Azure App Service that must handle traffic spikes without downtime. They set up autoscaling rules based on CPU percentage. However, during a spike, the app becomes unresponsive before new instances are added. What should they do?

Question 125mediummultiple choice
Read the full Develop compute solutions explanation →

You are designing a solution to process thousands of images uploaded to Azure Blob Storage. Each image must be resized and metadata extracted. The processing must be serverless and cost-effective. Which Azure service should you use?

Question 126easymultiple choice
Read the full Develop compute solutions explanation →

A company has an Azure App Service web app that occasionally returns 500 errors. You need to diagnose the root cause without impacting production traffic. Which feature should you use?

Question 127mediummultiple choice
Read the full Develop compute solutions explanation →

You are migrating an on-premises .NET Framework app to Azure. The app uses Windows authentication and requires persistent storage. You want to minimize rework. Which Azure compute service should you choose?

Question 128hardmultiple choice
Read the full Develop compute solutions explanation →

A company uses Azure Functions to process messages from Azure Service Bus. The function currently uses the Consumption plan. They notice that during high load, messages are processed slowly due to scaling latency. Which change would improve throughput most?

Question 129easymultiple choice
Read the full Develop compute solutions explanation →

You need to deploy a microservice that runs a long-running background job (up to 30 minutes). The job should not be affected by App Service recycling. Which Azure technology should you use?

Question 130mediummulti select
Read the full Develop compute solutions explanation →

A company is designing a serverless application using Azure Functions. They need to orchestrate multiple functions in a workflow, handle errors, and manage state. Which TWO features should they use?

Question 131hardmulti select
Read the full Develop compute solutions explanation →

A company deploys a containerized application on Azure Kubernetes Service (AKS). They need to ensure high availability and disaster recovery across regions. Which THREE actions should they take?

Question 132easymulti select
Read the full Develop compute solutions explanation →

You are developing an Azure App Service web app that must authenticate users via Microsoft Entra ID. Which TWO components are required to set up authentication?

Question 133mediummultiple choice
Read the full Develop compute solutions explanation →

You are developing an Azure Functions app that processes orders. The function must scale out automatically during peak hours but should not incur costs when idle. Which hosting plan should you use?

Question 134hardmultiple choice
Read the full Develop compute solutions explanation →

You have an Azure App Service web app that uses a custom domain with TLS/SSL binding. You need to migrate the app to a new App Service plan in a different region. What is the correct order of steps?

Question 135easymultiple choice
Read the full Develop compute solutions explanation →

You are designing a solution that runs background jobs to process images. The jobs can run up to 10 minutes each. You need to ensure the jobs are resilient to failures and can be retried automatically. Which Azure service should you use?

Question 136hardmultiple choice
Read the full Develop compute solutions explanation →

You have an Azure Container Apps environment running multiple microservices. One microservice is experiencing high CPU usage and slow response times. You need to configure autoscaling rules to scale based on HTTP requests. Which scaling rule should you add?

Question 137mediummultiple choice
Read the full Develop compute solutions explanation →

You are deploying a web app to Azure App Service. The app uses environment-specific configuration (e.g., connection strings). You need to manage these settings without redeploying the app. Which feature should you use?

Question 138easymultiple choice
Read the full Develop compute solutions explanation →

You develop an Azure Function that writes to Azure Blob Storage. During testing, you notice that the function fails intermittently with a 503 (Service Unavailable) error. What is the most likely cause?

Question 139hardmultiple choice
Read the full Develop compute solutions explanation →

Your company has an Azure Kubernetes Service (AKS) cluster. You need to deploy a containerized application that requires persistent storage across pod restarts. The storage must be backed by Azure Disk and support ReadWriteOnce access mode. Which volume type should you use?

Question 140mediummultiple choice
Read the full Develop compute solutions explanation →

You are developing a solution that uses Azure Container Instances to run a batch job. The job requires 8 GB of memory and 4 vCPUs. You need to minimize costs. Which container group configuration should you choose?

Question 141easymultiple choice
Read the full Develop compute solutions explanation →

You need to monitor the performance of an Azure App Service web app. You want to track the number of HTTP 500 errors over the last hour. Which Azure Monitor metric should you use?

Question 142mediummulti select
Read the full Develop compute solutions explanation →

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 143hardmulti select
Read the full Develop compute solutions explanation →

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 144easymulti select
Read the full Develop compute solutions explanation →

You are deploying a web app to Azure App Service. You need to enable continuous deployment from a GitHub repository. Which TWO actions are required?

Question 145mediummultiple choice
Read the full Develop compute solutions explanation →

You are deploying an Azure App Service using an ARM template. After deployment, you find that the application settings are not applied. What is the most likely issue?

Exhibit

Refer to the exhibit.

{
  "type": "Microsoft.Web/sites/config",
  "apiVersion": "2022-09-01",
  "name": "appsettings",
  "properties": {
    "WEBSITE_RUN_FROM_PACKAGE": "1",
    "APPINSIGHTS_INSTRUMENTATIONKEY": "<key>",
    "MyApp:Setting1": "Value1"
  }
}
Question 146hardmultiple choice
Read the full Develop compute solutions explanation →

You run the command above to create an Azure Container Instance. The container exits with a non-zero exit code. You need to check the logs to debug the issue. Which command should you use next?

Network Topology
az container createresource-group myRGname mycontainerimage myimage:latestcpu 2memory 4restart-policy OnFailureenvironment-variables KEY1=VALUE1 KEY2=VALUE2Refer to the exhibit.
Question 147mediummultiple choice
Read the full Develop compute solutions explanation →

You receive an error when deploying this ARM template: 'The serverFarmId property is required.' What is missing from the template?

Exhibit

Refer to the exhibit.

{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "resources": [
    {
      "type": "Microsoft.Web/sites",
      "apiVersion": "2022-09-01",
      "name": "myAppService",
      "location": "[resourceGroup().location]",
      "kind": "app",
      "properties": {
        "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', 'myPlan')]"
      }
    }
  ]
}
Question 148easymultiple choice
Read the full Develop compute solutions explanation →

You are developing a web app that runs on Azure App Service. The app needs to read a connection string from configuration. Which is the recommended approach to access the connection string in the app code?

Question 149mediummultiple choice
Read the full Develop compute solutions explanation →

You have an Azure Function app that processes orders. The function uses a queue trigger from Azure Storage. Recent load tests show that the function is not scaling out fast enough under high load. What should you do to improve scaling?

Question 150hardmultiple choice
Read the full Develop compute solutions explanation →

You are troubleshooting a containerized application running on Azure Kubernetes Service (AKS). The application logs indicate that it cannot connect to an Azure SQL Database using a managed identity. The pod is configured with a user-assigned managed identity. Which step is most likely missing?

Question 151mediummulti select
Read the full Develop compute solutions explanation →

You are designing a solution that uses Azure Functions to process messages from an Azure Service Bus queue. Which TWO configurations can improve the throughput of the function?

Question 152hardmulti select
Read the full Develop compute solutions explanation →

You are developing a serverless application using Azure Functions. The function needs to scale to zero when idle and handle high traffic spikes. Which THREE features should you implement?

Question 153mediummulti select
Read the full Develop compute solutions explanation →

You are deploying a containerized application to Azure Container Instances (ACI). Which TWO actions should you take to ensure the container can securely access an Azure Key Vault?

Question 154mediummultiple choice
Read the full Develop compute solutions explanation →

Refer to the exhibit. You are deploying this ARM template to create a deployment slot for an Azure App Service. The template deploys successfully. However, the slot-specific app setting 'DEPLOYMENT_SLOT' is not visible in the Azure portal under the slot's Configuration > Application settings. What is the most likely cause?

Exhibit

{
  "type": "Microsoft.Web/sites/slots",
  "apiVersion": "2022-03-01",
  "name": "[concat(parameters('siteName'), '/', parameters('slotName'))]",
  "location": "[resourceGroup().location]",
  "properties": {
    "serverFarmId": "[parameters('hostingPlanId')]",
    "siteConfig": {
      "appSettings": [
        {
          "name": "DEPLOYMENT_SLOT",
          "value": "[parameters('slotName')]"
        }
      ]
    }
  }
}
Question 155hardmultiple choice
Read the full Develop compute solutions explanation →

Refer to the exhibit. You run this Azure CLI command to configure an Azure Web App for Containers. The web app fails to start, and the logs show 'unauthorized: authentication required'. What is the most likely cause?

Network Topology
name MyWebAppresource-group MyRGdocker-custom-image-name myregistry.azurecr.io/myapp:latestdocker-registry-server-url https://myregistry.azurecr.io
Question 156mediummultiple choice
Read the full Develop compute solutions explanation →

Refer to the exhibit. You have an HTTP-triggered Azure Function that writes the request body to a blob in the 'samples-workitems' container. The function runs successfully but does not create a blob. What is the most likely cause?

Exhibit

public static async Task<IActionResult> Run(
    [HttpTrigger(AuthorizationLevel.Function, "get", "post")] HttpRequest req,
    [Blob("samples-workitems/{rand-guid}", FileAccess.Write)] Stream blobStream,
    ILogger log)
{
    string requestBody = await new StreamReader(req.Body).ReadToEndAsync();
    byte[] bytes = Encoding.UTF8.GetBytes(requestBody);
    await blobStream.WriteAsync(bytes, 0, bytes.Length);
    return new OkResult();
}
Question 157easymultiple choice
Read the full Develop compute solutions explanation →

You are developing a background job that runs every hour on Azure App Service. The job must be resilient to restarts and should not affect the web app's performance. Which technology should you use?

Question 158mediummultiple choice
Read the full Develop compute solutions explanation →

You have an Azure Function app that uses a Service Bus queue trigger. The function processes messages, but sometimes it takes longer than 5 minutes to process a single message. You notice that the message is processed multiple times. What is the most likely cause?

Question 159hardmultiple choice
Read the full Develop compute solutions explanation →

You are deploying a microservice to Azure Container Apps. The service requires a custom domain and SSL/TLS certificate. Which resource should you configure to meet these requirements?

Question 160easymultiple choice
Read the full Develop compute solutions explanation →

You are developing a web application that runs on Azure App Service. The application needs to store session state. Which Azure service provides the best performance and reliability for session state storage?

Question 161mediummultiple choice
Read the full Develop compute solutions explanation →

You have an Azure Function app that uses an Event Hubs trigger. The function processes events in batches. You notice that some events are being processed more than once. Which setting should you adjust to minimize duplicate processing?

Question 162hardmultiple choice
Read the full Develop compute solutions explanation →

You are designing a solution that uses Azure Container Instances (ACI) to run a batch job. The job must run only once a day and should not incur costs when idle. Which configuration should you use?

Question 163mediummultiple choice
Read the full Develop compute solutions explanation →

Your company develops a microservices application deployed to Azure Kubernetes Service (AKS). You need to enable secure communication between services using managed identities. Which Azure service should you use to manage the identities and access control for the pods?

Question 164hardmultiple choice
Read the full Develop compute solutions explanation →

You are designing a serverless application using Azure Functions. The function must process messages from an Azure Service Bus queue. The processing time for each message can vary from a few seconds to several minutes. You need to minimize costs while ensuring that messages are processed in a timely manner. Which hosting plan should you recommend?

Question 165easymultiple choice
Read the full Develop compute solutions explanation →

You need to deploy a web application to Azure App Service. The application requires a custom domain name and SSL/TLS certificate. You want to automate the deployment using Azure CLI. Which command should you use to upload the SSL certificate to the App Service?

Question 166mediummultiple choice
Read the full Develop compute solutions explanation →

Your company runs a batch processing job on Azure Batch. The job processes large datasets and requires access to Azure Storage. You need to ensure that the compute nodes can securely access the storage account without exposing credentials. What should you configure?

Question 167hardmultiple choice
Read the full Develop compute solutions explanation →

You are developing an Azure Functions app that processes large files from Azure Blob Storage. When a file is uploaded, the function triggers and reads the entire file into memory, causing high memory usage. You need to optimize the function to handle large files efficiently. Which approach should you recommend?

Question 168easymultiple choice
Read the full Develop compute solutions explanation →

You deploy a containerized application to Azure Container Instances (ACI). The application needs to store configuration settings that might change at runtime. You need to update the configuration without redeploying the container. What should you do?

Question 169hardmultiple choice
Read the full Develop compute solutions explanation →

Your company has a multi-tier application running on Azure Virtual Machines. The application experiences high CPU usage during peak hours. You need to implement autoscaling for the virtual machine scale set based on CPU usage. The scaling should be aggressive when CPU exceeds 80% and conservative when CPU drops below 30%. Which scaling rule configuration should you use?

Question 170mediummultiple choice
Read the full Develop compute solutions explanation →

You develop an Azure Durable Functions application that orchestrates a series of activities. The orchestrator function calls activity functions that perform long-running tasks. You need to ensure that the orchestrator function can handle transient errors and retry failed activity functions. Which feature should you use?

Question 171easymultiple choice
Read the full Develop compute solutions explanation →

You are deploying an application to Azure App Service that requires a custom startup script to initialize the environment. Where should you place the startup script in the application code?

Question 172mediummulti select
Read the full Develop compute solutions explanation →

Which TWO options are valid ways to authenticate an Azure Functions app to Azure Storage when using a managed identity? (Choose two.)

Question 173hardmulti select
Read the full Develop compute solutions explanation →

Which THREE factors should you consider when choosing between Azure Container Instances (ACI) and Azure Kubernetes Service (AKS) for a containerized workload? (Choose three.)

Question 174easymulti select
Read the full Develop compute solutions explanation →

Which TWO Azure services can be used to trigger an Azure Function when a new blob is added to an Azure Storage container? (Choose two.)

Question 175mediummultiple choice
Read the full Develop compute solutions explanation →

You are developing a web application that processes images uploaded by users. The images must be resized and analyzed for offensive content before being stored. You need to implement the solution with minimal latency and cost. What should you do?

Question 176easymultiple choice
Read the full Develop compute solutions explanation →

You are deploying a containerized application to Azure Container Instances. The application requires a custom domain name and SSL/TLS certificate. What should you do?

Question 177hardmultiple choice
Read the full Develop compute solutions explanation →

You are developing a microservices application deployed on Azure Kubernetes Service (AKS). You need to ensure that service-to-service communication is encrypted using mutual TLS (mTLS) without modifying application code. What should you do?

Question 178mediummultiple choice
Read the full Develop compute solutions explanation →

You have an Azure App Service web app that experiences high CPU usage during peak hours. You need to scale out automatically based on CPU load. What should you configure?

Question 179mediummulti select
Read the full Develop compute solutions explanation →

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

Question 180hardmulti select
Read the full Develop compute solutions explanation →

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 181hardmultiple choice
Read the full Develop compute solutions explanation →

Refer to the exhibit. You have an Azure App Service that uses the authentication settings shown. Users report that they are repeatedly prompted to sign in even after authenticating. What is the most likely cause?

Exhibit

{
  "type": "Microsoft.Web/sites/config",
  "apiVersion": "2022-09-01",
  "name": "authsettings",
  "properties": {
    "enabled": true,
    "defaultProvider": "AzureActiveDirectory",
    "issuer": "https://login.microsoftonline.com/{tenant-id}/v2.0",
    "clientId": "xxx",
    "allowedAudiences": ["https://myapp.azurewebsites.net"],
    "loginParameters": ["scope=openid profile email"]
  }
}
Question 182mediummultiple choice
Read the full Develop compute solutions explanation →

Refer to the exhibit. You run the Azure CLI command shown for an Azure Function app. What is the effect of this setting?

Network Topology
resource-group MyRGname MyFunctionAppsettings "WEBSITE_RUN_FROM_PACKAGE=1"
Question 183easymultiple choice
Read the full Develop compute solutions explanation →

Refer to the exhibit. You deploy this ARM template to a resource group. The template fails with a 'ResourceNotFound' error. What is the most likely cause?

Exhibit

{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "resources": [
    {
      "type": "Microsoft.Web/sites",
      "apiVersion": "2022-09-01",
      "name": "myapp",
      "properties": {
        "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', 'myplan')]"
      }
    }
  ]
}
Question 184hardmultiple choice
Read the full Develop compute solutions explanation →

Refer to the exhibit. You run this KQL query in Azure Resource Graph Explorer. The query returns no results. What is the most likely reason?

Exhibit

Resources
| where type == 'microsoft.insights/components'
| where name contains 'myapp'
Question 185easymulti select
Read the full Develop compute solutions explanation →

Which TWO features of Azure App Service can help you reduce application downtime during deployments?

Question 186hardmulti select
Read the full Develop compute solutions explanation →

Which THREE considerations are important when designing a solution using Azure Functions with a Consumption plan for a latency-sensitive application?

Question 187mediummultiple choice
Read the full Develop compute solutions explanation →

You are developing a solution that uses Azure Container Registry (ACR) to store Docker images. You need to ensure that only authorized users can deploy images from ACR to an AKS cluster. What should you do?

Question 188easymultiple choice
Read the full Develop compute solutions explanation →

You need to run a batch job every night that processes data from Azure Blob Storage and writes results to Azure SQL Database. The job may run for up to 2 hours. Which Azure service should you use?

Question 189hardmultiple choice
Read the full Develop compute solutions explanation →

You are designing a solution that uses Azure Functions to process events from Azure Event Hubs. The function must process events in order and exactly once per partition. What should you do?

Question 190easymultiple choice
Read the full Develop compute solutions explanation →

You are developing a serverless application using Azure Functions. The function must process messages from an Azure Storage Queue and write results to Azure Cosmos DB. Which binding should you use for the output?

Question 191mediummultiple choice
Read the full Develop compute solutions explanation →

You have an Azure App Service web app that experiences high CPU usage during peak hours. You need to scale out automatically based on CPU load. Which scaling solution should you use?

Question 192hardmultiple choice
Read the full DNS explanation →

You are running a containerized application on Azure Container Instances. The application requires a custom DNS server. How should you configure this?

Question 193mediummultiple choice
Read the full Develop compute solutions explanation →

You need to deploy an Azure Functions app that runs on a dedicated App Service plan. The function must be triggered by an HTTP request and call a downstream API that requires OAuth 2.0 authentication. Which approach should you use to store the API credentials securely?

Question 194easymultiple choice
Read the full Develop compute solutions explanation →

You are developing a background job that runs every hour to process data. You choose Azure Functions with a timer trigger. What is the correct format for the cron expression to run at the start of every hour?

Question 195hardmultiple choice
Read the full Develop compute solutions explanation →

You are designing a solution that uses Azure Batch for parallel processing of large datasets. Each task requires significant CPU and memory. You need to minimize compute costs while ensuring tasks complete within a deadline. Which pool configuration should you use?

Question 196mediummultiple choice
Read the full Develop compute solutions explanation →

You have an Azure Web App that uses Azure SQL Database. You need to securely connect to the database using Managed Identity. Which connection string setting should you use?

Question 197easymultiple choice
Read the full Develop compute solutions explanation →

You are deploying a containerized application using Azure Kubernetes Service (AKS). You need to ensure that sensitive configuration data, such as API keys, is not stored in container images. Which Kubernetes resource should you use?

Question 198hardmultiple choice
Read the full Develop compute solutions explanation →

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 Azure service should you use?

Question 199mediummulti select
Read the full Develop compute solutions explanation →

You are planning to migrate an on-premises application to Azure App Service. The application consists of a web frontend and a background worker that processes messages from a queue. Which TWO Azure services should you use to implement this solution?

Question 200hardmulti select
Read the full Develop compute solutions explanation →

You are designing a serverless application using Azure Functions that needs to read from an Azure Storage Blob, process the data, and write to Azure Cosmos DB. Which THREE bindings are required?

Question 201mediummulti 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 202easymultiple choice
Read the full Develop compute solutions explanation →

You are developing a solution that processes orders. Each order must be processed exactly once, in the order it was received. You need to choose an Azure service that guarantees FIFO delivery and at-least-once processing. Which service should you use?

Question 203mediummultiple choice
Read the full Develop compute solutions explanation →

A web app experiences intermittent high latency. You discover that the Azure SQL database is experiencing a high number of connection timeouts. The application uses Entity Framework Core with the default connection pooling settings. You need to improve database connection reliability without changing the application code. What should you do?

Question 204hardmultiple choice
Read the full Develop compute solutions explanation →

You deploy an Azure Function app that uses the Premium plan. The function processes messages from an Azure Service Bus queue. Under heavy load, some messages are processed multiple times. You need to ensure exactly-once processing without losing messages. What should you do?

Question 205easymultiple choice
Read the full Develop compute solutions explanation →

You are building a serverless API using Azure Functions. The API must authenticate requests using Microsoft Entra ID. You need to restrict access to users from a specific Microsoft Entra tenant only. What should you configure in the function app?

Question 206mediummultiple choice
Read the full Develop compute solutions explanation →

You develop a containerized application that runs on Azure Container Instances (ACI). The application needs to securely access Azure SQL Database using a connection string. You want to minimize administrative effort and avoid storing secrets in the container image. What should you do?

Question 207hardmultiple choice
Read the full Develop compute solutions explanation →

You host a web application on Azure App Service using multiple deployment slots (production and staging). After swapping staging into production, users report errors. You need to ensure that the staging slot is warmed up before swapping and that any errors during swap cause an automatic rollback. What should you configure?

Question 208easymultiple choice
Read the full network assurance explanation →

You are building a solution that processes real-time telemetry from IoT devices. The telemetry data must be ingested, processed with minimal latency, and stored in Azure Blob Storage for long-term analytics. You need to choose the serverless compute service that is best suited for this scenario. What should you use?

Question 209mediummultiple choice
Read the full Develop compute solutions explanation →

You deploy an Azure Function app that runs on the Consumption plan. The function writes logs to Application Insights. You notice that some log entries are missing during periods of high load. You need to ensure that all logs are captured without significantly increasing cost. What should you do?

Question 210hardmultiple choice
Read the full Develop compute solutions explanation →

You are designing a microservices solution using Azure Container Apps. One service must be exposed externally via HTTPS, while others should only be accessible within the environment. You need to configure networking for this scenario. What should you do?

Question 211mediummulti select
Read the full Develop compute solutions explanation →

You are developing a background job that runs every hour to process data from an Azure SQL database and send notifications via SendGrid. The job must be serverless and cost-effective, and must automatically retry on failure. Which TWO options meet the requirements?

Question 212hardmulti select
Read the full Develop compute solutions explanation →

You are deploying a critical application on Azure App Service. The application must be highly available across two Azure regions. You need to implement a disaster recovery strategy that meets the following requirements: automatic failover with minimal data loss, and the ability to test failover without affecting production. Which THREE actions should you perform?

Question 213easymulti select
Read the full Develop compute solutions explanation →

You are building a serverless API using Azure Functions. The API must be secured with OAuth 2.0 and must support both user authentication and application permissions. You need to configure the function app appropriately. Which TWO steps should you take?

Question 214hardmultiple choice
Read the full Develop compute solutions explanation →

Your company has an Azure Kubernetes Service (AKS) cluster that hosts multiple microservices. You are tasked with deploying a new microservice that processes incoming HTTP requests and publishes messages to an Azure Service Bus topic. The microservice must scale based on the number of messages in the topic, and it must support graceful shutdown to complete in-flight requests. You need to choose the appropriate compute platform. The microservice is stateless and can be containerized. You want to minimize operational overhead and cost. The solution must automatically scale to zero when there are no messages. Which option should you choose?

Option A: Deploy the microservice as an Azure Function with a Service Bus trigger on the Consumption plan. Option B: Deploy the microservice as a container in AKS with a Horizontal Pod Autoscaler based on Service Bus queue length. Option C: Deploy the microservice as an Azure Container App with a Service Bus scale rule. Option D: Deploy the microservice as an Azure App Service WebJob with continuous mode.

Question 215mediummultiple choice
Read the full Develop compute solutions explanation →

You are developing a web application that allows users to upload images. The application is deployed on Azure App Service. After upload, the images must be processed to generate thumbnails and to extract metadata. The processing should happen asynchronously and must be resilient to failures. You need to design the solution using serverless components. The solution must minimize latency for the user during upload, and the processing must be retried automatically if it fails. You also need to ensure that the processing is idempotent, so that duplicate messages do not cause duplicate thumbnails. Which approach should you use?

Option A: Use Azure Functions with a Blob Storage trigger to process each image as it is uploaded. The function generates thumbnails and stores metadata in Cosmos DB. Use the `leaseBlob` property to prevent duplicate processing. Option B: Use Azure Functions with an Event Grid trigger to process images. The function generates thumbnails and stores metadata in Cosmos DB. Use Event Grid's built-in retry policy and idempotent logic in the function. Option C: Use Azure Logic Apps with a Blob Storage connector to process images. The logic app generates thumbnails and stores metadata in Cosmos DB. Configure retry policy on the connector. Option D: Use Azure Functions with a Service Bus queue trigger. The web app sends a message to the queue after upload. The function processes the message, generates thumbnails, and stores metadata. Use message deduplication to ensure idempotency.

Question 216easymultiple choice
Read the full Develop compute solutions explanation →

Your team develops a containerized web app using Azure Kubernetes Service (AKS). You need to ensure that the application can automatically scale based on HTTP request load. Which Kubernetes resource should you configure?

Question 217mediummultiple choice
Read the full Develop compute solutions explanation →

You are designing a serverless application using Azure Functions. The solution must process messages from an Azure Service Bus queue and update a Cosmos DB database. Which binding configuration should you use on the function?

Question 218mediummultiple choice
Read the full Develop compute solutions explanation →

Your Azure App Service web app experiences slow response times during peak hours. You suspect the App Service plan is under-provisioned. You need to scale out the app automatically based on CPU usage. What should you configure?

Question 219hardmultiple choice
Read the full Develop compute solutions explanation →

You are developing a solution that processes large files uploaded to Azure Blob Storage. Each file must be processed by a long-running operation that may take up to 30 minutes. You need to use Azure Functions with a consumption plan. How should you handle the processing?

Question 220easymultiple choice
Read the full DNS explanation →

You need to deploy a containerized application to Azure Container Instances (ACI) with a public IP address and a DNS name label. Which YAML property should you configure for the DNS name?

Question 221mediummultiple choice
Read the full Develop compute solutions explanation →

Your Azure Function app uses an Event Hub trigger. Under high load, some events are processed multiple times. You need to ensure exactly-once processing without losing events. What should you implement?

Question 222hardmultiple choice
Read the full Develop compute solutions explanation →

You are deploying a Java application to Azure App Service on Linux. The application requires a specific JDK version not available in the built-in stack. You need to provide the JDK without creating a custom container. What should you do?

Question 223mediummultiple choice
Read the full Develop compute solutions explanation →

Your AKS cluster runs a microservices application. You need to expose an internal service only within the cluster virtual network. Which Service type should you use?

Question 224hardmultiple choice
Read the full Develop compute solutions explanation →

You have an Azure Function app that uses .NET 8 isolated process. The function must connect to an Azure SQL database using a managed identity. The function app has a system-assigned managed identity enabled. Which code snippet correctly retrieves the access token?

Question 225easymulti select
Read the full Develop compute solutions explanation →

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

Question 226mediummulti select
Read the full Develop compute solutions explanation →

Which THREE are benefits of using Azure Logic Apps compared to Azure Functions for workflow orchestration?

Question 227hardmulti select
Read the full Develop compute solutions explanation →

Which THREE are valid ways to authenticate an Azure Functions app to an Azure Service Bus namespace?

Question 228mediummultiple choice
Read the full NAT/PAT explanation →

Your organization runs a critical e-commerce application on Azure App Service. The application uses a Standard App Service plan with three instances. During a flash sale, traffic spikes cause some requests to fail with HTTP 503 errors. The operations team reports that the app's CPU usage reaches 95% during spikes. You need to ensure the application remains responsive without manual intervention. The solution must minimize cost while handling unpredictable traffic patterns. You evaluate the following options: A) Enable autoscale to scale out based on CPU usage threshold of 70%, with a maximum of 10 instances. B) Change the App Service plan to Premium v3 and enable zone redundancy. C) Implement a queue-based load leveling pattern using Azure Queue Storage and a background process. D) Use Azure Front Door with a Web Application Firewall (WAF) policy to distribute traffic. Which option should you recommend?

Question 229hardmultiple choice
Read the full NAT/PAT explanation →

You are designing a serverless data processing pipeline. The pipeline receives JSON messages from an Azure Event Hubs instance. Each message must be enriched with data from a Cosmos DB database and then written to a Parquet file in Azure Data Lake Storage Gen2. The enrichment step involves a lookup that takes approximately 2 seconds per message. The pipeline must process up to 1000 messages per second. You need to choose the most cost-effective and scalable compute option. Consider the following options: A) Use a single Azure Function with Event Hubs trigger and output to Data Lake Storage. B) Use a Durable Functions orchestration with fan-out/fan-in pattern. C) Use Azure Stream Analytics with a reference data input from Cosmos DB and output to Data Lake Storage. D) Use an Azure Databricks notebook with structured streaming. Which option should you recommend?

Question 230easymultiple choice
Read the full Develop compute solutions explanation →

Your company develops a multi-tenant SaaS application hosted on Azure Kubernetes Service (AKS). Each tenant has isolated compute resources. You need to ensure that no single tenant can consume all cluster resources and affect others. You also want to optimize resource utilization by packing pods efficiently. You evaluate the following approaches: A) Use namespace resource quotas per tenant and let the Kubernetes scheduler handle packing. B) Deploy each tenant to a separate AKS cluster. C) Use Azure Policy to enforce pod resource limits. D) Use a service mesh to control traffic between tenants. Which approach should you recommend?

Question 231mediummultiple choice
Read the full Develop compute solutions explanation →

Your company runs a critical web application on Azure App Service (Windows) that experiences intermittent high CPU usage. The application uses the Standard tier with auto-scaling based on CPU percentage. During auto-scale events, there is a delay of several minutes before new instances become available, causing temporary performance degradation. You need to reduce the latency of scaling out. What should you do?

Question 232hardmultiple choice
Read the full Develop compute solutions explanation →

You are developing a serverless application using Azure Functions that processes order messages from an Azure Service Bus queue. Each order message is approximately 64 KB in size. The function must process messages in order and exactly once. The current implementation uses a Service Bus trigger with batch processing enabled. You notice that occasionally duplicate messages are processed. You need to ensure exactly-once processing while maintaining message ordering. What should you do?

Question 233mediummulti select
Read the full Develop compute solutions explanation →

Your company is deploying a multi-container application using Azure Container Instances (ACI) in a virtual network. You need to ensure that containers can communicate with each other using localhost. Which TWO actions should you take?

Question 234hardmulti select
Read the full Develop compute solutions explanation →

You are designing a background job processing solution using Azure Batch. The job runs a large number of tasks that are CPU-intensive and require access to large input files stored in Azure Blob Storage. You need to minimize the time to process all tasks while controlling costs. Which THREE actions should you take?

Question 235easymulti select
Read the full Develop compute solutions explanation →

You are deploying an Azure App Service that uses a Linux container to host a custom web application. You need to configure continuous deployment from a GitHub repository. Which TWO actions should you take?

Question 236easymulti select
Read the full Develop compute solutions explanation →

You are developing an Azure Functions app that processes events from an Event Hubs instance. The function must scale out automatically based on the number of partitions in the Event Hub. You need to ensure that each function instance processes events from at least one partition. Which THREE configurations should you use?

Question 237hardmulti select
Read the full Develop compute solutions explanation →

You are deploying a critical web application on Azure App Service that must handle sudden traffic spikes. The application stores session data in memory. You need to ensure session state is preserved across scale-out events. Which THREE actions should you take?

Question 238mediummulti select
Read the full Develop compute solutions explanation →

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?

Question 239easymulti select
Read the full Develop compute solutions explanation →

You are creating an Azure Functions app that uses a Blob Storage trigger to process new files. The function must process files only when they are completely written (i.e., no ongoing writes). You need to avoid processing partially written files. Which TWO configurations should you consider?

Question 240mediummultiple choice
Read the full Develop compute solutions explanation →

Your company develops a microservices-based application deployed on Azure Kubernetes Service (AKS). One of the microservices is a web API that processes user uploads and stores them in Azure Blob Storage. The API is stateless and scales horizontally. You need to implement authentication and authorization for the API using Microsoft Entra ID. The API should validate tokens issued by Entra ID and allow only users with the 'Files.Upload' scope. You need to configure the API's code and AKS deployment accordingly. Which approach should you use?

Question 241hardmultiple choice
Read the full Develop compute solutions explanation →

You are designing a serverless application using Azure Functions that processes high-volume events from Azure Event Hubs. The events are then written to Azure Cosmos DB. The function must guarantee at-least-once delivery and be resilient to failures. The Cosmos DB account uses the SQL API and is configured with a single write region. You need to design the function to handle transient failures when writing to Cosmos DB without losing events. What should you do?

Question 242easymultiple choice
Read the full Develop compute solutions explanation →

Your company runs a web application on Azure App Service that uses a custom domain. The application must be accessible only via HTTPS. You have already uploaded an SSL certificate for the custom domain. However, users can still access the site via HTTP. You need to enforce HTTPS redirection. What should you do?

Question 243hardmultiple choice
Read the full Develop compute solutions explanation →

You are deploying a containerized application on Azure Container Instances (ACI) that needs to run as a background job every hour. The job processes data from an Azure SQL Database and sends a report via email. You need to minimize costs while ensuring the job runs reliably on schedule. The job takes about 10 minutes to complete. What should you do?

Question 244mediummultiple choice
Read the full Develop compute solutions explanation →

Your company uses Azure App Service to host a web application that requires periodic database maintenance. The maintenance tasks are time-consuming and must run outside of peak hours. You need to schedule these tasks to run automatically at 2:00 AM every Sunday. The tasks should be implemented as an Azure Function that runs in the same App Service plan to reduce costs. What should you do?

Question 245easymultiple choice
Read the full Develop compute solutions explanation →

You are developing a solution that processes messages from an Azure Storage Queue. Each message triggers a long-running operation that may take up to 30 minutes. You need to ensure that if the processing fails, the message is not lost and can be retried later. The current implementation uses a console application that polls the queue and deletes messages after processing. What should you change?

Question 246mediummulti select
Read the full Develop compute solutions explanation →

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 247hardmultiple choice
Read the full Develop compute solutions explanation →

Your company is migrating a legacy on-premises .NET Framework 4.7.2 web application to Azure. The application uses session state stored in-memory and reads/writes to a local SQL Server database. The migration must minimize code changes, support auto-scaling, and handle session state across multiple instances. You plan to use Azure App Service with Windows OS. You need to recommend a solution for session state storage and database connectivity. Which option should you choose?

Question 248easymultiple choice
Read the full Develop compute solutions explanation →

You are developing a containerized application that will be deployed to Azure Container Instances (ACI). The application consists of a web front-end and a background worker that processes messages from an Azure Storage Queue. You need to ensure that the worker container runs continuously and processes messages as they arrive. The solution must minimize cost and management overhead. What should you do?

Question 249mediummultiple choice
Read the full Develop compute solutions explanation →

Your company is developing a real-time dashboard that displays live metrics from IoT devices. The backend processes device data using Azure Functions with an Event Hubs trigger. The processed data is stored in Azure Cosmos DB. You need to ensure that the system can handle a sudden increase in device data without losing messages or overloading Cosmos DB. The solution must minimize latency and cost. What should you do?

Question 250easymultiple choice
Read the full Develop compute solutions explanation →

You are developing a web app that processes images uploaded by users. The processing can take up to 30 seconds per image. You need to ensure that the web app remains responsive and can handle spikes in traffic. Which Azure service should you use to offload the image processing?

Question 251mediummultiple choice
Read the full Develop compute solutions explanation →

You are deploying a containerized application to Azure Container Instances. The application must restart automatically if it crashes. You set the restart policy to 'Always'. However, the container keeps restarting continuously even when there is no crash. What is the most likely cause?

Question 252hardmultiple choice
Read the full Develop compute solutions explanation →

You are designing a serverless architecture using Azure Functions for a data processing pipeline. The pipeline must process messages from an Azure Service Bus queue. Each message can take up to 5 minutes to process. You need to ensure that if a function fails, the message is not lost and is retried after a delay. What should you configure?

Question 253easymulti select
Read the full Develop compute solutions explanation →

Your company is migrating a monolithic application to Azure. The application consists of several components that need to be deployed and scaled independently. You need to design a container orchestration solution. Which TWO services should you consider?

Question 254mediummulti select
Read the full Develop compute solutions explanation →

You are developing an Azure Functions app that processes orders. Each order must be processed exactly once. The function is triggered by an Azure Event Hubs event. You need to ensure that if the function fails during processing, the event is not lost and is retried. Which THREE actions should you take?

Question 255mediummultiple choice
Read the full Develop compute solutions explanation →

Refer to the exhibit. You deploy this ARM template to create an Azure App Service. After deployment, the application stops responding after a few minutes. The application is a .NET 6 web API that runs in a Linux container. What is the most likely cause?

Exhibit

{
  "resources": [
    {
      "type": "Microsoft.Web/sites",
      "apiVersion": "2022-03-01",
      "name": "[parameters('siteName')]",
      "location": "[resourceGroup().location]",
      "properties": {
        "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', parameters('hostingPlanName'))]",
        "siteConfig": {
          "alwaysOn": true,
          "linuxFxVersion": "DOTNETCORE|6.0",
          "appSettings": [
            {
              "name": "WEBSITE_RUN_FROM_PACKAGE",
              "value": "1"
            }
          ]
        }
      }
    }
  ]
}
Question 256hardmultiple choice
Read the full Develop compute solutions explanation →

You are a developer at a financial services company. You need to design a solution for processing real-time stock trade data. The system receives thousands of trades per second from an on-premises system. Each trade must be validated, enriched with reference data, and then stored in a data lake for analytics. You have the following requirements: - The processing must be serverless and scale automatically with high throughput. - The enrichment step requires calling an external REST API that can handle up to 100 requests per second. If the API is overwhelmed, trades must be retried with exponential backoff. - The solution must minimize cost and operational overhead. - Trades must be processed in order per stock symbol. You provision an Azure Event Hubs namespace with a single event hub. Trades are sent to the event hub with the stock symbol as the partition key. You configure an Azure Functions app with an Event Hubs trigger to process events. The function validates, enriches by calling the external API, and writes the enriched trade to Azure Data Lake Storage. During testing, you notice that some trades are processed out of order for the same stock symbol when the external API throttles requests. What should you do to ensure ordering per stock symbol?

Question 257easymultiple choice
Read the full Develop compute solutions explanation →

You are developing an Azure Function that processes messages from an Azure Storage queue. The function must handle transient failures when writing to a downstream database. You need to implement a retry policy. What is the recommended approach?

Question 258mediummultiple choice
Read the full Develop compute solutions explanation →

You have an Azure App Service that runs a web API. The API is accessed by multiple client applications. You need to implement authentication and authorization using Microsoft Entra ID. The solution must allow client applications to obtain access tokens using the OAuth 2.0 client credentials flow. Which authentication setting should you configure in the App Service?

Practice tests

Scored 10-question sessions with instant feedback and explanations.

AZ-204 Practice Test 1 — 10 Questions→AZ-204 Practice Test 2 — 10 Questions→AZ-204 Practice Test 3 — 10 Questions→AZ-204 Practice Test 4 — 10 Questions→AZ-204 Practice Test 5 — 10 Questions→AZ-204 Practice Exam 1 — 20 Questions→AZ-204 Practice Exam 2 — 20 Questions→AZ-204 Practice Exam 3 — 20 Questions→AZ-204 Practice Exam 4 — 20 Questions→Free AZ-204 Practice Test 1 — 30 Questions→Free AZ-204 Practice Test 2 — 30 Questions→Free AZ-204 Practice Test 3 — 30 Questions→AZ-204 Practice Questions 1 — 50 Questions→AZ-204 Practice Questions 2 — 50 Questions→AZ-204 Exam Simulation 1 — 100 Questions→

Practice by domain

Each domain maps to a weighted exam section. Focus on the domain where you are weakest.

Develop Azure compute solutionsDevelop for Azure storageImplement Azure securityConnect to and consume Azure services and third-party servicesMonitor, troubleshoot, and optimize Azure solutions

Practice by scenario

Filter questions by type — troubleshooting, exhibit, drag-and-drop, PBQ, ACLs, OSPF, and more.

Browse scenarios→

Continue studying

All Develop Azure compute solutions setsAll Develop Azure compute solutions questionsAZ-204 Practice Hub