AZ-204 Exam QuestionsBrowse all questions from this exam

AZ-204 Exam - Question 166


A company uses an Azure Blob Storage for archiving.

The company requires that data in the Blob Storage is only in the archive tier.

You need to ensure data copied to the Blob Storage is moved to the archive tier.

What should you do?

Show Answer
Correct Answer:

Discussion

5 comments
Sign in to comment
Vichu_1607Option: B
Nov 6, 2024

B. Create a lifecycle policy with an action of tierToArchive and configure daysAfterModificationGreaterThan for 0.

overhill
Nov 1, 2024

First question I see without a single comment.. Well I also think B is the answer but I'm not sure at all

overhill
Nov 1, 2024

I think B is the right Answer 1) Creating a lifecycle policy with TierToArchieve is necessary to move blobs to Archieve and setting daysAfterModificationGreaterThan will set the days after modification to 0. From MSFT daysAfterModificationGreaterThan: Value indicating the age in days after last modification https://learn.microsoft.com/en-us/javascript/api/@azure/arm-storage/dateaftermodification?view=azure-node-latest

cmmr
Nov 19, 2024

B would require at least 1 day to reach the threshold. D would allow tagging blobs and immediatelly applying the tierToArchive policy. I go with D

cmmr
Nov 19, 2024

I stand corrected: "Archive data after ingest Some data stays idle in the cloud and is rarely, if ever, accessed. The following lifecycle policy is configured to archive data shortly after it's ingested. This example transitions block blobs in a container named archivecontainer into an archive tier. The transition is accomplished by acting on blobs 0 days after last modified time." https://learn.microsoft.com/en-us/azure/storage/blobs/lifecycle-management-overview It's B

gfancoOption: B
Apr 18, 2025

" Name: daysAfterModificationGreaterThan Description: Value indicating the age in days after last modification int Value: Constraints: Min value = 0 " https://learn.microsoft.com/en-us/azure/templates/microsoft.storage/storageaccounts/managementpolicies?pivots=deployment-language-bicep

gfanco
Apr 18, 2025

tierToArchive: { daysAfterCreationGreaterThan: int daysAfterLastAccessTimeGreaterThan: int daysAfterLastTierChangeGreaterThan: int daysAfterModificationGreaterThan: int <-- }