Does this meet the goal?
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure Cosmos DB account named Account1 that uses the SQL APL Account1 contains a collection named Coll1.
You create a document named doc1 and set the TTL value for the document to 86,400. Thirty-six hours later, you discover that doc1 still exists in Coll1.
You need to ensure that documents are removed from Coll1 when the TTL for the documents expires.
Solution: You set the default TTL value for Coll1 to null.
Does this meet the goal?
A . Yes
B . No
Answer:
Latest 70-777 Dumps Valid Version with 57 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
The answer should be ‘NO’. If TTL is set to null in Coll1, then TTL set for Doc1 won’t have any effect so it will never expire. The right answer is to set TTL for Coll1 as -1 or a meaningful value. See https://docs.microsoft.com/en-us/azure/cosmos-db/time-to-live for details.