exam questions

Exam AZ-300 All Questions

View all questions & answers for the AZ-300 exam

Exam AZ-300 topic 16 question 11 discussion

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

A company is migrating an existing on-premises third-party website to Azure. The website is stateless.
The company does not have access to the source code for the website. They have the original installer.
The number of visitors at the website varies throughout the year. The on-premises infrastructure was resized to accommodate peaks but the extra capacity was not used.
You need to implement a virtual machine scale set instance.

What should you do -

  • A. Use a webhook to log autoscale failures.
  • B. Use an autoscale setting to scale instances vertically.
  • C. Use only default diagnostics metrics to trigger autoscaling
  • D. Use an autoscale setting to define more profiles that have one or more autoscale rules.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
In-guest VM metrics with the Azure diagnostics extension
The Azure diagnostics extension is an agent that runs inside a VM instance. The agent monitors and saves performance metrics to Azure storage. These performance metrics contain more detailed information about the status of the VM, such as AverageReadTime for disks or PercentIdleTime for CPU. You can create autoscale rules based on a more detailed awareness of the VM performance, not just the percentage of CPU usage or memory consumption.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-autoscale-overview

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
riyamalin
Highly Voted 5 years, 2 months ago
C is correct. You can create an autoscale setting on a VM to use host-level metrics or guest OS-based metrics. ref : https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-autoscale-overview
upvoted 11 times
...
jivom
Highly Voted 5 years ago
I would go for C. There's nothing in here that states how we could benefit from using multiple profiles to better anticipate autoscaling which is why D seems too farfetched for me
upvoted 9 times
...
arseyam
Most Recent 4 years, 9 months ago
D is the right option for workloads that have different usage rates during the year Best practices of Autoscale https://docs.microsoft.com/en-us/azure/azure-monitor/platform/autoscale-best-practices
upvoted 1 times
...
BEB
4 years, 10 months ago
C. Use only default diagnostics metrics to trigger autoscaling The use of the diagnostics metrics is the default when configuring autoscaling... (use of Diag metric to trigger scale). Diagnostics extension is not the same as diagnostics metric. The extension is an agent is used on VM for additional info. Answer D is something to confuse you! Note that the story was just for entertainment!
upvoted 3 times
...
Harkonnen
4 years, 10 months ago
The question is tricky, it has taken me 5 minutes of reading to understand. And no, D is NOT CORRECT and here is why: The question tricks us into believing that there is a hardware performance problem when THERE IS NOT!!!! It says that the number of users vary throughout the year and that the infrastructure was resized to accommodate the peaks (probably thinking that we had a hardware performance issue) but the capacity WAS NOT UTILISED, which indicates that actually there was no problem with the hardware allocation. At this point, the info telling us that we do not have the source code becomes important. It may be a problem in the application. Having established the above, now look at the request. "You need to implement a Virtual machine scale set". A bit weird, isn't it? Just to implement a VMSS. Nothing else is requested. Well, in order to create a VMSS it is mandatory to define "a default diagnostic metric to trigger scaling" or answer C. Probably, it will never be triggered according to what we know. On the other hand, there is nothing on the statement pointing you towards multiple profiles.
upvoted 8 times
...
Wildsheep
4 years, 11 months ago
I'd go for D. If you know you are busier at certain times if the year, makes sense to prepare for it, like create a profile "Christmas Sales" for the month December... Special Dates - I added a 'Product Launch Day' profile. I plan ahead for specific dates so my application is ready to handle the load due marketing announcements and when we put a new product in the application.* https://docs.microsoft.com/en-us/azure/azure-monitor/platform/autoscale-virtual-machine-scale-sets
upvoted 2 times
...
jcarlos
5 years, 1 month ago
I would go for D. Although using simple autoscale can be a solution for most of the scenarios, the fact that workload varies along the year makes the use of different autoscale profiles (each profile "tuned" for each situation) a more appropriate solution From https://docs.microsoft.com/en-us/azure/azure-monitor/platform/autoscale-overview You can have multiple profiles, which allow you to take care of different overlapping requirements. You can have different autoscale profiles for different times of day or days of the week, for example.
upvoted 3 times
...
fp76
5 years, 2 months ago
Should be D?
upvoted 1 times
tartar
4 years, 9 months ago
C is ok
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 ...