BrainyBeeBrainyBee
ExploreBlogStart Studying
HomeMicrosoft Azure Administrator (AZ-104)Lab — A lifecycle rule is a one-way door
Build Lab180 words

Lab — A lifecycle rule is a one-way door

AZ-104 › Unit 2 › Lab

Lab — A lifecycle rule is a one-way door

Lab brief

Node
AZ104-U2.T3
Time
20 minutes
Creates
A Standard_LRS storage account, a container, a lifecycle policy
Subscription
required
Difficulty
Core

The claim to make physical: a lifecycle policy can put a blob into archive and cannot bring it back. Also that the rule you just wrote does nothing for up to a day.

These commands have not been run

There is no Azure subscription in the environment this lab was written in, so not one of these commands has been executed. The syntax is derived from Microsoft's own CLI documentation, and the elements this lab asserts are quoted from it at the bottom of the page — but the specific invocations, with these names in this order, are unrun. Read each command before you run it, and expect to adjust names and regions. Treat the teardown as part of the lab, not an optional extra.

Before you start

A subscription and one small Standard_LRS account. Do not upload anything large; a few kilobytes demonstrates every behaviour here.

Walkthrough

A lifecycle rule is a one-way door

  1. 1

    1. Create the account, container and a blob

    Standard_LRS again, one container, one small blob. Read its access tier — it is Hot.

Did it teach you what it was meant to?

Multiple choice · HardArchive and rehydration

A lifecycle rule archived 40 TB of footage. The business now needs one file back this afternoon. What does step 5 tell you?

Multiple choice · MediumLifecycle timing

You added a rule an hour ago and nothing has moved. What is the most likely explanation?

What goes wrong

What goes wrong

Expecting step 3 to do something the same afternoon. Archiving a blob and then needing it back — the early-deletion minimum for archive is 180 days and the charge is prorated, so an experiment left in place is not free forever. And soft delete and versioning protect different things: soft delete brings back a deleted or overwritten blob, versioning keeps a copy of every write.

Tear it down

Run this whether or not the lab worked. Everything above was chosen to cost approximately nothing, and leaving it in place is how approximately nothing becomes something.

Teardown

  1. 1

    Delete the policy, then the resource group

    Remove the management policy, then az group delete. If a blob is still in archive, deleting the whole account is the cleanest exit — the early-deletion charge on a few kilobytes is negligible, which is precisely why this lab used a tiny blob.

Where these figures come from

Every figure above was read from the raw documentation below on the day this sheet was written. The sha1 is git hash-object over the bytes as fetched, so a doc that changes underneath this sheet can be detected rather than assumed.

Documentsha1
Configure a lifecycle management policy17df3a6d6b25
Optimize costs by automatically managing the data lifecyclea6e60139abfb
Access tiers for blob data78c82ab0e7da
Soft delete for blobsc0acd68a6998
All Microsoft Azure Administrator (AZ-104) Study Resources

Related Notes

  • Lab — Issue a signature you can actually revoke216 words
  • AZ-104 exam map391 words
  • Unit 1 roadmap — Manage Azure identities and governance358 words
  • Unit 1 capstone — Onboarding an acquired subsidiary810 words
  • Lab — A budget notifies and stops nothing166 words
  • Lab — Prove that inheritance only flows one way212 words
  • Lab — Tags do not inherit, and a lock is not a permission204 words
  • Lab — Watch a dynamic group fill itself in183 words
  • Cram sheet — Manage access to Azure resources447 words
  • Cram sheet — Manage Azure subscriptions and governance841 words
  • Cram sheet — Manage Microsoft Entra users and groups580 words
  • Unit 2 roadmap — Implement and manage storage375 words

Ready to study Microsoft Azure Administrator (AZ-104)?

Practice tests, flashcards, and all study notes — free, no sign-up.

Start Studying

Ready to study Microsoft Azure Administrator (AZ-104)?

Practice tests, flashcards, and all study notes — free, no sign-up needed.

Start Studying — Free
Microsoft Azure Administrator (AZ-104) ResourcesExplore All HivesBlogHome

© 2026 BrainyBee. Free AI-powered exam prep.