Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
You are responsible for implementing a data retention policy for a large dataset stored in Azure Data Lake Storage Gen2. Which of the following approaches should you use to enforce the retention policy?
A
Use Azure Data Factory to periodically move older files to a separate storage account based on their age.
B
Implement a custom script that periodically scans the files and moves the ones that exceed the retention period to a separate folder for deletion.
C
Use Azure Event Grid to trigger a custom function that deletes the files that exceed the retention period.
D
Configure a lifecycle management policy for the storage account to automatically delete files that exceed the retention period.