exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 6 question 16 discussion

Actual exam question from Microsoft's AZ-204
Question #: 16
Topic #: 6
[All AZ-204 Questions]

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You are developing an Azure Service application that processes queue data when it receives a message from a mobile application. Messages may not be sent to the service consistently.
You have the following requirements:
✑ Queue size must not grow larger than 80 gigabytes (GB).
✑ Use first-in-first-out (FIFO) ordering of messages.
✑ Minimize Azure costs.
You need to implement the messaging solution.
Solution: Use the .Net API to add a message to an Azure Storage Queue from the mobile application. Create an Azure VM that is triggered from Azure Storage
Queue events.
Does the solution meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Lkk51
Highly Voted 3 years, 11 months ago
the reason that the solution is service bus because of this message "Use first-in-first-out (FIFO) ordering of messages." https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-azure-and-service-bus-queues-compared-contrasted#foundational-capabilities Storage account does not have ordering guarantee
upvoted 55 times
xRiot007
3 years, 10 months ago
I also think the explanation should be corrected. Size <80GB + FIFO guarantee is what makes Service Bus a good option, not the existence of a VM or not.
upvoted 19 times
lautaro_sw
3 years, 9 months ago
I think the reason for not using a VM is the 'Minimize Azure costs' requirement
upvoted 17 times
rdemontis
3 years, 1 month ago
I totally agree with you all. Only a doubt for VM usage: In addition to save costs I thing it's not possible to interact with a service bus queue. in than case i believe you have to use a storage queue.
upvoted 1 times
...
...
...
edengoforit
2 years, 3 months ago
Absolutely correct. There are so many questions related to this. FIFO and business transactions. If anything related, it seems to be the Service Bus
upvoted 2 times
...
...
Nabeelcp
Highly Voted 3 years, 8 months ago
Answer is correct . but explanation is confusing ..
upvoted 7 times
Codenoob
3 years, 7 months ago
It is confusing indeed. But the reason the explanation pointed out about VMs is because of VMs are expensive and won't match with the "Minimize azure costs" requirement. Azure Functions is the best way to handle Service Bus Queue events by utilizing its trigger functionality and providing minimal costs to it.
upvoted 8 times
PoTermin
2 years, 8 months ago
Your explanation sounds good.
upvoted 2 times
...
...
...
applepie
Most Recent 9 months, 1 week ago
got this question today, answer N - 7/30/2023, score 895/1000
upvoted 2 times
...
juanckar
10 months ago
This was on the exam (July 2023). Went with NO. Scored 917
upvoted 3 times
...
OPT_001122
1 year, 5 months ago
Selected Answer: B
B. No - is the correct
upvoted 1 times
...
elequiel
1 year, 6 months ago
Got it in exam 20/10/2022
upvoted 2 times
...
Eltooth
1 year, 10 months ago
Selected Answer: B
B is correct answer. NO
upvoted 2 times
...
Udoyen
2 years, 8 months ago
This is the kind of question we need ...
upvoted 4 times
...
paru123456789
3 years, 2 months ago
Answer: NO
upvoted 1 times
...
svaza
3 years, 2 months ago
I think the given option of using Azure Storage queue is right, refer this document https://docs.microsoft.com/en-us/azure/storage/queues/scalability-targets#scale-targets-for-queue-storage - You can store upto 500TB of data in queue, queue works in FIFO. The approach of using VM for processing the queue messages is overkill. So given quesition the answer is B. Still its a stilly question
upvoted 1 times
Tom87
3 years ago
Queues in general should be FIFO. But not Azure Storage Queue. Ordering is not guaranteed. See this: https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-azure-and-service-bus-queues-compared-contrasted#foundational-capabilities
upvoted 3 times
...
...
_nma
3 years, 5 months ago
Answer: A. Yes 1.Your solution requires the queue to provide a guaranteed first-in-first-out (FIFO) ordered delivery. 2.Your queue size won't grow larger than 80 GB. https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-azure-and-service-bus-queues-compared-contrasted#consider-using-service-bus-queues
upvoted 1 times
_nma
3 years, 5 months ago
Apologies, wrong discussion. This was meant for the net question.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago