ExamGecko
Home Home / Microsoft / AZ-204

Microsoft AZ-204 Practice Test - Questions Answers, Page 33

Question list
Search
Search

List of questions

Search

Related questions











You are developing an Azure Function that calls external APIs by providing an access token for the API. The access token is stored in a secret named token in an Azure Key Vault named mykeyvault.

You need to ensure the Azure Function can access to the token. Which value should you store in the Azure Function App configuration?

A.
A.
Answers
B.
B.
Answers
C.
C.
Answers
D.
D.
Answers
Suggested answer: D

HOTSPOT

You are developing an Azure Function app.

The Azure Function app must enable a WebHook to read an image from Azure Blob Storage and create a new Azure Cosmos DB document.

You need to implement the Azure Function app.

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

NOTE: Each correct selection is worth one point.


Question 322
Correct answer: Question 322

DRAG DROP

You develop and deploy several APIs to Azure API Management.

You create the following policy fragment named APICounts:

The policy fragment must be reused across various scopes and APIs. The policy fragment must be applied to all APIs and run when a calling system invokes any API.

You need to implement the policy fragment.

How should you complete the policy segment? To answer, drag the appropriate XML elements to the correct targets. Each XML element may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.


Question 323
Correct answer: Question 323

You are developing a road tollway tracking application that sends tracking events by using Azure Event Hubs using premium tier.

Each road must have a throttling policy uniquely assigned.

You need to configure the event hub to allow for per-road throttling.

What should you do?

A.
Ensure each road has a unique connection string.
A.
Ensure each road has a unique connection string.
Answers
B.
Use a unique consumer group for each road
B.
Use a unique consumer group for each road
Answers
C.
Use a unique application group for each road
C.
Use a unique application group for each road
Answers
D.
Ensure each road stores events in a different partition.
D.
Ensure each road stores events in a different partition.
Answers
Suggested answer: D

DRAG DROP

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.



Question 325
Correct answer: Question 325

Explanation:

Create an Application Insights resource

Copy the instrumentation key

Install the SDK in your app


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?

A.
Yes
A.
Yes
Answers
B.
No
B.
No
Answers
Suggested answer: B

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 system topic. Create an event subscription for each customer.

Does the solution meet the goal?

A.
Yes
A.
Yes
Answers
B.
No
B.
No
Answers
Suggested answer: A

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 custom topic. Create an event subscription for each customer.

Does the solution meet the goal?

A.
Yes
A.
Yes
Answers
B.
No
B.
No
Answers
Suggested answer: A

You have a Standard tier instance of Azure Cache for Radis named redis1 configured with the default settings.

You need to configure a Maxmemory policy to increase the amount of cache available for read operations.

How should you configure the Maxmemory policy?

A.
Decrease the value of maxmemory-reserved.
A.
Decrease the value of maxmemory-reserved.
Answers
B.
Increase the value of maxmemory-reserved.
B.
Increase the value of maxmemory-reserved.
Answers
C.
Set the Maxmemory policy to noeviction.
C.
Set the Maxmemory policy to noeviction.
Answers
D.
Set the Maxmemory policy to volatile-lru.
D.
Set the Maxmemory policy to volatile-lru.
Answers
Suggested answer: A

HOTSPOT

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.


Question 330
Correct answer: Question 330
Total 345 questions
Go to page: of 35