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
2 months 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
Jerlene
13 days ago
I also prefer QueueClient. It's straightforward and gets the job done.
upvoted 0 times
...
Carma
15 days ago
I think SubscriptionClient might be better for more complex scenarios.
upvoted 0 times
...
Clare
17 days ago
I agree, QueueClient is the way to go. Simple and effective.
upvoted 0 times
...
...
Rolande
2 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
2 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
Vincenza
8 days ago
User3
upvoted 0 times
...
Twanna
13 days ago
User2
upvoted 0 times
...
Justine
24 days ago
User1
upvoted 0 times
...
...
Anna
2 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
3 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
3 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
Lucina
24 days ago
CloudQueueClient is used for accessing Azure Storage queues, not for receiving messages from virtual machines.
upvoted 0 times
...
Buddy
25 days ago
SubscriptionClient is used for receiving messages from a subscription, not for processing messages.
upvoted 0 times
...
Dahlia
27 days ago
QueueClient is designed for processing messages that do not need to persist.
upvoted 0 times
...
Chandra
28 days ago
I agree, QueueClient is the best option for this scenario.
upvoted 0 times
...
Nada
30 days ago
CloudQueueClient is used for accessing Azure Storage queues, not Service Bus queues.
upvoted 0 times
...
Maryann
1 months ago
SubscriptionClient and TopicClient are more suitable for scenarios where messages need to be persisted.
upvoted 0 times
...
Valda
1 months ago
QueueClient is designed for scenarios where messages should not persist after being processed.
upvoted 0 times
...
Veda
2 months ago
I agree, QueueClient is the best option for this scenario.
upvoted 0 times
...
...
Caitlin
3 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