Cosmos DB for Apache Cassandra Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Azure Cosmos DB

What you'll be asked

  1. Which API should you select when creating an Azure Cosmos DB account to ensure compatibility with existing Apache Cassandra applications?
  2. In Azure Cosmos DB for Apache Cassandra, what is the primary purpose of the partition key in a table schema?
  3. When migrating an existing Cassandra workload to Azure Cosmos DB, which feature allows you to maintain high availability and low latency by replicating data across multiple Azure regions?
  4. You are designing a schema for a user-activity log in Cosmos DB for Apache Cassandra. Which of the following is considered a best practice for query performance?
  5. You have a table with a partition key 'user_id' and a clustering column 'timestamp'. You attempt to run a query: 'SELECT * FROM activity WHERE timestamp = '2023-10-01''. Why might this query perform poorly or fail in a production environment?

Answers and explanations come after you submit.