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 71–80 of 147
A company needs to automatically partition a large volume of documents in Azure Cosmos DB. What feature should they enable?
-
A
Manual Partitioning
-
B
Throughput Control
-
C
Partition Key
-
D
Data Exchange
Explanation
Enabling a Partition Key allows automatic distribution of items across partitions, optimizing performance.
What happens when you attempt to exceed the request units (RU/s) allocated for a container in Azure Cosmos DB?
-
A
Request is queued
-
B
Throttling occurs
-
C
Data is automatically archived
-
D
Container is deleted
Explanation
Exceeding RU/s results in throttling, where requests are rate-limited to maintain stability.
Which service allows multi-region writes in Azure Cosmos DB?
-
A
Global Distribution
-
B
Azure Functions
-
C
Blob Storage
-
D
Virtual Machines
Explanation
Global Distribution enables multi-region writes, while the others do not cater to this feature.
You are configuring a throughput for a Partitioned Container in Azure Cosmos DB. What is the minimum RU/s you can set?
-
A
100 RU/s
-
B
400 RU/s
-
C
1000 RU/s
-
D
200 RU/s
Explanation
The minimum guaranteed throughput for a partitioned container is 400 RU/s, not 100 or 200.
What happens when you exceed the maximum storage provisioned in an Azure Cosmos DB account?
-
A
Data is automatically deleted
-
B
Additional data is rejected
-
C
Throughput is throttled
-
D
Storage is automatically increased
Explanation
When exceeding maximum storage, additional writes are rejected, unlike throttling or deletion.
Which indexing mode can reduce storage cost in Cosmos DB?
-
A
Consistent
-
B
Spatial
-
C
Lazy
-
D
Hash
Explanation
Lazy indexing conserves storage costs but increases query time, while others provide different benefits.
A company needs multi-region data replication with minimal latency. Which Azure Cosmos DB feature should they enable?
-
A
Multi-Master
-
B
Geo-Replication
-
C
Automatic Failover
-
D
Transactional Consistency
Explanation
Multi-Master allows writes to any region, minimizing latency, while others do not provide this benefit.
You are configuring throughput for containers in Azure Cosmos DB. What happens when you exceed the provisioned RU/s?
-
A
Application crashes immediately
-
B
Requests are throttled
-
C
Throughput automatically increases
-
D
No impact on service
Explanation
Requests exceeding provisioned throughput are throttled, while other options misrepresent system behavior.
Which query language does Azure Cosmos DB primarily use?
-
A
SQL
-
B
NoSQL
-
C
JavaScript
-
D
XML
Explanation
Azure Cosmos DB primarily supports SQL-like syntax for querying items.
A company needs to enforce keys for database access. Which feature should they use in Azure Cosmos DB?
-
A
Shared Access Signatures
-
B
Database Migration Service
-
C
Change Feed
-
D
Resource Tokens
Explanation
Resource Tokens provide secure, granular access control for Cosmos DB resources.