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 51–60 of 147

Q51

You are configuring multi-master replication in Azure Cosmos DB. Which is a key feature of this setup?

  • A Single write region only.
  • B Automatic conflict resolution.
  • C Reduced availability during conflicts.
  • D Manual control over all writes.
Explanation Automatic conflict resolution is a feature of multi-master; the other options describe scenarios not applicable to this setting.
Q52

Which service in Azure Cosmos DB enables real-time analytics on operational workloads?

  • A Azure Synapse Analytics
  • B Change Feed
  • C Azure Databricks
  • D Azure Functions
Explanation Change Feed allows real-time processing of changes in data, while the others are used for different analytical purposes.
Q53

A company needs to ensure its Cosmos DB data is globally available with low latency. What should it do?

  • A Use a single-region deployment
  • B Implement partitioning
  • C Enable multi-region writes
  • D Increase provisioned throughput
Explanation Enabling multi-region writes ensures low latency and global availability by allowing writes to occur in multiple regions.
Q54

You are configuring a Cosmos DB container settings. What happens if you set a throughput of 400 RU/s?

  • A All operations will be throttled
  • B It will be cost-effective
  • C It can handle 400 reads per second
  • D It only allows 400 writes per second
Explanation 400 RU/s provides a balanced capacity for a variety of workloads but is primarily cost-effective not restricting it to reads or writes.
Q55

Which consistency model provides the strongest guarantees in Azure Cosmos DB?

  • A Strong
  • B Batched
  • C Eventual
  • D Session
Explanation Strong consistency provides the most stringent guarantees by ensuring reads return the latest committed write.
Q56

A company needs to automate its Azure Cosmos DB backups in a cost-effective way. Which feature should they use?

  • A Manual snapshotting
  • B Change Feed
  • C Continuous backup
  • D Point-in-time restore
Explanation Continuous backup automatically manages backups without requiring manual intervention.
Q57

You are configuring an Azure Cosmos DB account for global distribution. What is the recommended practice for latency optimization?

  • A Limit data regions to one
  • B Use partitioning wisely
  • C Enable multiple consistency levels
  • D Store all data in one region
Explanation Wisely using partitioning can optimize latency by ensuring data is evenly distributed across regions.
Q58

A company needs low latency and high availability for its application accessing time-sensitive data. Which Azure Cosmos DB consistency model should it choose?

  • A Bounded Staleness
  • B Eventual
  • C Strong
  • D Session
Explanation Session consistency provides low latency and is suitable for such scenarios, unlike Strong which incurs higher latency.
Q59

You are configuring automatic scale for your Azure Cosmos DB account to auto-modulate throughput. What threshold can you specifically set?

  • A Minimum RU/s
  • B Average CPU usage
  • C Maximum RU/s
  • D Disk space used
Explanation You can set a Maximum RU/s threshold but cannot set disk space as a criterion.
Q60

What happens when you perform a write operation in Azure Cosmos DB with a partition key but the related partition is offline?

  • A The write is rejected.
  • B The write is queued.
  • C The write fails with a timeout.
  • D The write is replicated to other regions.
Explanation In case the related partition is offline, the write operation is rejected as it cannot reach the target partition.