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

AZ-204 PDF

$49

$139.99

3 Months Free Update

  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions

AZ-204 PDF + Testing Engine

$66.5

$189.99

3 Months Free Update

  • Exam Name: Developing Solutions for Microsoft Azure
  • Last Update: Jun 17, 2025
  • Questions and Answers: 461
  • Free Real Questions Demo
  • Recommended by Industry Experts
  • Best Economical Package
  • Immediate Access

AZ-204 Engine

$56

$159.99

3 Months Free Update

  • Best Testing Engine
  • One Click installation
  • Recommended by Teachers
  • Easy to use
  • 3 Modes of Learning
  • State of Art Technology
  • 100% Real Questions included

AZ-204 Practice Exam Questions with Answers Developing Solutions for Microsoft Azure Certification

Question # 6

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.

AZ-204 question answer

Full Access
Question # 7

You deploy an ASP.NET web app to Azure App Service.

You must monitor the web app by using Application insights.

You need to configure Application Insights to meet the requirements.

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

NOTE: Each correct selection is worth one point.

AZ-204 question answer

Full Access
Question # 8

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

Which command should you use first?

A.

az webapp log

B.

az ams live-output

C.

az monitor activity-log

D.

az container attach

Full Access
Question # 9

You need to monitor ContentUploadService accourding to the requirements.

Which command should you use?

A.

az monitor metrics alert create –n alert –g … - -scopes … - -condition "avg

Percentage CPU > 8"

B.

az monitor metrics alert create –n alert –g … - -scopes … - -condition "avg

Percentage CPU > 800"

C.

az monitor metrics alert create –n alert –g … - -scopes … - -condition "CPU

Usage > 800"

D.

az monitor metrics alert create –n alert –g … - -scopes … - -condition "CPU

Usage > 8"

Full Access
Question # 10

You are developing a solution by using the Azure Event Hubs SDK. You create a standard Azure Event Hub with 16 partitions. You implement eight event processor clients.

You must balance the load dynamically when an event processor client fails. When an event processor client fails, another event processor must continue processing from the

exact point at which the failure occurred. All events must be aggregate and upload to an Azure Blob storage account

You need to implement event processing recovery for the solution.

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

Each correct selection is worth one point.

AZ-204 question answer

Full Access
Question # 11

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.

AZ-204 question answer

Full Access
Question # 12

A company is developing a solution that allows smart refrigerators to send temperature information to a central location. You have an existing Service Bus.

The solution must receive and store message until they can be processed. You create an Azure Service Bus Instance by providing a name, pricing tier, subscription, resource group, and location.

You need to complete the configuration.

Which Azure CLI or PowerShell command should you run?

AZ-204 question answer

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 13

An organization hosts web apps in Azure. The organization uses Azure Monitor You discover that configuration changes were made to some of the web apps. You need to identify the configuration changes. Which Azure Monitor log should you review?

A.

AppServiceEnvironmentPlatformLogs

B.

AppServiceApplogs

C.

AppServiceAuditLogs

D.

AppServiceConsoteLogs

Full Access
Question # 14

You have an Azure App Service plan named APSPIanl set to the Basic Bl pricing tier. APSPIanl contains an App Service web app named WebAppl. You plan lo enable schedule-based autoscaling for APSPIanl. You need to minimize the cost of running WebAppl. Solution: Scale up APSPIanl to the Premium V2 pricing tier.

Does the solution meet the goal?

A.

Yes

B.

No

Full Access
Question # 15

You are developing an application that includes two Docker containers.

The application must meet the following requirements

    The containers must not run as root.

    The containers must be deployed to Azure Container Instances by using a YAML file.

    The containers must share a lifecycle, resources, local network and storage volume.

    The storage volume must persist through container crashes.

    The storage volume must be destroyed on stop or restart of the containers.

You need to configure Azure Container Instances for the application.

AZ-204 question answer

Full Access
Question # 16

You are debugging an application that is running on Azure Kubernetes cluster named cluster1. The cluster uses Azure Monitor for containers to monitor the cluster.

The application has sticky sessions enabled on the ingress controller.

Some customers report a large number of errors in the application over the last 24 hours.

You need to determine on which virtual machines (VMs) the errors are occurring.

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

NOTE: Each correct selection is worth one point.

AZ-204 question answer

Full Access
Question # 17

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.

AZ-204 question answer

Full Access
Question # 18

You have an Azure API Management (APIM) Standard tier instance named APIM1 that uses a managed gateway.

You plan to use APIM1 to publish an API named API1 that uses a backend database that supports only a limited volume of requests per minute. You also need a policy for AP11 that will minimize the possibility that the number of requests to the backend database from an individual IP address you specify exceeds the supported limit.

You need to identify a policy for API1 that will meet the requirements.

Which policy should you use?

A.

quota-by-key

B.

rate-limit

C.

ip-fitter

D.

rate-limit-by-key

Full Access
Question # 19

You are developing an Azure solution to collect inventory data from thousands of stores located around the world. Each store location will send the inventory data hourly to an Azure Blob storage account for processing.

The solution must meet the following requirements:

    Begin processing when data is saved to Azure Blob storage.

    Filter data based on store location information.

    Trigger an Azure Logic App to process the data for output to Azure Cosmos DB.

    Enable high availability and geographic distribution.

    Allow 24-hours for retries.

    Implement an exponential back off data processing.

