Summer Special Discount 60% Offer - Ends in 0d 00h 00m 00s - Coupon code: brite60

ExamsBrite Dumps

Developing Solutions for Microsoft Azure Question and Answers

Developing Solutions for Microsoft Azure

Last Update Jul 11, 2025
Total Questions : 461

We are offering FREE AZ-204 Microsoft exam questions. All you do is to just go and sign up. Give your details, prepare AZ-204 free exam questions and then go for complete pool of Developing Solutions for Microsoft Azure test questions that will help you more.

AZ-204 pdf

AZ-204 PDF

$46  $114.99
AZ-204 Engine

AZ-204 Testing Engine

$54  $134.99
AZ-204 PDF + Engine

AZ-204 PDF + Testing Engine

$70  $174.99
Questions 1

You need to implement the corporate website.

How should you configure the solution?

Options:

Discussion 0
Questions 2

You need to grant access to the retail store location data for the inventory service development effort. What should you use?

Options:

A.  

Azure AD access token

B.  

Azure RBAC role

C.  

Azure AD ID token

D.  

Shared access signature (SAS) token

E.  

Azure AD refresh token

Discussion 0
Questions 3

You need to implement event routing for retail store location data.

Which configuration should you use?

Options:

Discussion 0
Questions 4

You need to secure the Azure Functions to meet the security requirements.

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

NOTE: Each correct selection is worth one point.

Options:

A.  

Store the RSA-HSM key in Azure Key Vault with soft-delete and purge-protection features enabled

B.  

Store the RSA-HSM key in Azure Blob storage with an immutability policy applied to the container.

C.  

Store the RSA-HSM key in Azure Cosmos DB. Apply the built-in policies for customer-managed Keys and allowed locations

D.  

Create a standard tier Azure App Configuration instance with an assigned Azure AD managed identity.

E.  

Create a free tier Azure App Configuration instance with a new Azure AD service principal.

Discussion 0
Questions 5

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

Which Application Insights API method should you use?

Options:

A.  

TrackTrace

B.  

Track Exception

C.  

TrackEvent

D.  

TrackDependency

E.  

TrackMetric

Discussion 0
Questions 6

You need to implement farmer authentication.

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

NOTE: Each correct selection is worth one point.

Options:

A.  

Add the shared access signature (SAS) token to the app

B.  

Create a shared access signature (SAS) token.

C.  

Register the app in Microsoft Entra ID.

D.  

Create a user flow.

E.  

Add the app to the user flow.

Discussion 0
Questions 7

You need to secure the corporate website to meet the security requirements.

What should you do?

Options:

A.  

Create an App Service instance with a standard plan. Configure the custom domain with a TLS/SSL certificate.

B.  

Create an Azure Application Gateway with a Web Application Firewall (WAF). Configure end-to-end TLS encryption and the WAF.

C.  

Create an Azure Cache for Radis instance. Update the code to support the cache.

D.  

Create an Azure Content Delivery Network profile and endpoint. Configure the endpoint.

Discussion 0
Questions 8

You need to configure App Service to support the corporate website migration.

Which configuration should you use? To answer, select the appropriate options in the answer area

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 9

You need to display the profile photo and email for signed-in internal staff on the website.

Which Microsoft Graph configuration should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 10

You need to configure all site configuration settings for the corporate website.

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

NOTE: Each correct selection is worth one point.

Options:

A.  

Create a managed identity.

B.  

Update the role assignments for the Azure App Configuration store

C.  

Create an Azure Key Vault.

D.  

Create an Azure App Configuration store.

E.  

Update the role assignments for the Azure Key Vault.

Discussion 0
Questions 11

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.

Options:

Discussion 0
Questions 12

You need to correct the errors for farmers and distributors.

Which solution should you use? To answer, select the appropriate options in the answer area

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 13

You need to resolve the authentication errors for developers.

Which Service Bus security configuration should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 14

You need to correct the internal staff issue with webpages.

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.

Options:

Discussion 0
Questions 15

You develop and deploy an Azure App Service web app named App1. You create a new Azure Key Vault named Vault 1. You import several API keys, passwords, certificates, and cryptographic keys into Vault1.

You need to grant App1 access to Vault1 and automatically rotate credentials Credentials must not be stored in code.

What should you do?

Options:

A.  

Enable App Service authentication for Appt. Assign a custom RBAC role to Vault1.

