exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 3 question 5 discussion

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

HOTSPOT -
You are developing a back-end Azure App Service that scales based on the number of messages contained in a Service Bus queue.
A rule already exists to scale up the App Service when the average queue length of unprocessed and valid queue messages is greater than 1000.
You need to add a new rule that will continuously scale down the App Service as long as the scale up condition is not met.
How should you configure the Scale rule? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Service bus queue -
You are developing a back-end Azure App Service that scales based on the number of messages contained in a Service Bus queue.

Box 2: ActiveMessage Count -
ActiveMessageCount: Messages in the queue or subscription that are in the active state and ready for delivery.

Box 3: Count -

Box 4: Less than or equal to -
You need to add a new rule that will continuously scale down the App Service as long as the scale up condition is not met.
Box 5: Decrease count by

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
VijiVivek
Highly Voted 3 years, 6 months ago
The correct answers are 1) Service bus queue 2) Active message count 3) Average 4) Less than or equal to 5) Decrease count by
upvoted 129 times
micro9000
2 years ago
I think the #4 is should be "Less than" only, because you don't want to trigger the Scale up and Scale down at the same time.
upvoted 7 times
JustHereToLearn
1 year, 9 months ago
I won't trigger at same time as question says "average queue length of unprocessed and valid queue messages is greater than 1000"
upvoted 4 times
...
micro9000
2 years ago
Here is a reference why I think it should be Less than, https://learn.microsoft.com/en-us/training/modules/scale-apps-app-service/5-autoscale-best-practices?ns-enrollment-type=learningpath&ns-enrollment-id=learn.wwl.create-azure-app-service-web-apps
upvoted 1 times
...
...
azurelearner666
3 years, 4 months ago
this is correct (the "official" solution is wrong) Also check the proper image https://vceguide.com/wp-content/uploads/2019/10/Microsoft-AZ-203-date-01-06-2019-00001_Page_062_Image_0001.jpg
upvoted 42 times
Evo_Morales
2 years, 6 months ago
How often are the responses scrubbed for updates/corrections?
upvoted 2 times
...
...
applepie
1 year, 3 months ago
got this question today, go with this answer - 7/30/2023, score 895/1000
upvoted 2 times
...
...
mlantonis
Highly Voted 3 years, 5 months ago
Full image: https://vceguide.com/wp-content/uploads/2019/10/Microsoft-AZ-203-date-01-06-2019-00001_Page_062_Image_0001.jpg
upvoted 79 times
mlantonis
3 years, 5 months ago
Box 1: Service bus queue You are developing a back-end Azure App Service that scales based on the number of messages contained in a Service Bus queue. Box 2: ActiveMessage Count ActiveMessageCount: Number of messages in the queue or subscription that are in the active state and ready for delivery. Box 3: Average For special metrics such as Storage or Service Bus Queue length metric, the threshold is the average number of messages available per current number of instances. Box 4: Less than or equal to You need to add a new rule that will continuously scale down the App Service, as long as the scale up condition is not met. Box 5: Decrease count by
upvoted 38 times
mlantonis
3 years, 5 months ago
Reference: https://docs.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-best-practices#considerations-for-scaling-threshold-values-for-special-metrics https://docs.microsoft.com/en-us/azure/service-bus-messaging/message-counters
upvoted 9 times
warchoon
1 year, 8 months ago
https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-best-practices#considerations-for-scaling-when-multiple-rules-are-configured-in-a-profile points Less than
upvoted 1 times
...
...
...
jay158
3 years, 5 months ago
You are providing invaluable help, by clarifying the questions,
upvoted 12 times
...
...
neelkanths
Most Recent 6 months, 3 weeks ago
Got it on 20 April 2024...Marks > 900...All questions from examtopics 400 questions... answer is correct... The correct answers are 1) Service bus queue 2) Active message count 3) Average 4) Less than or equal to 5) Decrease count by
upvoted 2 times
...
NightshadeRC
1 year, 3 months ago
Had this question today: 2023-07-26
upvoted 3 times
...
AsuraX
1 year, 10 months ago
Got this on my exam, January 10, 2023 (I passed) My answer: Box 1: Service bus queue Box 2: Active Message Count Box 3: Average Box 4: Less than or equal to Box 5: Decrease count by
upvoted 3 times
...
Lucifer14
1 year, 10 months ago
In 28-12-2022 exam, Answers. Service Bus queue active message count count less than equal to decrease count
upvoted 1 times
...
at_sayali
2 years ago
Got it on 10/2022, I chose as below: Box 1: Service bus queue Box 2: Active Message Count Box 3: Average Box 4: Less than or equal to Box 5: Decrease count by
upvoted 2 times
...
OPT_001122
2 years, 1 month ago
Admin, Request to please update the full image. Current image is cut and options 4 and 5 are not visible
upvoted 4 times
...
meoukg
2 years, 8 months ago
Got it on 03/2022, I chose as below: Box 1: Service bus queue Box 2: ActiveMessage Count Box 3: Average Box 4: Less than or equal to Box 5: Decrease count by
upvoted 3 times
...
GigaCaster
3 years, 3 months ago
Just a question but how are you going to reduce the count if there is now count to reduce?
upvoted 2 times
...
glam
3 years, 6 months ago
The correct answers are 1) Service bus queue 2) Active message count 3) Average 4) Less than or equal to 5) Decrease count by
upvoted 4 times
...
Phenr
3 years, 7 months ago
I believe the answers are: 1st box: as given, since we're analyzing the state of messages in the Service Bus Queue 2nd box: as given, because Active Message Count will show us just the count of messages that are in the active state and ready for delivery, while Message Count would show us all the messages. 3rd box: Average, since we should stay consistent with the Scale Up time grain, which is also "Average" - this way, when we use "average" on both, we have consistent and clear conditions when to go up and when to go down
upvoted 15 times
...
hobob
3 years, 7 months ago
I think the 3rd option should be "Average" since the scale up rule is based off average, it makes sense to make the scale down rule work on the same principal.
upvoted 6 times
...
Mike_St
3 years, 8 months ago
The image is cut so i cant see the bottom 2 dropdowns but they sound alright in the answer explanation bellow. Also the 2nd box should be Message Count. Reason: In the question it is said: "when the average queue length of unprocessed AND valid queue messages" If it was just valid Queue messages it would have been enough to set it on Active Message Count... but they want Valid AND Unproscessed messages... so i think it should be Message Count. (i am not 100% sure but unprosessed message should not count as an active message)
upvoted 3 times
qerem
3 years, 7 months ago
Messagecount is false because it also contains deadlettered messages among others. Unprocessed messages are active because they are "ready to delivery". So i think "Active Message Count" is correct
upvoted 3 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