3.1, 3.2 - Azure Storage Accounts, Cosmos DB and Blob Storage Flashcards
What is the difference between Managed Storage and Storage Account when it comes to pricing?
Managed Storage is provisioned to a size and you pay for that size whether you use it at all or not
You’re billed for Azure Storage based on your storage account usage. All objects in a storage account are billed together as a group
What is the downside for setting “strong consistency” on a Cosmos DB database with a lot of replicas?
There might be delays in reading data as it waits for the data to be replicated
What is one major advantage that Cosmos DB offers over a Storage Account table storage?
Sub 10ms latency guaranteed
What is the weakest form of data consistency
Eventual - There’s no ordering guarantee for reads. A client may get the values which are older than the ones it had seen before, over time
Which data consistency offers a linearizability guarantee?
Strong
The reads might lag behind writes by at most “K” versions (that is, “updates”) of an item or by “T” time interval - which data consistency is this?
Bounded Staleness
Which consistency level guarantees that read never see out-of-order writes?
Consistent Prefix
What command you would use to transfer blobs between containers and storage accounts
az storage blob copy
With Cosmos DB, you do not pay for CPU, IOPS, or memory. What two elements are used to determine pricing?
Cosmos DB has the concept of Provisioned RU/s which gives you up to a certain requests per second. If you need more, you need to upgrade. It also charges for storage
- Provisioned Request Units per second
- Storage used in GB