Cosmos MCQ Questions - Microsoft Azure
This section focuses on "Cosmos" of Microsoft Azure. These Multiple Choice Questions (MCQ) should be practiced to improve the Microsoft Azure skills required for various interviews (campus interview, walk-in interview, company interview), placements, entrance exams and other competitive examinations.
1. Which of the following is True regarding Azure Cosmos DB?
A. It supports relational data model.
B. It can be scaled horizontally.
C. The data can be distributed to fixed number of Azure regions.
D. Both A and B
View Answer
Ans : B
Explanation: Azure Cosmos DB supports multiple data models and the data can be distributed to any number of Azure regions.
2. Which one of the following is a data model supported by Azure Cosmos DB?
A. key-value
B. graph
C. table
D. All of the above
View Answer
Ans : D
Explanation: As Azure Cosmos DB supports multiple data models, it supports all the three data models.
3. Which container is supported in Azure Cosmos DB?
A. Fixed container
B. Unlimited Container
C. Both Fixed container and Unlimited Container
D. Neither Fixed container nor Unlimited Container
View Answer
Ans : C
Explanation: Azure Cosmos DB supports both the containers Fixed as well as Unlimited.
4. What is the maximum size of graph DB that a Fixed Container in cosmos DB can store?
A. 10GB
B. 15GB
C. 100GB
D. 50GB
View Answer
Ans : A
Explanation: Fixed container in Cosmos DB can store graph database of maximum size of 10 GB. For storing beyond that size, Unlimited container is used.
5. Select the API from the following options that Azure Cosmos DB support?
A. Gremlin API
B. Apache Cassandra API
C. Mongo DB API
D. All of the above
View Answer
Ans : D
Explanation: Azure Cosmos DB supports a wide range of APIs including these three.
6. Which one of the following logical partitions a single container in cosmos DB cannot have?
A. PHYSICAL
B. SALES
C. HR
D. PROD
View Answer
Ans : A
Explanation: Physical partition is a different kind of partition and it does not come under Logical partition.
7. Elastically scalable throughput and storage is possible in:
A. Azure Cosmos DB Graph API
B. Azure Cosmos DB SQL API
C. Both A and B
D. None of the above
View Answer
Ans : C
Explanation: Both Graph and SQL APIs of Azure Cosmos DB supports elastically scalable throughput and storage.
8. In which of the APIs of Azure Cosmos DB, is automatic indexing possible?
A. Graph API, SQL API, Table API
B. Graph API, SQL API
C. Graph API
D. SQL API, Table API
View Answer
Ans : A
Explanation: In all three above mentioned APIs, indexing is automatic.
9. What is the maximum latency limit for reads and writes in case of Azure Cosmos DB Table API?
A. 100ms
B. 10ms
C. 50ms
D. 5ms
View Answer
Ans : B
Explanation: Azure Cosmos DB Table API has latency for reads and writes of less than 10 ms.
10. Which one of the following is the feature of Azure Cosmos DB Graph API?
A. Automatic indexing
B. Fully managed
C. Multi-region replication
D. All of the above
View Answer
Ans : D
Explanation: Azure Cosmos DB Graph API has automatic indexing,multi-region replication and is fully managed which makes its use quite beneficial.
Discussion