Developing Solutions for Microsoft Azure (AZ-204) Practice Exam

Disable ads (and more) with a membership for a one time $2.99 payment

Developing Solutions for Microsoft Azure Exam. Prepare with flashcards and multiple choice questions, get hints and explanations for each question. Ace your test prep!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which Azure Storage client library class allows manipulation of both containers and blobs?

  1. BlobClient

  2. BlobContainerClient

  3. BlobUriBuilder

  4. StorageAccountClient

The correct answer is: BlobContainerClient

The BlobContainerClient class is specifically designed for managing both blob containers and the blobs within those containers. It provides a range of methods that enable developers to create, delete, and manage blob containers, as well as perform operations on the blobs contained within them. For instance, with BlobContainerClient, you can easily list the blobs in a particular container, upload new blobs, and manage access policies. This encapsulation of operations related to both containers and blobs makes it invaluable for developers using Azure Storage. Other classes, such as BlobClient, focus solely on individual blobs, meaning they do not provide functionality to manage containers. Similarly, the BlobUriBuilder is primarily used for constructing URIs for blob resources but does not manage them directly. The StorageAccountClient is a higher-level concept, abstracting storage account management but does not facilitate direct interaction with blobs or containers specifically.