You deploy an Azure Web App named ContosoApp. ContosoApp runs on five instances.
You need to run an application named App1.exe automatically as a background process for ContosoApp. The
solution must ensure that App1.exe runs in one instance only.
How should you deploy App1.exe?

A.
as a continuous web job
B.
in a new worker role instance
C.
as a scheduled web job
D.
as a virtual application
Explanation:
https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-create-web-jobs#CreateScheduled
A continuously running WebJob will run on all of your instances. On-demand and scheduled WebJobs run on a single instance
0
0
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
This question was in my exam today. The only difference was that instead of Scheduled WebJob was On-Demand WebJob.
0
0
Tnx Starlin!
0
0
So both Triggered (Scheduled/OnDemand) and Continuous jobs can run in a single instance.
https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-create-web-jobs#webjob-types
So it comes down to: “You need to run an application named App1.exe automatically as a background process”.
https://docs.microsoft.com/en-gb/azure/architecture/best-practices/background-jobs#hosting-environment
“WebJobs run within the context of your web app as a continuous process. WebJobs also run in response to a trigger event from Azure Scheduler or external factors.”
To me the correct answer will be A.
0
0
I agree with you Mslover. Continuous sounds better.
https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-create-web-jobs
Continuous:
“Starts immediately when the WebJob is created. To keep the job from ending, the program or script typically does its work inside an endless loop. If the job does end, you can restart it.
Runs on all instances that the web app runs on. You can optionally restrict the WebJob to a single instance.”
0
0
BTW, part of that new 243Q 70-533 dumps are available here:
https://drive.google.com/open?id=0B-ob6L_QjGLpfnV3MVl6X3pXOWw1Z3YtQUpJRVRiTkNkbGNFbVBNRXhjSkw3bWk1WHdYcW8
Best Regards!
0
0