PrepAway - Latest Free Exam Questions & Answers

How should you create and configure the WebJob object?

HOTSPOT
You have an Azure website that runs on several instances. You have a WebJob that provides
additional functionality to the website.
The WebJob must run on all instances of the website.
You need to ensure that the WebJob runs even when the website is idle for long periods of time.
How should you create and configure the WebJob object? To answer, select the appropriate options
in the answer area.

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:
* You can run programs or scripts in WebJobs in your App Service web app in three ways: on
demand, continuously, or on a schedule.
* For continuous WebJobs there is an important feature called “always on” which is only available
for a Standard Website, this will make sure your Website and WebJob are always up.
Run Background tasks with WebJobs
http://azure.microsoft.com/en-us/documentation/articles/web-sites-create-web-jobs/

3 Comments on “How should you create and configure the WebJob object?

  1. Tele Test says:

    You can run programs or scripts in WebJobs in your App Service web app in three ways: on demand, continuously, or on a schedule. There is no additional cost to use WebJobs.

    Basic and Standard modes offer the Always On feature which, when enabled, prevents web apps from becoming idle.

    If your web app runs on more than one instance, a continuously running WebJob will run on all of your instances. On-demand and scheduled WebJobs run on a single instance selected for load balancing by Microsoft Azure.

    For Continuous WebJobs to run reliably and on all instances, enable the Always On* configuration setting for the web app otherwise they can stop running when the SCM host site has been idle for too long.




    0



    0

Leave a Reply