Winter Sale - Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dpm65

AZ-204 Developing Solutions for Microsoft Azure Questions and Answers

Questions 4

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

Buy Now
Questions 5

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.

AZ-204 Question 5

Options:

Buy Now
Questions 6

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 6

Options:

Buy Now
Questions 7

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.

Buy Now
Questions 8

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 8

Options:

Buy Now
Questions 9

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.

Buy Now
Questions 10

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 10

Options:

Buy Now
Questions 11

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 11

Options:

Buy Now
Questions 12

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 12

Options:

Buy Now
Questions 13

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.

Buy Now
Questions 14

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 14

Options:

Buy Now
Questions 15

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 15

Options:

Buy Now
Questions 16

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.

Buy Now
Questions 17

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 17

Options:

Buy Now
Questions 18

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

Buy Now
Questions 19

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.

Buy Now
Questions 20

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 20

Options:

Buy Now
Questions 21

You develop a news and blog content delivery app for Windows devices.

A notification must arrive on a user's device when there is a new article available for them to view.

You need to implement push notifications.

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 21

Options:

Buy Now
Questions 22

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.

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

You create the index in Azure Search.

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

Solution:

1 Create a SearchlndexClient object to connect to the search index

2. Create an IndexBatch that contains the documents which must be added.

3. Call the Documents.Index method of the SearchIndexClient and pass the IndexBatch.

.

Does the solution meet the goal?

Options:

A.

Yes

B.

No

Buy Now
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 develop a software as a service (SaaS) offering to manage photographs. Users upload photos to a web service which then stores the photos in Azure Storage Blob storage. The storage account type is General-purpose V2.

When photos are uploaded, they must be processed to produce and save a mobile-friendly version of the image. The process to produce a mobile-friendly version of the image must start in less than one minute.

You need to design the process that starts the photo processing.

Solution: Trigger the photo processing from Blob storage events.

Does the solution meet the goal?

Options:

A.

Yes

B.

NO

Buy Now
Questions 24

You use Azure Table storage to store customer information for an application. The data contains customer details and is partitioned by last name. You need to create a query that returns all customers with the last name Smith. Which code segment should you use?

Options:

A.

TableQuery.GenerateFilterCondition("PartitionKey", Equals, "Smith")

B.

TableQuery.GenerateFilterCondition("LastName", Equals, "Smith")

C.

TableQuery.GenerateFilterCondition("PartitionKey", QueryComparisons.Equal, "Smith")

D.

TableQuery.GenerateFilterCondition("LastName", QueryComparisons.Equal, "Smith")

Buy Now
Questions 25

You develop new functionality in a web application for a company that provides access to seismic data from around the world. The seismic data is stored in Redis Streams within an Azure Cache for Redis instance.

The new functionality includes a real-time display of seismic events as they occur.

You need to implement the Azure Cache for Redis command to receive seismic data.

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

NOTE: Each correct selection is worth one point.

AZ-204 Question 25

Options:

Buy Now
Questions 26

You have an app that stores player scores for an online game. The app stores data in Azure tables using a class named PlayerScore as the table entity. The table is populated with 100,000 records.

You are reviewing the following section of code that is intended to retrieve 20 records where the player score exceeds 15,000. (Line numbers are included for reference only.)

AZ-204 Question 26

You have the following code. (Line numbers are included for reference only.)

AZ-204 Question 26

You store customer information in an Azure Cosmos database. The following data already exists in the database:

AZ-204 Question 26

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

NOTE: Each correct selection is worth one point.

AZ-204 Question 26

Options:

Buy Now
Questions 27

You are configuring a development environment for your team. You deploy the latest Visual Studio image from the Azure Marketplace to your Azure subscription.

The development environment requires several software development kits (SDKs) and third-party components to support application development across the organization. You install and customize the deployed virtual machine (VM) for your development team. The customized VM must be saved to allow provisioning of a new team member development environment.

You need to save the customized VM for future provisioning.

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

NOTE: Each correct selection is worth one point.

AZ-204 Question 27

Options:

Buy Now
Questions 28

All functions in the app meet the following requirements:

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

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

You need to configure the hostjson file.

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

NOTE: Each correct selection is worth one point.

AZ-204 Question 28

Options:

Buy Now
Questions 29

A company is developing a mobile app for field service employees using Azure App Service Mobile Apps as the backend.

The company’s network connectivity varies throughout the day. The solution must support offline use and synchronize changes in the background when the app is online app.

You need to implement the solution.

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 29

Options:

Buy Now
Questions 30

You are building a software-as-a-service (SaaS) application that analyzes DNA data that will run on Azure virtual machines (VMs) in an availability zone. The data is stored on managed disks attached to the VM. The performance of the analysis is determined by the speed of the disk attached to the VM.

You have the following requirements:

• The application must be able to quickly revert to the previous day's data if a systemic error is detected.

• The application must minimize downtime in the case of an Azure datacenter outage.

You need to provision the managed disk for the VM to maximize performance while meeting the requirements. Which type of Azure Managed Disk should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

AZ-204 Question 30

Options:

Buy Now
Questions 31

A company is implementing a publish-subscribe (Pub/Sub) messaging component by using Azure Service Bus. You are developing the first subscription application.

In the Azure portal you see that messages are being sent to the subscription for each topic. You create and initialize a subscription client object by supplying the correct details, but the subscription application is still not consuming the messages.

You need to ensure that the subscription client processes all messages.

Which code segment should you use?

Options:

A.

await subscriptionClient.AddRuleAsync(new RuleDescription

(RuleDescription.DefaultRuleName, new TrueFilter()));

B.

subscriptionClient = new SubscriptionClient(ServiceBusConnectionString,

TopicName, SubscriptionName);

D18912E1457D5D1DDCBD40AB3BF70D5D

C.

await subscriptionClient.CloseAsync();

D.

subscriptionClient.RegisterMessageHandler(ProcessMessagesAsync,

messageHandlerOptions);

Buy Now
Questions 32

You have an application that uses Azure Blob storage.

You need to update the metadata of the blobs.

Which three methods should you use to develop the solution? To answer, move the appropriate methods from the list of methods to the answer area and arrange them in the correct order.

AZ-204 Question 32

Options:

Buy Now
Questions 33

You have the following data lifecycle management policy:

AZ-204 Question 33

You plan to implement an Azure Blob Storage account and apply to it Policy 1. The solution should maximize resiliency and performance.

You need to configure the account to support the policy.

Which redundancy option and storage account type should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

AZ-204 Question 33

Options:

Buy Now
Questions 34

You develop and add several functions to an Azure Function app that uses the latest runtime host. The functions contain several REST API endpoints secured by using SSL. The Azure Function app runs in a Consumption plan.

You must send an alert when any of the function endpoints are unavailable or responding too slowly.

You need to monitor the availability and responsiveness of the functions.

What should you do?

Options:

A.

Create a URL ping test.

B.

Create a timer triggered function that calls TrackAvailability() and send the results to Application

Insights.

C.

Create a timer triggered function that calls GetMetric("Request Size") and send the results to

Application Insights.

D.

Add a new diagnostic setting to the Azure Function app. Enable the FunctionAppLogs and Send to Log Analytics options.

Buy Now
Questions 35

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.

AZ-204 Question 35

Options:

Buy Now
Questions 36

You need to monitor ContentUploadService accourding to the requirements.

Which command should you use?

Options:

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"

Buy Now
Questions 37

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

Buy Now
Questions 38

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 38

Options:

Buy Now
Questions 39

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.

AZ-204 Question 39

Options:

Buy Now
Questions 40

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 40

Options:

Buy Now
Questions 41

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 41

Options:

Buy Now
Questions 42

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.

AZ-204 Question 42

Options:

Buy Now
Questions 43

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.

AZ-204 Question 43

Options:

Buy Now
Questions 44

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

Buy Now
Questions 45

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.

AZ-204 Question 45

Options:

Buy Now
Questions 46

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.

AZ-204 Question 46

Options:

Buy Now
Questions 47

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.

AZ-204 Question 47

Options:

Buy Now
Questions 48

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

Buy Now
Questions 49

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

Buy Now
Questions 50

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.

Buy Now
Questions 51

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.

AZ-204 Question 51

Options:

Buy Now
Questions 52

You need to test the availability of the corporate website.

Which two test types can you use?

Options:

A.

Custom testing using the TrackAvailability API method

B.

Standard

C.

URL Ping

D.

Multi-step

Buy Now
Questions 53

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.

Buy Now
Questions 54

You need to implement the corporate website.

How should you configure the solution?

AZ-204 Question 54

Options:

Buy Now
Questions 55

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

Which configuration should you use?

AZ-204 Question 55

Options:

Buy Now
Questions 56

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.

Buy Now
Questions 57

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 57

Options:

Buy Now
Questions 58

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

Buy Now
Questions 59

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.

Buy Now
Questions 60

You need to audit the retail store sales transactions.

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.

Update the retail store location data upload process to include blob index tags. Create an Azure Function to process the blob index tags and filter by store location

B.

Enable blob versioning for the storage account. Use an Azure Function to process a list of the blob versions per day.

C.

Process an Azure Storage blob inventory report by using an Azure Function. Create rule filters on the blob inventory report,

D.

