CosmoDB Flashcards

(76 cards)

1
Q

What is Azure Cosmos DB?

A

Azure Cosmos DB is a globally distributed, multi-model database service designed to provide high availability, low latency, and scalability.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True or False: Azure Cosmos DB supports only SQL as a query language.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Name three data models supported by Azure Cosmos DB.

A

Document, key-value, and graph.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What consistency models does Azure Cosmos DB offer?

A

Strong, bounded staleness, session, consistent prefix, and eventual consistency.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Fill in the blank: Azure Cosmos DB is designed for __________.

A

global distribution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the maximum size of a single item in Azure Cosmos DB?

A

2 MB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

True or False: Azure Cosmos DB can automatically scale throughput.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the purpose of the Azure Cosmos DB emulator?

A

To allow developers to build and test applications locally without needing an Azure subscription.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which API can be used to interact with Azure Cosmos DB in a SQL-like manner?

A

SQL API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the default consistency level in Azure Cosmos DB?

A

Session consistency.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How does Azure Cosmos DB ensure high availability?

A

By replicating data across multiple regions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What feature does Azure Cosmos DB provide for automatic indexing?

A

Automatic indexing of all data without requiring schema or secondary indexes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the term for the ability of Azure Cosmos DB to scale read and write operations across multiple regions?

A

Global distribution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

True or False: Azure Cosmos DB can only be accessed through the Azure portal.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the maximum throughput that can be provisioned for a container in Azure Cosmos DB?

A

Up to 1,000,000 RU/s.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does RU/s stand for in the context of Azure Cosmos DB?

A

Request Units per second.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Fill in the blank: Azure Cosmos DB allows for __________ scaling.

A

horizontal.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is the purpose of partitioning in Azure Cosmos DB?

A

To distribute data across multiple servers for scalability and performance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What types of applications benefit most from Azure Cosmos DB?

A

IoT applications, real-time analytics, and global applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

True or False: You can run Azure Cosmos DB on-premises.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is the process to create a new Azure Cosmos DB account?

A

Use the Azure portal, Azure CLI, or Azure SDKs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Name one key feature of Azure Cosmos DB’s multi-model capability.

A

It allows users to choose between different APIs such as SQL, MongoDB, Cassandra, Gremlin, and Table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What is Azure Cosmos DB’s SLA for availability?

A

99.999% availability.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What is the purpose of the change feed in Azure Cosmos DB?

A

