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

    Your company is developing an Azure API hosted in Azure.

    You need to implement authentication for the Azure API to access other Azure resources. You have the following requirements:

    1. All API calls must be authenticated.

    2. Callers to the API must not send credentials to the API.

    Which authentication mechanism should you use?

    A. Basic
    B. Anonymous
    C. Managed identity
    D. Client certificate

  • Question 142:

    DRAG DROP

    You develop and deploy several APIs to Azure API Management.

    You create the following policy fragment named APICounts:

    The policy fragment must be reused across various scopes and APIs. The policy fragment must be applied to all APIs and run when a calling system invokes any API.

    You need to implement the policy fragment.

    How should you complete the policy segment? To answer, drag the appropriate XML elements to the correct targets. Each XML element 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 143:

    You manage an Azure Key Vault named kv1 of Standard SKU.

    You plan to programmatically store in kv1 an asymmetric key pair and use the key pair for encryption and decryption.

    You must develop an application named app1 that will access the key pair in kv1.

    You need to configure an object to retrieve a key pair from kv1.

    Which object should you use?

    A. SecretClient
    B. KeyVaultSettingsClient
    C. CertificateClient
    D. KeyClient

  • Question 144:

    HOTSPOT

    You are developing an Azure Durable Function based application that processes a list of input values. The application is monitored using a console application that retrieves JSON data from an Azure Function diagnostic endpoint.

    During processing a single instance of invalid input does not cause the function to fail. Invalid input must be available to the monitoring application.

    You need to implement the Azure Durable Function and the monitoring console application.

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

    NOTE: Each correct selection is worth one point.

  • Question 145:

    You are developing several Azure API Management (APIM) hosted APIs.

    The APIs have the following requirements:

    Require a subscription key to access all APIs.

    Include terms of use that subscribers must accept to use the APIs.

    Administrators must review and accept or reject subscription attempts.

    Limit the count of multiple simultaneous subscriptions.

    You need to implement the APIs.

    What should you do?

    A. Configure and apply header-based versioning.
    B. Create and publish a product.
    C. Configure and apply query string-based versioning.
    D. Add a new revision to all APIs. Make the revisions current and add a change log entry.

  • Question 146:

    HOTSPOT

    You develop and deploy a web app to Azure App service. The web app allows users to authenticate by using social identity providers through the Azure B2C service. All user profile information is stored in Azure B2C.

    You must update the web app to display common user properties from Azure B2C to include the following information:

    1. Email address

    2. Job title

    3. First name

    4. Last name

    5. Office location

    You need to implement the user properties in the web app.

    Which code library and API should you use? To answer, select the appropriate options in the answer area.

    NOTE: Each correct selection is worth one point.

  • Question 147:

    You are developing a complex workflow by using Azure Durable Functions.

    During testing you observe that the results of the workflow differ based on how many instances of the Azure Function are running.

    You need to resolve the issue.

    What should you do?

    A. Ensure that all Orchestrator code is deterministic.
    B. Read all state data from the durable function context
    C. Configure the Azure Our able f unction to run on an App Service Plan with one instance.
    D. Implement the monitor pattern within the workflow.

  • Question 148:

    DRAG DROP

    A company has multiple warehouse. Each warehouse contains IoT temperature devices which deliver temperature data to an Azure Service Bus queue.

    You need to send email alerts to facility supervisors immediately if the temperature at a warehouse goes above or below specified threshold temperatures.

    Which five 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 149:

    You are developing an Azure function that connects to an Azure SQL Database instance. The function is triggered by an Azure Storage queue.

    You receive reports of numerous System.InvalidOperationExceptions with the following message:

    "Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached."

    You need to prevent the exception.

    What should you do?

    A. In the host.json file, decrease the value of the batchSize option
    B. Convert the trigger to Azure Event Hub
    C. Convert the Azure Function to the Premium plan
    D. In the function.json file, change the value of the type option to queueScaling

  • Question 150:

    HOTSPOT

    You need to provide internal staff access to the production site after a validation.

    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.

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.