Integrated Cache
← Back to DP-420 Terminology Reference
Category: Optimization
Summary: In-memory caching layer (via dedicated gateway) reducing RU cost/latency for repeated reads.
Overview
The Azure Cosmos DB integrated cache is an in-memory caching layer, provisioned via a dedicated gateway, that automatically caches the results of point reads and queries to reduce RU consumption and latency for repeated read operations, without requiring changes to application query logic.
More Info & Links
DP-420 Style Practice Questions
Q1. What is the main benefit of enabling the Azure Cosmos DB integrated cache?
- A. Reduced RU consumption and latency for repeated point reads and queries
- B. Automatic multi-region writes
- C. Stronger consistency guarantees than Strong consistency
- D. Elimination of the need for an indexing policy
Q2. What Azure Cosmos DB component is required to use the integrated cache?
- A. A dedicated gateway
- B. A stored procedure
- C. A synthetic partition key
- D. A composite index
Answer Key
Answers are listed at the very end so you can attempt the questions first.
- Q1 (Integrated Cache): A. Reduced RU consumption and latency for repeated point reads and queries — The integrated cache reduces RU cost and latency by serving repeated reads/queries from an in-memory cache.
- Q2 (Integrated Cache): A. A dedicated gateway — The integrated cache is provisioned through a dedicated gateway deployment.
DP-420: Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB — term detail page