To provide a persistent record of changes made to items in a container.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What is the maximum number of regions an Azure Cosmos DB account can be distributed across?
Up to 30 regions.
26
True or False: Azure Cosmos DB supports only one API per account.
False
27
What is the mechanism used by Azure Cosmos DB for conflict resolution in multi-master replication?
Last write wins or custom conflict resolution logic.
28
Fill in the blank: Azure Cosmos DB supports __________ consistency levels.
five.
29
What is the role of a container in Azure Cosmos DB?
A container is the unit of scalability and is used to store items.
30
What does the term 'geo-replication' refer to in Azure Cosmos DB?
The ability to replicate data across multiple geographic regions for disaster recovery and performance.
31
Which API in Azure Cosmos DB is best suited for graph data?
Gremlin API.
32
True or False: Azure Cosmos DB can only store structured data.
False
33
What is the benefit of using Azure Cosmos DB's serverless option?
You only pay for the resources used, making it cost-effective for variable workloads.
34
What type of data does the Table API in Azure Cosmos DB primarily handle?
Key-value pairs.
35
What is the purpose of the Azure Cosmos DB SDKs?
To facilitate the development of applications that interact with Azure Cosmos DB.
36
Fill in the blank: Azure Cosmos DB can be integrated with __________ for analytics.
Azure Synapse Analytics.
37
What is the importance of the partition key in Azure Cosmos DB?
It determines how data is distributed across physical partitions.
38
True or False: Azure Cosmos DB is designed for low-latency access.
True
39
What is the significance of the 'Throughput' setting in Azure Cosmos DB?
It defines the number of request units allocated to a database or container.
40
What does the term 'multi-region writes' mean in Azure Cosmos DB?
The ability to perform write operations in multiple regions simultaneously.
41
What type of consistency is the most strict in Azure Cosmos DB?
Strong consistency.
42
Fill in the blank: Azure Cosmos DB supports __________ data replication.
multi-master.
43
What is the primary benefit of using the MongoDB API with Azure Cosmos DB?
Compatibility with existing MongoDB applications without code changes.
44
True or False: Azure Cosmos DB can handle both transactional and analytical workloads.
True
45
What is the purpose of the Azure Cosmos DB Data Migration tool?
To assist in migrating data from other databases to Azure Cosmos DB.
46
What is the function of the Azure Cosmos DB Resource Manager?
To manage and configure Azure Cosmos DB resources.
47
Fill in the blank: Azure Cosmos DB allows for __________ backup and restore.
automated.
48
What is the Azure Cosmos DB pricing model based on?
Provisioned throughput and storage.
49
Which API in Azure Cosmos DB is designed for document storage?
SQL API.
50
What is the purpose of the Azure Cosmos DB analytical store?
To enable fast analytical queries on operational data.
51
True or False: Azure Cosmos DB can only be accessed over the internet.
False
52
What is the primary use case for the Cassandra API in Azure Cosmos DB?
To support applications built on Cassandra with minimal changes.
53
What is the main advantage of using Azure Cosmos DB for IoT applications?
It can handle high-velocity data streams with low latency.
54
Fill in the blank: Azure Cosmos DB provides __________ for monitoring and diagnostics.
metrics.
55
What is the role of the Azure Cosmos DB account in the Azure ecosystem?
It acts as a container for databases and resources.
56
True or False: Azure Cosmos DB supports SQL-like queries across all data models.
False
57
What is the significance of the 'Change Feed Processor' in Azure Cosmos DB?
It allows applications to listen to changes in real-time.
58
What type of database is Azure Cosmos DB classified as?
NoSQL database.
59
Fill in the blank: Azure Cosmos DB can be configured for __________ disaster recovery.
multi-region.
60
What is the primary benefit of using Azure Functions with Azure Cosmos DB?
To create serverless applications that respond to data changes.
61
True or False: You can use Azure Cosmos DB for both online and offline applications.
True
62
What is the maximum number of partitions that can be created in Azure Cosmos DB?
Unlimited.
63
What feature does Azure Cosmos DB provide for data redundancy?
Automatic data replication.
64
True or False: Azure Cosmos DB requires a fixed schema.
False
65
What is the main purpose of the Azure Cosmos DB SDK for .NET?
To enable .NET developers to interact with Azure Cosmos DB easily.
66
Fill in the blank: Azure Cosmos DB supports __________ based access control.
role.
67
What is the main advantage of using Azure Cosmos DB's serverless database option?
Cost savings for unpredictable workloads.
68
True or False: Azure Cosmos DB can handle both structured and unstructured data.
True
69
What does the term 'item' refer to in Azure Cosmos DB?
An individual record stored in a container.
70
What is the key feature of the Azure Cosmos DB Graph API?
It allows for querying and managing graph data structures.
71
Fill in the blank: Azure Cosmos DB provides __________ for developers to test their applications.
emulators.
72
What is the purpose of the Azure Cosmos DB integration with Azure Logic Apps?
To automate workflows based on data changes.
73
True or False: Azure Cosmos DB provides built-in support for geospatial data.
True
74
What is the primary function of the Azure Cosmos DB REST API?
To provide a programmatic interface for interacting with Azure Cosmos DB.
75
What is the role of Azure Cosmos DB in a microservices architecture?
To serve as a scalable and flexible database solution for individual services.
76
Fill in the blank: Azure Cosmos DB is designed to handle __________ workloads.
high-throughput.