3.1, 3.2 - Azure Storage Accounts, Cosmos DB and Blob Storage Flashcards

1
Q

What is the difference between Managed Storage and Storage Account when it comes to pricing?

A

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

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

What is the downside for setting “strong consistency” on a Cosmos DB database with a lot of replicas?

A

There might be delays in reading data as it waits for the data to be replicated

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

What is one major advantage that Cosmos DB offers over a Storage Account table storage?

A

Sub 10ms latency guaranteed

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

What is the weakest form of data consistency

A

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

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

Which data consistency offers a linearizability guarantee?

A

Strong

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

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?

A

Bounded Staleness

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

Which consistency level guarantees that read never see out-of-order writes?

A

Consistent Prefix

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

What command you would use to transfer blobs between containers and storage accounts

A

az storage blob copy

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

With Cosmos DB, you do not pay for CPU, IOPS, or memory. What two elements are used to determine pricing?

A

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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly