Microsoft Azure Administrator Associate AZ-104 Practice Question
You are an Azure administrator for Contoso Ltd. The company stores large amounts of data in an Azure Blob storage account. Due to cost considerations, you need to move blobs that are older than 30 days to the Cool access tier and delete blobs that are older than 365 days. You need to automate this process while minimizing administrative overhead.
What is the BEST way to achieve this?
Manually monitor and move blobs to the Cool tier and delete old blobs using Azure Storage Explorer
Use Azure Automation to create a scheduled script that processes blobs and applies the necessary changes
Configure a lifecycle management policy in the Azure portal to automatically move and delete blobs according to the specified rules
Write an Azure Function triggered by a timer to move and delete blobs based on their age