Weekend Sale 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exams65

ExamsBrite Dumps

Developing Solutions for Microsoft Azure Question and Answers

Developing Solutions for Microsoft Azure

Last Update Oct 11, 2025
Total Questions : 473

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

$40.25  $114.99
AZ-204 Engine

AZ-204 Testing Engine

$47.25  $134.99
AZ-204 PDF + Engine

AZ-204 PDF + Testing Engine

$61.25  $174.99
Questions 1

You need to securely access inventory items when developing the Inventory Items API.

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

NOTE: Each correct selection is worth one point.

Options:

A.  

Create a custom Microsoft Entra roleAssign the custom role to the Azure Cosmos DB account Update the function app to use certificate-based authentication.

B.  

Create a SQL role definition under the Azure Cosmos DB account.Create a user-assigned managed identity and assign the identity to the function app.Assign the user-assigned managed identity the SQL role definition.Update the function app code to implement the DefaultAzurecredential class and reference the user-assigned managed identity.

C.  

Create a system-assigned managed identity for the function app with read access to secrets in Azure Key Vault. Store the Azure Cosmos DB primary key and URI in Azure Key Vault as secrets.Use function app settings to reference the secret values.

D.  

Create a custom Microsoft Entra role. Assign the custom role to Azure Key Vault. Assign the custom role to the function app.Reference the custom role in the function app code when accessing Azure Key Vault values.

E.  

Create a SQL role definition under the Azure Cosmos DB account. Assign the role to the function app's system-assigned managed identity. Programmatically access the Azure Cosmos OB keys from the function app.

Discussion 0
Questions 2

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 3

You need to support local development testing for developers. Which tool should you use?

Options:

A.  

Azurite

B.  

Azure Storage Emulator

C.  

SQL Server Management Studio (SSMS)

D.  

Azure Storage Explorer

Discussion 0
Questions 4

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 5

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 6

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 7

You need to secure the corporate website for users.

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

NOTE: More than one order of answer choices is correct You will receive credit for any of the correct orders you select.

Options:

Discussion 0
Questions 8

You need to store inventory item images.

Which Azure Blob Storage feature should you use? To answer, move the appropriate Azure Blob Storage features to the correct requirements. You may use each Azure Blob Storage feature once, more than once, or not at all. You may need to move the split bar between panes or scroll to view content

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 9

You need to implement a solution to resolve the retail store location data issue.

Which three Azure Blob features should you enable? Each correct answer presents part of the solution.

NOTE Each correct selection is worth one point

Options:

A.  

Immutability

B.  

Snapshots

C.  

Versioning

D.  

Soft delete

E.  

Object replication

F.  

Change feed

Discussion 0
Questions 10

you need to reduce read latency for the retail store solution.

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.  

Create a new composite index for the store location data queries in Azure Cosmos DB. Modify the queries to support parameterized SQL and update the Azure function app to call the new Queries.

B.  

Configure Azure Cosmos DB consistency to strong consistency Increase the RUs for the container supporting store location data.

C.  

Provision an Azure Cosmos OB dedicated gateway, update blob storage to use the new dedicated gateway endpoint.

D.  

Configure Azure Cosmos DB consistency to session consistency. Cache session tokens in a new Azure Redis cache instance after every write. Update reads to use the session token stored in Azure Redis.

E.  

Provision an Azure Cosmos DB dedicated gateway Update the Azure Function app connection string to use the new dedicated gateway endpoint.

Discussion 0
Questions 11

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 12

You develop applications that integrate with a Microsoft Entra tenant. You plan to implement a permission classification in the tenant. You need to select permissions to include in your classification. Which permissions should you select?

Options:

A.  

delegated permissions that require only user consent

B.  

delegated permissions that require admin consent

C.  

app-only access permissions that require only user consent

D.  

app-only access permissions that require admin consent

Discussion 0
Questions 13

A development team is creating a new REST API. The API will store data in Azure Blob storage. You plan to deploy the API to Azure App Service.

Developers must access the Azure Blob storage account to develop the API for the next two months. The Azure Blob storage account must not be accessible by the developers after the two-month time period.

You need to grant developers access to the Azure Blob storage account.

