NCP-MCA · Question #7
A developer has a Development Blueprint that performs the following high level items: - Creates a Windows and Ubuntu Server. - Installs IIS on Windows - Installs MySQL on Ubuntu As part of…
The correct answer is B. Add an Execute Task in the Restart Action of the Windows/IIS Service. The Restart Action of a Service allows the developer to define custom tasks that will be executed when the service is restarted. An Execute Task can run any script or command on the target VM, such as restarting the IIS service. This way, the Operator can use the Self-Service…
Question
A developer has a Development Blueprint that performs the following high level items:
- Creates a Windows and Ubuntu Server.
- Installs IIS on Windows
- Installs MySQL on Ubuntu
As part of Development, there is a need for an Operator to restart IIS Services for troubleshooting purposes. How should the developer add this functionality to the Blueprint?
Options
- AAdd an Execute Task in the Restart Action of the Application Profile.
- BAdd an Execute Task in the Restart Action of the Windows/IIS Service.
- CAdd a Delay Task in the Restart Action of the Windows/IIS Service.
- DCreate an Endpoint for the IIS server and a Runbook that restarts the service.
How the community answered
(43 responses)- A7% (3)
- B77% (33)
- C2% (1)
- D14% (6)
Explanation
The Restart Action of a Service allows the developer to define custom tasks that will be executed when the service is restarted. An Execute Task can run any script or command on the target VM, such as restarting the IIS service. This way, the Operator can use the Self-Service Portal to restart the service without logging into the VM or using another tool.
Topics
Community Discussion
No community discussion yet for this question.