Develop Solutions That Use Cosmos DB 4&5&6 Flashcards
What is the recommended API for new development in Azure Cosmos DB?
a) Azure Cosmos DB for MongoDB
b) Azure Cosmos DB for NoSQL
c) Azure Cosmos DB for Apache Cassandra
d) Azure Cosmos DB for Table
b) Azure Cosmos DB for NoSQL
What is the primary reason to use the Azure Cosmos DB for MongoDB API?
a) To create new projects with minimal changes
b) To migrate existing MongoDB workloads with minimal application changes
c) To leverage relational database capabilities
d) To enable graph traversal queries
b) To migrate existing MongoDB workloads with minimal application changes
What is the primary use case for the Azure Cosmos DB for Apache Gremlin API?
a) To store and query relational data
b) To migrate existing Cassandra workloads
c) To create and traverse graph relationships
d) To enable multi-region writes
c) To create and traverse graph relationships
What is the primary benefit of using the Azure Cosmos DB for Table API?
a) To enable global replication and complex indexing for existing table storage solutions
b) To create new graph-based applications
c) To migrate PostgreSQL workloads
d) To enable multi-region writes for NoSQL data
a) To enable global replication and complex indexing for existing table storage solutions
What is the primary advantage of using the Provisioned Throughput capacity mode in Azure Cosmos DB?
a) It allows for unpredictable costs based on usage
b) It provides predictable costs with reserved RUs
c) It is ideal for bursting scenarios
d) It automatically scales without any configuration
b) It provides predictable costs with reserved RUs
What is the primary benefit of enabling multi-region writes in Azure Cosmos DB?
a) It reduces the cost of storage
b) It allows applications to write to multiple regions for better performance and availability
c) It simplifies the process of writing stored procedures
d) It increases the durability of stored data
b) It allows applications to write to multiple regions for better performance and availability
What is the primary caution when using the Serverless capacity mode in Azure Cosmos DB?
a) It can result in higher costs than Provisioned Throughput if not used correctly
b) It does not support multi-region writes
c) It requires manual scaling of RUs
d) It is not compatible with the NoSQL API
a) It can result in higher costs than Provisioned Throughput if not used correctly
What is the primary purpose of autoscaling in Azure Cosmos DB?
a) To reduce the cost of storage
b) To automatically adjust throughput based on demand
c) To enable multi-region writes
d) To simplify the process of writing stored procedures
b) To automatically adjust throughput based on demand
What is the primary benefit of using the Azure Cosmos DB for PostgreSQL API?
a) To enable graph traversal queries
b) To migrate existing MongoDB workloads
c) To work with distributed tables and highly scalable applications
d) To enable multi-region writes for NoSQL data
c) To work with distributed tables and highly scalable applications
What is the primary reason to limit the total throughput on an Azure Cosmos DB account?
a) To reduce the cost of storage
b) To prevent unexpected charges related to provisioned throughput
c) To enable multi-region writes
d) To simplify the process of writing stored procedures
b) To prevent unexpected charges related to provisioned throughput
What is the primary benefit of enabling Geo-Redundancy in Azure Cosmos DB?
a) It reduces the cost of storage
b) It allows for global replication and high availability
c) It simplifies the process of writing stored procedures
d) It increases the durability of stored data
b) It allows for global replication and high availability
What is the primary use case for the Azure Cosmos DB for Apache Cassandra API?
a) To migrate existing Cassandra workloads with minimal application changes
b) To create new graph-based applications
c) To enable multi-region writes for NoSQL data
d) To work with distributed tables and highly scalable applications
a) To migrate existing Cassandra workloads with minimal application changes