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 121–130 of 147

Q121

Which service allows for global distribution of data in Azure Cosmos DB?

  • A Data Replication
  • B Multi-Region Writes
  • C Global Consistency
  • D Geo-Replication
Explanation Geo-Replication enables global distribution of data while others do not focus solely on the distribution aspect.
Q122

A company needs to manage throughput effectively in Azure Cosmos DB. What should they implement for cost efficiency?

  • A Partitioning
  • B Throttle Requests
  • C Autoscale Provisioning
  • D Manual Scaling
Explanation Autoscale Provisioning adjusts throughput dynamically based on usage, optimizing costs.
Q123

What happens when you enable the 'Multi-Region Writes' feature in Azure Cosmos DB?

  • A Only one region can be used.
  • B Increased latency for all writes.
  • C All regions support write operations.
  • D Data is not replicated immediately.
Explanation Multi-Region Writes allows for write operations in all regions, enhancing availability.
Q124

Which consistency model offers the lowest latency in Cosmos DB?

  • A Eventual Consistency
  • B Strong Consistency
  • C Bounded Staleness
  • D Session Consistency
Explanation Eventual consistency provides the lowest latency by allowing reads that might not reflect the latest writes, while others impose stricter limits on accesses.
Q125

A company needs to store customer transactional data with strict compliance and also requires low latency for reads. Which Cosmos DB feature should they use?

  • A Caching Layer
  • B Multi-Region Writes
  • C Dedicated Capacity
  • D Change Feed
Explanation Multi-Region Writes effectively optimize latency and global compliance, unlike the other options which do not meet both criteria.
Q126

What happens when you exceed the provisioned throughput for a Cosmos DB container?

  • A It automatically scales up.
  • B Requests are throttled.
  • C Data is lost.
  • D Operations are queued.
Explanation Exceeding provisioned throughput leads to request throttling, while others represent incorrect outcomes of throughput behavior.
Q127

Which feature of Cosmos DB provides guaranteed throughput?

  • A Provisioned Throughput
  • B Auto-scaling
  • C Serverless option
  • D Global distribution
Explanation Provisioned Throughput ensures a set capacity, while the others provide flexibility at different levels.
Q128

A company needs to ensure minimal latency for their global users. What should they do?

  • A Use a single-region database
  • B Implement global distribution
  • C Choose the serverless model
  • D Opt for automated scaling
Explanation Global distribution replicates data closer to users, reducing latency; the other options do not address user location effectively.
Q129

What happens when you exceed provisioned throughput in Cosmos DB?

  • A Requests are throttled
  • B Data is automatically deleted
  • C No impact on requests
  • D Data is replicated to another region
Explanation Exceeding throughput leads to throttled requests, while other options are not possible under such circumstances.
Q130

Which service allows for real-time analytics on Cosmos DB data?

  • A Azure Stream Analytics
  • B Azure Functions
  • C Azure Data Lake Storage
  • D Azure Logic Apps
Explanation Azure Stream Analytics provides real-time analytics capabilities; other options do not specifically target analytics on Cosmos DB data.