B.  

Add a TLS/SSL binding to App1.

C.  

Assign a managed identity to App1.

D.  

Upload a self-signed client certificate to Vault1. Update App1 to use the client certificate.

Discussion 0
Questions 16

You are developing several microservices named serviceA. serviceB, and serviceC. You deploy the microservices to a new Azure Container Apps environment. You have the following requirements.

• The microservices must persist data to storage.

• serviceA must persist data only visible to the current container and the storage must be restricted to the amount of disk space available in the container

• servtceB must persist data for the lifetime of the replica and allow multiple containers in the replica to mount the same storage location.

• serviceC must persist data beyond the lifetime of the replica while allowing multiple containers to access the storage and enable per object permissions.

You need to configure storage for each microservice.

Options:

Discussion 0
Questions 17

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.

Options:

Discussion 0
Questions 18

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.

Options:

Discussion 0
Questions 19

You are implementing an Azure API app that uses built-in authentication and authorization functionality.

All app actions must be associated with information about the current user.

You need to retrieve the information about the current user.

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

NOTE: Each correct selection is worth one point.

Options:

A.  

HTTP headers

B.  

environment variables

C.  

/.auth/me HTTP endpoint

D.  

/.auth/login endpoint

Discussion 0
Questions 20

You are developing an application to store millions of images in Azure blob storage. The images are uploaded to an Azure blob storage container named companyimages contained in an Azure blob storage account named companymedia. The stored images are uploaded with multiple blob index tags across multiple blobs in the container.

You must find all blobs whose tags match a search expression in the container. The search expression must evaluate an index tag named status with a value of final.

You need to construct the GET method request URL

How should you complete the URI? To answer, drag the appropriate parameters to the correct request URI targets. Each parameter 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.

Options:

Discussion 0
Questions 21

You have a static website hosted in an Azure Storage account named storage1. You access the website by using a URL that ends with the web.core.windows.net suffix.

You plan to configure the website to be accessible through the URL www.contoso.com. The website must be accessible during configuration.

The contoso.com zone is hosted in Azure DNS.

You need to complete the website configuration

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

Options:

Discussion 0
Questions 22

You are developing an app that manages users for a video game. You plan to store the region, email address, and phone number for the player. Some players may not have a phone number. The player’s region will be used to load-balance data.

Data for the app must be stored in Azure Table Storage.

You need to develop code to retrieve data for an individual player.

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

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 23

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 deploy an Azure Container Apps app and disable ingress on the container app.

Users report that they are unable to access the container app. You investigate and observe that the app has scaled to 0 instances.

You need to resolve the issue with the container app.

Solution: Enable ingress, create a TCP scale rule, and apply the rule to the container app.

Does the solution meet the goal?

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 24

You ate developing an application that allows users to find musicians that ate looking for work. The application must store information about musicians, the instruments that they play, and other related data.

The application must also allow users to determine which musicians have played together, including groups of three or more musicians that have performed together at a specific location.

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

Options:

A.  

Core

B.  

MongoDB

C.  

Cassandra

D.  

Gremlin

Discussion 0
Questions 25

You are validating the configuration of an Azure Search indexer.

The service has been configured with an indexer that uses the Import Data option. The index is configured using options as shown in the Index Configuration exhibit. (Click the Index Configuration tab.)

You use an Azure table as the data source for the import operation. The table contains three records with item inventory data that matches the fields in the Storage data exhibit. These records were imported when the index was created. (Click the Storage Data tab.) When users search with no filter, all three records are displayed.

When users search for items by description, Search explorer returns no records. The Search Explorer exhibit shows the query and results for a test. In the test, a user is trying to search for all items in the table that have a description that contains the word bag. (Click the Search Explorer tab.)

You need to resolve the issue.

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

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 26

You are developing several microservices to run on Azure Container Apps. External HTTP ingress traffic has been enabled for the microservices.

The microservices must be deployed to the same virtual network and write logs to the same Log Analytics workspace.

You need to deploy the microservices.

What should you do?

Options:

A.  

Enable multiple revision mode.

B.  

Use a separate environment for each container.

C.  

Enable single revision mode.

D.  

Use a private container registry image and single image for all containers.

E.  

Use a single environment for all containers.

Discussion 0
Questions 27

You have an Azure Application Insights resource named All. AM monitors an Azure App Service web app named Appl.

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 All? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection Is worth one point.

