Home > Articles

  • Print
  • + Share This
This chapter is from the book

Practice Questions

Question 1

Which of the following can be used to install multiple patches? (Select all that apply.)

  1. patchadd -M /var/spool/patch 104567-03 106583-10 103276-04

  2. Use patchadd to install each patch separately.

  3. patchadd -M /var/spool/patch patchlist

Answers a, b, and c are correct. All the answers can be used to install multiple patches. The command in answer a installs three patches located in the /var/spool/patch directory. The command in answer c uses a file named patchlist that contains a list of patches to install. Of course, the pkgadd command can be used to install several patches, one at a time (answer b).

Question 2

Which of the following can be used to install packages? (Select all that apply.)

  1. admintool

  2. pkgtool

  3. pkgadd

  4. pkgrm

  5. pkginfo

Answers a and c are correct. You can use admintool and pkgadd to install packages. pkgtool does not exist. Therefore, answer b is incorrect. pkgrm is used to remove packages, and pkginfo is used to display information about packages. Therefore, answers d and e are incorrect.

Question 3

What are the two most commonly used methods for installing Solaris 8? (Select all that apply.)

  1. Tape

  2. CD-ROM

  3. Over-the-network

  4. Floppy disk

  5. Web

Answers b and c are correct. Solaris 8 is most commonly installed via CD-ROM or over the network. Tape and floppy disks are valid boot devices but are not used for installation. Therefore, answers a and d are incorrect. Answer e, the Web, is not feasible.

Question 4

Which of the following is the default spool directory for packages?

  1. /var/spool

  2. /var/sadm/pkg

  3. /tmp

  4. /var/spool/pkg

Answer d is correct. /var/spool/pkg is the default spool directory for packages. The system spool directory is /var/spool. Therefore, answer a is incorrect. The directory containing information about installed packages is /var/sadm/pkg. Therefore, answer b is incorrect. The temporary directory is /tmp. Therefore, answer c is incorrect.

Question 5

Solaris 8 cannot be installed on which of the following?

  1. Macintosh system

  2. Sun SPARC

  3. Intel Pentium

  4. AMD or Cyrix (Intel-compatibles)

Answer a is correct. Solaris 8 cannot be installed on a Macintosh system. Solaris 8 can be installed on Sun SPARC, Intel Pentium, or Intel-compatibles (AMD and Cyrix). Therefore, answers b, c, and d are incorrect.

Question 6

Which of the following commands displays selected information from the SUNWast pkginfo file? (Select all that apply.)

  1. pkginfo SUNWast

  2. pkginfo -l SUNWast

  3. display pkginfo SUNWast

  4. Highlight SUNWast in the Admintool: Software dialog box and click Show Details.

Answers a, b, and d are correct. You can display selected information from the SUNWast pkginfo file by using the pkginfo SUNWast or pkginfo -l SUNWast command, or by highlighting SUNWast in the Admintool: Software dialog box and clicking Show Details. Although the command in answer a provides only the package title and type of software, the pkginfo file is the only place you can obtain this information. The command in answer c does not exist.

Question 7

Which of the following commands can be used to remove a patch?

  1. rmpatch

  2. patchrm

  3. pkgrm -p

  4. patchadd -d

Answer b is correct. You can use the patchrm command to remove a patch. Answer a (rmpatch) is not a valid command. The pkgrm command is used to remove packages, and no -p command-line argument exists. Therefore, answer c is incorrect. The patchadd -d command is used to add a patch without saving files before they are updated or replaced. Therefore, answer d is incorrect.

Question 8

Which of the following commands can be used to list all installed patches? (Select all that apply.)

  1. showrev -p

  2. patchinfo

  3. patchlist all

  4. patchadd -p

Answers a and d are correct. You can use the showrev -p and patchadd -p commands to list all installed patches. The commands in answers b and c do not exist.

Question 9

During an upgrade, the disk space needs to be reallocated. Which of the following can be used as the backup medium? (Select all that apply.)

  1. Unused system disk

  2. Tape

  3. Floppy disk

  4. CD-ROM

  5. Remote file system

Answers a, b, c, and e are correct. An unused system disk, tape, floppy disk, or remote file system can be used as the backup medium during an upgrade, assuming it provides enough storage space. A CD-ROM, as the name implies, is read only (compact disc - read-only media). Read-only media cannot be used for backup. Therefore, answer d is incorrect. A writable CD could probably be used, but that option was not offered as a choice.

Question 10

Which of the following items can be selected during a custom installation using Web Start? (Select all that apply.)

  1. File system layout

  2. Software localizations

  3. Additional software products

  4. System locale

  5. Software group or cluster

Answers a, b, c, d, and e are correct. The file system layout enables you to add file systems and/or adjust the size of file systems. Software localizations can be used to select a geographical region (such as North America), and the system locale further defines the system language. (For North America, you can select one of several English variations, for example.) The software group and additional products can also be selected. These items are available only when you choose Custom Installation.

  • + Share This
  • 🔖 Save To Your Account