CosmoDB Flashcards
(76 cards)
What is Azure Cosmos DB?
Azure Cosmos DB is a globally distributed, multi-model database service designed to provide high availability, low latency, and scalability.
True or False: Azure Cosmos DB supports only SQL as a query language.
False
Name three data models supported by Azure Cosmos DB.
Document, key-value, and graph.
What consistency models does Azure Cosmos DB offer?
Strong, bounded staleness, session, consistent prefix, and eventual consistency.
Fill in the blank: Azure Cosmos DB is designed for __________.
global distribution.
What is the maximum size of a single item in Azure Cosmos DB?
2 MB
True or False: Azure Cosmos DB can automatically scale throughput.
True
What is the purpose of the Azure Cosmos DB emulator?
To allow developers to build and test applications locally without needing an Azure subscription.
Which API can be used to interact with Azure Cosmos DB in a SQL-like manner?
SQL API
What is the default consistency level in Azure Cosmos DB?
Session consistency.
How does Azure Cosmos DB ensure high availability?
By replicating data across multiple regions.
What feature does Azure Cosmos DB provide for automatic indexing?
Automatic indexing of all data without requiring schema or secondary indexes.
What is the term for the ability of Azure Cosmos DB to scale read and write operations across multiple regions?
Global distribution.
True or False: Azure Cosmos DB can only be accessed through the Azure portal.
False
What is the maximum throughput that can be provisioned for a container in Azure Cosmos DB?
Up to 1,000,000 RU/s.
What does RU/s stand for in the context of Azure Cosmos DB?
Request Units per second.
Fill in the blank: Azure Cosmos DB allows for __________ scaling.
horizontal.
What is the purpose of partitioning in Azure Cosmos DB?
To distribute data across multiple servers for scalability and performance.
What types of applications benefit most from Azure Cosmos DB?
IoT applications, real-time analytics, and global applications.
True or False: You can run Azure Cosmos DB on-premises.
False
What is the process to create a new Azure Cosmos DB account?
Use the Azure portal, Azure CLI, or Azure SDKs.
Name one key feature of Azure Cosmos DB’s multi-model capability.
It allows users to choose between different APIs such as SQL, MongoDB, Cassandra, Gremlin, and Table.
What is Azure Cosmos DB’s SLA for availability?
99.999% availability.
What is the purpose of the change feed in Azure Cosmos DB?
To provide a persistent record of changes made to items in a container.