Design object and document storage
Distinguish binary objects, mutable JSON records and shared files by access pattern.
Design object and document storage
Use Blob Storage for objects retrieved by key over HTTP. Choose an access tier from read frequency, retention, retrieval delay and early deletion charges. Archive can require rehydration before reads. Azure Files supports shared filesystem protocols when clients require a mounted share. Avoid redesigning a legacy file application as an object client without validating its path and locking behavior.
For interactive JSON records, Cosmos DB partition keys determine placement and the cost of queries that cross partitions. Choose a stable, sufficiently distributed key that supports frequent access paths. Model hot tenants and large logical partitions, then test throughput and latency. Treat redundancy, soft delete or versioning, and backup as separate protections against infrastructure failures and logical mistakes.
Worked case 1
A team wants archive pricing for images users must retrieve in seconds. Which requirement rules it out?
Check your reasoning
Online access latency conflicts with rehydration. Compare online tiers using measured read frequency, minimum retention and retrieval costs.
Worked case 2
One tenant produces most writes in a document store partitioned solely by tenant. What should be tested?
Check your reasoning
Model partition distribution and common query predicates and test a more distributed key or hierarchical design. Buying more aggregate capacity may leave the hot partition constrained.
Partitioning in Azure Cosmos DB
Official AZ-305 skills for this topic
Related lesson in Microsoft Certified: Azure Data Fundamentals. Choose a Cosmos DB API and partition key.
Practice with the recording
A document store needs global reads and partition-key lookups. When would a basic table design stop fitting?
Check your reasoning
Measure the actual query shapes and consistency requirements. A key-based store suits direct lookups, while broader indexing, distribution or consistency needs may justify Cosmos DB. Test the partition key for skew before sizing throughput.
Current AZ-305 course · 40:33 · John Savill · AZ-305 Study Cram · 1:59:50
Design object and document storage quiz
Answer 3 questions. Check each answer for an explanation.