HOTSPOT
You have a cloud service that runs an external process that is named MyStartupTask.cmd. The cloud service
runs this external process when the web role starts. The external process writes information to the Windows
registry. You set the value of an environment variable named MyIDto the deployment ID for the current web
role instance.
The external process must complete writing the information to the Windows registry before the web role
starts to accept web traffic.
You need to configure the cloud service.
How should you complete the relevant markup? To answer, select the appropriate option or options in the
answer area.
How should you complete the relevant markup?
HOTSPOT
You have a cloud service that runs an external process that is named MyStartupTask.cmd. The cloud service
runs this external process when the web role starts. The external process writes information to the Windows
registry. You set the value of an environment variable named MyIDto the deployment ID for the current web
role instance.
The external process must complete writing the information to the Windows registry before the web role
starts to accept web traffic.
You need to configure the cloud service.
How should you complete the relevant markup? To answer, select the appropriate option or options in the
answer area.
Correct.
foregound still runs asynchronously. So Simple has to be used with Elevated because it is changing the registry.
https://azure.microsoft.com/en-gb/documentation/articles/cloud-services-startup-tasks/
and XPath xpath=”/RoleEnvironment/Deployment/@id”
https://azure.microsoft.com/en-us/documentation/articles/cloud-services-role-config-xpath/