exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 2 question 48 discussion

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

You develop Azure Web Apps for a commercial diving company. Regulations require that all divers fill out a health questionnaire every 15 days after each diving job starts.

You need to configure the Azure Web Apps so that the instance count scales up when divers are filling out the questionnaire and scales down after they are complete.

You need to configure autoscaling.

What are two possible auto scaling configurations to achieve this goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

  • A. Recurrence profile
  • B. CPU usage-based autoscaling
  • C. Fixed date profile
  • D. Predictive autoscaling
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

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
Osip21
Highly Voted 2 years ago
Selected Answer: BD
I think it should B. CPU usage-based autoscaling D. Predictive autoscaling A. Recurrence profile is used to schedule the scaling of resources at specific times or dates, but it does not meet the requirement to scale up when divers are filling out the questionnaire and scale down after they are complete. It only triggers scaling based on a set schedule, not based on actual usage. C. Fixed date profile is used to specify the number of instances at a specific date and time, but it also does not meet the requirement to dynamically scale based on actual usage. It only sets a fixed number of instances and does not adjust based on changing workloads.
upvoted 36 times
RikinPatel
1 year, 4 months ago
Predictive autoscale - Support is only available for virtual machine scale sets. D is incorrect options A - Recurrence profile is correct because you can specify every 15 days.
upvoted 3 times
antonmelode
8 months, 2 weeks ago
Recurrence profile occurs weekly only
upvoted 4 times
...
Shayman204
1 year, 4 months ago
You have many drivers and they dont always fall on same 15day cycle? correct? I think B and D is right also because they mentioned "scaled UP" not scale "OUT" which also validates further its Azure web apps on a VM
upvoted 7 times
...
...
...
imanonion
Highly Voted 2 years, 1 month ago
Selected Answer: AC
I think it should be A and C instead because: Options "B. CPU usage-based autoscaling" and "D. Predictive autoscaling" are not relevant to this scenario, because they are based on resource utilization or predictive analytics rather than a fixed schedule.
upvoted 13 times
TheFivePips
6 months ago
The question should be more clear, but they seem to be saying that each individual driver needs to fill out the form 15 days after a job begins, not that everyone will be filling out the form every 15 days. Just a poorly worded question making this needlessly confusing
upvoted 1 times
...
...
borsooq
Most Recent 1 week, 2 days ago
Selected Answer: BC
First of all we have App Service here, not a Scale Set, so - predictive autoscaling is not available. If there is anyone that would show me where to set it - I would appreciate it and probably change my mind. Since B is obvious and is definitely one of the solutions, the only ones that left are A and C. Recurrence - I guess it is Repeat specific days profile, because I can't see any other where I could define any recurrence. Can't see possibility to set Recurrence profile to - every 15 days as it is per day of week. So the only way to do it would be fixed days - simply specific days in the year on which you have to set number of instances. That's it, so my answer would be B and C.
upvoted 1 times
...
murat12345
4 months, 3 weeks ago
A and C. I tried auto-scaling a web-app, and both "Fixed date profiles" and "Recurring profiles" are possible options. "CPU usage-based autoscaling" can be configured as part of "Fixed date profiles" and "Recurring profiles". https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-multiprofile?tabs=templates https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-get-started?toc=%2Fazure%2Fapp-service%2Ftoc.json
upvoted 1 times
...
freudn
8 months ago
Selected Answer: BC
Long winded but bare with me:
upvoted 1 times
...
anishrawal
11 months ago
It should only be B. Not recurrence as it scales on a particular date and time or day of the week. Not Predictive as it uses ML to forecast based on historical CPU usage patterns. Not Fixed as well. https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-predictive
upvoted 1 times
...
Chriscrea8
11 months, 1 week ago
To configure autoscaling for the Azure Web Apps to scale up when divers are filling out the questionnaire and scale down after they are complete, you can use the following auto scaling configurations: A. Recurrence profile - You can set up a recurring schedule to scale out the instances during the times when divers are expected to fill out the questionnaire (e.g., every 15 days after a diving job starts) and scale in when the questionnaire completion period ends. B. CPU usage-based autoscaling - You can configure autoscaling based on CPU usage metrics. When the number of divers filling out the questionnaire increases, it might lead to increased CPU usage, triggering the autoscaling to add more instances. Similarly, when the questionnaire completion period ends, CPU usage might decrease, leading to scaling down the instances. So, the correct answers are A (Recurrence profile) and B (CPU usage-based autoscaling).
upvoted 1 times
...
raymond_abcd
1 year ago
Selected Answer: BD
See: https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-understanding-settings#autoscale-profiles It is not the fixed-date profile because it is relevant for a single date and time. The profile runs only once The Recurrence profile: A recurrence profile is used for a day or set of days of the week. The schema for a recurring profile doesn't include an end date.
upvoted 3 times
raymond_abcd
1 year ago
Correction it is A and B
upvoted 1 times
...
...
littleprince
1 year ago
Selected Answer: BD
Predictive autoscale uses machine learning to help manage and scale Azure Virtual Machine Scale Sets with cyclical workload patterns. It forecasts the overall CPU load to your virtual machine scale set, based on your historical CPU usage patterns. It predicts the overall CPU load by observing and learning from historical usage. This process ensures that scale-out occurs in time to meet the demand. Predictive autoscale needs a minimum of 7 days of history to provide predictions. The most accurate results come from 15 days of historical data.
upvoted 2 times
...
manopeydakon
1 year, 1 month ago
A and B, For autoscaling in the context of Azure Web Apps with the described requirements, the best options would be: B. CPU usage-based autoscaling This would allow you to scale up the instance count when there is increased load during the questionnaire filling periods. A. Recurrence profile You can schedule the autoscaling based on a recurrence profile to handle the periodic nature of the health questionnaire every 15 days. These two options should provide a suitable configuration for scaling up during questionnaire periods and scaling down afterward.
upvoted 4 times
...
alirasouli
1 year, 2 months ago
Selected Answer: AB
B. CPU usage-based is a common practice for autoscaling. A. Profile is for date and time-related autoscaling. Do not overthink! Every 15 days => recurring profile Why C & D are wrong? C. Simply do not overthink! D. Predictive autoscaling is for VMSS, not Azure Web Apps.
upvoted 2 times
...
ami2023
1 year, 2 months ago
Selected Answer: BD
[15 days after 'each' diving job starts] which means the day to fill the questionnaires can fall in any day, therefore the options that are scaling based on time/dates (A, C) cannot be the solution.
upvoted 3 times
...
Ciupaz
1 year, 3 months ago
Hope don't have this question in my exam.
upvoted 4 times
JoseManel
1 year, 2 months ago
did you get this in your exam?
upvoted 1 times
Ciupaz
1 year, 2 months ago
I haven't taken the exam yet.
upvoted 1 times
...
...
...
Teit_examptopics
1 year, 5 months ago
https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-predictive Only applies to VM Scale sets
upvoted 2 times
...
katrang
1 year, 5 months ago
Selected Answer: BD
The usage schedule is regular, but we don't know the actual dates on which this happens and if all users fill them out on the same day. But the CPU will go up on those days (A) and the system can work out patterns after it has consumed enough usage data to predict when the spikes will happen (D)
upvoted 2 times
...
74gjd_37
1 year, 5 months ago
Selected Answer: BD
Each driver needs to fill a profile every 15 days after that driver's job starts. Since the company has many drivers, there are no fixed dates or no recurring date patterns. Therefore, options linked to dates are incorrect. We can only use CPU-based or predictive autoscaling.
upvoted 2 times
...
Kanasan
1 year, 5 months ago
Selected Answer: BD
B. CPU usage-based autoscaling This is one of the most common ways to autoscale an Azure Web App. You can set a threshold for CPU usage, and when the CPU usage goes above that threshold, Azure will automatically add more instances. Similarly, when the CPU usage drops below a certain level, Azure will remove instances. This can be particularly useful if filling out the questionnaires is a resource-intensive operation. D. Predictive autoscaling Predictive autoscaling uses machine learning algorithms to predict future demand based on past usage patterns. If you have historical data that shows spikes in usage around the times when divers are filling out the questionnaire, predictive autoscaling can preemptively scale up before the demand hits and scale down afterward.
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