Courseiva

DP-900 Practice Question: Describe considerations for working with non-relational data on Azure

A retail company uses Azure Cosmos DB to store product catalog data. They experience high request unit (RU) consumption during peak hours, leading to throttling. Which action should they take to reduce RU consumption without changing the application code?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Enable the Azure Cosmos DB integrated cache

Enabling the Azure Cosmos DB integrated cache caches frequently accessed data in memory, reducing the need to repeat queries against the backend and thus lowering RU consumption without changing application code. Option A is incorrect: switching to the Cassandra API does not inherently reduce RU consumption; it changes the data model and query interface. Option B is incorrect: while a composite index can improve query performance, it may increase RU consumption for writes and does not directly address read-heavy throttling. Option D is incorrect: increasing provisioned RU/s increases throughput capacity but does not reduce consumption; it may even encourage more usage and higher costs.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Switch to the Cassandra API

    Why it's wrong here

    Switching to the Cassandra API merely changes the wire protocol used to communicate with Azure Cosmos DB; the underlying engine and its Request Unit (RU) cost model remain unchanged. Every operation that is translated from Cassandra syntax into a Cosmos DB request still consumes RUs, and the protocol translation can even add slight overhead. Therefore, this change would not reduce RU consumption for a read-heavy product catalog, and it would require a costly application rewrite without solving the intended cost issue.

  • Create a composite index on frequently queried fields

    Why it's wrong here

    While a composite index on frequently queried fields can lower the RU cost of specific read queries by improving lookup efficiency, it introduces a hidden cost: every new index must be updated on every insert, update, or delete, which increases write RU consumption. In a product catalog with ongoing price or inventory updates, the added write overhead can offset any read savings, and it does not address the dominant cost of repeated reads. Increasing index coverage is not a direct way to reduce overall RU consumption, especially when the same query is run many times.

  • Enable the Azure Cosmos DB integrated cache

    Why this is correct

    Enabling the Azure Cosmos DB integrated cache allows repeated point-reads and queries to be served directly from an in-memory cache inside the dedicated gateway, completely bypassing the backend engine. Because cached responses return data without touching the storage engine, they consume 0 RUs, directly reducing RU consumption for repeated reads of product catalog items. The cache is fully managed, has a default 5-minute TTL, and requires no application code changes—only enabling the dedicated gateway. This is precisely the right approach for read-heavy workloads where the same data is frequently accessed.

  • Increase the provisioned RU/s

    Why it's wrong here

    Increasing the provisioned RU/s only raises the throughput ceiling of the container, meaning you pay for more RU capacity per second, regardless of whether it is actually used. It does not change the number of RUs consumed by each individual request—it merely allows more requests to pass without being throttled. If the goal is to reduce RU consumption, adding capacity increases costs and fails to optimize the root cause; you would still be paying for every read, whereas caching or query optimization can lower per-request RU usage.

About these practice questions

This DP-900 question is part of Courseiva's 820-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DP-900 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DP-900 exam.