DP-900 study notes · 15–20% of the exam

Describe considerations for working with non-relational data on Azure

First draft for review. Check details against Microsoft Learn before relying on them.

What this area covers

Azure Storage for non-relational data, and Azure Cosmos DB.

Azure Storage

  • Blob Storage: objects in containers.
    • Tiers are hot, cool, cold and archive. Archive is offline and needs rehydration before you can read it.
    • Data Lake Storage Gen2 adds a hierarchical namespace for analytics.
  • Azure Files: managed SMB and NFS file shares.
  • Table storage: a cheap NoSQL key-value store. Each entity has a partition key and a row key, and there are no relationships.

Azure Cosmos DB

  • What it offers: global distribution, multi-region writes, single-digit-millisecond latency and elastic scale.
  • Use cases: IoT telemetry, retail catalogues, gaming leaderboards and personalisation.
  • APIs:
    • NoSQL: native JSON with SQL-like queries. Recommended for new apps.
    • MongoDB: for existing Mongo apps.
    • Apache Cassandra: column-family.
    • Apache Gremlin: graph.
    • Table: key-value, compatible with Table storage.
    • PostgreSQL: distributed relational.

Exam tips

  • Pick the Cosmos DB API by the existing app or driver: Mongo apps use the MongoDB API, graph queries use Gremlin.
  • Use Blob Storage for images and video. Use Azure Files when the scenario needs an SMB share.