Describe Azure Cosmos DB Flashcards
What is Azure Cosmos DB?
A multi-model NoSQL database management system.
How much data can a document hold in Cosmos DB?
2 MB.
How does Azure Cosmos DB store data?
In documents grouped together into partitions. These documents are organised into containers.
What is Gremlin?
A graph database.
What is Cassandra?
A column family database.
What is MongoDB?
A document database.
What is the purpose of Cosmos DB’s Table, Cassandra, MongoDB, and (possibly) Gremlin APIs?
To support existing applications.
What are the common uses of Azure Cosmos DB?
IoT and telematics.
Retail and marketing,
Gaming.
Web and mobile applications.
What management benefits do Azure Cosmos DB provide and what do they do?
High scalability with virtually no administration.
High availability (99.99% guarantee) through local replication and automatic failover.
Geo-replication support with 5 consistency levels, at additional cost.
Guaranteed less-than 10-ms latencies for reads and writes at the 99th-percentile globally.
Certified for multiple compliance standards.
All data is encrypted at rest and in motion.
What’s in a partition in Azure Cosmos DB?
A set of documents that share a common partition key.
What is an ideal partition key?
One that collects all related documents together.
How are documents in Azure Cosmos DB sorted?
By an automatically maintained index that contains document IDs and the values of fields in each document.
What does the Azure Cosmos DB index do?
It enables you to perform queries that specify criteria referencing any fields in a container, without a need to scan the partition to find that data.
What is a partition key?
A field in your documents. You get to choose it.
What SDKS can you use with Cosmos DB?
.NET, NodeJS, Java, Spring and Python.