Options:

Discussion 0
Questions 28

You need to ensure that all messages from Azure Event Grid are processed.

What should you use?

Options:

A.  

Azure Event Grid topic

B.  

Azure Service Bus topic

C.  

Azure Service Bus queue

D.  

Azure Storage queue

E.  

Azure Logic App custom connector

Discussion 0
Questions 29

You are developing an application to store and retrieve data in Azure Blob storage. The application will be hosted in an on-premises virtual machine (VM). The VM is connected to Azure by using a Site-to-Site VPN gateway connection. The application is secured by using Azure Active Directory (Azure AD) credentials.

The application must be granted access to the Azure Blob storage account with a start time, expiry time, and read permissions. The Azure Blob storage account access must use the Azure AD credentials of the application to secure data access. Data access must be able to be revoked if the client application security is breached.

You need to secure the application access to Azure Blob storage.

Which security features should you use? To answer select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 30

You need to configure Azure Service Bus to Event Grid integration.

Which Azure Service Bus settings should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 31

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.

Options:

Discussion 0
Questions 32

You need to resolve a notification latency issue.

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

NOTE: Each correct selection is worth one point.

Options:

A.  

Set Always On to true.

B.  

Ensure that the Azure Function is using an App Service plan.

C.  

Set Always On to false.

D.  

Ensure that the Azure Function is set to use a consumption plan.

Discussion 0
Questions 33

You need to implement the Log policy.

How should you complete the EnsureLogging method in EventGridController.cs? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 34

You need to implement the Log policy.

How should you complete the Azure Event Grid subscription? To answer, drag the appropriate JSON segments to the correct locations. Each JSON segment may be used once, more than once, or not at all. You may need to drag the split bar between panes to view content.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 35

You need to ensure that the solution can meet the scaling requirements for Policy Service.

Which Azure Application Insights data model should you use?

Options:

A.  

an Application Insights dependency

B.  

an Application Insights event

C.  

an Application Insights trace

D.  

an Application Insights metric

Discussion 0
Questions 36

You need to ensure that PolicyLib requirements are met.

How should you complete the code segment? 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.

Options:

Discussion 0
Questions 37

You need to implement telemetry for non-user actions.

How should you complete the Filter class? 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.

Options:

Discussion 0
Questions 38

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.

Options:

Discussion 0
Questions 39

You need to configure Azure Cosmos DB.

Which settings should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 40

You need to access data from the user claim object in the e-commerce web app.

What should you do first?

Options:

A.  

Write custom code to make a Microsoft Graph API call from the e-commerce web app.

B.  

Assign the Contributor RBAC role to the e-commerce web app by using the Resource Manager create role assignment API.

C.  

Update the e-commerce web app to read the HTTP request header values.

D.  

Using the Azure CLI, enable Cross-origin resource sharing (CORS) from the e-commerce checkout API to the e-commerce web app.

Discussion 0
Questions 41

You need to retrieve all order line items from Order.json and sort the data alphabetically by the city.

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

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 42

You need to add YAML markup at line CS17 to ensure that the ContentUploadService can access Azure Storage access keys.

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

Options:

Discussion 0
Questions 43

You need to add code at line AM09 to ensure that users can review content using ContentAnalysisService.

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

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 44

You need to deploy a new version of the LabelMaker application to ACR.

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.

Options:

Discussion 0
Questions 45

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.

Options:

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

Discussion 0
Questions 46

You need to resolve the log capacity issue.

What should you do?

Options:

A.  

Create an Application Insights Telemetry Filter

B.  

Change the minimum log level in the host.json file for the function

C.  

Implement Application Insights Sampling

D.  

Set a LogCategoryFilter during startup

Discussion 0
Questions 47

You need to ensure receipt processing occurs correctly.

What should you do?

Options:

A.  

Use blob properties to prevent concurrency problems

B.  

Use blob SnapshotTime to prevent concurrency problems

C.  

Use blob metadata to prevent concurrency problems

D.  

Use blob leases to prevent concurrency problems

Discussion 0
Questions 48

You need to ensure that network security policies are met.

How should you configure network security? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 49

You need to add code at line AM10 of the application manifest to ensure that the requirement for manually reviewing content can be met.

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

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 50

You need to add markup at line AM04 to implement the ContentReview role.

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

Options:

