Practice Questions
Question 1
Which of the following can be used to install multiple patches? (Select all that apply.)
patchadd -M /var/spool/patch 104567-03 106583-10 103276-04
Use patchadd to install each patch separately.
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.)
admintool
pkgtool
pkgadd
pkgrm
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.)
Tape
CD-ROM
Over-the-network
Floppy disk
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?
-
/var/spool
-
/var/sadm/pkg
-
/tmp
-
/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?
Macintosh system
Sun SPARC
Intel Pentium
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.)
pkginfo SUNWast
pkginfo -l SUNWast
display pkginfo SUNWast
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?
-
rmpatch
-
patchrm
-
pkgrm -p
-
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.)
showrev -p
patchinfo
patchlist all
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.)
Unused system disk
Tape
Floppy disk
CD-ROM
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.)
File system layout
Software localizations
Additional software products
System locale
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.