Skip to content

AZ-305 · Data and Storage

TierAvailabilityRead latencyCostRehydrate
HotOnlinems$$$
CoolOnlinems$$
ColdOnlinems (higher)$
ArchiveOfflineHours¢Up to 15 hours
lifecycle.json
{
"rules": [
{
"enabled": true,
"name": "tier-and-archive",
"type": "Lifecycle",
"definition": {
"filters": { "blobTypes": ["blockBlob"] },
"actions": {
"baseBlob": {
"tierToCool": { "daysAfterModificationGreaterThan": 30 },
"tierToArchive": { "daysAfterModificationGreaterThan": 180 },
"delete": { "daysAfterModificationGreaterThan": 365 }
}
}
}
}
]
}

Azure SQL Database

Single database, fully managed. Elastic pools share DTUs/vCores across DBs. No cross-DB queries — think one micro-service, one DB.

Azure SQL Managed Instance

Nearly full SQL Server surface — cross-DB queries, SQL Agent, CLR. Deployed inside your VNet. The lift-and-shift answer.

SQL Server on VM (IaaS)

You own the OS + patching + backups. Only pick this when the exam says something the PaaS services can’t do (double-hop Kerberos, specific extended events, etc.).

Cosmos DB questions almost always hinge on consistency. Here they are, strongest to weakest:

LevelGuaranteesUse when
StrongLinearizableFinancial ledgers, unique counters
Bounded stalenessReads lag writes by $\le k$ operations or $t$sFeed timelines, leaderboards
SessionRead-your-own-writes for a client sessionUser profiles (default)
Consistent prefixReads never see gaps in write orderChat replay
EventualWeakest, cheapest, highest throughputAnalytics, IoT ingest
AcronymCopiesFault domain
LRS3 within one DCRack failure
ZRS3 across AZsData-center failure
GRSLRS + async to paired regionRegion failure (RPO ~ minutes)
RA-GRSGRS + read from secondaryRegion failure + read-only DR
GZRSZRS + async to paired regionAZ + region failure
  • Azure Backup vault with soft-delete + versioning + immutability policies.
  • For long-term regulatory holds, combine with legal hold on the container.