Develop Solutions for Blob Storage Flashcards

1
Q

In order to move data you need to copy and then delete the source

A

True

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

What is the major advantage AzCopy has over Azure CLI?

A

AzCopy is all async and can resume progress of copy on failure

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

You want to quickly upload the data in a collection of small files held in a local folder to blob storage. This is a one-off request. You don’t want to overwrite blobs that have been modified in the last two days. Which tool should you use?

1) Azure CLI
2) AzCopy
3) .NET Storage Client library

A

1) Azure CLI

The Azure CLI is great choice for one-off file transfers and can be used to check the last modified date.

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

You want to transfer a series of large files to blob storage. It may take several hours to upload each file, and you’re concerned that if a transfer fails it shouldn’t have to restart from the beginning. Which tool is the most appropriate to do this task?

1) Azure CLI
2) AzCopy
3) The .NET Client Storage library.

A

2) AzCopy

AzCopy is ideal for transferring large files as it can run in the background and you can monitor the status AzCopy jobs.

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

You want to move a set of blobs in Azure storage from one storage account to another. You want to organize the blobs in the destination account in different folders, according to the month in which each blob was last updated. You’ll be performing this task at regular intervals. Which tool should you use?

1) Azure CLI
2) AzCopy
3) The .NET Client Storage library

A

3) The .NET Client Storage library

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

For Blob Storage, Whats the difference between Hot, Cool and Archive Tiers

A

Hot is for frequently used data and has higher costs (€) then they others. Cool is for data that is stored for at least 30 days. Archive Tier is files that are stored for atleast 180 days and has the lowsest cost (€) but ofc other trade offs.

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

What does WORM mean for Blob Storage?

A

Write Once, Read many. Term used for immutable storage.

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

Which HTTP verb should you use for setting metadata on a blob

A

PUT

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

What’s the URL for getting/setting metadata for a blob called {logo.png} in the {home} container in the {webdata} storage account

A

https://webdata.blob.core.windows.net/home/logo.png?comp=metadata

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

What’s missing from AzCopy that Azure CLI has?

A

AzCopy does not have the ability to select blobs based on modified date

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

When would you use Premium Block blob storage?

A

High transactions rates, small objects, or low latency

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

When would you use Premium page blob storage?

A

When you need page blobs

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

When would you use Premium File Share blob storage?

A

When you need File Shares (NFS)

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

What’s the difference between Locally redudant storage (LRS) and Zone redundant storage (ZRS)?

A

ZRS is copied across three avalibility zones in the same region. LRS is only copied across three avalbility sets

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

What are the three access tiers for blob store? And what are their differences?

A

Hot Tier - Online tier optimised for data that is accessed frequently. Has highest storage cost, but lowest access costs.

Cool Tier - Online tier optimised for storing data that is accessed infrequently. Data in the cool tier should be stored for a minimum of 30 days. Lower storage costs and higher access costs vs Hot Tier.

Archive Tier - Offline tier optimised for storing rarely accessed data, and has flexible latency requirements, in the order of hours. Data in the Archive tier should be stored or a minimum of 180 days.

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

What’s the end URL for setting blob metadata?

A

PUT - ?comp=metadata

17
Q

What’s the difference between properties and metadata for blob store?

A

User-defined metadata consists of one or more name-value pairs that you specify for a Blob storage resource. You can use metadata to store additional values with the resource. Metadata values are for your own purposes only, and don’t affect how the resource behaves.

System properties exist on each Blob storage resource. Some of them can be read or set, while others are read-only. Under the covers, some system properties correspond to certain standard HTTP headers. The Azure Storage client library for .NET maintains these properties for you.

https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-properties-metadata

18
Q

What are the properties that can be set for blob storage?

A
Cache control
Content type
Content MD5 
Content Encoding 
Content Language
Lease ID 
Request ID 
Content disposition 
Origin