exam questions

Exam AZ-303 All Questions

View all questions & answers for the AZ-303 exam

Exam AZ-303 topic 6 question 15 discussion

Actual exam question from Microsoft's AZ-303
Question #: 15
Topic #: 6
[All AZ-303 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 -
References:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/autoscale-common-metrics#commonly-used-service-bus-metrics https://docs.microsoft.com/en-us/Azure/azure-monitor/platform/autoscale-best-practices https://docs.microsoft.com/en-us/azure/service-bus-messaging/message-counters

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
Yiannisthe7th
Highly Voted 4 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
upvoted 21 times
rdemontis
4 years ago
exactly!
upvoted 2 times
...
ravy_rv
3 years, 11 months ago
It asksed for 'queue length of unprocessed and valid queue messages' We should use Message Count metric.
upvoted 6 times
Spooky7
3 years, 8 months ago
No! Scale up metric is using average for metric so scale down should use average as well
upvoted 1 times
...
altafpatel1984
3 years, 5 months ago
No. existing rule is for average count, so new rule will also have average.
upvoted 1 times
...
zsedo
3 years, 10 months ago
I agree. Not just the actvie messages count. https://docs.microsoft.com/en-us/azure/service-bus-messaging/monitor-service-bus-reference#message-metrics
upvoted 2 times
...
...
...
AberdeenAngus
Most Recent 3 years, 6 months ago
Def need Active Messages, because the question says " unprocessed and valid queue messages". The Messages metric includes the dead letter queue, not wanted here.
upvoted 1 times
AberdeenAngus
3 years, 5 months ago
I created a web app and Standard service bus, the scaling metrics I was offered were "Messages Processed/Instance (Avg)" or "Active Messages Processed/Instance (Avg)", it didn't seem to match this text You can scale by Service Bus queue length, which is the number of messages in the Service Bus queue. Service Bus queue length is a special metric and the threshold is the number of messages per instance. For example, if there are two instances and if the threshold is set to 100, scaling occurs when the total number of messages in the queue is 200 "https://docs.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-common-metrics#commonly-used-service-bus-metrics" If anyone knows what's going on please say, I'll come back here before trying the exam.
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 ...