MICROSOFT AZURE - EXAM REF AZ-
204 CHAPTER 2 - D306 AZURE
DEVELOPER ASSOCIATE. EXAM 2025
QUESTIONS AND ANSWERS
What is Cosmos DB - ANS It is a premium storage service that Azure provides for a globally
distributed, low latency, highly responsive, and always online Database. Has scalability and
throughput in mind.
What are the 4 ways you can store your data in Cosmos DB? - ANS Key-Value
Column Family
Documents
Graph Approaches
What are the current APIs that can access CosmosDB? - ANS SQL, Cassandra, Table, Gremlin,
and MongoDB
What is SQL API? - ANS 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 - ANS 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
1 @COPYRIGHT THEBRIGHT 2025/2026
, with no code modifications. You can define your own indexes. This is a data structure based on
Documents.
What is Cassandra API? - ANS 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? - ANS 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? - ANS 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? - ANS No you can only choose one.
What is a logical partition for Cosmos DB - ANS 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.
What is a physical partition for CosmosDB? - ANS A group of replicas of data that is physically
stored on servers. Azure manages this group of replicas. Can contain one or more Logical
partitions.
By default what is the storage limit for a logical partition? - ANS 20GB
2 @COPYRIGHT THEBRIGHT 2025/2026