Microsoft Certified Azure Data Fundamentals · Free Practice Question Medium
Question 33
What does Cosmos DB use to ensure fast read and write performance?
-
A
Sharding
-
B
Clustering
-
C
Mirroring
-
D
Indexes and partitioning
Reveal correct answer
Correct answer: D
Explanation
Azure Cosmos DB uses indexes and partitioning to provide fast read and write performance, enhancing its ability to scale to massive volumes of data efficiently.
A. Sharding is a technique used to horizontally partition data across multiple servers to improve scalability and performance. While Cosmos DB may use sharding internally, it is not the primary mechanism used to ensure fast read and write performance.
B. Clustering is a method of organizing data into groups based on similarity or proximity. While clustering can improve data retrieval efficiency, it is not the primary mechanism used by Cosmos DB to ensure fast read and write performance.
C. Mirroring is a technique used to create and maintain redundant copies of data for fault tolerance and high availability. While mirroring can improve data reliability, it is not the primary mechanism used by Cosmos DB to ensure fast read and write performance.
D. Cosmos DB utilizes indexes and partitioning to ensure fast read and write performance. Indexes help optimize query performance by allowing efficient data retrieval, while partitioning distributes data across multiple physical partitions to enable parallel processing and scalability.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
