Microsoft Azure

Azure Cosmos DB Developer Specialty

DP-420

Specialize in Azure Cosmos DB with the DP-420 exam designed for developers.

147 questions 0 views Free
Start Mock Test Timed · Full-length · Scored

Questions 11–20 of 147

Q11

A company needs to deploy a globally distributed application with minimal latency. Which Azure Cosmos DB feature should they use?

  • A Multi-Region Writes
  • B Single Region Design
  • C Change Feed
  • D Stored Procedures
Explanation Multi-Region Writes enable writes across multiple regions, reducing latency.
Q12

What happens when you exceed the provisioned throughput in Azure Cosmos DB?

  • A Throttling occurs
  • B Data is lost
  • C Performance improves
  • D No effect on operations
Explanation Exceeding throughput leads to request throttling until resources are available.
Q13

Which consistency model provides the highest availability in Cosmos DB?

  • A Eventual
  • B Bounded Staleness
  • C Session
  • D Strong
Explanation Eventual consistency offers high availability as it allows reads even when the data is not immediately consistent.
Q14

A company needs to store JSON documents and perform complex queries. Which Cosmos DB API should they use?

  • A Table API
  • B Gremlin API
  • C MongoDB API
  • D Cassandra API
Explanation The MongoDB API supports rich document-oriented queries and JSON document storage.
Q15

What happens when you configure a Cosmos DB container with a throughput of 0 RU/s?

  • A Container is created without charge
  • B Operation throttling occurs
  • C No data can be stored
  • D Container is deleted immediately
Explanation Setting throughput to 0 RU/s prevents any data operation, effectively making the container unusable.
Q16

Which consistency model allows reads to get the most recent committed write?

  • A Strong
  • B Bounded Staleness
  • C Eventual
  • D Session
Explanation Strong consistency guarantees the latest version on read, whereas others allow for outdated reads.
Q17

A company needs low-latency access to Azure Cosmos DB data across multiple regions. Which strategy should they implement?

  • A Single write region
  • B Multi-region replication
  • C Read replicas only
  • D Geo-redundant backup
Explanation Multi-region replication provides low-latency access by replicating data across multiple regions, unlike the other options.
Q18

What happens when you exceed the provisioned throughput in Azure Cosmos DB?

  • A Requests are throttled
  • B Data is lost
  • C Performance improves temporarily
  • D New requests are queued
Explanation Exceeding throughput results in throttled requests to maintain performance levels, contrary to the outcomes of other options.
Q19

Which service provides automatic indexing in Azure Cosmos DB?

  • A Azure Table Storage
  • B Azure Blob Storage
  • C Azure Cosmos DB
  • D Azure SQL Database
Explanation Azure Cosmos DB automatically indexes data for fast querying; others do not provide this feature.
Q20

A company needs to ensure its Azure Cosmos DB data is replicated across multiple regions. What should they use?

  • A Read Replicas
  • B Multi-region Writes
  • C Global Distribution
  • D Shared Clusters
Explanation Global Distribution allows replication across multiple regions; the other options do not fulfill this requirement.