exam questions

Exam DP-420 All Questions

View all questions & answers for the DP-420 exam

Exam DP-420 topic 4 question 18 discussion

Actual exam question from Microsoft's DP-420
Question #: 18
Topic #: 4
[All DP-420 Questions]

HOTSPOT
-

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

You plan to use container1 as a key-value store that will perform point reads on the item ID and partition key.

You need to define an indexing policy for container1. The solution must meet the following requirements:

• Provide the ability to set DefaultTimeToLive for container1.
• Minimize implementation time.
• Minimize costs.

How should you complete the JSON definition of the indexing policy? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
glatovi
5 months, 2 weeks ago
indexingMode: None, if container is used as key-value, then no index is needed
upvoted 1 times
glatovi
5 months, 2 weeks ago
Correction: If indexingMode is set to none, you can't set a TTL on the container. So answer provided is correct.
upvoted 2 times
...
...
3a0b61c
8 months ago
correct https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/how-to-manage-indexing-policy?tabs=dotnetv3%2Cpythonv3#exclude-all-property-paths-but-keeping-indexing-active
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago