Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam AZ-204 Topic 2 Question 116 Discussion

Actual exam question for Microsoft's AZ-204 exam
Question #: 116
Topic #: 2
[All AZ-204 Questions]

You develop Azure solutions.

A .NET application needs to receive a message each time an Azure virtual machine finishes processing dat

a. 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?

Show Suggested Answer Hide Answer
Suggested Answer: A

A queue allows processing of a message by a single consumer. Need a CloudQueueClient to access the Azure VM.


https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-queues-topics-subscriptions

Contribute your Thoughts:

Vallie
20 days ago
I'm torn between QueueClient and SubscriptionClient. But I'm going to go with QueueClient - it's the simplest and most straightforward solution. No need to get fancy with topics and subscriptions.
upvoted 0 times
...
Rolande
1 months ago
I'm not sure about QueueClient. I think SubscriptionClient might be a better option for receiving messages in this scenario.
upvoted 0 times
...
Tarra
1 months ago
CloudQueueClient? Really? That's just too generic. I'm going with SubscriptionClient - it's the only one that makes sense for a publish-subscribe scenario like this.
upvoted 0 times
...
Anna
1 months ago
TopicClient seems like the way to go here. The messages need to be received each time the VM finishes processing, so a topic with a subscription would work well.
upvoted 0 times
...
Margart
2 months ago
I agree with Caitlin. QueueClient is the right choice for receiving messages and it fits the requirement of not persisting after processing.
upvoted 0 times
...
Catrice
2 months ago
I think the answer is QueueClient, since the messages are not supposed to persist after being processed. A queue is the best option for this scenario.
upvoted 0 times
Nada
1 days ago
CloudQueueClient is used for accessing Azure Storage queues, not Service Bus queues.
upvoted 0 times
...
Maryann
8 days ago
SubscriptionClient and TopicClient are more suitable for scenarios where messages need to be persisted.
upvoted 0 times
...
Valda
16 days ago
QueueClient is designed for scenarios where messages should not persist after being processed.
upvoted 0 times
...
Veda
24 days ago
I agree, QueueClient is the best option for this scenario.
upvoted 0 times
...
...
Caitlin
2 months ago
I think the answer is A) QueueClient because it is used to send and receive messages to and from a queue in Azure.
upvoted 0 times
...

Save Cancel