Microsoft AZ-204 PREPARATION TEST 2026
QUESTIONS AND CORRECT ANSWERS
GRADED A+
● What are the 4 ways you can store your data in Cosmos DB?. Answer:
Key-Value
Column Family
Documents
Graph Approaches
● What are the current APIs that can access CosmosDB?. Answer: SQL,
Cassandra, Table, Gremlin, and MongoDB
● What is SQL API?. Answer: It is the core and default API for
accessing data in CosmosDB. You can query JSON objects using SQL
syntax, Uses Javascript. This is a Data Structure based on Documents.
● What is Table API. Answer: It is like the evolution of Azure Table
Storage. It has High Performance, low latency, and highly scalable
features. Can migrate from Azure table storage with no code
modifications. You can define your own indexes. This is a data structure
based on Documents.
, ● What is Cassandra API?. Answer: This is a wire protocol Apache Data
Base. How this is implemented means you do not have to worry about
operations or performance management tasks related to managing this
DB. Can migrate from a Cassandra DB to this DB merely by changing
the connection string. Compatible with CQLv4 wire protocol. This is a
Column Based DB that stores info in a Key-Value approach.
● What is MongoDB API?. Answer: This is a NoSQL DB with a
Document based Structure. CosmosDB enables a wire protocol to
connect but this API must be version 3.2 or higher.
● What is Gremlin API?. Answer: Based on Apache TinkerPop Graph
transversal language. This uses a Graph structure. This stores entities but
also:
1. Vertices - (entity such as person, device or event)
2. Edges - Relationships between vertices
3. Properties - each of the attributes that are assigned to a vertex or edge.
● Can you use multiple APIs in a single CosmosDB account?. Answer:
No you can only choose one.
● What is a logical partition for Cosmos DB. Answer: When you divide
a CosmosDB container into smaller pieces, each piece is a logical
partition. All items stored on this partition share the same partition key.
QUESTIONS AND CORRECT ANSWERS
GRADED A+
● What are the 4 ways you can store your data in Cosmos DB?. Answer:
Key-Value
Column Family
Documents
Graph Approaches
● What are the current APIs that can access CosmosDB?. Answer: SQL,
Cassandra, Table, Gremlin, and MongoDB
● What is SQL API?. Answer: It is the core and default API for
accessing data in CosmosDB. You can query JSON objects using SQL
syntax, Uses Javascript. This is a Data Structure based on Documents.
● What is Table API. Answer: It is like the evolution of Azure Table
Storage. It has High Performance, low latency, and highly scalable
features. Can migrate from Azure table storage with no code
modifications. You can define your own indexes. This is a data structure
based on Documents.
, ● What is Cassandra API?. Answer: This is a wire protocol Apache Data
Base. How this is implemented means you do not have to worry about
operations or performance management tasks related to managing this
DB. Can migrate from a Cassandra DB to this DB merely by changing
the connection string. Compatible with CQLv4 wire protocol. This is a
Column Based DB that stores info in a Key-Value approach.
● What is MongoDB API?. Answer: This is a NoSQL DB with a
Document based Structure. CosmosDB enables a wire protocol to
connect but this API must be version 3.2 or higher.
● What is Gremlin API?. Answer: Based on Apache TinkerPop Graph
transversal language. This uses a Graph structure. This stores entities but
also:
1. Vertices - (entity such as person, device or event)
2. Edges - Relationships between vertices
3. Properties - each of the attributes that are assigned to a vertex or edge.
● Can you use multiple APIs in a single CosmosDB account?. Answer:
No you can only choose one.
● What is a logical partition for Cosmos DB. Answer: When you divide
a CosmosDB container into smaller pieces, each piece is a logical
partition. All items stored on this partition share the same partition key.