Develop Solutions That Use Cosmos DB 1&2&3 Flashcards
What is the primary challenge for relational database developers when learning Cosmos DB?
a) The lack of structure in Cosmos DB compared to relational databases
b) The high cost of Cosmos DB
c) The difficulty of writing stored procedures in JavaScript
d) The lack of ACID transaction support
a) The lack of structure in Cosmos DB compared to relational databases
What is the top-level structure in Azure Cosmos DB?
a) Database
b) Container
c) Account
d) Item
c) Account
What is the primary benefit of using Azure Cosmos DB for cloud-native applications?
a) It provides a 10ms guarantee for reads and writes on 99% of requests
b) It is cheaper than traditional relational databases
c) It requires no configuration for replication and failover
d) It supports unlimited throughput without any cost considerations
a) It provides a 10ms guarantee for reads and writes on 99% of requests
What is the availability guarantee for Azure Cosmos DB accounts with multi-region read and write capabilities?
a) 99.9%
b) 99.99%
c) 99.999%
d) 100%
c) 99.999%
What is the primary purpose of Request Units (RUs) in Azure Cosmos DB?
a) To measure the storage capacity of a Cosmos DB account
b) To measure the throughput and cost of operations in Cosmos DB
c) To determine the number of containers in a database
d) To calculate the replication latency between regions
b) To measure the throughput and cost of operations in Cosmos DB
What is the maximum number of free Cosmos DB accounts you can create per Azure subscription?
a) 1
b) 5
c) 10
d) Unlimited
a) 1
What is the default throughput provided for a free Azure Cosmos DB account?
a) 100 RUs
b) 500 RUs
c) 1,000 RUs
d) 10,000 RUs
c) 1,000 RUs
What is the primary difference between a container in Cosmos DB and a table in a relational database?
a) Containers store unstructured JSON documents, while tables store structured rows and columns
b) Containers are only used for stored procedures, while tables store data
c) Containers are more expensive to maintain than tables
d) Containers do not support ACID transactions
a) Containers store unstructured JSON documents, while tables store structured rows and columns
What is the primary advantage of Cosmos DB’s multi-region read and write capabilities?
a) It reduces the cost of storage
b) It allows applications to read from and write to any region with automatic replication
c) It increases the durability of stored data
d) It simplifies the process of writing stored procedures
b) It allows applications to read from and write to any region with automatic replication
What is the primary language used for writing stored procedures and triggers in Azure Cosmos DB?
a) SQL
b) Python
c) JavaScript
d) C#
c) JavaScript
What is the primary benefit of Cosmos DB’s ACID transaction capability?
a) It ensures data consistency and reliability across operations
b) It reduces the cost of storage
c) It simplifies the process of writing stored procedures
d) It increases the durability of stored data
a) It ensures data consistency and reliability across operations
What is the primary reason for choosing Azure Cosmos DB over Azure Table Storage?
a) Cosmos DB provides higher availability and global replication
b) Cosmos DB is cheaper than Table Storage
c) Cosmos DB supports relational data structures
d) Cosmos DB does not require any configuration for replication
a) Cosmos DB provides higher availability and global replication