Survey of Operating Systems 3e Chapter 3 Solutions

Chapter 3 Textbook Solutions

Answers to Key Terms Quiz

1.  hypervisor or virtual machine monitor (VMM)

2.  network virtualization

3.  storage virtualization

4.  virtualization

5.  desktop virtualization

6.  dumb terminal

7.  terminal client

8.  thin client

9.  virtual machine

10.  virtual world

Answers to Multiple-Choice Quiz

1.  Correct answer: B. Application virtualization is the type of virtualization in which a user connects to server and work within a program [on the server]without an entire virtualized desktop environment.
A is not correct because storage virtualization allows client computers to utilize many networked hard drives as though they were one.
C is incorrect because a terminal service resides on a mainframe, minicomputer, or network server, allowing users to connect nearly seamlessly to partitions on the server from their desktop PCs using terminal client software.
D is incorrect because a thin client is a low-cost PC, usually without such common peripherals as diskette drives (now gone from most PCs), expansion slots, and optical drives; it runs terminal client software for accessing a partition on a mainframe, minicomputer, or network server.
E is incorrect because a virtual world is an artificial environment that users can explore using, often using an avatar.

2.  Correct answer: D. Virtual desktop infrastructure (VDI) is a term that describes the hosting and management of multiple virtual desktops on network servers.
A is incorrect because a thin client is simply a low-cost PC, usually without certain common peripherals and expansion slots, with software that allows the user to connect to a server and work within a server-hosted environment.
B is incorrect because terminal services is a term for server-based services to which terminal clients connect. It does not involves virtual machine.
C is incorrect because minicomputer is a term that describes a network-based computer that hosts services. It is not a term for hosting and management of multiple virtual desktops.
E is incorrect because partitioning is a term used to describe the creation of an area on a host computer to which a client connects or the allocation of disk space (as described in Chapter 1).

3.  Correct answer: B. A Type I hypervisor does not require a host OS.
A is incorrect because a Type II hypervisor does require a host OS.
C, D, and E, are all incorrect for the same reason: Virtual PC 2007, Windows Virtual PC, and Windows XP Mode are all examples of Type II hypervisors that require a host OS.

4.  Correct answer: E. partition has two meanings: first as the space reserved for a terminal session on a mainframe or minicomputer, and second as a portion of a physical disk allocated for use by a file system.
A is incorrect because a thin client does not have the two meanings described in the question..
B is incorrect because a virtual machine does not have the two meanings described in the question.
C is incorrect because a client does not have the two meanings described in the question.
D is incorrect because a host does not have the two meanings described in the question.

5.  Correct answer: A. A Type II hypervisor is the type you would install on a Windows host OS because a Type II hypervisor requires a host OS.
B is incorrect because a Type I hypervisor does not require a host OS.
C is incorrect for two reasons. For one, Boot Camp only runs on Applet Mac OS X 10.6 systems and is it not a hypervisor.
D is incorrect because a bare-metal hypervisor is one that does not require a host OS, a Type I hypervisor, and the question is asking about a hypervisor that requires a host OS, a Type II hypervisor.
E is incorrect because there is no such thing as a dual-boot hypervisor.

6.  Correct answer: E. Apple Boot Camp would give you the best performance of the solutions for running Windows XP on an iMac with OS X 10.6.
A is incorrect because Windows XP Mode requires a runtime version of Windows Virtual PC, which only runs on Windows 7 or greater and does not run in OS X.
B is incorrect because Virtual PC 2007 does not run on an iMac.
C is incorrect because, while VirtualBox does run on OS X 10.6, it would not run Windows XP as fast as Apple Boot Camp, which is a dual boot scheme, only one OS is loaded at a time, and that OS has all the system resources.
D is incorrect because Parallels is a hypervisor solution, and as such, at least one guest OS would be sharing the computer resources, versus the dual-boot solution of Boot Camp in which only one OS is loaded at a time.

7.  Correct answer: C. VirtualBox is correct because it runs on Windows, Mac OS X, and Linux OSs.
A is incorrect because Virtual PC 2007 only runs on a Windows host.
B is incorrect because is incorrect because Windows Virtual PC only runs on a Windows 7 host.
D is incorrect because Apple Boot Camp is not a hypervisor and it only runs on a Mac OS X host.
E is incorrect because Windows XP Mode only runs on a Windows host.

8.  Correct answer: C. You can install Virtual PC 2007 on a Windows 7 computer that does not support hardware-assisted virtualization, and therefore, cannot run Windows Virtual PC.
A is incorrect because Windows XP Mode is Virtual PC with a fully licensed version of XP. You would need to install Virtual PC 2007 to run Linux on this computer.
B is incorrect because Windows Virtual PC will not run on a computer that does not support hardware-assisted virtualization/
D is incorrect because Boot Camp is not a hypervisor and it only runs on a Mac with OS X 10.6.
E is incorrect because VDI is not a hypervisor, but the abbreviation for a term (virtual desktop infrastructure) that describes the hosting and managing of multiple virtual desktops on network servers

