You administer an Azure Web Site named contoso. You create a job named
Cleanlogs.cmd that will be executed manually, twice a week. You need to deploy the job. To
which folder location should you deploy CleanLogs.cmd?
A.
./App_Code/jobs/triggered/cleanLogs/CleanLogs.cmd
B.
./App_Data/jobs/triggered/clean Logs/Clean Logs.cmd
C.
./App_Code/jobs/continuous/cleanLogs/CleanLogs.cmd
D.
./App_Data/jobs/continuous/cleanLogs/CleanLogs.cmd
Explanation:
http://blog.amitapple.com/post/74215124623/deploy-azurewebjobs/#.VDZam_mSx8E
http://azure.microsoft.com/en-in/documentation/articles/websites-dotnet-deploy-webjobs/
There is no space in cleanLogs.cmd “File name” but answer “B” has spaces in it.
What is correct
correct!
Correct answer is “D”
Explaination:
Copies runtime files to the appropriate folder in the Azure Website (App_Data/jobs/continuous for continuous WebJobs, App_Data/jobs/triggered for scheduled and on-demand WebJobs).
Source:
http://azure.microsoft.com/en-us/documentation/articles/websites-dotnet-deploy-webjobs/
It says manually (on-demand), so it’ll have to be inside the triggered directory
It needs to be executed manually.
So A should be correct.
WebJobs are stored under App_Data\…\…\.. directory
It must be B. I guess there i a typo in the answer. Cleanlogs is without a space.
http://blog.amitapple.com/post/74215124623/deploy-azure-webjobs/
A WebJob is stored under the following directory in your site:
site\wwwroot\App_Data\jobs\{job type}\{job name}
Where {job type} can be either continuous for a job that is always running or triggered for a job that starts from an external trigger (on demand / scheduler).
B
D is correct answer.
Look at the GitHub example https://github.com/projectkudu/kudu/wiki/WebJobs-API
This is not a continuous job. The question is asking for a manual CMD (on-demand), so its a triggered webjob
Definitively,to determine the correct answer is : what we store on App_code folder?
Otherwise, as Mark Van Dijk said, the best choice is B (without space between clean logs (there was perhaps a copy paste ?)).
B is the answer
executed manually
B
“triggered” = Manual
+
./App_data/jobs/triggered
No other possible answer
Definitely B
http://blog.amitapple.com/post/74215124623/deploy-azure-webjobs/#.Vt9wgfmLTIU
ye tricky question since the name on the question is not the same name on B
But web jogs are on appdata folder and this is triggered as its invoked manually