Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Choose between Azure Cosmos DB and Cosmos DB in Microsoft Fabric

A worked example

Single answer

A data team at Fabrikam is starting a new project: a recipe-recommendation app that stores JSON documents. The same team will build the semantic model, notebooks, and Power BI reports in one Microsoft Fabric workspace. Requirements:

  • All database costs must be billed through the team's Fabric capacity.
  • The team does not want to provision or manage throughput or regional topology.
  • An analytics copy of the operational data must be available in OneLake without the team configuring replication.

Which database option should the team choose?

Choose one answer
Why

The whole workload, both the operational store and the analytics, belongs to one team working in one Fabric capacity, and the team wants no throughput or topology management. A Cosmos DB database provisioned in Microsoft Fabric is billed through Fabric capacity and handles throughput automatically. Its OneLake analytics copy is always on, so nothing needs configuring. An Azure Cosmos DB account, with or without mirroring, is billed through Azure and needs mirroring enabled explicitly.

  • Not correct: An Azure Cosmos DB for NoSQL account mirrored into Fabric. An Azure Cosmos DB account is billed in request units through Azure, and mirroring must be opted into per database, so it fails the billing requirement and the no-configuration requirement.
  • Not correct: An Azure Cosmos DB for NoSQL account with Azure Synapse Link. Microsoft has ended support for using Synapse Link with Cosmos DB in new work and recommends mirroring to Fabric in its place, so it is not an option for this new project.
  • Correct: A Cosmos DB database provisioned in Microsoft Fabric. Cosmos DB in Fabric lives in a Fabric workspace, is billed in Fabric capacity units, handles throughput automatically, and keeps an always-on analytics copy in OneLake, which meets every requirement.
  • Not correct: An Azure DocumentDB (vCore) cluster. Azure DocumentDB uses vCore-based compute and storage pricing in Azure, not Fabric capacity billing, so it fails the billing requirement.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free