Pass4itsure > Microsoft > Role-based > AZ-204 > AZ-204 Online Practice Questions and Answers

AZ-204 Online Practice Questions and Answers

Questions 4

DRAG DROP

Contoso, Ltd. provides an API to customers by using Azure API Management (APIM). The API authorizes users with a JWT token.

You must implement response caching for the APIM gateway. The caching mechanism must detect the user ID of the client that accesses data for a given location and cache the response for that user ID.

You need to add the following policies to the policies file:

1.

a set-variable policy to store the detected user identity

2.

a cache-lookup-value policy

3.

a cache-store-value policy

4.

a find-and-replace policy to update the response body with the user profile information

To which policy section should you add the policies? To answer, drag the appropriate sections to the correct policies. Each section may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll

to view content.

NOTE: Each correct selection is worth one point.

Select and Place:

Buy Now
Questions 5

DRAG DROP

You maintain an existing Azure SQL Database instance. Management of the database is performed by an external party. All cryptographic keys are stored in an Azure Key Vault.

You must ensure that the external party cannot access the data in the SSN column of the Person table.

Will each protection method meet the requirement? To answer, drag the appropriate responses to the correct protection methods. Each response may be used once, more than once, or not at all. You may need to drag the split bar between

panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Select and Place:

Buy Now
Questions 6

DRAG DROP

Contoso, Ltd. provides an API to customers by using Azure API Management (APIM). The API authorizes users with a JWT token.

You must implement response caching for the APIM gateway. The caching mechanism must detect the user ID of the client that accesses data for a given location and cache the response for that user ID.

You need to add the following policies to the policies file:

a set-variable policy to store the detected user identity

a cache-lookup-value policy a cache-store-value policy a find-and-replace policy to update the response body with the user profile information

To which policy section should you add the policies? To answer, drag the appropriate sections to the correct policies. Each section may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll

to view content.

NOTE: Each correct selection is worth one point.

Select and Place:

Buy Now
Questions 7

HOTSPOT

A company is developing a gaming platform. Users can join teams to play online and see leaderboards that include player statistics. The solution includes an entity named Team.

You plan to implement an Azure Redis Cache instance to improve the efficiency of data operations for entities that rarely change.

You need to invalidate the cache when team data is changed.

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

NOTE: Each correct selection is worth one point.

Hot Area:

Buy Now
Questions 8

You are preparing to deploy a website to an Azure Web App from a GitHub repository. The website includes static content generated by a script.

You plan to use the Azure Web App continuous deployment feature.

You need to run the static generation script before the website starts serving traffic.

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. Add the path to the static content generation tool to WEBSITE_RUN_FROM_PACKAGE setting in the host.json file.

B. Add a PreBuild target in the websites csproj project file that runs the static content generation script.

C. Create a file named run.cmd in the folder /run that calls a script which generates the static content and deploys the website.

D. Create a file named .deployment in the root of the repository that calls a script which generates the static content and deploys the website.

Buy Now
Questions 9

You are creating an Azure key vault using PowerShell. Objects deleted from the key vault must be kept for a set period of 90 days. Which two of the following parameters must be used in conjunction to meet the requirement? (Choose two.)

A. EnabledForDeployment

B. EnablePurgeProtection

C. EnabledForTemplateDeployment

D. EnableSoftDelete

Buy Now
Questions 10

You are developing an application to store business-critical data in Azure Blob storage. The application must meet the following requirements:

1.

Data must not be modified or deleted for a user-specified interval.

2.

Data must be protected from overwntes and deletes.

3.

Data must be written once and allowed to be read many times.

You need to protect the data fen the Azure Blob storage account.

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

NOTE: Each correct selection is worth one point.

A. Configure a time-based retention policy for the storage account.

B. Create an account shared-access signature (SAS).

C. Enable the blob change feed for the storage account.

D. Enable version-level immutability support for the storage account.

E. Enable point-in-time restore for containers in the storage account.

F. Create a service shared-access signature (SAS).

Buy Now
Questions 11

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?

A. Option A

B. Option B

C. Option C

D. Option D

Buy Now
Questions 12

You need to test the availability of the corporate website.

Which two test types can you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

A. Standard

B. URL ping

C. Custom testing using the TrackAvailability API method

D. Multi-step

Buy Now
Questions 13

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.

Buy Now
Exam Code: AZ-204
Exam Name: Developing Solutions for Microsoft Azure
Last Update: Apr 19, 2024
Questions: 518
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$45.99

VCE

$49.99

PDF + VCE

$59.99