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
Questions 11–20 of 147
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.