โ† All AZ-200 Flashcard Decks

Azure Cosmos DB Flashcards

6 cards from real AZ-200 practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 6 Azure Cosmos DB flashcards as text
  1. What is the significance of the partition key in Azure Cosmos DB?

    Answer: It distributes data across logical partitions to enable horizontal scaling

    The partition key determines how data is distributed across logical partitions, enabling Cosmos DB to scale horizontally and process queries efficiently.

  2. Which consistency level in Azure Cosmos DB guarantees that reads always return the most recently written value?

    Answer: Strong

    Strong consistency guarantees that reads always reflect the latest committed write, providing linearizability at the cost of higher latency.

  3. What unit does Azure Cosmos DB use to measure and limit database operation throughput?

    Answer: RUs (Request Units)

    Request Units (RUs) are the currency for throughput in Cosmos DB; every operation consumes RUs based on complexity, size, and consistency level.

  4. Which Cosmos DB API is most appropriate for migrating an existing MongoDB application to Azure?

    Answer: MongoDB API

    The Azure Cosmos DB for MongoDB API is wire-protocol compatible with MongoDB, allowing existing MongoDB applications to connect with minimal code changes.

  5. What is the purpose of the Time to Live (TTL) feature in Azure Cosmos DB?

    Answer: Automatically deletes items after a specified number of seconds

    TTL automatically deletes documents after a configured number of seconds, enabling automatic data expiration without consuming RUs for manual deletes.

  6. What is the purpose of a stored procedure in Azure Cosmos DB?

    Answer: To execute atomic, transactional operations on items within a single partition

    Stored procedures in Cosmos DB run server-side JavaScript and execute atomically within a single logical partition, supporting ACID transactions.