Skip to document

Quick Method To Pass Microsoft DP-420 Dumps

We've received testimonials from thousands of students who have been a...
Course

Strategic Studies

65 Documents
Students shared 65 documents in this course
Academic year: 2022/2023
Uploaded by:
0followers
7Uploads
1upvotes

Comments

Please sign in or register to post comments.

Preview text

Microsoft

DP­420 Exam

Azure Cosmos DB Developer Specialty

Questions & Answers

(Demo Version ­ Limited Content)

Thank you for Downloading DP­420 exam PDF Demo

Get Full File:

authorizedumps/dp­420­exam­dumps/

Questions & Answers PDF Page 1

Question: 1

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. A. Configure the trigger for each function to use a different leaseCollectionPrefix B. Configure the trigger for each function to use the same leaseCollectionName C. Configure the trigger for each function to use a different leaseCollectionName D. Configure the trigger for each function to use the same leaseCollectionPrefix

Answer: A, B

####### Explanation:

leaseCollectionPrefix: when set, the value is added as a prefix to the leases created in the Lease collection for this Function. Using a prefix allows two separate Azure Functions to share the same Lease collection by using different prefixes. Scenario: Use Azure Functions to send notifications about product updates to different recipients. Trigger the execution of two Azure functions following every update to any document in the con-product container. Reference: docs.microsoft/en-us/azure/azure-functions/functions-bindings-cosmosdb-v2-trigger

Question: 2

HOTSPOT You have a database in an Azure Cosmos DB Core (SQL) API account. You plan to create a container that will store employee data for 5,000 small businesses. Each business will have up to 25 employees. Each employee item will have an emailAddress value. You need to ensure that the emailAddress value for each employee within the same company is unique. To what should you set the partition key and the unique key? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Questions & Answers PDF Page 3

Explanation:

Step 1: Configure the MaxItemCount in QueryRequestOptions You can specify the maximum number of items returned by a query by setting the MaxItemCount. The MaxItemCount is specified per request and tells the query engine to return that number of items or fewer. Box 2: Run the query and provide a continuation token In the .NET SDK and Java SDK you can optionally use continuation tokens as a bookmark for your query's progress. Azure Cosmos DB query executions are stateless at the server side and can be resumed at any time using the continuation token. If the query returns a continuation token, then there are additional query results. Step 3: Append the results to a variable Reference:

docs.microsoft/en-us/azure/cosmos-db/sql/sql-query-pagination
Question: 4

HOTSPOT You have a container named container1 in an Azure Cosmos DB Core (SQL) API account. The following is a sample of a document in container1.

The container1 container has the following indexing policy.

Questions & Answers PDF Page 4

For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.

Explanation:

Box 1: Yes "path": "/*" is in includePaths. Include the root path to selectively exclude paths that don't need to be indexed. This is the recommended approach as it lets Azure Cosmos DB proactively index any new property that may be added to your model. Box 2: No "path": "/firstName/?" is in excludePaths. Box 3: Yes "path": "/address/city/?" is in includePaths Reference: docs.microsoft/en-us/azure/cosmos-db/index-policy

Question: 5
Thank You for trying DP­420 PDF Demo
authorizedumps/dp­420­exam­dumps/

Start Your DP­420 Preparation

[Limited Time Offer] Use Coupon "SAVE20" for extra 20%
discount the purchase of PDF file. Test your
DP­420 preparation with actual exam questions
Was this document helpful?

Quick Method To Pass Microsoft DP-420 Dumps

Course: Strategic Studies

65 Documents
Students shared 65 documents in this course
Was this document helpful?
Microsoft
DP-420 Exam
Azure Cosmos DB Developer Specialty
Questions & Answers
(Demo Version - Limited Content)
Thank you for Downloading DP-420 exam PDF Demo
Get Full File:
https://authorizedumps.com/dp-420-exam-dumps/
www.authorizedumps.com