Work with Azure Blob storage Flashcards
What is the recommended version of the Azure Storage client library for new applications?
a) Version 10.x
b) Version 11.x
c) Version 12.x
d) Version 13.x
c) Version 12.x
What is the main purpose of the BlobClient
class in the Azure Storage client library?
a) To manipulate Azure Storage blobs
b) To configure storage account settings
c) To create a new storage account
d) To manage all storage services
a) To manipulate Azure Storage blobs
Which class in the Azure Storage client library allows manipulation of containers and their blobs?
a) BlobClient
b) BlobContainerClient
c) BlobServiceClient
d) BlobUriBuilder
b) BlobContainerClient
What is the role of the BlobServiceClient
class in Azure Blob storage?
a) It manages only the blob containers
b) It handles account configuration settings
c) It manipulates storage service resources and blob containers
d) It optimizes URI requests
c) It manipulates storage service resources and blob containers
Which Azure Storage client library package is used to operate on containers and blobs?
a) Azure.Storage.Blobs
b) Azure.Storage.Common
c) Azure.Storage.Files
d) Azure.Storage.Tables
a) Azure.Storage.Blobs
What is the purpose of the BlobClientOptions
class?
a) It provides configuration options for blob containers
b) It optimizes URI generation for blob access
c) It provides configuration options for connecting to Azure Blob Storage
d) It manages file storage permissions
c) It provides configuration options for connecting to Azure Blob Storage
Which class in the Azure Storage client library provides a convenient way to modify URI contents?
a) BlobClient
b) BlobContainerClient
c) BlobServiceClient
d) BlobUriBuilder
d) BlobUriBuilder
What does the Azure.Storage.Blobs.Specialized
package offer in the Azure Blob Storage client library?
a) It contains primary classes for blob operations
b) It includes utility classes and enumeration types
c) It provides classes for blob type-specific operations
d) It offers classes for managing files only
c) It provides classes for blob type-specific operations
In Azure Storage client library, which package contains utility classes and enumeration types?
a) Azure.Storage.Blobs.Specialized
b) Azure.Storage.Blobs.Models
c) Azure.Storage.Blobs
d) Azure.Storage.Models
b) Azure.Storage.Blobs.Models
What is the BlobContainerClient
class used for in Azure Blob Storage?
a) It configures storage account settings
b) It modifies URIs for storage resources
c) It manipulates Azure Storage containers and their blobs
d) It provides blob storage metadata only
c) It manipulates Azure Storage containers and their blobs
What is the first step when working with any Azure resource using the SDK?
a) Installing specific packages for the resource
b) Creating a client object
c) Setting up a local storage account
d) Configuring Microsoft Entra security
b) Creating a client object
What does DefaultAzureCredential handle in the creation of a client object?
a) Storage and encryption of data
b) Generation and refresh of authorization tokens
c) Authentication to Azure via a Microsoft Entra security principal
d) Allocation of blob storage containers
c) Authentication to Azure via a Microsoft Entra security principal
What access is required for a Microsoft Entra security principal to use a client object?
a) A subscription-based access level
b) A specific token-based access level
c) An Azure RBAC role granting blob data access
d) A predefined Microsoft Entra admin role
c) An Azure RBAC role granting blob data access
What is a BlobServiceClient object primarily used for?
a) Interacting with individual blob resources
b) Configuring account properties at the storage account level
c) Managing Azure credentials
d) Creating and managing custom tokens
b) Configuring account properties at the storage account level
What is required when creating a BlobServiceClient object?
a) A Microsoft Entra token
b) BlobClientOptions settings
c) A URI endpoint and DefaultAzureCredential
d) A specific storage key
c) A URI endpoint and DefaultAzureCredential
Which client object allows interaction with a specific Azure container resource?
a) BlobClient
b) BlobServiceClient
c) BlobContainerClient
d) ContainerEndpointClient
c) BlobContainerClient
How can a BlobContainerClient object be created without using BlobServiceClient?
a) By appending the container name to the URI
b) By using a local storage connection
c) By setting the storage account as public
d) By directly calling a Microsoft Entra security role
a) By appending the container name to the URI
What is an essential input for creating a BlobContainerClient directly?
a) Container metadata
b) BlobClientOptions
c) Blob access level
d) Azure RBAC token
b) BlobClientOptions