Courseiva

DP-900 Practice Question: Describe considerations for working with non-relational data on Azure

A mobile gaming company is building a new feature that stores player profiles and game settings as key-value pairs. The development team is most familiar with SQL queries and wants to minimize the learning curve. They require low-latency reads and writes, and the data does not require complex joins. Which Azure Cosmos DB API should they choose?

⚠ Common exam trap

Many exam-takers choose the Azure Cosmos DB for Table API (Option B) because they associate 'key-value pairs' with Table storage, but the question emphasizes SQL familiarity and low-latency reads/writes, which the Core (SQL) API directly supports with its native SQL query capability.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

A. Core (SQL) API

The Core (SQL) API is the correct choice because it provides native support for SQL queries, which aligns with the development team's familiarity with SQL and minimizes the learning curve. It stores data in JSON documents with key-value pairs, supports low-latency reads and writes, and does not require complex joins, making it ideal for player profiles and game settings.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • A. Core (SQL) API

    Why this is correct

    The Core (SQL) API is the default Cosmos DB API, exposing a SQL query dialect that operates directly on JSON documents without any schema mapping. Because the team already knows SQL, they can immediately write SELECT, JOIN, and WHERE clauses with no additional learning curve. It also delivers single-digit-millisecond latency for key-value reads and writes, and its tunable consistency and built-in index management make it the most straightforward and cost-effective choice for the new feature.

  • B. Azure Cosmos DB for Table API

    Why it's wrong here

    Azure Cosmos DB for Table API is a schemaless key-value store that follows the Azure Table Storage data model, but it relies on OData-based REST queries rather than SQL. This query language focuses on primary-key lookups and limited range filters, lacking the full relational expressiveness of SQL, so the team would have to rewrite their query logic and become familiar with a different syntax and SDK idioms. While it can handle large key-value workloads, it does not align with the team's existing SQL expertise and would increase the learning curve.

    When this WOULD be correct

    If the question specified that the team is familiar with Azure Table storage or NoSQL key-value stores, and the data is simple key-value pairs with no need for SQL queries, then the Table API would be the correct choice.

  • C. Azure Cosmos DB for MongoDB API

    Why it's wrong here

    The Azure Cosmos DB for MongoDB API is wire-protocol compatible with MongoDB, meaning it expects BSON document formats and queries using MongoDB's query language (e.g., db.collection.find with comparison operators like $gt and $in). This approach is document-centric and heavily uses the aggregation pipeline, which is conceptually distinct from SQL's set-based operations and joins. Although it is excellent for migrating existing MongoDB applications, the team would need to learn MongoDB's data modeling, indexing, and query patterns, making it a poor fit when they want to minimize new learning while using their SQL background.

    When this WOULD be correct

    A question where the development team is already experienced with MongoDB and its query language, and the application requires document storage with flexible schema and low-latency operations, but SQL familiarity is not a requirement.

  • D. Azure Cosmos DB for Cassandra API

    Why it's wrong here

    Incorrect. The Cassandra API uses CQL (Cassandra Query Language), which, while similar to SQL in syntax, has significant differences in data modeling and query patterns. It is not the best fit for a team wanting to minimize learning.

    When this WOULD be correct

    A company needs to migrate an existing Cassandra workload to Azure Cosmos DB with minimal code changes, requiring high throughput and low latency for time-series data with no complex joins.

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The DP-900 exam frequently reuses these exact scenarios with slightly different constraints.

A. Core (SQL) APICorrect answer

Why this is correct

The Core (SQL) API is the default Cosmos DB API, exposing a SQL query dialect that operates directly on JSON documents without any schema mapping. Because the team already knows SQL, they can immediately write SELECT, JOIN, and WHERE clauses with no additional learning curve. It also delivers single-digit-millisecond latency for key-value reads and writes, and its tunable consistency and built-in index management make it the most straightforward and cost-effective choice for the new feature.

B. Azure Cosmos DB for Table APIWrong answer — click to see why

Why this is wrong here

The team prefers SQL queries and wants to minimize learning curve; the Table API uses OData and REST, not SQL, so it would require learning a different query model.

★ When this WOULD be the correct answer

If the question specified that the team is familiar with Azure Table storage or NoSQL key-value stores, and the data is simple key-value pairs with no need for SQL queries, then the Table API would be the correct choice.

Why candidates choose this

Candidates may see 'key-value pairs' and assume the Table API is the natural fit, overlooking the team's SQL familiarity requirement.

C. Azure Cosmos DB for MongoDB APIWrong answer — click to see why

Why this is wrong here

The team is most familiar with SQL queries and wants to minimize learning curve; MongoDB API uses MongoDB query language (NoSQL), not SQL, so it would require learning a new query syntax.

★ When this WOULD be the correct answer

A question where the development team is already experienced with MongoDB and its query language, and the application requires document storage with flexible schema and low-latency operations, but SQL familiarity is not a requirement.

Why candidates choose this

Candidates may think MongoDB API is a good choice because it is a popular NoSQL option for key-value or document data, overlooking the specific requirement for SQL familiarity.

D. Azure Cosmos DB for Cassandra APIWrong answer — click to see why

Why this is wrong here

The Cassandra API uses CQL (Cassandra Query Language), not SQL, and is designed for wide-column stores, not simple key-value pairs. The team's familiarity with SQL and need for low-latency key-value access makes the Core (SQL) API a better fit.

★ When this WOULD be the correct answer

A company needs to migrate an existing Cassandra workload to Azure Cosmos DB with minimal code changes, requiring high throughput and low latency for time-series data with no complex joins.

Why candidates choose this

Candidates may confuse Cassandra's CQL with SQL due to similar syntax, or assume any NoSQL API supports key-value stores equally without considering the team's SQL familiarity.

Analysis generated from the official DP-900blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

About these practice questions

Courseiva writes every DP-900 question from scratch — 820 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DP-900 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DP-900 exam.