Azure Blob storage Flashcards

1
Q

What languages have client libraries available for Azure Blob storage?

A

Client libraries are available for different languages, including:

  1. .NET
  2. Java
  3. Node.js
  4. Python
  5. Go
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are containers in Azure Blob storage?

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
3
Q

What are different blobs supported by Azure Blob storage?

A

Azure Storage supports three types of blobs:

  1. Block blobs store text and binary data. Block blobs are made up of blocks of data that can be managed individually. Block blobs can store up to about 190.7 TiB.
  2. Append blobs are made up of blocks like block blobs, but are optimized for append operations. Append blobs are ideal for scenarios such as logging data from virtual machines.
  3. Page blobs store random access files up to 8 TiB in size. Page blobs store virtual hard drive (VHD) files and serve as disks for Azure virtual machines. For more information about page blobs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the different mechanisms using which data can be moved to Azure Blob storage?

A

A number of solutions exist for migrating existing data to Blob Storage:

  • AzCopy
  • Azure Storage Data Movement library
  • Azure Data Factory
  • Blobfuse
  • Azure Data Box
    -Azure Import/Export service
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What Nuget package is used to work with Azure Blobs?

A

Azure.Storage.Blobs

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

Which role is required to be assigned to the account when working with Blobs?

A

Storage Blob Data Contributor

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

What is the use of BlobServiceClient when working with Azure Blob SDK?

A

Allows you to manipulate Azure Storage resources and blob containers.

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

What is the use of BlobContainerClient when working with Azure Blob SDK?

A

Allows you to manipulate Azure Storage containers and their blobs.

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

What is the use of BlobClient when working with Azure Blob SDK?

A

Allows you to manipulate Azure Storage blobs.

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

What is the command of AZCopy used to copy file from local folder to Blob in cloud?

A

azcopy copy “{local-folder-path}” “https://{storage-account-name}.{blob or dfs}.core.windows.net/{container-name}” –recursive=true

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

What is the command of AZCopy used to sync file changes from local folder to Blob in cloud?

A

azcopy sync “{local-folder-path}” “https://{storage-account-name}.blob.core.windows.net/{container-name}” –recursive=true

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

How to host a Static Website using Azure Blob storage?

A

The first step is to configure your storage account to host a static website in the Azure portal. When you configure your account for static website hosting, Azure Storage automatically creates a container named $web. The $web container will contain the files for your static website.

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

What are recommended ways to allow access to Blob storage?

A
  1. Entra ID
  2. SAS token
  3. Shared Key
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the different types of SAS signatures?

A
  1. Account SAS
  2. Service SAS
  3. User Delegation SAS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a Stored Access Policy?

A

A stored access policy provides an additional level of control over service-level shared access signatures (SASs) on the server side. Establishing a stored access policy serves to group shared access signatures and to provide additional restrictions for signatures that are bound by the policy.

15
Q

What are the different Access Tiers for Blob storage?

A
  1. Hot
  2. Cool
  3. Cold
  4. Archive
16
Q

How long does it take for Lifecycle Management Policy to take effect in Azure Storage?

A

It can take up to 1 day.

17
Q

What does “Rehydrating” blob from Archive tier mean?

A

While a blob is in the archive access tier, it’s considered to be offline and can’t be read or modified. In order to read or modify data in an archived blob, you must first rehydrate the blob to an online tier, either the hot or cool tier.

18
Q

What are the two options using which blobs can be rehydrated?

A

Two options for rehydrating a blob that is stored in the archive tier:

  1. Copy an archived blob to an online tier: You can rehydrate an archived blob by copying it to a new blob in the hot or cool tier with the Copy Blob or Copy Blob from URL operation. Microsoft recommends this option for most scenarios.
  2. Change a blob’s access tier to an online tier: You can rehydrate an archived blob to hot or cool by changing its tier using the Set Blob Tier operation.
18
Q

What are different priorities that can be set for the “Rehydration” of blobs?

A

Rehydration priority options include:

  1. Standard priority: The rehydration request is processed in the order it was received and might take up to 15 hours.
  2. High priority: The rehydration request is prioritized over standard priority requests and might complete in under one hour for objects under 10 GB in size.
19
Q

What is WORM state in Azure Blob storage?

A

Immutable storage for Azure Blob Storage enables users to store business-critical data in a WORM (Write Once, Read Many) state. While in a WORM state, data cannot be modified or deleted for a user-specified interval. By configuring immutability policies for blob data, you can protect your data from overwrites and deletes.

20
Q

What are the two types of Immutable policies for Azur Blob storage?

A
  • Time based retention policy
  • Legal hold policy
21
Q

What are the pre-requisites for enabling Point-in Time Restore for Azure Blob storage?

A
  • Soft Delete
  • Change Feed
  • Blob versioning
22
Q

What is a Change Feed in Azure Blob storage?

A

Change feed provides transaction logs of all the changes that occur to the blobs and the blob metadata in your storage account. The change feed provides ordered, guaranteed, durable, immutable, read-only log of these changes. Client applications can read these logs at any time, either in streaming or in batch mode.

23
Q
A