Courseiva

AZ-204 · topic practice

Develop Azure compute solutions practice questions

This domain covers Azure compute services: Azure Functions, App Service, containers, and supporting components like triggers, bindings, scaling, and deployment. Questions present scenarios requiring selection of the right hosting plan, trigger type, scaling configuration, or integration pattern. You must understand how to implement, monitor, and troubleshoot serverless and PaaS compute solutions using Azure SDKs, CLI, and portal settings.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Develop Azure compute solutions

What the exam tests

What to know about Develop Azure compute solutions

You must be able to choose the correct Azure compute service and configure triggers, bindings, and scaling for a given scenario. The single most important thing is matching the workload's scaling, latency, and integration needs to the right hosting plan and trigger type.

Azure Functions triggers and bindings for Blob Storage, Queue Storage, Event Hubs, and HTTP.

Hosting plans: Consumption, Premium, Dedicated (App Service), and their scaling behaviors.

Durable Functions patterns: function chaining, fan-out/fan-in, async HTTP APIs, and timers.

Container deployment to Azure Container Instances and Azure Kubernetes Service via CLI or YAML.

Watch out for

Common Develop Azure compute solutions exam traps

  • ▸Assuming Consumption Plan supports unlimited scale-out; it has a maximum instance count and cold start delays.
  • ▸Confusing Event Hubs with Event Grid for real-time processing; Event Hubs is for high-throughput telemetry, Event Grid for reactive events.
  • ▸Forgetting that Queue Storage triggers use polling and may not scale as fast as Service Bus or Event Hubs under high load.

Practice set

Develop Azure compute solutions questions

20 questions · select your answer, then reveal the 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?

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?

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?

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?

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?

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?

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?

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?

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?

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?

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?

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"```

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"
    }
  }
}
```

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?

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?

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?

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?

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')]"
        }
      ]
    }
  }
}

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"]
  }
}

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

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Develop Azure compute solutions sessions

Start a Develop Azure compute solutions only practice session

Every question in these sessions is drawn from the Develop Azure compute solutions domain — nothing else.

Related practice questions

Related AZ-204 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the AZ-204 exam test about Develop Azure compute solutions?
You must be able to choose the correct Azure compute service and configure triggers, bindings, and scaling for a given scenario. The single most important thing is matching the workload's scaling, latency, and integration needs to the right hosting plan and trigger type.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Develop Azure compute solutions questions in a focused session?
Yes — the session launcher on this page draws every question from the Develop Azure compute solutions domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other AZ-204 topics?
Use the topic links above to move to related areas, or go back to the AZ-204 question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the AZ-204 exam covers. They are not copied from any real exam or dump site.