Azure Blob storage Flashcards
What languages have client libraries available for Azure Blob storage?
Client libraries are available for different languages, including:
- .NET
- Java
- Node.js
- Python
- Go
What are containers in Azure Blob storage?
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.
What are different blobs supported by Azure Blob storage?
Azure Storage supports three types of blobs:
- 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.
- 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.
- 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
What are the different mechanisms using which data can be moved to Azure Blob storage?
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
What Nuget package is used to work with Azure Blobs?
Azure.Storage.Blobs
Which role is required to be assigned to the account when working with Blobs?
Storage Blob Data Contributor
What is the use of BlobServiceClient when working with Azure Blob SDK?
Allows you to manipulate Azure Storage resources and blob containers.
What is the use of BlobContainerClient when working with Azure Blob SDK?
Allows you to manipulate Azure Storage containers and their blobs.
What is the use of BlobClient when working with Azure Blob SDK?
Allows you to manipulate Azure Storage blobs.
What is the command of AZCopy used to copy file from local folder to Blob in cloud?
azcopy copy “{local-folder-path}” “https://{storage-account-name}.{blob or dfs}.core.windows.net/{container-name}” –recursive=true
What is the command of AZCopy used to sync file changes from local folder to Blob in cloud?
azcopy sync “{local-folder-path}” “https://{storage-account-name}.blob.core.windows.net/{container-name}” –recursive=true
How to host a Static Website using Azure Blob storage?
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.
What are recommended ways to allow access to Blob storage?
- Entra ID
- SAS token
- Shared Key
What are the different types of SAS signatures?
- Account SAS
- Service SAS
- User Delegation SAS