exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 1 question 20 discussion

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

You develop a Web App on a tier D1 app service plan.
You notice that page load times increase during periods of peak traffic.
You want to implement automatic scaling when CPU load is above 80 percent. Your solution must minimize costs.
What should you do first?

  • A. Enable autoscaling on the Web App.
  • B. Switch to the Premium App Service tier plan.
  • C. Switch to the Standard App Service tier plan.
  • D. Switch to the Azure App Services consumption plan.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
examTaker455
Highly Voted 3 years, 1 month ago
D1 is Shared Tier and does not offer autoscaling. You need to switch to Standard, Premium or Isolated.
upvoted 43 times
ZodiaC
3 years ago
So you have to reduce cost som you need standard app tier. 1000% correct!
upvoted 12 times
...
...
Gautam47
Highly Voted 2 years, 11 months ago
Tier D1 is a basically shared app service plan, so we need to move standard or premium plan to enable auto scaling. As we need to provide low cost solution, then standard plan will be best for this approach
upvoted 18 times
...
oskx2
Most Recent 5 months ago
This answer may not be correct anymore? From microsoft pricing page: https://azure.microsoft.com/en-us/pricing/details/app-service/linux-previous/ The Standard service plan is still available for running less demanding production workloads. Pricing is based on the size and number of instances you run. For greater savings and higher performance, we strongly recommend using the latest App Service Premium plan. Even still Standard is cheaper but you get less ram/storage. But standard pricing tier is being removed in favor of Premium.
upvoted 1 times
...
zreaf29
11 months, 3 weeks ago
The D1 tier plan is a basic tier plan that does not offer autoscaling. For using autoscaling, you have to change D1 basic tier plan to Others(Standard, Premium, Isolated, Consumption). The Standard plan is cheapest plan which has auto scaling. So Answer is C.
upvoted 3 times
...
seanishok
12 months ago
Selected Answer: C
Standard Tier is the correct answer.
upvoted 1 times
...
longnguyendh
1 year ago
D1 is basic tier and It does not support auto scaling feature. => we should upgrade to Standard tier
upvoted 1 times
...
arpannaprap
1 year, 1 month ago
Standard tier is the correct one.
upvoted 1 times
...
viking2
1 year, 1 month ago
C is correct. Auto scaling is supported on both Premium and Standard, but Standard is lower cost
upvoted 1 times
...
LuchoGonzalez
1 year, 2 months ago
Enabling autoscaling (option A) can still be a valuable addition to further optimize the resource allocation based on the actual demand. By combining autoscaling with the upgraded Standard App Service tier, you can automatically scale the resources up or down based on CPU load, ensuring optimal performance during peak traffic while minimizing costs during periods of lower traffic. Therefore, the recommended course of action in this scenario would be to switch to the Standard App Service tier (option C) and then enable autoscaling (option A) to effectively address the page load time issue during peak traffic while considering cost optimization.
upvoted 1 times
...
adilkhan
1 year, 5 months ago
why not D Consumption plan? https://learn.microsoft.com/en-us/azure/azure-functions/consumption-plan The Consumption plan scales automatically, even during periods of high load. When running functions in a Consumption plan, you're charged for compute resources only when your functions are running. On a Consumption plan, a function execution times out after a configurable period of time.
upvoted 1 times
tom112
1 year, 3 months ago
Because the consumption plan is for the Azure Function, not for a web app.
upvoted 4 times
...
...
forgetfulalligator
1 year, 6 months ago
Selected Answer: C
the first step is to upgrade the App Service plan to the Standard or Premium tier, if it is not already on one of these tiers, and then enable autoscaling on the Web App
upvoted 1 times
...
wrak
1 year, 6 months ago
Auto scale is NOT supported in tiers: Free (F1), Shared (D1 - only Windows) and Basic (B1, B2 and B3).
upvoted 3 times
...
uffuchsi
1 year, 6 months ago
B. Switch to Standard as D1 does not allow autoscale. Standard is the cheapest option that supports autoscale.
upvoted 1 times
uffuchsi
1 year, 6 months ago
Correction: C. Switch to Standard, not B
upvoted 1 times
...
...
guschess
1 year, 6 months ago
Selected Answer: C
First at all, your choices are Standard or Premium. Reduce cost => Standard.
upvoted 1 times
...
santoshsidnal
1 year, 8 months ago
I agree that we need to enable auto-scaling to reduce the cost. But the question is "What you should do first?" hence switching to the standard app service makes more sense
upvoted 1 times
...
OPT_001122
1 year, 9 months ago
Selected Answer: C
C. Switch to the Standard App Service tier plan.
upvoted 1 times
...
OPT_001122
1 year, 9 months ago
Selected Answer: C
switch to Standard
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago