Expedia Group Interview Question

How would you restart IIS running on Windows Server

Interview Answers

Anonymous

May 23, 2015

1) open run and type iisrestart 2) open services.msc and restart the IIS server 3) reboot the server

1

Anonymous

May 5, 2015

I'd bring up the services window on that server and right click and select restart or stop and then start.

1

Anonymous

May 12, 2015

Ohhh, the perfect question for testing the real skill of a sys admin. The answer is most definitely "enter-pssession ; cmd.exe net stop w3svc && net start w3svc" However, the real answer is "Ensure the IIS server is out of the load balancer and completely drained. Run the commands above. Ensure it is ready to accept HTTP(s) connections and the code is warmed up. Throw back into the load balancer pool."

Anonymous

May 13, 2015

This is definitely another way to skin the cat. I'd try to keep it simple but If the question were how would you approach a web server that is load balanced and restarting the IIS service then I could run those checks for active connections, bounce the service, then rotate back into rotation. Thanks for the reply.