Valid 70-486 Dumps shared by ExamDiscuss.com for Helping Passing 70-486 Exam! ExamDiscuss.com now offer the newest 70-486 exam dumps, the ExamDiscuss.com 70-486 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com 70-486 dumps with Test Engine here:
You define a startup task in the ServiceDefinition.csdef file. The task consists of a batch file that runs a Windows PowerShell script. The script places configuration files in local storage for use in a worker role. The worker role needs this information before starting. The worker role does not start after the startup task runs. You need to ensure that the worker role starts. What should you do?
Correct Answer: C
Explanation/Reference: Explanation: Startup tasks must end with an errorlevel (or exit code) of zero for the startup process to complete. If a startup task ends with a non-zero errorlevel, the role will not start. Note: Startup tasks are actions that are taken before your roles begin and are defined in the ServiceDefinition.csdef file by using the Task element within the Startup element. Frequently startup tasks are batch files, but they can also be console applications, or batch files that start PowerShell scripts. Reference: https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-startup-tasks