PrepAway - Latest Free Exam Questions & Answers

You need to ensure the WebJob runs continuously

You develop an ASP.NET Web API that is hosted as an Azure Web App. The API uses a WebJob to process
information. The WebJob has a very long start up time.
You configure to WebJob to run continuously. You observe that the WebJob is not running and processing
information as expected.
You need to ensure the WebJob runs continuously.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Enable the Always On configuration setting for the Web App.

B.
Update the API self-host by using the Open Web Interface for .NET (OWIN). Migrate the API to Azure
Service Fabric.

C.
Schedule the WebJob by using the Azure Scheduler.

D.
Include a settings.job JSON file at the root of the WebJob zip file and include a valid CRON expression.

One Comment on “You need to ensure the WebJob runs continuously

  1. spguru says:

    Correct,
    https://docs.microsoft.com/en-us/azure/app-service/web-sites-configure

    Always On. 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.




    0



    0

Leave a Reply