What should you do?

Options:

A.  

Generate a shared access signature (SAS) for the Azure Blob storage account and provide the SAS to all developers.

B.  

Create and apply a new lifecycle management policy to include a last accessed date value. Apply the policy to the Azure Blob storage account.

C.  

Provide all developers with the access key for the Azure Blob storage account. Update the API to include the Coordinated Universal Time (UTC) timestamp for the request header.

D.  

Grant all developers access to the Azure Blob storage account by assigning role-based access control (RBAC) roles.

Discussion 0
Questions 14

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 15

You are developing a C+ + application that compiles to a native application named process.exe. The application accepts images as input and returns images in one of the following image formats: GIF, PNG, or JPEG.

You must deploy the application as an Azure Function.

You need to configure the function and host json files.

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

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 16

An organization has web apps hosted in Azure.

The organization wants to track events and telemetry data in the web apps by using Application Insights.

You need to configure the web apps for Application Insights.

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

Options:

Discussion 0
Questions 17

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 18

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 19

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 20

You need to Implement the retail store location Azure Function.

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

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 21

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 Cosmos DB. Apery the built-in policies for customer-managed keys and allowed locations.

B.  

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

C.  

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

D.  

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

E.  

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

Discussion 0
Questions 22

You need to implement the corporate website.

How should you configure the solution?

Options:

Discussion 0
Questions 23

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
Questions 24

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 25

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 26

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 27

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 28

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 29

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 30

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 31

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 32

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 33

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 34

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 35

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 36

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 37

You need to investigate the http server log output to resolve the issue with the ContentUploadService.

Which command should you use first?

Options:

A.  

az webapp log

B.  

az ams live-output

C.  

az monitor activity-log

D.  

az container attach

Discussion 0
Questions 38

You need to deploy the CheckUserContent Azure function. The solution must meet the security and cost requirements.

Which hosting model should you use?

Options:

A.  

Consumption plan

B.  

Premium plan

C.  

App Service plan

Discussion 0
Questions 39

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 40

You need to save customized items to Azure Cosmos DB.

Which Azure Cosmos DB 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 41

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 42

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 43

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 44

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 45

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 46

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 47

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 48

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 49

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 50

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 51

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 52

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 53

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 54

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 55

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 56

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 57

You need to correct the corporate website error.

Which four actions should you recommend be performed 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 58

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 59

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 60

You need to retrieve the database connection string.

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 61

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 62

You need to investigate the Azure Function app error message in the development environment.

What should you do?

Options:

A.  

Connect Live Metrics Stream from Application Insights to the Azure Function app and filter the metrics.

B.  

Create a new Azure Log Analytics workspace and instrument the Azure Function app with Application Insights.

C.  

Update the Azure Function app with extension methods from Microsoft.Extensions.Logging to log events by using the log instance.

D.  

Add a new diagnostic setting to the Azure Function app to send logs to Log Analytics.

Discussion 0
Questions 63

You need to authenticate the user to the corporate website as indicated by the architectural diagram.

Which two values should you use? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.  

ID token signature

B.  

ID token claims

C.  

HTTP response code

D.  

Azure AD endpoint URI

E.  

Azure AD tenant ID

Discussion 0
Questions 64

You need to configure the Account Kind, Replication, and Storage tier options for the corporate website’s Azure Storage account.

How should you complete the configuration? To answer, select the appropriate options in the dialog box in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 65

QUESTION 1

You need to correct the RequestUserApproval Function app error.

What should you do?

Options:

A.  

Update line RA13 to use the async keyword and return an HttpRequest object value.

B.  

Configure the Function app to use an App Service hosting plan. Enable the Always On setting of the hosting plan.

C.  

Update the function to be stateful by using Durable Functions to process the request payload.

D.  

Update the functionTimeout property of the host.json project file to 15 minutes.

Discussion 0
Questions 66

You need to configure API Management for authentication.

Which policy 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 67

You need to correct the Azure Logic app error message.

Which configuration 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 68

You need to configure security and compliance for the corporate website files.

Which Azure Blob storage 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 69

You need to configure the integration for Azure Service Bus and Azure Event Grid.

How should you complete the CLI statement? 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 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