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 491:

    You are developing applications for a company. You plan to host the applications on Azure App Services.

    The company has the following requirements:

    1. Every five minutes verify that the websites are responsive.

    2. Verify that the websites respond within a specified time threshold. Dependent requests such as images and JavaScript files must load properly.

    3. Generate alerts if a website is experiencing issues.

    4. If a website fails to load, the system must attempt to reload the site three more times.

    You need to implement this process with the least amount of effort.

    What should you do?

    A. Create a Selenium web test and configure it to run from your workstation as a scheduled task.
    B. Set up a URL ping test to query the home page.
    C. Create an Azure function to query the home page.
    D. Create a multi-step web test to query the home page.
    E. Create a Custom Track Availability Test to query the home page.

  • Question 492:

    HOTSPOT

    You have an Azure Web app that uses Cosmos DB as a data store. You create a CosmosDB container by running the following PowerShell script:

    $resourceGroupName = "testResourceGroup"

    $accountName = "testCosmosAccount"

    $databaseName = "testDatabase"

    $containerName = "testContainer"

    $partitionKeyPath = "/EmployeeId"

    $autoscaleMaxThroughput = 5000

    New-AzCosmosDBSqlContainer

    -ResourceGroupName $resourceGroupName

    -AccountName $accountName

    -DatabaseName $databaseName

    -Name $containerName

    -PartitionKeyKind Hash

    -PartitionKeyPath $partitionKeyPath

    -AutoscaleMaxThroughput $autoscaleMaxThroughput

    You create the following queries that target the container:

    SELECT * FROM c WHERE c.EmployeeId > '12345'

    SELECT * FROM c WHERE c.UserID = '12345'

    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 493:

    You are developing several microservices to run on Azure Container Apps for a company. External TCP ingress traffic from the internet has been enabled for the microservices.

    The company requires that the microservices must scale based on an Azure Event Hub trigger.

    You need to scale the microservices by using a custom scaling rule.

    Which two Kubernetes Event-driven Autoscaling (KEDA) trigger fields should you use? Each correct answer presents part of the solution.

    NOTE: Each correct selection is worth one point.

    A. metadata
    B. type
    C. authenticationRef
    D. name
    E. metricType

  • Question 494:

    DRAG DROP

    You develop an Azure solution that uses Cosmos DB.

    The current Cosmos DB container must be replicated and must use a partition key that is optimized for queries.

    You need to implement a change feed processor solution.

    Which change feed processor components should you use? To answer, drag the appropriate components to the correct requirements. Each component 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 the content.

    NOTE: Each correct selection is worth one point.

    Select and Place:

  • Question 495:

    Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

    After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

    You develop and deploy an Azure App Service API app to a Windows-hosted deployment slot named Development. You create additional deployment slots named Testing and Production. You enable auto swap on the Production deployment slot.

    You need to ensure that scripts run and resources are available before a swap operation occurs.

    Solution: Disable auto swap. Update the app with a method named statuscheck to run the scripts. Re-enable auto swap and deploy the app to the Production slot.

    Does the solution meet the goal?

    A. No
    B. Yes

  • Question 496:

    HOTSPOT

    You are working for a company that designs mobile applications. They maintain a server where player records are assigned to their different games. The tracking system is new and in development.

    The application uses Entity Framework to connect to an Azure Database. The database holds a Player table and Game table.

    When adding a player, the code should insert a new player record, and add a relationship between an existing game record and the new player record.

    The application will call CreatePlayerWithGame with the correct gameld and the playerld to start the process. (Line numbers are included for reference only.)

    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 497:

    Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution. Determine whether the solution meets the stated goals.

    You are developing and deploying several ASP.Net web applications to Azure App Service.

    You plan to save session state information and HTML output.

    You must use a storage mechanism with the following requirements:

    1. Share session state across all ASP.NET web applications

    2. Support controlled, concurrent access to the same session state data for multiple readers and a single writer

    3. Save full HTTP responses for concurrent requests

    You need to store the information.

    Proposed Solution: Add the web applications to Docker containers. Deploy the containers. Deploy the containers to Azure Kubernetes Service (AKS).

    Does the solution meet the goal?

    A. Yes
    B. No

  • Question 498:

    HOTSPOT

    You have a web app named Appl hosted on your on-premises web server.

    You plan to use the Application Insights JavaScript SDK to implement client-side Real User Monitoring (RUM) of individual pages of Appl.

    You need to author the script element that will be added to each of the pages.

    What should you set for the value of src and cfg keys in the script element of each page? To answer, select the appropriate options in the answer area.

    NOTE: Each correct selection is worth one point.

  • Question 499:

    Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some Microsoft AZ-204 question sets might have more than one correct solution, while others might not have a correct solution.

    After you answer a question in this question, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

    You are developing a solution that will be deployed to an Azure Kubernetes Service (AKS) cluster. The solution will include a custom VNet, Azure Container Registry images, and an Azure Storage account.

    The solution must allow dynamic creation and management of all Azure resources within the AKS cluster.

    You need to configure an AKS cluster for use with the Azure APIs.

    Solution: Create an AKS cluster that supports network policy. Create and apply a network to allow traffic only from within a defined namespace.

    Does the solution meet the goal?

    A. Yes
    B. No

  • Question 500:

    DRAG DROP

    You are a developer for a company that provides a bookings management service in the tourism industry. You are implementing Azure Search for the tour agencies listed in your company's solution.

    You create the index in Azure Search. You now need to use the Azure Search .NET SDK to import the relevant data into the Azure Search service.

    Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

    Select and Place:

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.