Black Friday Reward - Upto 75% off - Ends in 0d 00h 00m 00s - Coupon code: CFsave75

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

Viewing page 2 out of 4 pages
Viewing questions 11-20 out of questions
Questions # 11:

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 # 11


Expert Solution
Questions # 12:

You are troubleshooting the current issues caused by the application updates.

Which action can address the application updates issue without affecting the functionality of the application?

Options:

A.

Enable time to live for the con-product container.


B.

Set the default consistency level of account1 to strong.


C.

Set the default consistency level of account1 to bounded staleness.


D.

Add a custom indexing policy to the con-product container.


Expert Solution
Questions # 13:

You have an Azure Cosmos DB for NoSQL account that contains a container named customers.

You have an application named App1 that caches customers and must be notified when the list of customers changes.

You implement a change feed. The Time to Live settings have the default values.

You discover the following:

• Notifications for INSERT and UPDATE operations are received within 10 seconds.

• Notifications for DELETE operations are NOT received.

Which two actions should you perform to ensure that App1 receives notifications for DELETE operations? Each correct answer present part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Add a post-trigger.


B.

Use an UPDATE instead of a DELETE.


C.

Add an IsDeleted flag to the items.


D.

Increase the TTL


E.

Add a pre-trigger.


Expert Solution
Questions # 14:

You are implementing an Azure Data Factory data flow that will use an Azure Cosmos DB (SQL API) sink to write a dataset. The data flow will use 2,000 Apache Spark partitions.

You need to ensure that the ingestion from each Spark partition is balanced to optimize throughput.

Which sink setting should you configure?

Options:

A.

Throughput


B.

Write throughput budget


C.

Batch size


D.

Collection action


Expert Solution
Questions # 15:

You have a container named contained in an Azure Cosmos DB for NoSQL account.

The following is a sample of a document in container1.

Question # 15

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

NOTE: Each correct selection is worth one point.

Question # 15


Expert Solution
Questions # 16:

You have an Azure subscription that contains an Azure Cosmos DB for NoSQL database named DB1. The shared throughput provisioned for DB1 is 10,000 DTU/s. DB1 contains the containers shown in the following table.

Question # 16

You need to modify the throughput for the containers. The solution must meet the following requirements:

• The maximum throughput for Container1 must be 4,000 DTU/s.

• The throughput for Contained must be shared across the containers.

• Administrative effort must be minimized.

What should you do? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Question # 16


Expert Solution
Questions # 17:

You have an Azure Cosmos DB for NoSQL account named account that has the disablekeyBasedletadatwriteAccess property enabled.

You are developing an app named App1 that will be used by a use1 named DevUser1 to create containers in account1. DevUser1 has a non-privileged user account in the Azure AD tenant.

You need to ensure that DevUser1 can use App1 to create containers in account1.

What should you do? To answer, select the appropriate options in the answer area.

NOTE Each correct selection is worth one point.

Question # 17


Expert Solution
Questions # 18:

You have an Azure subscription that contains an Azure Cosmos DB for NoSQL account named accounts In account1, you plan to create a container that will store the data items shown in the following table.

Question # 18

Each customer item will have customer sales by month values embedded.

The most executed query will return data for a matrix that aggregates the monthly sales ot each business category. The matrix will use customer business categories as columns and months as rows.

You need to configure the partition key for the container. The solution must minimize the request units (RUs) required to run th e query.

Which property should you use for the partition key?

Options:

A.

customereusinesscategoryid


B.

customerSalesForMonth


C.

customerid


D.

customerNa«e


Expert Solution
Questions # 19:

You are designing an Azure Cosmos DB Core (SQL) API solution to store data from IoT devices. Writes from the devices will be occur every second.

The following is a sample of the data.

Question # 19

You need to select a partition key that meets the following requirements for writes:

Minimizes the partition skew

Avoids capacity limits

Avoids hot partitions

What should you do?

Options:

A.

Use timestamp as the partition key.


B.

Create a new synthetic key that contains deviceId and sensor1Value.


C.

Create a new synthetic key that contains deviceId and deviceManufacturer.


D.

Create a new synthetic key that contains deviceId and a random number.


Expert Solution
Questions # 20:

You have an Azure Cosmos DB for NoSQL database named db1 that writes to multiple Azure regions. You need to test the performance of db1 in the secondary region. Which command should you run first?

Options:

A.

az cosmosdb location show


B.

az cosmosdb failover-priority-change


C.

az cosmosdb network-rule remove


D.

az cosmosdb sql database merge


Expert Solution
Viewing page 2 out of 4 pages
Viewing questions 11-20 out of questions