




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





What is Cosmos DB - CORRECT ANSWER ✅✅It is a premium storage service that Azure provides for a globally distributed, low latency, highly responsive, and always online Database. Has scalability and throughput in mind. What are the 4 ways you can store your data in Cosmos DB? - CORRECT ANSWER ✅✅Key-Value Column Family Documents Graph Approaches What are the current APIs that can access CosmosDB? - CORRECT ANSWER ✅✅SQL, Cassandra, Table, Gremlin, and MongoDB What is SQL API? - CORRECT ANSWER ✅✅It is the core and default API for accessing data in CosmosDB. You can query JSON objects using SQL syntax, Uses Javascript. This is a Data Structure based on Documents. What is Table API - CORRECT ANSWER ✅✅It is like the evolution of Azure Table Storage. It has High Performance, low latency, and highly scalable features. Can migrate from Azure table storage with no code modifications. You can define your own indexes. This is a data structure based on Documents. What is Cassandra API? - CORRECT ANSWER ✅✅This is a wire protocol Apache Data Base. How this is implemented means you do not have to worry about operations or performance management tasks related to managing this DB. Can migrate from a Cassandra DB to this DB merely by changing the connection string. Compatible with CQLv4 wire protocol. This is a Column Based DB that stores info in a Key-Value approach.
What is MongoDB API? - CORRECT ANSWER ✅✅This is a NoSQL DB with a Document based Structure. CosmosDB enables a wire protocol to connect but this API must be version 3.2 or higher. What is Gremlin API? - CORRECT ANSWER ✅✅Based on Apache TinkerPop Graph transversal language. This uses a Graph structure. This stores entities but also:
What is Session consistency? - CORRECT ANSWER ✅✅Offers the best balance between strong consistency and performance. Best fits write operations occurring in the user session. What is Consistent Prefix consistency? - CORRECT ANSWER ✅✅Guarantees that you always read data in the same order that you wrote the data, but no guarantee that you can read all the data. What is Eventual Consistency? - CORRECT ANSWER ✅✅No guarantee for the order of data. In an absence of write operations the replicas eventually converge. Offers best performance at the cost of complexity. Only use if data is not essential. What is the Recommended default consistency level? - CORRECT ANSWER ✅✅Session The Cassandra Write Consistency level does... - CORRECT ANSWER ✅✅This maps to the default Cosmos DB account consistency level. The Cassandra Read Consistency level does... - CORRECT ANSWER ✅✅Cosmos DB dynamically maps the consistency level specified by the Cassandra driver client to one of the Cosmos DB levels. Mongo DB Write consistency level does... - CORRECT ANSWER ✅✅Maps to the default Cosmos DB consistency level. MongoDB Read consistency level does... - CORRECT ANSWER ✅✅Dynamically mapped to the level specified by the MongoDB driver client to one of the Cosmos DB levels How do you configure a master region? - CORRECT ANSWER ✅✅You can configure a MongoDB Master region by configuring the region as the first writable Cassandra API does not call itself a database, instead it calls itself a... - CORRECT ANSWER ✅✅Keyspace
What is Dedicated Throughput for CosmosDB? - CORRECT ANSWER ✅✅All the throughput is provisioned for a container, Azure makes a reservation of resources for the container that is backed by SLAs. What is Shared Throughput for CosmosDB? - CORRECT ANSWER ✅✅Throughput is shared between all containers, configured at Database level. IndexingPolicy Property for Containers. - CORRECT ANSWER ✅✅By default all properties of an item are automatically indexed. This property allows you to configure how to index the items in a container. TimeToLive Property for Containers - CORRECT ANSWER ✅✅Expressed in seconds. Will delete when the TTL is reached. If configured at the container level, all items in container have same TTL. Value of - 1 means item will not expire. If you set a TTL on an item inside a container without a TTL the item TTL will have no effect. ChangeFeedPolicy Property for Containers - CORRECT ANSWER ✅✅Provides a readable log that shows original and modified values of an item. Can process changes asynchronously. Can use this for triggering notifications or calling APIs when a new item is inserted or an existing item is modified. UniqueKeyPolicy Property for Containers - CORRECT ANSWER ✅✅Can configure which property of an item is used as the unique key. Ensures that you cannot insert two items with the same value for the same item. Cannot be changed once created. If you need to change properties for a container already created what must you do? - CORRECT ANSWER ✅✅Delete and recreate with the correct properties. Before you can call on a trigger, stored procedure or user defined function, what must be done? - CORRECT ANSWER ✅✅They must be registered. What is Azure Blob Storage? - CORRECT ANSWER ✅✅A service that allows you to store lots of data such as images, videos, office documents and more for a fairly low price. Highly available.
What is a block lease? - CORRECT ANSWER ✅✅A short block that the blob service sets on a blob or container item for granting exclusive access to that item. What are the 5 forms of Lease? - CORRECT ANSWER ✅✅1. Available
Leasing assures what? - CORRECT ANSWER ✅✅That only you have access to make modifications to a blob. Extremely helpful when moving blobs. When you get a lease for a blob what happens? - CORRECT ANSWER ✅✅You get exclusive write and delete access. When you get a lease for a container what happens? - CORRECT ANSWER ✅✅You get exclusive delete access. What are the 3 Data access tiers. - CORRECT ANSWER ✅✅Hot Cool Archive What is the Hot access tier - CORRECT ANSWER ✅✅More frequently accessed data. Default tier. What is the cool access tier? - CORRECT ANSWER ✅✅Less frequently accessed data. Stored for atleast 30 days. What is the archive access tier? - CORRECT ANSWER ✅✅Use this for long term storage. Stored for atleast 180 days. Available only at the Blob level. What is rehydration? - CORRECT ANSWER ✅✅Moving any Archive tier storage to either cool or hot. Costs money and takes time. What is a Filter set? - CORRECT ANSWER ✅✅A policy when trying to write the rule to move stored data between tiers. Sets the limits to the actions to only a group of items that match a filter criteria. What is a Action Set - CORRECT ANSWER ✅✅A policy when trying to write the rule to move stored data between tiers. Use this to define the actions that are performed on the items that matched the filter.