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

CertStreak
Menu

Identify Azure datastores for common use cases

A worked example

Single answer

A retail company runs its order-tracking application on MongoDB Atlas. The company is moving the workload to Azure and has these requirements:

  • The database must be a fully managed Azure service.
  • The existing MongoDB drivers, tools, and application code must connect without changes.
  • The application stores order data as JSON documents and performs frequent reads and writes.

Which Azure datastore should the company use?

Choose one answer
Why

The company needs a fully managed Azure database that its current MongoDB drivers, tools, and code can use as they are. Azure DocumentDB (with MongoDB compatibility) meets the stated requirements and supports migration from MongoDB Atlas. The Azure SQL services and Fabric Warehouse are SQL-based, while Blob Storage and Azure Files are file and object stores, so none of them accept MongoDB drivers.

  • Not correct: Azure Files. Azure Files provides cloud file shares that behave like a shared network drive. It is not a document database that MongoDB drivers can connect to.
  • Not correct: Azure Blob Storage. Blob Storage stores unstructured data as blobs that applications read and write through the Azure blob storage API, not through MongoDB drivers.
  • Not correct: Microsoft Fabric Warehouse. Fabric Warehouse is a relational data warehouse that you query with T-SQL. It is an analytical store, not a MongoDB-compatible database for the application's existing drivers.
  • Not correct: Azure SQL Database. Azure SQL Database belongs to the Azure SQL family of SQL Server based services. It is not a MongoDB-compatible service, so the existing MongoDB drivers and code would not connect unchanged.
  • Correct: Azure DocumentDB. Azure DocumentDB (with MongoDB compatibility) is a fully managed, MongoDB-compatible database, and existing MongoDB drivers, tools, and code connect to it without changes. The service provides tools to assess workload compatibility and migrate data from MongoDB Atlas.

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