ExamGecko
Home Home / Microsoft / AZ-204

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

Question list
Search
Search

List of questions

Search

Related questions











HOTSPOT

You are developing an Azure Durable Function based application that processes a list of input values.

The application is monitored using a console application that retrieves JSON data from an Azure Function diagnostic endpoint. During processing a single instance of invalid input does not cause the function to fail. Invalid input must be available to the monitoring application.

You need to implement the Azure Durable Function and the monitoring console application.

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

NOTE: Each correct selection is worth one point.


Question 301
Correct answer: Question 301

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?

A.
Add Azure Monitor alert processing rules to suppress notifications.
A.
Add Azure Monitor alert processing rules to suppress notifications.
Answers
B.
Create an Azure Monitor Metric Alert.
B.
Create an Azure Monitor Metric Alert.
Answers
C.
Build an Azure Monitor action group that suppresses the alerts.
C.
Build an Azure Monitor action group that suppresses the alerts.
Answers
D.
Disable Azure Monitor Service Health Alerts during offline processing.
D.
Disable Azure Monitor Service Health Alerts during offline processing.
Answers
Suggested answer: C

HOTSPOT

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.


Question 303
Correct answer: Question 303

You develop an ASP.NET Core app that uses Azure App Configuration. You also create an App Configuration containing 100 settings. The app must meet the following requirements:

• Ensure the consistency of all configuration data when changes to individual settings occur.

• Handle configuration data changes dynamically without causing the application to restart.

• Reduce the overall number of requests made to App Configuration APIs.

You must implement dynamic configuration updates in the app.

What are two ways to achieve this goal? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A.
Increase the App Configuration cache expiration from the default value.
A.
Increase the App Configuration cache expiration from the default value.
Answers
B.
Create and implement environment variables for each App Configuration store setting.
B.
Create and implement environment variables for each App Configuration store setting.
Answers
C.
Decrease the App Configuration cache expiration from the default value.
C.
Decrease the App Configuration cache expiration from the default value.
Answers
D.
Register all keys in the App Configuration store. Set the refreshAII parameter of the Register method to false.
D.
Register all keys in the App Configuration store. Set the refreshAII parameter of the Register method to false.
Answers
E.
Create and register a sentinel key in the App Configuration store. Set the refreshAII parameter of the Register method to true.
E.
Create and register a sentinel key in the App Configuration store. Set the refreshAII parameter of the Register method to true.
Answers
F.
Create and configure Azure Key Vault. Implement the Azure Key Vault configuration provider.
F.
Create and configure Azure Key Vault. Implement the Azure Key Vault configuration provider.
Answers
Suggested answer: A, E

HOTSPOT

You develop a web app that interacts with Azure Active Directory (Azure AD) groups by using Microsoft Graph.

You build a web page that shows all Azure AD groups that are not of the type 'Unified'.

You need to build the Microsoft Graph query for the page.

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

NOTE: Each correct selection is worth one point.


Question 305
Correct answer: Question 305

You are updating an application that stores data on Azure and uses Azure Cosmos DB for storage. The application stores data in multiple documents associated with a single username.

The application requires the ability to update multiple documents for a username in a single ACID operation.

You need to configure Azure Cosmos DB.

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

NOTE: Each correct selection is worth one point.

A.
Configure Azure Cosmos DB to use the Azure Cosmos DB for Apache Gremlin API.
A.
Configure Azure Cosmos DB to use the Azure Cosmos DB for Apache Gremlin API.
Answers
B.
Configure Azure Cosmos DB to use the Azure Cosmos DB for MongoDB API.
B.
Configure Azure Cosmos DB to use the Azure Cosmos DB for MongoDB API.
Answers
C.
Create a collection sharded on username to store documents.
C.
Create a collection sharded on username to store documents.
Answers
D.
Create an unsharded collection to store documents.
D.
Create an unsharded collection to store documents.
Answers
Suggested answer: B, D

HOTSPOT

An organization deploys a blob storage account. Users take multiple snapshots of the blob storage account over time. You need to delete all snapshots of the blob storage account. You must not delete the blob storage account itself. 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.


Question 307
Correct answer: Question 307

You are developing a Java application to be deployed in Azure. The application stores sensitive data in Azure Cosmos DB. You need to configure Always Encrypted to encrypt the sensitive data inside the application. What should you do first?

A.
Create a customer-managed key (CMK) and store the key in a new Azure Key Vault instance.
A.
Create a customer-managed key (CMK) and store the key in a new Azure Key Vault instance.
Answers
B.
Create an Azure AD managed identity and assign the identity to a new Azure Key Vault instance.
B.
Create an Azure AD managed identity and assign the identity to a new Azure Key Vault instance.
Answers
C.
Create a data encryption key (DEK) by using the Azure Cosmos DB SDK and store the key in Azure Cosmos DB.
C.
Create a data encryption key (DEK) by using the Azure Cosmos DB SDK and store the key in Azure Cosmos DB.
Answers
D.
Create a new container to include an encryption policy with the JSON properties to be encrypted.
D.
Create a new container to include an encryption policy with the JSON properties to be encrypted.
Answers
Suggested answer: A

An organization deploys Azure Cosmos DB.

You need to ensure that the index is updated as items are created, updated, or deleted.

What should you do?

A.
Set the value of the EnableScanlnQuery option to True.
A.
Set the value of the EnableScanlnQuery option to True.
Answers
B.
Set the indexing mode to Consistent.
B.
Set the indexing mode to Consistent.
Answers
C.
Set the indexing mode to Lazy.
C.
Set the indexing mode to Lazy.
Answers
D.
Set the value of the automatic property of the indexing policy to False.
D.
Set the value of the automatic property of the indexing policy to False.
Answers
Suggested answer: B

HOTSPOT

You have an App Service plan named aspl based on the Free pricing tier.

You plan to use aspl to implement an Azure Function app with a queue trigger. Your solution must minimize cost.

You need to identify the configuration options that will meet the requirements.

Which value should you configure? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 310
Correct answer: Question 310

Explanation:


Total 345 questions
Go to page: of 35