Designing an Azure Data Solution (legacy) — Question 43

You need to recommend an Azure Cosmos DB solution that meets the following requirements:
✑ All data that was NOT modified during the last 30 days must be purged automatically.
✑ The solution must NOT affect ongoing user requests.
What should you recommend using to purge the data?

Answer options

Correct answer: C

Explanation

The Time To Live (TTL) setting in Azure Cosmos DB allows for automatic deletion of items after a specified period, which in this case can be set to 30 days. This feature operates without impacting current user transactions, unlike the other options which might require manual intervention or could disrupt ongoing requests.