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?
- A.Enable blob access time tracking and use daysAfterLastAccessTimeGreaterThan in the lifecycle ruleCorrect answer
- B.Enable blob versioning and use daysAfterModificationGreaterThan in the lifecycle rule
- C.Enable soft delete and use daysAfterCreationGreaterThan in the lifecycle rule
- 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
- A compliance application stores audit blobs that are rarely accessed. The organization must retain them for seven years and can wait severa…
- A storage account contains block blobs under the logs/ prefix. The requirement is to move each blob to Cool after 30 days since its last mo…
- A .NET application acquires a 30-second lease on an existing block blob and receives leaseId. Another client must not update or delete the…
- A customer-support application must download a blob within seconds, but the blob is currently stored in the Archive tier. What should the a…
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 freeFree to start · No credit card needed