PdfPrep.com

What should you use?

You have an Azure Cosmos DB database that uses the SQL API.

You need to delete stale data from the database automatically.

What should you use?
A . soft delete
B . Low Latency Analytical Processing (LLAP)
C . schema on read
D . Time to Live (TTL)

Answer: D

Explanation:

With Time to Live or TTL, Azure Cosmos DB provides the ability to delete items automatically from a container after a certain time period. By default, you can set time to live at the container level and override the value on a per-item basis. After you set the TTL at a container or at an item level, Azure Cosmos DB will automatically remove these items after the time period, since the time they were last modified.

References: https://docs.microsoft.com/en-us/azure/cosmos-db/time-to-live

Exit mobile version