Develop Solutions That Use Cosmos DB 11 Flashcards
What is the primary purpose of partitioning in Azure Cosmos DB?
a) To reduce the cost of storage
b) To optimize read and write throughput by distributing data evenly
c) To simplify the process of writing stored procedures
d) To increase the durability of stored data
b) To optimize read and write throughput by distributing data evenly
What is the primary characteristic of a logical partition in Azure Cosmos DB?
a) It is physically separated across different SSD storage
b) It groups data with the same partition key together
c) It allows for cross-partition queries
d) It is limited to 10,000 RUs of throughput
b) It groups data with the same partition key together
What is the primary limitation of a physical partition in Azure Cosmos DB?
a) It can only store up to 10 GB of data
b) It is limited to 10,000 RUs of throughput and 50 GB of storage
c) It cannot be changed once created
d) It requires manual configuration by the developer
b) It is limited to 10,000 RUs of throughput and 50 GB of storage
What is the primary consequence of a hot partition in Azure Cosmos DB?
a) It reduces the cost of storage
b) It causes uneven data distribution and slows down queries
c) It simplifies the process of writing stored procedures
d) It increases the durability of stored data
b) It causes uneven data distribution and slows down queries
What is the primary purpose of a partition key in Azure Cosmos DB?
a) To reduce the cost of storage
b) To group data logically for optimized query performance
c) To simplify the process of writing stored procedures
d) To increase the durability of stored data
b) To group data logically for optimized query performance
What is the primary benefit of using a high cardinality partition key for write-heavy workloads in Azure Cosmos DB?
a) It reduces the cost of storage
b) It ensures even distribution of data across physical partitions
c) It simplifies the process of writing stored procedures
d) It increases the durability of stored data
b) It ensures even distribution of data across physical partitions
What is the primary challenge of using a low cardinality partition key in Azure Cosmos DB?
a) It increases the cost of storage
b) It can lead to hot partitions and uneven data distribution
c) It simplifies the process of writing stored procedures
d) It increases the durability of stored data
b) It can lead to hot partitions and uneven data distribution
What is the primary purpose of a synthetic partition key in Azure Cosmos DB?
a) To reduce the cost of storage
b) To group similar data together with a composite key
c) To simplify the process of writing stored procedures
d) To increase the durability of stored data
b) To group similar data together with a composite key
What is the primary benefit of indexing in Azure Cosmos DB?
a) It reduces the cost of storage
b) It optimizes query performance by defining exact search locations
c) It simplifies the process of writing stored procedures
d) It increases the durability of stored data
b) It optimizes query performance by defining exact search locations
What is the primary consequence of a cross-partition scan in Azure Cosmos DB?
a) It reduces the cost of storage
b) It causes queries to hit all partitions, leading to slower performance
c) It simplifies the process of writing stored procedures
d) It increases the durability of stored data
b) It causes queries to hit all partitions, leading to slower performance
What is the primary limitation of changing a partition key in Azure Cosmos DB?
a) It cannot be changed once the container is created
b) It requires manual reconfiguration of physical partitions
c) It increases the cost of storage
d) It simplifies the process of writing stored procedures
a) It cannot be changed once the container is created
What is the primary benefit of using a composite index in Azure Cosmos DB?
a) It reduces the cost of storage
b) It optimizes query performance for specific fields
c) It simplifies the process of writing stored procedures
d) It increases the durability of stored data
b) It optimizes query performance for specific fields