Summer Certification Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Pass the Microsoft Microsoft Certified: Azure Cosmos DB Developer Specialty DP-420 Questions and answers with CertsForce

Viewing page 3 out of 4 pages
Viewing questions 21-30 out of questions
Questions # 21:

You have an Azure Cosmos DB for NoSQL database that hosts a container named Container1. Container1 stores customer documents that have the following structure.

Question # 21

You need to retrieve the city of residence and the age of each customer who is older than 40.

Which three statements should you run in sequence to build the query? To answer, move the appropriate statements from the list of statements to the answer area and arrange them in the correct order.

Question # 21


Expert Solution
Questions # 22:

You have two Azure Cosmos DB for NoSQL containers named Contained and Contained. You plan to process the change feed for each container by using the following:

• Containers Pull model

• Container2: Change feed processor

You need to track the current processing point for each change feed.

What should you use for each container? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question # 22


Expert Solution
Questions # 23:

You have an Azure subscription that contains an Azure Cosmos DB for NoSQL account named account! You plan to configure the Apache Kafka service as a data source for account 1. What should you use to store the Kafka configuration?

Options:

A.

Azure Key Vault


B.

Apache Gremlin


C.

ApacheZooKeeper


D.

Apache Tomcat


Expert Solution
Questions # 24:

You have an Azure Cosmos DB for NoSQL database that hosts the containers shown in the following table.

Question # 24

You need to ensure that when a product name changes in the Products container, the product name changes in all orders that have NOT been shipped.

What should you implement?

Options:

A.

a change feed


B.

a post-trigger


C.

a pre-trigger


D.

a stored procedure


Expert Solution
Questions # 25:

You have an Azure Cosmos DB for NoSQL database named db1 that is monitored by using Azure Monitor. You need to identify the operations that have the highest throughput. Which metric should you use?

Options:

A.

Data Usage


B.

Autoscale Max Throughput


C.

Index Usage


D.

Total Request Units


Expert Solution
Questions # 26:

You have an Azure Cosmos DB for NoSQL account named account1. You plan to implement a multi-region write scenario. You enable multi-region writes for account1.

Which two actions should you perform next? Each correct answer presents part of the solution. NOTE: Each correct answer is worth one point.

Options:

A.

Set consistencyLevel to Eventual.


B.

Set ApplicationRegion to the name of the deployed region.


C.

Update connectionString.


D.

Set UseMultipleWriteLocations to True.


Expert Solution
Questions # 27:

You are developing a web app named App1 that will store customer-generated content in an Azure Cosmos DB for NoSQL database named DB1.

You configure an Azure Al Search indexer to automatically ingest documents from DB1 into an Azure Al Search index.

App1 uses REST APIs to provide advanced search and retrieval capabilities for the documents.

You need to identify which types of queries you can use in Azure Al Search to retrieve text data. The solution must minimize development effort

Which two query types can you use? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Options:

A.

regular expression


B.

phonetic


C.

wildcard


D.

edge n-gram tokenization


E.

prefix


Expert Solution
Questions # 28:

You have a database in an Azure Cosmos DB for NoSQL account that is configured for multi-region writes.

You need to use the Azure Cosmos DB SDK to implement the conflict resolution policy for a container. The solution must ensure that any conflict sent to the conflict feed.

Solution: You set ConfilictResolutionMode to Custom and you use the default settings for the policy.

Does this meet the goal?

Options:

A.

Yes


B.

No


Expert Solution
Questions # 29:

You need to implement a solution to meet the product catalog requirements.

What should you do to implement the conflict resolution policy.

Options:

A.

Remove frequently changed field from the index policy of the con-product container.


B.

Disable indexing on all fields in the index policy of the con-product container.


C.

Set the default consistency level for account1 to eventual.


D.

Create a new container and migrate the product catalog data to the new container.


Expert Solution
Questions # 30:

You need to recommend indexes for con-product and con-productVendor. The solution must meet the product catalog requirements and the business requirements.

Which type of index should you recommend for each container? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question # 30


Expert Solution
Viewing page 3 out of 4 pages
Viewing questions 21-30 out of questions