Blob Storage Flashcards

1
Q

Objective

A

Store massive amounts of unstructured data

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

Types of resources

A

Blob storage offers three types of resources:
1. The storage account.
2. A container in the storage account.
3. A blob in a container.

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

Storage account

A

A storage account provides an unique namespaces for
data.

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

A container

A

A container organizes a set of blobs, similar to a directory in a
file system.
A storage account can include an unlimited number of
containers, and a container can store an unlimited number of
blobs.

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

Types of blobs

A

Block blobs store text and binary data, up to about 190 TB.

Append blobs are made up of blocks optimized for append
operations. This can be used for what?

Page blobs store random access files up to 8 TB in size. Page
blobs store virtual hard drive (VHD) files and serve as disks for
Azure virtual machines.

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

Performance tiers and when to use them

A

Premium
* Optimized for high transaction rates and single-digit consistent
storage latency
Interactive workloads, analytics, AI/ML, data transformation
Standard
* Optimized for high capacity and high throughput
Media contents, backup, bulk data processing

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

Access tiers

A

Hot access tier
* Optimized for frequent access of objects. Storage costs are
higher.
New storage accounts are created in the hot tier by default.
Cool access tier
* Optimized for storing large amounts of data that is infrequently
accessed and stored for at least 30 days. Accessing data may be
more expensive than accessing data in the hot tier.
Archive tier
* Optimized for data that can tolerate several hours of retrieval
latency and will remain in the Archive tier for at least 180 days.

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

Uses of redundancy

A

Redundancy can be used for:
1. Providing high availability / fault tolerance;
2. Providing faster access to data (due to additional copies
and location of copies).

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

Locally-redundant storage

A

Tolerate machine failures in a
region.
Data is replicated synchronously
three times within the primary
region.

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

Zone-redundant storage

A

Tolerates data center failures in
a given region.
Data is replicated synchronously
across three Azure availability
zones in the primary region.

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

Geo-redundant storage

A

Tolerates complete region failures – with RA-GRS, it is possible to
read from other region – potential better latency.

Data is replicated synchronously three times in the primary region,
then replicated asynchronously to the secondary region.

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

Geo-zone-redundant storage

A
  • Tolerates both data center failures and complete region failures –
    with RA-GZRS, it is possible to read from other region – potential
    better latency.
  • Data is replicated synchronously across three Azure availability zones
    in the primary region, then replicated asynchronously to the
    secondary region.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Inside a DC, data is replicated in different racks. Why?

A

In case there is a failure in a rack.

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

Soft delete

A

Blob soft delete protects an individual blob (or container)
from accidental deletes or overwrites.
* Maintains the deleted data for a specified period of time,
during which it is possible to “undelete” the blob.

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

Versioning

A
  • Allow to maintain multiple version for a blob.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What happens if multiple clients write to the same blob?

A

By default, Azure uses a last-writer-wins policy: all
updates are accepted, and the system will keep only the
one with the largest timestamp.

17
Q

Optimistic concurrency with conditional updates

A

A client can specify some condition that must hold for an
update to be accepted – e.g. that the current version of an
object is some version previously observed.

18
Q

Pessimistic concurrency

A

A client can lock a block for exclusive access.
Lock are granted with a lease time – the time the lock is
granted, after which the server assumes that the lock is lost
unless the client renews the lease.