Discussion 0
Questions 51

You need to store the user agreements.

Where should you store the agreement after it is completed?

Options:

A.  

Azure Storage queue

B.  

Azure Event Hub

C.  

Azure Service Bus topic

D.  

Azure Event Grid topic

Discussion 0
Questions 52

You need to resolve the capacity issue.

What should you do?

Options:

A.  

Convert the trigger on the Azure Function to an Azure Blob storage trigger

B.  

Ensure that the consumption plan is configured correctly to allow scaling

C.  

Move the Azure Function to a dedicated App Service Plan

D.  

Update the loop starting on line PC09 to process items in parallel

Discussion 0
Questions 53

You need to add code at line PC26 of Processing.cs to ensure that security policies are met.

How should you complete the code that you will add at line PC26? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 54

You need to ensure disaster recovery requirements are met.

What code should you add at line PC16?

To answer, drag the appropriate code fragments to the correct locations. Each code fragment 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.

Options:

Discussion 0
Questions 55

You need to add code at line PC32 in Processing.cs to implement the GetCredentials method in the Processing class.

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.

Options:

Discussion 0
Questions 56

You need to ensure the security policies are met.

What code do you add at line CS07 of ConfigureSSE.ps1?

Options:

A.  

–PermissionsToKeys create, encrypt, decrypt

B.  

–PermissionsToCertificates create, encrypt, decrypt

C.  

–PermissionsToCertificates wrapkey, unwrapkey, get

D.  

–PermissionsToKeys wrapkey, unwrapkey, get

Discussion 0
Questions 57

You need to mitigate the Azure Cache for Redis issue.

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

NOTE: Each correct selection is worth one point.

Options:

A.  

Increase the maxmemory-reserved and maxfragmenTationmemory-reserved values

B.  

Modify the maxmemory policy to evict the least frequently used keys out of all keys.

C.  

Configure client connections to retry commands with exponential backoff.

D.  

Test application code by purging the cache in the test environment.

E.  

Test application code by rebooting all nodes in the test environment.

Discussion 0
Questions 58

You need to serve static content from the corporate website.

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

NOTE: Each correct selection is worth one point.

Options:

A.  

Store all static content in Azure Blob Storage. Enable Azure Content Delivery Network for the storage account.

B.  

Configure App Service networking to create a Content Delivery Network profile and endpoint.

C.  

Configure the Azure App Service Local Cache feature and set the app setting WEBSITE_LOCAL_CACHE_SIZEINMB value.

D.  

Update the Azure Traffic Manager routing method to priority.

E.  

Create a nested Azure Traffic Manager profile. Configure the parent profile to the performance traffic routing method and the chtld profile to the priority traffic routing method.

Discussion 0
Questions 59

You need to implement a function by using Azure Functions to process customized items.

How should you implement the function? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 60

You need to implement the processing of enqueuer inventory items.

Which message value should you use?

Options:

A.  

Session identifier

B.  

Sequence number

C.  

Partition key

D.  

Time stamp

Discussion 0
Questions 61

You need to secure the Shipping Function app.

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

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 62

You need to update the APIs to resolve the testing error.

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

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 63

You need to configure Azure App Service to support the REST API requirements.

Which values should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 64

You need to support the requirements for the Shipping Logic App.

What should you use?

Options:

A.  

Azure Active Directory Application Proxy

B.  

Point-to-Site (P2S) VPN connection

C.  

Site-to-Site (S2S) VPN connection

D.  

On-premises Data Gateway

Discussion 0
Questions 65

You need to migrate on-premises shipping data to Azure.

What should you use?

Options:

A.  

Azure Migrate

B.  

Azure Cosmos DB Data Migration tool (dt.exe)

C.  

AzCopy

D.  

Azure Database Migration service

Discussion 0
Questions 66

You need to correct the VM issues.

Which tools should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 67

You need to secure the Shipping Logic App.

What should you use?

Options:

A.  

Azure App Service Environment (ASE)

B.  

Azure AD B2B integration

C.  

Integration Service Environment (ISE)

D.  

VNet service endpoint

Discussion 0
Questions 68

You need to resolve the Shipping web site error.

How should you configre the Azure Table Storage service? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 69

You need to configure Azure CDN for the Shipping web site.

Which configuration options should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 70

You need to support the message processing for the ocean transport workflow.

Which four 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.

Options:

Discussion 0