Microsoft
AZ-204 · Question #178
You are developing a .Net Core application that manages images for an advertising company. The images are stored in blob storage with read access geo-zone-redundant storage (RA-GZRS) redundancy to ach
Sign in or unlock AZ-204 to reveal the answer and full explanation for question #178. The question stem and answer options stay visible for context.
Submitted by hans_de· Mar 30, 2026Develop for Azure storage
Question
You are developing a .Net Core application that manages images for an advertising company. The images are stored in blob storage with read access geo-zone-redundant storage (RA-GZRS) redundancy to achieve high availability and maximum durability. In case of regional outage, the application should be able to read data from secondary storage replication. Secondary storage replication should only be used if primary storage is unavailable. You develop the following code to create the object responsible for uploading and reading images from blob storage: string storageConnectionString = Environment.GetEnvironmentVariable("storageconnectionstring"); CloudStorageAccount storageAccount = CloudStorageAccount.Parse(storageConnectionString); blobClient = storageAccount.CreateCloudBlobClient(); You need to configure the blob client to meet the high availability requirement. Which location mode option should you use?
Options
- AblobClient.DefaultRequestOptions.LocationMode = LocationMode.SecondaryOnly;
- BblobClient.DefaultRequestOptions.LocationMode = LocationMode.SecondaryThenPrimary;
- CblobClient.DefaultRequestOptions.LocationMode = LocationMode.PrimaryThenSecondary;
- DblobClient.DefaultRequestOptions.LocationMode = LocationMode.PrimaryOnly;
Unlock AZ-204 to see the answer
You've previewed enough free AZ-204 questions. Unlock AZ-204 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#blob storage#RA-GZRS#LocationMode#geo-redundancy failover