You need to configure the solution.

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

NOTE: Each correct selection is worth one point.

AZ-204 question answer

Full Access
Question # 20

You are developing a microservices-based application that uses Azure Container Apps. The application consists of several containerized services that handle tasks, such as processing orders, managing inventory, and generating reports. You deploy a new revision of the processing orders app.

Processing orders must be triggered by a web request and must always be available based on incoming web requests.

You need to validate that the replica is ready to handle incoming requests.

What should you implement?

A.

TCP liveness probe

B.

HTTP readiness probe

C.

HTTP startup probe

D.

TCP readiness probe

E.

HTTP liveness probe

Full Access
Question # 21

Your company is designing an application named App1 that will use data from Azure SQL Database. App1 will be accessed over the internet by many users.

You need to recommend a solution for improving the performance ofApp1.

What should you include in the recommendation?

A.

Azure HPC cache

B.

ExpressRoute

C.

a CON profile

D.

Azure Cache for Redis

Full Access
Question # 22

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.

AZ-204 question answer

Full Access
Question # 23

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.

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.

Full Access
Question # 24

You have a web app named Appl hosted on your on-premises web server.

You plan to use the Application Insights JavaScript SDK to implement client-side Real User Monitoring (RUM) of individual pages of Appl.

You need to author the script element that will be added to each of the pages.

What should you set for the value of src and cfg keys in the script element of each page? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

AZ-204 question answer

Full Access
Question # 25

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.

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.

Full Access
Question # 26

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.

AZ-204 question answer

Full Access
Question # 27

You need to implement the processing of enqueuer inventory items.

Which message value should you use?

A.

Session identifier

B.

Sequence number

C.

Partition key

D.

Time stamp

Full Access
Question # 28

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.

AZ-204 question answer

Full Access
Question # 29

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.

AZ-204 question answer

Full Access
Question # 30

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.

AZ-204 question answer

Full Access
Question # 31

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.

AZ-204 question answer

Full Access
Question # 32

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.

AZ-204 question answer

Full Access
Question # 33

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

A.

Azurite

B.

Azure Storage Emulator

C.

SQL Server Management Studio (SSMS)

D.

Azure Storage Explorer

Full Access
Question # 34

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.

A.

Create a custom Microsoft Entra role

Assign 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.

Full Access
Question # 35

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.

AZ-204 question answer

Full Access
Question # 36

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

What should you do first?

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.

Full Access
Question # 37

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.

Azure AD ID token

D.

Shared access signature (SAS) token

E.

Azure AD refresh token

Full Access
Question # 38

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.

AZ-204 question answer

Full Access
Question # 39

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.

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.

Full Access
Question # 40

YOU need to reliably identify the delivery driver profile information.

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

NOTE Each correct selection is worth one point.

AZ-204 question answer

Full Access
Question # 41

You need to ensure receipt processing occurs correctly.

What should you do?

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

Full Access
Question # 42

You need to implement the corporate website.

How should you configure the solution?

AZ-204 question answer

Full Access
Question # 43

You need to test the availability of the corporate website.

Which two test types can you use?

A.

Custom testing using the TrackAvailability API method

B.

Standard

C.

URL Ping

D.

Multi-step

Full Access
Question # 44

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.

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.

Full Access
Question # 45

You need to implement the delivery service telemetry data

How should you configure the solution?

NOTE: Each correct selection is worth one point.

AZ-204 question answer

Full Access
Question # 46

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.

AZ-204 question answer

Full Access
Question # 47

You need to ensure the security policies are met.

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

A.

–PermissionsToKeys create, encrypt, decrypt

B.

–PermissionsToCertificates create, encrypt, decrypt

C.

–PermissionsToCertificates wrapkey, unwrapkey, get

D.

–PermissionsToKeys wrapkey, unwrapkey, get

Full Access
Question # 48

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.

AZ-204 question answer

Full Access
Question # 49

You need to resolve the log capacity issue.

What should you do?

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

Full Access
Question # 50

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.

AZ-204 question answer

Full Access
Question # 51

You need to resolve the capacity issue.

What should you do?

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

Full Access
Question # 52

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.

A.

ID token signature

B.

ID token claims

C.

HTTP response code

D.

Azure AD endpoint URI

E.

Azure AD tenant ID

Full Access
Question # 53

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.

AZ-204 question answer

Full Access
Question # 54

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.

AZ-204 question answer

Full Access
Question # 55

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.

AZ-204 question answer

Full Access
Question # 56

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

Full Access
Question # 57

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

What should you do?

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.

Full Access
Question # 58

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.

AZ-204 question answer

Full Access
Question # 59

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

What should you do?

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.

Full Access
Question # 60

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.

AZ-204 question answer

Full Access
Question # 61

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.

AZ-204 question answer

Full Access
Question # 62

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.

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.

Full Access
Question # 63

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.

AZ-204 question answer

Full Access
Question # 64

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.

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.

Full Access
Question # 65

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.

AZ-204 question answer

Full Access
Question # 66

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.

AZ-204 question answer

Full Access
Question # 67

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.

AZ-204 question answer

Full Access
Question # 68

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.

AZ-204 question answer

Full Access
Question # 69

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.

AZ-204 question answer

Full Access
Question # 70

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.

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.

Full Access