exam questions

Exam AZ-300 All Questions

View all questions & answers for the AZ-300 exam

Exam AZ-300 topic 2 question 5 discussion

Actual exam question from Microsoft's AZ-300
Question #: 5
Topic #: 2
[All AZ-300 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:

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
Ekramy_Elnaggar
Highly Voted 5 years, 6 months ago
1) Service Bus queue 2) Message count 3) Average 4) Less than or Equal to 5) Decrease Count by
upvoted 67 times
...
AnshMan
Highly Voted 5 years, 1 month ago
This is the Order: 1]Service Bus Queue 2] Active Message Count 3] Average (Grain statistics) (You will not have COUNT) 4] Less than or equal to 5] Decrease count by Average queue length means w.r.t to the number of instances and valid queue messages means "Active Messages". https://blog.tomkerkhove.be/2017/10/16/autoscaling-your-platform-with-azure-monitor/ https://docs.microsoft.com/en-us/azure/azure-monitor/platform/autoscale-best-practices#considerations-for-scaling-threshold-values-for-special-metrics
upvoted 25 times
Shunya
4 years, 12 months ago
Agree to your answer
upvoted 1 times
...
Juanlu
4 years, 4 months ago
Totally Agree !
upvoted 1 times
...
...
Prash85
Most Recent 5 years ago
Box 3 is Average not count.
upvoted 6 times
...
kondapaturi
5 years ago
Box 1: Service bus queue - Box 2: ActiveMessage Count - Box 3: Count - Box 4: Less than or equal to - Box 5: Decrease count by -
upvoted 4 times
...
kondapaturi
5 years ago
complete question - https://vceguide.com/how-should-you-configure-the-scale-rule/
upvoted 7 times
...
AnujD
5 years, 1 month ago
It should be 'ActiveMessageCount' as that would be the actual 'unprocessed' message count.
upvoted 5 times
...
Rishabhjain
5 years, 2 months ago
since the scale out rule mentions Valid message, the scale in rule should also include Active Message Count, rather than Message count which will include dead lettered messaged. https://docs.microsoft.com/en-us/azure/service-bus-messaging/message-counters
upvoted 13 times
...
Karen_12321
5 years, 3 months ago
And why average instead of total?
upvoted 1 times
Yannor
5 years, 3 months ago
Because it says "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."
upvoted 14 times
...
magpi
4 years, 9 months ago
Because the count is already done by "Active message count". If you select count, you are counting the number of signals coming from that metric. So, if azure decide to assess this rule, it will pick several signals from that metric (e.g. 1250, 1000,1100, and 900) the counting would be 4 (I'm not sure how many signals Azure pick), the total would be the sum 1250+1000+1100+900, and the average the answer you are looking for.
upvoted 2 times
...
...
wlfjck
5 years, 6 months ago
Shouldn't be ActiveMessage? As MessageCount include deadletter and transfered
upvoted 22 times
tartar
4 years, 9 months ago
Service Bus Queue Active Message Count Average COUNT Less than or equal to Decrease count by
upvoted 11 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 ...