9.  Correct answer: C. VirtualBox would be the solution to select from the choices given, because VirtualBox is a hypervisor, and allows you to install and run Windows in a virtual machine running on Mac OS X, and you could switch back and forth between the two OSs as easily as moving between windows.
A, B, and E are all incorrect because they are all examples of hypervisors that only run on Windows hosts.
D is incorrect because while Boot Camp comes with Mac OS X 10.6, it is a dual boot solution, and only one OS can be loaded at a time in this case.

10.  Correct answer: B. A host key will release the mouse from the control of a virtual machine.
A is incorrect because guest key is not the term used to describe the key or key combination that releases the mouse from the control of a virtual machine.
C is incorrect because host OS is not the term used to describe the key or key combination that releases the mouse from the control of a virtual machine.
D is incorrect because VDI or virtual desktop infrastructure is the hosting and managing of multiple virtual desktops on network servers.
E is incorrect because a terminal service is a service on a server or other larger network computer; it has nothing to do with desktop virtualization and releasing the mouse.

11.  Correct answer: E. virtual machine monitor (VMM) is synonymous with hypervisor.
A, B, C, and D are incorrect because none of these terms (terminal service, bare metal, virtual hard drive, and virtual machine) are synonymous with hypervisor.

12.  Correct answer: B. Windows Virtual PC is the most capable version of a Microsoft hypervisor that you can install on the machine described.
A is incorrect because VirtualBox, while it will run on this computer, is not a Microsoft hypervisor.
C is incorrect because Windows XP Mode, while it will run on the described computer, is not the most capable version of a Microsoft hypervisor. At this writing, Windows Virtual PC is.
D is incorrect because Microsoft Virtual PC 2007 is not the most capable version of a Windows hypervisor because it does not take advantage of the AMD-V features.
E is incorrect because Parallels is not a Microsoft hypervisor,

13.  Correct answer: C. Licensing of guest OS is a legal issue that you must consider when installing a guest OS in a hypervisor.
A is incorrect because copyright is not directly the issue here, licensing is.
B is incorrect because antivirus is a security issue, not a legal issue.
D is incorrect because guest key is not a legal issue.
E is incorrect because supplying security credentials is a security issue, not a legal issue.

14.  Correct answer: A. VirtualBox.mpkg is the name of the object you should double-click to install VirtualBox on your iMac computer.
B is incorrect because VirtualBox.iso is an iso image, not the object you double-click to begin the installation of VirtualBox.
C is incorrect because VirtualBox.exe, while an executable for a PC, is not the object you double-click to begin the installation of VirtualBox on an iMac.
D is incorrect because VirtualBox.pdf is the name of a Portable Document Format file, and would simply be documentation of VirtualBox .
E is incorrect because VM.bat would be a DOS-style batch file, not the name of an object that would launch the VirtualBox installation on an iMac.

15.  Correct answer: D. Boot Camp is a multi-boot option for running Windows as a second OS on a Mac OS X 10.6 computer
A, B, C, and E are all incorrect because VirtualBox, Windows Virtual PC, Windows XP Mode, and Parallels are all hypervisors, some of which do not even work on Mac OS X, and none of which are multi-boot options.

Answers to Essay Quiz

1.  The two files created by most Type II hypervisors when preparing a new virtual machine are a virtual machine file and a virtual hard disk file. The virtual machine file contains all the settings for the virtual machine, while the virtual hard disk file acts as a drive to the guest OS and holds the OS, its applications, and the data created within the virtual machine.

2.  The Intel VT-x and AMD-B architecture extensions provide hardware-assisted virtualization features, which improve the performance of virtual machines on the host.

3.  One reason why an IT person would want to use a Type II hypervisor on a desktop computer is to test a new operating system, or test an application in an OS before installation either on client desktop computers.

4.  At this writing there is no hypervisor for running Mac OS X on a Windows PC due to licensing issues with the Apple.

5.  The major precaution you should take is to remember not to have two hypervisors installed on a PC at one time. Therefore, if you only have one computer on which to do this, you cannot do a side-by-side comparison, but must uninstall the first hypervisor before installing the second. Secondly, don’t use a production computer (your main computer) for testing. The best comparison would involve two identically configured Windows 7 computer—one with Windows XP Mode, and the second with VirtualBox.

Solution to Lab Project 3.1

Results will vary, but in an interview with a network manager at a regional hospital and clinic system on the east coast, we were told that virtualized desktops are the rule rather than the exception in their environment, with thousands of Windows desktops hosted on servers, using Citrix products. This gives them central management of the desktop environments and makes rollout of updates and changes much easier and less costly. They use desktop virtualization on desktop hosts only for software testing purposes. They are not currently looking at Type I hypervisors, but will in the future for their laptop systems.

Solution to Lab Project 3.2

Results will vary.

Solution to Lab Project 3.3

Results will vary.

3-1