Additional Resources for Azure App Service Plan: Boosting Performance

Boosting Performance for Azure Web Apps: Adding Memory and CPU Resources

Question

You have an Azure App Service plan named AdatumASP1 that hosts several Azure web apps.

You discover that the web apps respond slowly.

You need to provide additional memory and CPU resources to each instance of the web app.

What should you do?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

C

https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/app-service/web-sites-scale.md

The correct answer to this question is C. Scale up AdatumASP1.

Explanation:

When an Azure web app is responding slowly, it usually means that the application is experiencing high resource utilization, such as high CPU or memory usage. One way to address this is by increasing the resources allocated to each instance of the web app.

There are two ways to increase the resources allocated to a web app in Azure: scaling up and scaling out.

Scaling up refers to increasing the resources allocated to each instance of the web app, such as increasing the memory and CPU of the virtual machine that hosts the web app. This is done by changing the App Service plan that the web app is running on.

Scaling out refers to increasing the number of instances of the web app running in parallel. This is done by adding more virtual machine instances to the App Service plan.

In this scenario, the requirement is to provide additional memory and CPU resources to each instance of the web app. Therefore, the correct answer is to scale up the AdatumASP1 App Service plan. This will allocate more memory and CPU to each instance of the web app and improve its performance.

Option A, Scale out AdatumASP1, would add more instances of the web app, but it would not provide additional memory and CPU resources to each instance.

Option B, Add continuous WebJobs that use the multi-instance scale, is not a valid solution to this problem. WebJobs are used for background processing and automation tasks and do not directly address the performance issue.

Option D, Add a virtual machine scale set, is not a valid solution to this problem either. Virtual machine scale sets are used for horizontally scaling virtual machines, not App Service plans.