exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 6 question 17 discussion

Actual exam question from Microsoft's AZ-204
Question #: 17
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 Service Bus Queue from the mobile application. Create an Azure Windows VM that is triggered from
Azure Service Bus Queue.
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
cbn
Highly Voted 4 years, 4 months ago
Using Service bus is fine, however having a Windows VM does not address the cost requirement. Answer is 'NO'
upvoted 46 times
Udoyen
3 years, 10 months ago
So if I may ask, if the cost wasn't an issue would Windows VM be okay?
upvoted 6 times
dohnalr
3 years, 7 months ago
Yes. It would be ok
upvoted 3 times
coffecold
2 years, 8 months ago
I think every solution would be OK then.
upvoted 2 times
...
...
...
...
neosri
Highly Voted 5 years, 1 month ago
answer explanation is wrong. It should be azure service bus queues and not storage queues trigger for Azure functions
upvoted 25 times
...
cmmr
Most Recent 6 months, 3 weeks ago
Selected Answer: B
since messages are not sent constantly the VM (which is always running) is not cost optimized. an azure function would be more suited for such a sparse workload.
upvoted 1 times
...
applepie
1 year, 10 months ago
got this question today, answer N - 7/30/2023, score 895/1000
upvoted 2 times
...
OPT_001122
2 years, 6 months ago
Selected Answer: B
Azure Service Bus Queue trigger
upvoted 1 times
...
hubekpeter
2 years, 6 months ago
Selected Answer: B
Queue size must not grow larger than 80 gigabytes (GB) - yes that's fine Use first-in-first-out (FIFO) ordering of messages. - yes, you can get it with service bus Minimize Azure costs & Create an Azure Windows VM that is triggered from Azure Service Bus Queue - Firstly there's nothing like an AzureVM triggering, but Azure Functions triggering instead. Secondly - using vm with queue is more expensive, but of course it depends on multiple factors.
upvoted 3 times
...
Eltooth
2 years, 11 months ago
Selected Answer: B
B is correct answer. NO
upvoted 3 times
...
Dev666
3 years, 2 months ago
Selected Answer: B
I choose B as think A will be expensive
upvoted 1 times
...
meoukg
3 years, 3 months ago
Got it on 03/2022, I chose B. No
upvoted 1 times
...
altafpatel1984
3 years, 6 months ago
Here I guess following line meant to mention that VM will unnecessarily increase cost. "Messages may not be sent to the service consistently."
upvoted 2 times
...
altafpatel1984
3 years, 6 months ago
If B is answer then question is confusing because theriotically VM is not bad idea since there is no mentioned of cost saving etc.
upvoted 1 times
grappigekerel
3 years, 4 months ago
Requirement clearly says minimize Azure costs
upvoted 2 times
...
...
Idkhow
4 years ago
why do we need the Azure Windows VM for? Service bus is already fine
upvoted 3 times
...
silva_831
4 years ago
The given answer is incorrect. Service Bus queue meets the requirements
upvoted 1 times
...
Cholo981
4 years ago
StorageQueue doens't guarantees FIFO. Must be ServiceBus.
upvoted 1 times
...
paru123456789
4 years, 3 months ago
Answer: NO
upvoted 2 times
...
_nma
4 years, 6 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 2 times
Cornholioz
4 years, 5 months ago
Wrong because of the VM use in the solution which is an overkill and increases cost.
upvoted 10 times
...
...
javayung
4 years, 7 months ago
Answer is No: As a solution architect/developer, you should consider using Storage queues when: Your application must store over 80 GB of messages in a queue.
upvoted 2 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 ...