exam questions

Exam DP-420 All Questions

View all questions & answers for the DP-420 exam

Exam DP-420 topic 2 question 4 discussion

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

The settings for a container in an Azure Cosmos DB Core (SQL) API account are configured as shown in the following exhibit.

Which statement describes the configuration of the container?

  • A. All items will be deleted after one year.
  • B. Items stored in the collection will be retained always, regardless of the items time to live value.
  • C. Items stored in the collection will expire only if the item has a time to live value.
  • D. All items will be deleted after one hour.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
When DefaultTimeToLive is -1 then your Time to Live setting is On (No default)
Time to Live on a container, if present and the value is set to "-1", it is equal to infinity, and items don't expire by default.
Time to Live on an item:
This Property is applicable only if DefaultTimeToLive is present and it is not set to null for the parent container.
If present, it overrides the DefaultTimeToLive value of the parent container.
Reference:
https://docs.microsoft.com/en-us/azure/cosmos-db/sql/time-to-live

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
azuredemo2022three
Highly Voted 9 months, 1 week ago
C. Items stored in the collection will expire only if the item has a time to live value.
upvoted 9 times
...
Tuopikson
Most Recent 1 week ago
Selected Answer: C
Item stored in the collection will expire only if the item has a time to live value.
upvoted 1 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