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 4 out of 4 pages
Viewing questions 31-40 out of questions
Questions # 31:

You need to identify which connectivity mode to use when implementing App2. The solution must support the planned changes and meet the business requirements.

Which connectivity mode should you identify?

Options:

A.

Direct mode over HTTPS


B.

Gateway mode (using HTTPS)


C.

Direct mode over TCP


Expert Solution
Questions # 32:

You configure multi-region writes for account1.

You need to ensure that App1 supports the new configuration for account1. The solution must meet the business requirements and the product catalog requirements.

What should you do?

Options:

A.

Set the default consistency level of accountl to bounded staleness.


B.

Create a private endpoint connection.


C.

Modify the connection policy of App1.


D.

Increase the number of request units per second (RU/s) allocated to the con-product and con-productVendor containers.


Expert Solution
Questions # 33:

You need to provide a solution for the Azure Functions notifications following updates to con-product. The solution must meet the business requirements and the product catalog requirements.

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

NOTE: Each correct selection is worth one point.

Options:

A.

Configure the trigger for each function to use a different leaseCollectionPrefix


B.

Configure the trigger for each function to use the same leaseCollectionNair.e


C.

Configure the trigger for each function to use a different leaseCollectionName


D.

Configure the trigger for each function to use the same leaseCollectionPrefix


Expert Solution
Questions # 34:

You need to select the partition key for con-iot1. The solution must meet the IoT telemetry requirements.

What should you select?

Options:

A.

the timestamp


B.

the humidity


C.

the temperature


D.

the device ID


Expert Solution
Questions # 35:

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 # 36:

You need to select the capacity mode and scale configuration for account2 to support the planned changes and meet the business requirements. What should you select? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Question # 36


Expert Solution
Questions # 37:

You have a database in an Azure Cosmos DB Core (SQL) API account.

You need to create an Azure function that will access the database to retrieve records based on a variable named accountnumber. The solution must protect against SQL injection attacks.

How should you define the command statement in the function?

Options:

A.

cmd = " SELECT * FROM Persons p

WHERE p.accountnumber = ' accountnumber ' "


B.

cmd = " SELECT * FROM Persons p

WHERE p.accountnumber = LIKE @accountnumber "


C.

cmd = " SELECT * FROM Persons p

WHERE p.accountnumber = @accountnumber "


D.

cmd = " SELECT * FROM Persons p

WHERE p.accountnumber = ' " + accountnumber + " ' "


Expert Solution
Viewing page 4 out of 4 pages
Viewing questions 31-40 out of questions