nerdexam
Microsoft

AZ-204 · Question #221

You develop Azure solutions. A .NET application needs to receive a message each time an Azure virtual machine finishes processing data. The messages must NOT persist after being processed by the…

The correct answer is A. QueueClient. Azure.Storage.Queues.QueueClient: .NET v12 Azure.Storage.Queues.CloudQueueClient: .NET v11 (Legacy) So, the question is really about what kind of queue message tool you should use. And the key word here is that "message must NOT persist after being processed"…

Submitted by carlos_mx· Mar 30, 2026Connect to and consume Azure services and third-party services

Question

You develop Azure solutions. A .NET application needs to receive a message each time an Azure virtual machine finishes processing data. The messages must NOT persist after being processed by the receiving application. You need to implement the .NET object that will receive the messages. Which object should you use?

Options

  • AQueueClient
  • BSubscriptionClient
  • CTopicClient
  • DCloudQueueClient

How the community answered

(26 responses)
  • A
    77% (20)
  • B
    12% (3)
  • C
    4% (1)
  • D
    8% (2)

Explanation

Azure.Storage.Queues.QueueClient: .NET v12 Azure.Storage.Queues.CloudQueueClient: .NET v11 (Legacy) So, the question is really about what kind of queue message tool you should use. And the key word here is that "message must NOT persist after being processed". Azure.Storage.Queues.QueueClient supports "At-Most-Once" deliver mode, while Azure.Storage.Queues.CloudQueueClient doesn't. https://docs.microsoft.com/en-us/dotnet/api/azure.storage.queues.queueclient?view=azure-dotnet https://docs.microsoft.com/en- us/dotnet/api/microsoft.azure.storage.queue.cloudqueueclient?view=azure-dotnet-legacy

Topics

#Service Bus#Queue#message processing#QueueClient

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice