AZ-204 Exam Details

  • Exam Code
    :AZ-204
  • Exam Name
    :Developing Solutions for Microsoft Azure
  • Certification
    :Microsoft Certifications
  • Vendor
    :Microsoft
  • Total Questions
    :588 Q&As
  • Last Updated
    :May 25, 2026

Microsoft AZ-204 Online Questions & Answers

  • Question 391:

    You need to reduce read latency for the retail store solution.

    What are two possible ways to achieve the goal? Each correct answer presents a complete solution.

    NOTE: Each correct selection is worth one point.

    A. Create a new composite index for the store location data queries in Azure Cosmos DB. Modify the queries to support parameterized SQL and update the Azure function app to call the new Queries.
    B. Configure Azure Cosmos DB consistency to strong consistency Increase the RUs for the container supporting store location data.
    C. Provision an Azure Cosmos OB dedicated gateway, update blob storage to use the new dedicated gateway endpoint.
    D. Configure Azure Cosmos DB consistency to session consistency. Cache session tokens in a new Azure Redis cache instance after every write. Update reads to use the session token stored in Azure Redis.
    E. Provision an Azure Cosmos DB dedicated gateway Update the Azure Function app connection string to use the new dedicated gateway endpoint.

  • Question 392:

    You are a developing a SaaS application that stores data as key value pairs.

    You must make multiple editions of the application available. In the lowest cost edition, the performance must be best-effort, and there is no regional failover.

    In higher cos! editions customers must be able to select guaranteed performance and support for multiple regions. Azure costs must be minimized.

    Which Azure Cosmos OB API should you use for the application?

    A. Core
    B. MongoDB
    C. Cassandra
    D. Table API

  • Question 393:

    HOTSPOT

    You develop and deploy the following staticwebapp.config.json file to the app_location value specified in the workflow file of an Azure Static Web app.

    For each of the following statements, select Yes if the statement is true. Otherwise, select No.

    NOTE: Each correct selection is worth one point.

  • Question 394:

    You develop and deploy an ASP.NET Core application that connects to an Azure Database for MySQL instance.

    Connections to the database appear to drop intermittently and the application code does not handle the connection failure.

    You need to handle the transient connection errors in code by implementing retries.

    What are three possible ways to achieve this goal? Each correct answer presents part of the solution.

    NOTE: Each correct selection is worth one point.

    A. Increase connection repeat attempts exponentially up to 120 seconds.
    B. Close the database connection and immediately report an error.
    C. Wait five seconds before repeating the connection attempt to the database.
    D. Disable connection pooling and configure a second Azure Database for MySQL instance.
    E. Set a maximum number of connection attempts to 10 and report an error on subsequent connections.

  • Question 395:

    HOTSPOT

    You are developing a back-end Azure App Service that scales based on the number of messages contained in a Service Bus queue.

    A rule already exists to scale up the App Service when the average queue length of unprocessed and valid queue messages is greater than 1000.

    You need to add a new rule that will continuously scale down the App Service as long as the scale up condition is not met.

    How should you configure the Scale rule? To answer, select the appropriate options in the answer area.

    NOTE: Each correct selection is worth one point.

  • Question 396:

    You need to configure the ContentUploadService deployment.

    Which two actions should you perform? Each correct answer presents part of the solution.

    NOTE: Each correct selection is worth one point.

    A. Add the following markup to line CS23: types: Private
    B. Add the following markup to line CS24: osType: Windows
    C. Add the following markup to line CS24: osType: Linux
    D. Add the following markup to line CS23: types: Public

  • Question 397:

    DRAG DROP

    You develop an ASP.NET Core MVC application. You configure the application to track webpages and custom events.

    You need to identify trends in application usage.

    Which Azure Application Insights Usage Analysis features should you use? To answer, drag the appropriate features to the correct requirements. Each feature may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

    NOTE: Each correct selection is worth one point.

    Select and Place:

  • Question 398:

    You a web application that provides access to legal documents that are stored on Azure Blob Storage with version level immutability policies. Documents are protected with both time-based policies legal hold policies. All time--based retention policies have Allow Protected Append Writes property enabled.

    You have a requirement to prevent the user from attempting to perform operations that would fail only a legal is in effect and when all other are expired

    You reed to meet the requirement.

    Which two operations you prevent?

    A. adding data to documents
    B. deleting documents
    C. creating documents
    D. overwriting existing documents

  • Question 399:

    HOTSPOT

    You are developing an online game that allows players to vote for their favorite photo that illustrates a word. The game is built by using Azure Functions and uses durable entities to track the vote count.

    The voting window is 30 seconds. You must minimize latency.

    You need to implement the Azure Function for voting.

    How should you complete the code? To answer, select the appropriate options in the answer area.

  • Question 400:

    You are developing several microservices to deploy to a Azure Service cluster. The microservices manage data stored in Azure Cosmos DB and Azure Blob storage. The data is secured by using customer-managed keys stored in Aue Key Vault.

    You must automate key rotation for all Key Vault keys and allow for manual key rotation. Keys must rotate every three months. Notifications Of expiring keys must be sent before key expiry.

    You need to configure key rotation and enable key expiry notifications.

    Which two actions should you perform? Each correct answer presents part Of solution.

    NOTE: Each correct selection is worth

    A. Create and configure a new Azure Event Grid instance.
    B. Create configure a key rotation policy during key creation
    C. Create and assign an Azure Key Vault access
    D. Configure Azure Key Vault

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your AZ-204 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.