Develop Solutions for Blob Storage Flashcards
In order to move data you need to copy and then delete the source
True
What is the major advantage AzCopy has over Azure CLI?
AzCopy is all async and can resume progress of copy on failure
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
1) Azure CLI
The Azure CLI is great choice for one-off file transfers and can be used to check the last modified date.
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.
2) AzCopy
AzCopy is ideal for transferring large files as it can run in the background and you can monitor the status AzCopy jobs.
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
3) The .NET Client Storage library
For Blob Storage, Whats the difference between Hot, Cool and Archive Tiers
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.
What does WORM mean for Blob Storage?
Write Once, Read many. Term used for immutable storage.
Which HTTP verb should you use for setting metadata on a blob
PUT
What’s the URL for getting/setting metadata for a blob called {logo.png} in the {home} container in the {webdata} storage account
https://webdata.blob.core.windows.net/home/logo.png?comp=metadata
What’s missing from AzCopy that Azure CLI has?
AzCopy does not have the ability to select blobs based on modified date
When would you use Premium Block blob storage?
High transactions rates, small objects, or low latency
When would you use Premium page blob storage?
When you need page blobs
When would you use Premium File Share blob storage?
When you need File Shares (NFS)
What’s the difference between Locally redudant storage (LRS) and Zone redundant storage (ZRS)?
ZRS is copied across three avalibility zones in the same region. LRS is only copied across three avalbility sets