Azure Storage Flashcards
What are blobs?
files for the cloud
What’s virtual directories?
to give a blob hierachical names that looks like file path eg. finance/bidgets/2017/q1.xls. Let u navigate.
What does unstructured data mean?
data that doesn’t adhere/attached to a particular data model/definition (eg. text, binary data)
What does Blob Storage store?
store massive amounts of unstructured data.
What are the two performance levels of storage account Azure Storage offers?
- Standard: This is the standard general-purpose v2 account and is recommended for most scenarios using Azure Storage. Support Blob, File, Queue, Table Storage.
- Premium: Premium accounts offer higher performance by using solid-state drives. If you create a premium account you can choose between three account types, block blobs, page blobs, or file shares.
What are the different access tiers for block blob data?
- Hot: optimized for frequent access of objects in the storage account. Highest storage costs, but the lowest access costs. Default
- Cool: optimized for storing large amounts of data that is infrequently accessed and stored for at least 30 days. Lower storage costs and higher access costs compared to the Hot tier.
- Archived: available only for individual block blobs. Optimized for data that can tolerate several hours of retrieval latency and will remain in the Archive tier for at least 180 days
Which access tier is the most cost-effective option for storing data?
Archived access tier
Which access tier is the most expensive option for accessing data?
Archived access tier
Which access tier has the highest storage cost?
Hot tier
Which access tier has the lowest access cost?
Hot tier
What are the different blob types?
- Page blobs
- Append blobs
- Block blocs
What is Page blobs used for?
- store random access files up to 8TB
- store virtual hard drive (VHD) files
used by Azure VM (filename.vhd) - random read/write scenarios
What is Append blobs used for?
- made up of blocks like Block blobs, but are optimised for append operations
- ideal for logging data from virtual machines.
What is Block blobs used for?
- store text and binary data, pictures, video etc
- best choice for most scenarious that doesn’t specifically call for append/page blobs
What are the ways to rehydrate blob from achive tier?
- Copy an archived blob to an online tier
(cool/hot tier) - Change a blob’s access tier to an online tier (cool/hot tier)
What’s Azure Cosmos DB?
NoSQL db,
provides low latency, elastic scalability of throughput, high availability
Benefit with Azure Cosmos DB?
perform near real-time reads and writes against all the regions you chose for your database
What are the different consistency levels in Cosmos DB?
- Strong consistency
- Bounded staleness consistency
- Session consistency
- Consistent prefix consistency
- Eventual consistency
What’s strong consistency?
- client always sees latest committed write. Never see uncommited or partial write.
- serving requests concurrently (at the same time)
lowest availability, highest latency, lowest throughput
What’s eventual consistency?
- Weakest form of consistency
- No ordering guarantee for reads. Client might read values older than the ones it read before.
- no guarantee getting write back when read.
Highest availability, lowest latency, higher throughput, lowest cost
Eg. Retweets, Likes, nonthreaded comments
What can Cosmos DB item represent as?
Depending on which API you use, an Azure Cosmos DB item can represent either a document in a collection, a row in a table, or a node or edge in a graph.
When creating a container in Cosmos DB, where can you configure throughput ?
- Shared provisioned throughput mode
- Dedicated provisioned throughput mode