Sunday, November 25, 2007

Operating Systems: Windows Services

You are configuring a computer for an application developer. When the user is developing Web applications, he needs Internet Information Services (IIS). Otherwise, you want to ensure that IIS does not run. The user's computer is running Windows XP Professional and has a single hard disk, formatted as a single volume.
What should you do?

1. Create two user accounts. Log on as one of the users and install IIS.
2. >>Install Windows XP Professional in two different directories. Boot to one installation and install IIS.
3. Create two user accounts. Log on as one of the users and add a shortcut to IIS in Startup folder of the user's profile.
4. Create two hardware profiles. Enable the World Wide Web Publishing service in only one hardware profile.

Explanation : You should create two hardware profiles and enable the World Wide Web Publishing service in only one hardware profile. IIS installs the World Wide Web Publishing service, which is a Windows service. You can enable and disable a Windows service for specific hardware profiles through the service's Properties page in the Services utility. The user will need to restart the computer and select the hardware profile that has the World Wide Web Publishing service enabled when necessary.

You should not install Windows XP Professional in two different directories and boot to one installation to install IIS. You should only install one instance of Windows XP on a specific volume. Even if you had two volumes, creating two different installations is unnecessary and would result in having to install redundant copies of all applications.

You should not create two user accounts, log on as one, and install IIS. The World Wide Web Publishing service is a Windows service, so its status is not affected by the user who is logged on. If it is configured to start automatically, it will start when the operating system boots.

You should not create two user accounts and add a shortcut to IIS in the Startup folder in one of the user profiles. IIS is a Windows Service, not an application.
Objective: Operating Systems