Azure Blob Storage – Access Tiers, Lifecycle and Leases · AZ-204: Developing Solutions for Microsoft Azure Develop for Azure Storage

A storage account must move blobs to the Cool tier after they have not been accessed for 14 days. The lifecycle policy should use the time since the…

Practice question from Azure Blob Storage – Access Tiers, Lifecycle and Leases (AZ-204: Developing Solutions for Microsoft Azure Develop for Azure Storage), with the correct answer and a step-by-step solution.

medium · MCQ · Q-EA87A5

A storage account must move blobs to the Cool tier after they have not been accessed for 14 days. The lifecycle policy should use the time since the last read rather than the time since modification. Which configuration is required?

  1. A.Enable blob access time tracking and use daysAfterLastAccessTimeGreaterThan in the lifecycle ruleCorrect answer
  2. B.Enable blob versioning and use daysAfterModificationGreaterThan in the lifecycle rule
  3. C.Enable soft delete and use daysAfterCreationGreaterThan in the lifecycle rule
  4. D.Enable change feed and use daysAfterModificationGreaterThan in the lifecycle rule

Solution

A lifecycle rule based on reads uses daysAfterLastAccessTimeGreaterThan. Blob access time tracking must be enabled so Azure can maintain the last-access information used by that condition.

More from Azure Blob Storage – Access Tiers, Lifecycle and Leases

All of Azure Blob Storage – Access Tiers, Lifecycle and Leases

Practise more Develop for Azure Storage

Sign up free for adaptive practice on this chapter, with instant feedback and hints on every question.

Start practising free

Free to start · No credit card needed