What should you do?

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?
A. Use environment variables based on members of the RoleEnvironment class instead of static environment variables.
B. Configure the task to use the directory specified by the TEMP environment variable.
C. Ensure the task completes with an errorlevel of 0.
D. Change the task from simple to foreground.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.