What should you do?

A company creates an API and makes it accessible on an Azure website. External partners use the API occasionally. The website uses the Standard web hosting plan.Partners report that the first API call in a sequence of API calls occasionally takes longer than expected to run. Subsequent API calls consistently perform as expected.You need to ensure that all API calls perform consistently. What should you do?By default, web apps are unloaded if they are idle for some period of time. This lets the system conserve resources. In Basic or Standard mode, you can enable Always On to keep the app loaded all the time. If your app runs continuous WebJobs or runs WebJobs triggered using a CRON expression, you should enable Always On, or the web jobs may not run reliably.References: https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-configure


What should you do?


Configure the website to use the Basic web hosting plan

Enable Always On support.

Configure the website to automatically scale.

Add a trigger to the web.config file for the website that causes the website to recycle periodically.

Correct Answer

The Correct Answer for this Question is

Enable Always On support.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *