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

    You need to grant access to the retail store location data for the inventory service development effort.

    What should you use?

    A. Azure AD access token
    B. Azure RBAC role
    C. Shared access signature (SAS) token
    D. Azure AD ID token
    E. Azure AD refresh token

  • Question 452:

    HOTSPOT

    You are developing an Azure Function app.

    All functions in the app meet the following requirements:

    1. Run until either a successful run or until 10 run attempts occur.

    2. Ensure that there are at least 20 seconds between attempts for up to 15 minutes.

    You need to configure the host.json file.

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

    NOTE: Each correct selection is worth one point.

  • Question 453:

    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: Update the web.config file to include the applicationInitialization configuration element. Specify custom initialization actions to run the scripts.

    Does the solution meet the goal?

    A. No
    B. Yes

  • Question 454:

    HOTSPOT

    You plan to deploy a new application to a Linux virtual machine (VM) that is hosted in Azure.

    The entire VM must be secured at rest by using industry-standard encryption technology to address organizational security and compliance requirements.

    You need to configure Azure Disk Encryption for the VM.

    How should you complete the Azure CLI commands? To answer, select the appropriate options in the answer area.

    NOTE: Each correct selection is worth one point.

  • Question 455:

    You have an Azure App Services Web App Azure SQL Database instance Azure Storage Account, and an Azure Redis Cache instance in a resource group.

    A developer must be able to publish code to the web app. You must grant the developer the Contribute role to the web app.

    You need to grant the role.

    Which two commands can you use? Each correct answer presents a complete solution.

    NOTE: Each correct selection is worth one point.

    A. az role assignment create
    B. az role definition create
    C. New-AzureRmRoleAssignment
    D. New-AzureRmRoleDefinition

  • Question 456:

    HOTSPOT

    You have an Azure Application Insights resource named Al1. AM monitors an Azure App Service web app named App1.

    You plan to regularly analyze the usage of specific pages of Appl by a subset of users.

    The subset will consist of users who access specific Appl pages five or more times in a given month.

    You must be able to filter sessions and events based on that subset when viewing All in the Azure portal.

    You need to configure AI1 to facilitate your analysis.

    What should you configure for Al1? To answer, select the appropriate options in the answer area.

    NOTE: Each correct selection Is worth one point.

  • Question 457:

    You are developing a web app that is protected by Azure Web Application Firewall (WAF). All traffic to the web app is routed through an Azure Application Gateway instance that is used by multiple web apps. The web app address is contoso.azurewebsites.net.

    All traffic must be secured with SSL. The Azure Application Gateway instance is used by multiple web apps.

    You need to configure the Azure Application Gateway for the app.

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

    NOTE: Each correct selection is worth one point.

    A. In the Azure Application Gateway's HTTP setting, enable the Use for App service setting.
    B. Convert the web app to run in an Azure App service environment (ASE).
    C. Add an authentication certificate for contoso.azurewebsites.net to the Azure Application gateway.
    D. In the Azure Application Gateway's HTTP setting, set the value of the Override backend path option to contoso22.azurewebsites.net.

  • Question 458:

    DRAG DROP

    You develop and deploy a Java application to Azure. The application has been instrumented by using the Application Insights SDK.

    The telemetry data must be enriched and processed before it is sent to the Application Insights service.

    You need to modify the telemetry data.

    Which Application Insights SDK 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 459:

    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 question, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

    Margie's Travel is an international travel and bookings management service. The company is expanding into restaurant bookings. You are tasked with implementing Azure Search for the restaurants listed in their solution.

    You create the index in Azure Search.

    You need to import the restaurant data into the Azure Search service by using the Azure Search .NET SDK.

    Solution:

    1. Create a SearchServiceClient object to connect to the search index.

    2. Create a DataContainer that contains the documents which must be added.

    3. Create a DataSource instance and set its Container property to the DataContainer.

    4. Call the Documents.Suggest method of the SearchIndexClient and pass the DataSource.

    Does the solution meet the goal?

    A. Yes
    B. No

  • Question 460:

    HOTSPOT

    You are implementing a software as a service (SaaS) ASP.NET Core web service that will run as an Azure Web App. The web service will use an on-premises SQL Server database for storage. The web service also includes a WebJob that processes data updates. Four customers will use the web service.

    1. Each instance of the WebJob processes data for a single customer and must run as a singleton instance.

    2. Each deployment must be tested by using deployment slots prior to serving production data.

    3. Azure costs must be minimized.

    4. Azure resources must be located in an isolated network.

    You need to configure the App Service plan for the Web App.

    How should you configure the App Service plan? To answer, select the appropriate settings 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.