MicrosoftMicrosoft
AZ-204 · Question #578
AZ-204 Question #578: Real Exam Question with Answer & Explanation
Sign in or unlock AZ-204 to reveal the answer and full explanation for question #578. The question stem and answer options stay visible for context.
Submitted by ashley.k· Mar 30, 2026
Question
You have an Azure Queue Storage account that contains a queue named queue1. You plan to use Azure SDK for .NET to develop a solution that uses queue1. You need to author C# code that will return an approximate number of messages in queue1. Your solution must minimize the development effort. Which method should you use in your code?
Options
- AGetProperties method of the QueueClient class
- BGetProperties method of the QueueServiceClient class
- CPeekMessages method of the QueueClient class
- DGetStatistics method of the QueueServiceClient class
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.