Subscribe to blob storage events by using an Azure Function and Azure Event Grid. Filter the events by store location.

E.

Process the change feed logs of the Azure Blob storage account by using an Azure Function. Specify a time range for the change feed data.

Buy Now
Questions 61

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

Buy Now
Questions 62

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 62

Options:

Buy Now
Questions 63

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.

AZ-204 Question 63

Options:

Buy Now
Questions 64

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.

AZ-204 Question 64

Options:

Buy Now
Questions 65

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

Buy Now
Questions 66

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

Buy Now
Questions 67

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

Buy Now
Questions 68

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 68

Options:

Buy Now
Questions 69

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 69

Options:

Buy Now
Questions 70

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 70

Options:

Buy Now
Questions 71

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.

Buy Now
Questions 72

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 72

Options:

Buy Now
Questions 73

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

Buy Now
Questions 74

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 74

Options:

Buy Now
Questions 75

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.

Buy Now
Questions 76

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 76

Options:

Buy Now
Questions 77

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 77

Options:

Buy Now
Questions 78

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.

Buy Now
Questions 79

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 79

Options:

Buy Now
Questions 80

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.

AZ-204 Question 80

Options:

Buy Now
Questions 81

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.

AZ-204 Question 81

Options:

Buy Now
Questions 82

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.

Buy Now
Questions 83

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.

AZ-204 Question 83

Options:

Buy Now
Questions 84

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 84

Options:

Buy Now
Questions 85

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.

AZ-204 Question 85

Options:

Buy Now
Questions 86

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.

AZ-204 Question 86

Options:

Buy Now
Questions 87

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

Buy Now
Questions 88

You need to implement the corporate website.

How should you configure the solution?

AZ-204 Question 88

Options:

Buy Now
Questions 89

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.

Buy Now
Questions 90

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 90

Options:

Buy Now
Questions 91

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.

Buy Now
Questions 92

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.

AZ-204 Question 92

Options:

Buy Now
Questions 93

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.

AZ-204 Question 93

Options:

Buy Now
Questions 94

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 94

Options:

Buy Now
Questions 95

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.

AZ-204 Question 95

Options:

Buy Now
Questions 96

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

Buy Now
Questions 97

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.

AZ-204 Question 97

Options:

Buy Now
Questions 98

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

Buy Now
Questions 99

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.

AZ-204 Question 99

Options:

Buy Now
Questions 100

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.

AZ-204 Question 100

Options:

Buy Now
Questions 101

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 101

Options:

Buy Now
Questions 102

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

Buy Now
Questions 103

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

Buy Now
Questions 104

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 104

Options:

Buy Now
Questions 105

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

Buy Now
Questions 106

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 106

Options:

Buy Now
Questions 107

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

Buy Now
Questions 108

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 108

Options:

Buy Now
Questions 109

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

Buy Now
Questions 110

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 110

Options:

Buy Now
Questions 111

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.

AZ-204 Question 111

Options:

Buy Now
Questions 112

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

Buy Now
Questions 113

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

Buy Now
Questions 114

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.

AZ-204 Question 114

Options:

Buy Now
Questions 115

You provide an Azure API Management managed web service lo clients. The back end web service implements HTTP Strict Transport Security (HSTS).

Every request to the backend service must include a valid HTTP authorization header.

You need to configure the Azure API Management instance with an authentication policy.

Which two policies can you uses? Each correct answer presents a complete solution

NOTE: Each correct selection is worth one point.

Options:

A.

Certificate Authentication

B.

Basic Authentication

C.

OAuth Client Credential Grant

D.

Digest Authentication

Buy Now
Questions 116

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 on the review screen.

You are implementing an application by using Azure Event Grid to push near-real-time information to customers.

You have the following requirements:

• You must send events to thousands of customers that include hundreds of various event types.

• The events must be filtered by event type before processing.

• Authentication and authorization must be handled by using Microsoft Entra ID.

• The events must be published to a single endpoint

You need to implement Azure Event Gnd.

Solution: Publish events to a system topic. Create an event subscription for each customer.

Does the solution meet the goal?

Options:

A.

Yes

B.

No

Buy Now
Questions 117

You have an Azure Service Bus namespace that contains a topic named Topic 1.

You plan to create a subscription named Sub1 to Topic 1. In Sub1, you plan to filter messages from Topic1 based on their system properties and apply an action that will annotate each filtered message.

You need to configure the filtering.

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

NOTE Each correct selection is worth one point.

AZ-204 Question 117

Options:

Buy Now
Questions 118

A company backs up all manufacturing data to Azure Blob Storage. Admins move blobs from hot storage to archive tier storage every month.

You must automatically move blocks to Archive tier after they have not been accessed for 180 days. The path for any item that is not archived must be placed in an existing queue. This operation must be performed automatically once a month. You set the value of TierAgeInDays to 180.

How should you configure the Logic App? To answer, drag the appropriate triggers or action blocks to the correct trigger or action slots. Each trigger or action block 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 118

Options:

Buy Now
Questions 119

You are developing an application that use an Azure blob named data to store application data. The application creates blob snapshots to allow application state to be reverted to an earlier state. The Azure storage account has soft deleted enabled.

The system performs the following operations in order:

•The blob is updated

•Snapshot 1 is created.

•Snapshot 2 is created.

•Snapshot 1 is deleted.

A system error then deletes the data blob and all snapshots.

You need to determine which application states can be restored.

What is the restorability of the application data? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

AZ-204 Question 119

Options:

Buy Now
Questions 120

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.

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

You create the index in Azure Search.

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

Solution:

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

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

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

4. Set the DataSource property of the SearchServiceCIient

Does the solution meet the goal?

Options:

A.

Yes

B.

No

Buy Now
Questions 121

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 messages 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 121

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 122

You are developing an Azure-based web application. The application goes offline periodically to perform offline data processing. While the application is offline, numerous Azure Monitor alerts fire which result in the on-call developer being paged.

The application must always log when the application is offline for any reason.

You need to ensure that the on-call developer is not paged during offline processing.

What should you do?

Options:

A.

Add Azure Monitor alert processing rules to suppress notifications.

B.

Create an Azure Monitor Metric Alert.

C.

Build an Azure Monitor action group that suppresses the alerts.

D.

Disable Azure Monitor Service Health Alerts during offline processing.

Buy Now
Questions 123

You develop an ASP. Net Core application by integrating the Application Insights SDK into your solution.

The application sends a very high rate of telemetry in a short time interval. You observe a reduced number of events, traces, and metrics being recorded and increased error rates for telemetry ingestion. Telemetry data must synchronize the client and server information to allow HTTP request and response correlation.

You need to reduce telemetry traffic, data costs, and storage costs while preserving a statistically correct analysis of application telemetry data.

What should you do?

Options:

A.

Set a daily cap on the Log Analytics workspace. Create an Activity log alert rule

B.

Verify adaptive sampling is enabled Set the maxTelemetrylterns Per Second value.

C.

Set retention and archive policies by table in the Log Analytics workspace. Purge retained data beyond 30 days.

D.

Modify the pricing tier for the Log Analytics workspace.

Buy Now
Questions 124

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 on the review screen.

You are implementing an application by using Azure Event Grid to push near-real-time information to customers.

You have the following requirements:

• You must send events to thousands of customers that include hundreds of various event types.

• The events must be filtered by event type before processing.

• Authentication and authorization must be handled by using Microsoft Entra ID.

• The events must be published to a single endpoint.

You need to implement Azure Event Grid.

Solution: Publish events to a partner topic. Create an event subscription for each customer.

Does the solution meet the goal?

Options:

A.

Yes

B.

No

Buy Now
Questions 125

You are developing an Azure Web App. You configure TLS mutual authentication for the web app.

You need to validate the client certificate in the web app. To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

AZ-204 Question 125

Options:

Buy Now
Questions 126

You are developing a solution that will use a multi-partitioned Azure Cosmos DB database. You plan to use the latest Azure Cosmos DB SDK for development.

The solution must meet the following requirements:

    Send insert and update operations to an Azure Blob storage account.

    Process changes to all partitions immediately.

    Allow parallelization of change processing.

You need to process the Azure Cosmos DB operations.

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.

Create an Azure App Service API and implement the change feed estimator of the SDK. Scale the API by using multiple Azure App Service instances.

B.

Create a background job in an Azure Kubernetes Service and implement the change feed feature of the SDK.

C.

Create an Azure Function to use a trigger for Azure Cosmos DB. Configure the trigger to connect to the container.

D.

Create an Azure Function that uses a Feedlterator object that processes the change feed by using the pull model on the container. Use a FeedRange objext to parallelize the processing of the change feed across multiple functions.

Buy Now
Exam Code: AZ-204
Exam Name: Developing Solutions for Microsoft Azure
Last Update: Jan 11, 2025
Questions: 432

PDF + Testing Engine

$61.25  $174.99

Testing Engine

$47.25  $134.99
buy now AZ-204 testing engine

PDF (Q&A)

$40.25  $114.99
buy now AZ-204 pdf
dumpsmate guaranteed to pass
24/7 Customer Support

DumpsMate's team of experts is always available to respond your queries on exam preparation. Get professional answers on any topic of the certification syllabus. Our experts will thoroughly satisfy you.

Site Secure

mcafee secure

TESTED 18 Jan 2025