Which consistency level allows reads to only see acknowledged writes?
AEventual
BStrong
CSession
DBounded Staleness
Explanation
Session consistency allows reading only acknowledged writes, while others may read stale data or uncommitted writes.
Q92
A company needs to completely avoid any downtime during database migrations. Which Azure Cosmos DB feature should they use?
AManual failover
BChange Feed
CMulti-region Writes
DContinuous Backup
Explanation
Multi-region Writes enable active-active database access, reducing downtime during migrations, while others do not directly prevent downtime.
Q93
You are configuring throughput for a container in Cosmos DB. What happens when you exceed the provisioned throughput?
AAll operations fail immediately
BRequests are automatically throttled
CThe database shuts down
DThroughput is temporarily increased
Explanation
Requests are throttled when exceeding provisioned throughput, ensuring stability, while others misinterpret operational behavior.
Q94
Which consistency model allows reads to see the most recent committed write?
AStrong
BEventual
CBounded Staleness
DSession
Explanation
Strong consistency ensures the latest write is always read, while others allow for stale reads.
Q95
A company needs to store JSON documents with automatic scaling. Which Cosmos DB API should they choose?
ASQL API
BMongoDB API
CGraph API
DTable API
Explanation
The SQL API supports JSON documents with automatic scaling capabilities.
Q96
What happens when a partition key value evolves in Cosmos DB?
AThe item is deleted.
BThe item is merged.
CThe item remains unchanged.
DIt causes a conflict.
Explanation
Items retain their partition key and do not change, even if the value evolves.
Q97
Which service provides global distribution for Cosmos DB?
AAzure Traffic Manager
BAzure Data Factory
CAzure Cosmos DB
DAzure Blob Storage
Explanation
Azure Cosmos DB natively supports global distribution, while the others do not primarily provide this feature.
Q98
A company needs to query their data in real-time with low latency. What should they utilize in Azure Cosmos DB?
AStored Procedures
BChange Feed
CServerless API
DPartitioning Strategy
Explanation
The Change Feed enables real-time processing of changes in the database, unlike the other options.
Q99
What happens when you change the consistency level of Azure Cosmos DB?
AExisting data is deleted
BAll transactions are rolled back
CQuery performance may vary
DNew containers are created
Explanation
Changing the consistency level can affect the performance of queries depending on the chosen level, while the others are factually incorrect.
Q100
Which consistency model in Azure Cosmos DB ensures the lowest latency?
AEventual consistency
BStrong consistency
CSession consistency
DBounded staleness
Explanation
Eventual consistency provides the fastest response times, allowing for low-latency operations; while the others incur more overhead.