Microsoft Azure Developer Associate AZ-204 Practice Question
You are developing a .NET 6 worker service that must upload a 5 GB file that resides on disk to an existing block blob in Azure Storage. You are using the Azure.Storage.Blobs v12 SDK and want a single high-level API call that automatically splits the file into blocks, performs parallel transfers, and transparently retries if the network connection is interrupted. Which method should you invoke to meet these requirements?
BlobClient.UploadAsync that accepts the local file path (optionally together with BlobUploadOptions) is the high-level convenience method designed for uploading files of any size. The SDK automatically breaks large payloads into blocks, uploads them in parallel, and handles transient-fault retries so you do not have to manage block IDs or commit operations yourself. StageBlockAsync and AppendBlockAsync are lower-level calls that require you to manually orchestrate block IDs or target an append blob, and DataLakeFileClient.UploadAsync targets the Data Lake Gen2 namespace rather than a block blob in the Blob service.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the difference between BlobClient and BlockBlobClient in the Azure SDK?
Open an interactive chat with Bash
How does BlobClient.UploadAsync manage large file uploads?
Open an interactive chat with Bash
When should you use AppendBlobClient instead of BlobClient?
Open an interactive chat with Bash
Microsoft Azure Developer Associate AZ-204
Develop for Azure storage
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .