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

    DRAG DROP

    You are preparing to deploy a medical records application to an Azure virtual machine (VM). The application will be deployed by using a VHD produced by an on-premises build server.

    You need to ensure that both the application and related data are encrypted during and after deployment to Azure.

    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:

  • Question 252:

    You develop and deploy a web app to Azure App Service. The Azure App Service uses a Basic plan in a single region.

    Users report that the web app is responding slow. You must capture the complete call stack to help identify performance issues in the code. Call stack data must be correlated across app instances. You must minimize cost and impact to users on the web app.

    You need to capture the telemetry.

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

    NOTE: Each correct selection is worth one point.

    A. Restart all apps in the App Service plan.
    B. Enable Application Insights site extensions.
    C. Upgrade the Azure App Service plan to Premium.
    D. Enable Profiler.
    E. Enable the Always On setting for the app service.
    F. Enable Snapshot debugger.
    G. Enable remote debugging.

  • Question 253:

    HOTSPOT

    You have an app that stores player scores for an online game. The app stores data in Azure tables using a class named PlayerScore as the table entity. The table is populated with 100,000 records.

    You are reviewing the following section of code that is intended to retrieve 20 records where the player score exceeds 15,000. (Line numbers are included for reference only.)

    You have the following code. (Line numbers are included for reference only.)

    You store customer information in an Azure Cosmos database. The following data already exists in the database:

    You develop the following code. (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.

    1.jpg

  • Question 254:

    You need to implement an aggregate of telemetry values for distributor API calls.

    Which Application Insights API method should you use?

    A. TrackTrace
    B. Track Exception
    C. TrackEvent
    D. TrackDependency
    E. TrackMetric

  • Question 255:

    You have an Azure subscription named Sub1 that contains a resource group named RG1 and a Service Bus queue named SB1.

    You plan to implement an Azure Event Grid push event subscription that will deliver an event to SB1 whenever a resource is created, modified, or deleted in RG1. You must minimize the development and configuration efforts.

    You need to create an Event Grid topic for your planned implementation.

    Which type of event topic should you create?

    A. event domain
    B. custom
    C. system
    D. namespace

  • Question 256:

    HOTSPOT

    You are creating a CLI script that creates an Azure web app related services in Azure App Service. The web app uses the following variables:

    You need to automatically deploy code from GitHub to the newly created web app.

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

    NOTE: Each correct selection is worth one point.

  • Question 257:

    You are developing a web application that runs as an Azure Web App. The web application stores data in Azure SQL Database and stores files in an Azure Storage account. The web application makes HTTP requests to external services as part of normal operations.

    The web application is instrumented with Application Insights. The external services are OpenTelemetry compliant.

    You need to ensure that the customer ID of the signed in user is associated with all operations throughout the overall system.

    What should you do?

    A. Add the customer ID for the signed in user to the CorrelationContext in the web application
    B. On the current SpanContext, set the TraceId to the customer ID for the signed in user
    C. Set the header Ocp-Apim-Trace to the customer ID for the signed in user
    D. Create a new SpanContext with the TraceFlags value set to the customer ID for the signed in user

  • Question 258:

    DRAG DROP

    You need to add code at line EG15 in EventGridController.cs to ensure that the Log policy applies to all services.

    How should you complete the code? To answer, drag the appropriate code segments to the correct locations. Each code segment 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 259:

    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 Azure solutions.

    You must grant a virtual machine (VM) access to specific resource groups in Azure Resource Manager.

    You need to obtain an Azure Resource Manager access token.

    Solution: Use the Reader role-based access control (RBAC) role to authenticate the VM with Azure Resource Manager.

    Does the solution meet the goal?

    A. Yes
    B. No

  • Question 260:

    HOTSPOT

    You need to insert code at line LE03 of LoginEvent.cs to ensure that all authentication events are processed correctly.

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

    NOTE: Each correct selection is worth one point.

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.