Review Questions and Answers

1. 

You are beginning a Solaris 9 installation on a group of computers for your company's network. Two of the computers have only 96MB of RAM, and the others all have at least 128MB of RAM. For the computers with 96MB of RAM, which installation method should you choose?

  1. Web Start

  2. JumpStart

  3. suninstall

  4. Solaris 9 cannot be installed on a computer with only 96MB RAM.

c. for computers with fewer than 128mb of ram, suninstall is the best choice. this is because it uses only a command-line interface, whereas the other installation programs default to a graphical interface, which requires more resources.

2. 

The Sun workstation that you are currently using is running Solaris 2.5.1. You just received your copy of Solaris 9 and want to perform an upgrade that will preserve your system's settings. What is the likely result of your upgrade attempt?

  1. The upgrade will succeed, but you will be able to install only the software group level currently installed on your computer.

  2. The upgrade will succeed, and you will be able to install any software group you choose.

  3. The upgrade will fail because your computer does not have sufficient RAM to run Solaris 9.

  4. The upgrade will fail because you cannot directly upgrade Solaris 2.5.1 to Solaris 9.

d. the upgrade will indeed fail. to perform an upgrade, you must have solaris 2.6 or higher. no mention was made of your computer's hardware configuration, so it cannot be assumed that you do not have enough memory for the upgrade.

3. 

From a command prompt on your Solaris 9 workstation, you want a complete listing of all software packages installed on your system. Which command should you execute?

  1. pkginfo -s

  2. pkginfo

  3. pkginfo -e

  4. pkgchk -s

  5. pkgparam -s

b. to list all the software packages installed on your system, execute the pkginfo command with no arguments. the -s and -e switches are invalid for use with pkginfo . the pkgchk command will check the integrity of installed packages, and pkgparam displays values associated with specified parameters of a package.

4. 

You are the in-house Solaris 9 administrator for your company. Recently, you purchased a software package that is a newer version of a software package you are currently running. The manufacturer of the package recommends deleting the current software before installing the new version. The name of both packages is ACMEexec. The current version is installed in the /opt/ acme directory. What command should you execute to remove this software?

  1. pkgrm -s /opt/acme ACMEexec

  2. pkgrm ACMEexec -d /opt/acme

  3. pkgrm -R /opt/acme ACMEexec

  4. rm /opt/acme ACMEexec

c. to remove the software, use the pkgrm command. the -r switch should be used to specify the directory that the package is installed in. never use the rm command to delete software packages because it will corrupt the software database.

5. 

You are preparing to install Solaris 9 from a CD-ROM on a new computer for your supervisor. What are some requirements for the installation to be successful? (Choose all that apply.)

  1. 96MB of RAM

  2. 128MB of RAM

  3. 512MB of unused disk slice

  4. SPARC platform

a, c. although it's recommended to use at least 128mb of ram, solaris 9 requires 96mb of ram. because you are installing from a cd-rom, you need a disk slice that is at least 512mb in size and not used to store files (preferably the swap slice).

6. 

You are in charge of managing your company's Solaris 9 servers. You need to see which patches are currently installed on your servers in order to determine whether new patches are needed. What commands can you issue to see which patches are currently installed? (Choose all that apply.)

  1. patchadd -p

  2. patchchk -p

  3. patchinfo -p

  4. showrev -p

a, d. the two commands that will show you currently installed patches are patchadd -p and showrev -p . the other two commands, patchchk and patchinfo , do not exist.

7. 

You are the network administrator for your company. Your network consists of two Sun servers and forty Sun Ultra 450 client machines. You are concerned that your computers will not be able to support an upgrade to Solaris 9. What can you do to find out the platform group of your computers?

  1. Issue the uname -m command.

  2. Issue the uname -r command.

  3. Check the system's sysidcfg file.

  4. Issue the sysver -m command.

  5. Issue the sysver -a command.

a. the uname -m command will return information about your system's platform group, such as sun4m or sun4u. the uname -r command will show which version of solaris you are currently running. the sysidcfg file is for automating installations, and the sysver command does not exist.

8. 

You are installing Solaris 9 onto a new production server for your network. You plan to use the crash dump feature on this server. To do so, which of the following requirements must be met?

  1. The /opt file system must be at least twice the size of physical memory.

  2. The /var file system must be at least twice the size of physical memory.

  3. The /temp file system must be at least twice the size of physical memory.

  4. The /var file system must be at least three times the size of physical memory.

b. to use the savecore crash dump feature, the /var file system must be at least twice the size of the amount of physical memory installed in the computer.

9. 

You are the network administrator for your company. Employees at your company work around the clock and require constant access to your company's two Solaris production servers. You are going to upgrade your servers from Solaris 8 to Solaris 9. Which option should you choose to perform the upgrade while minimizing downtime?

  1. Web Start Flash

  2. Custom JumpStart

  3. suninstall

  4. Live Upgrade

d. live upgrade enables you to create a duplicate boot environment on a running solaris server. you can then install solaris 9 onto the dormant boot environment, activate it, and then reboot your server. of all the installation methods, live upgrade enables you to upgrade with the least disruption to a production environment.

10. 

You are performing an initial installation of Solaris 9 on your Sun workstation. Because disk space is limited, you want to install the least amount of software possible. However, you still want to install the Common Desktop Environment (CDE) without having to add the package for it manually. Which software group should you choose during installation?

  1. Core

  2. End User

  3. Developer

  4. Entire

b. the core software group does not install cde. the end user, developer, and entire software groups do install cde. of the three, the end user software group is the smallest.

11. 

You are the network administrator for your company. You've been asked to explore adding software packages to your Solaris 9 server. Which of the following tasks can you accomplish by using the Solaris Product Registry? (Choose all that apply.)

  1. Install packages into a spool directory

  2. Install packages onto multiple systems

  3. View currently installed software packages

  4. Choose packages from different installation media

b, c, d. with the graphical solaris product registry, you can install packages onto one or more stand-alone or networked systems, view currently installed packages, and choose from installation media when installing packages. you cannot install packages into a spool directory. to do that, you must use the pkgadd -s command.

12. 

As the network administrator, you approach one of your users in the engineering department about upgrading his computer to Solaris 9. He says that the upgrade is fine with him, but he's not sure whether the version he has is upgradeable. When you ask him what version he has, he says that he's not sure because he's deleted and reinstalled many versions multiple times. What command can you use to find the version of Solaris he is currently running? (Choose all that apply.)

  1. name -a

  2. uname -m

  3. uname -r

  4. uname -v

a, c. the uname -r or uname -a command is used to display the current solaris version. the uname -m command will display the hardware platform of the computer.

13. 

You just completed an installation of a new software package called SUNWgspt on one of your Solaris 9 servers. As the network administrator, you now want to verify that the package installed properly. During verification, you want to check file attributes, repair file attributes if possible, and list all files as they are being checked. Your working directory is the directory that the application is installed in. What command should you execute?

  1. pkgchk -f -v SUNWgspt

  2. pkgchk -c -f -v SUNWgspt

  3. pkgchk -f -l SUNWgspt

  4. pkgchk -c -f -l SUNWgspt

a. the pkgchk command is used to verify installation of packages. checking files and attributes is default behavior, so no switches are needed. to fix files, use the -f switch. to list all files as they are being checked, use the -v switch.

14. 

You are the in-house Solaris manager for your company. You have 20 identical Sun workstations that you want to install Solaris 9 on. To save time, you want to automate the installation as much as possible. Which installation methods enable you to perform this automation?(Choose all that apply.)

  1. suninstall

  2. Web Start Flash

  3. Custom JumpStart

  4. Live Upgrade

b, c. web start flash and custom jumpstart enable you to automate an installation of solaris 9. the suninstall and live upgrade programs are installation options, but they do not provide for automation of installations.

15. 

You are the network administrator for your company and you've been asked to install Solaris 9 on all the workstations in the accounting department. Because these accounting users are not computer savvy, you want to preconfigure as much of the installation process as possible. You decide to use a sysidcfg file. Which of the following options cannot be preconfigured when using a sysidcfg file? (Choose all that apply.)

  1. Host name

  2. IP address

  3. Time zone

  4. Name server

  5. Power management

e. a sysidcfg file can be used to supply answers to most installation questions. however, it cannot be used to preconfigure power management. if you want to use sysidcfg to configure a host name and ip address, you will need a separate sysidcfg file for each computer. it might be a time-consuming option, but it is possible.

16. 

You are the systems administrator for your company. One of your tasks is to upgrade all Solaris 8 servers to Solaris 9. What are the recommended pre-upgrade tasks that you should complete?(Choose all that apply.)

  1. Back up the existing system

  2. Verify disk space and hardware requirements

  3. Analyze patches that will need to be replaced

  4. Create a Web Start Flash archive

a, b, c. before upgrading a server, it is imperative that you back up existing data. that way, if something goes wrong with the upgrade, you don't lose everything. also, you should verify that you have enough disk space and hardware to support solaris 9, and determine which critical patches will be overwritten and need to be replaced. although you could create a web startflash archive, there is no need to do so.

17. 

You are the network administrator for your company. You are beginning an initial installation of Solaris 9 from the Solaris 9 DVD. Your computer boots to an ok prompt. What do you type to boot the computer from the DVD-ROM?

  1. boot dvdrom

  2. boot cdrom

  3. boot

  4. boot dvd

b. at the ok prompt, to boot the computer from the dvd-rom, you type boot cdrom . just typing boot does not specify the dvd-rom device, and boot dvdrom and boot dvd are not valid commands.

18. 

You are the network administrator for your company. You are going to install three patches on your Solaris 9 server. The patch numbers are 115083-01, 116552-03, and 152431-01. All three patches are located in the /tmp/patches directory. What command can you execute to install all patches at the same time?

  1. patchadd -M /tmp/patches 115083-01 116552-03 152431-01

  2. patchadd -M /tmp/patches 115083-01, 116552-03, 152431-01

  3. patchadd -M /tmp/patches 115083-01; 116552-03; 152431-01

  4. patchadd -M /tmp/patches 115083-01: 116552-03: 152431-01

a. multiple patches can be added with one command of patchadd . simply separate the patch numbers with spaces.

19. 

You are the network administrator for your company. To expedite software installation, you have created interactive software packages. Now you need to create a response file for use with those packages. What command can you use to create the necessary response files?

  1. pkgparam

  2. pkgask

  3. pkginfo

  4. pkgresp

b. to create a response file to be used with interactive packages, use the pkgask command. the pkgparam command will display parameters about a package, and pkginfo will display information about one or more installed packages. the pkgresp command does not exist.

20. 

You are the Solaris 9 administrator for your company. Recently, you set up a Solaris 9 server to act as a network installation server for commonly installed software packages. You just received a new CD-ROM containing a package that you want to make readily available. The package is the only file on the CD-ROM, and you want to copy it to the default spool directory without installing it. What command should you issue?

  1. pkgadd -d /cdrom/cdrom0

  2. pkgadd -Y -d -s/cdrom/cdrom0

  3. pkgadd -d -s /cdrom/cdrom0

  4. pkgadd -s -d /cdrom/cdrom0

d. the -s option tells pkgadd to spool the package into the default spool directory (although another can be specified) instead of installing it. the -d option tells pkgadd to look at a specific device or directory for the installation files, instead of looking in the spool directory.

Answers

1. 

C. For computers with fewer than 128MB of RAM, suninstall is the best choice. This is because it uses only a command-line interface, whereas the other installation programs default to a graphical interface, which requires more resources.

2. 

D. The upgrade will indeed fail. To perform an upgrade, you must have Solaris 2.6 or higher. No mention was made of your computer's hardware configuration, so it cannot be assumed that you do not have enough memory for the upgrade.

3. 

B. To list all the software packages installed on your system, execute the pkginfo command with no arguments. The -s and -e switches are invalid for use with pkginfo. The pkgchk command will check the integrity of installed packages, and pkgparam displays values associated with specified parameters of a package.

4. 

C. To remove the software, use the pkgrm command. The -R switch should be used to specify the directory that the package is installed in. Never use the rm command to delete software packages because it will corrupt the software database.

5. 

A, C. Although it's recommended to use at least 128MB of RAM, Solaris 9 requires 96MB of RAM. Because you are installing from a CD-ROM, you need a disk slice that is at least 512MB in size and not used to store files (preferably the swap slice).

6. 

A, D. The two commands that will show you currently installed patches are patchadd -p and showrev -p. The other two commands, patchchk and patchinfo, do not exist.

7. 

A. The uname -m command will return information about your system's platform group, such as sun4m or sun4u. The uname -r command will show which version of Solaris you are currently running. The sysidcfg file is for automating installations, and the sysver command does not exist.

8. 

B. To use the savecore crash dump feature, the /var file system must be at least twice the size of the amount of physical memory installed in the computer.

9. 

D. Live Upgrade enables you to create a duplicate boot environment on a running Solaris server. You can then install Solaris 9 onto the dormant boot environment, activate it, and then reboot your server. Of all the installation methods, Live Upgrade enables you to upgrade with the least disruption to a production environment.

10. 

B. The core software group does not install CDE. The end user, developer, and entire software groups do install CDE. Of the three, the End User software group is the smallest.

11. 

B, C, D. With the graphical Solaris Product Registry, you can install packages onto one or more stand-alone or networked systems, view currently installed packages, and choose from installation media when installing packages. You cannot install packages into a spool directory. To do that, you must use the pkgadd -s command.

12. 

A, C. The uname -r or uname -a command is used to display the current Solaris version. The uname -m command will display the hardware platform of the computer.

13. 

A. The pkgchk command is used to verify installation of packages. Checking files and attributes is default behavior, so no switches are needed. To fix files, use the -f switch. To list all files as they are being checked, use the -v switch.

14. 

B, C. Web Start Flash and Custom JumpStart enable you to automate an installation of Solaris 9. The suninstall and Live Upgrade programs are installation options, but they do not provide for automation of installations.

15. 

E. A sysidcfg file can be used to supply answers to most installation questions. However, it cannot be used to preconfigure power management. If you want to use sysidcfg to configure a host name and IP address, you will need a separate sysidcfg file for each computer. It might be a time-consuming option, but it is possible.

16. 

A, B, C. Before upgrading a server, it is imperative that you back up existing data. That way, if something goes wrong with the upgrade, you don't lose everything. Also, you should verify that you have enough disk space and hardware to support Solaris 9, and determine which critical patches will be overwritten and need to be replaced. Although you could create a Web StartFlash archive, there is no need to do so.

17. 

B. At the ok prompt, to boot the computer from the DVD-ROM, you type boot cdrom. Just typing boot does not specify the DVD-ROM device, and boot dvdrom and boot dvd are not valid commands.

18. 

A. Multiple patches can be added with one command of patchadd. Simply separate the patch numbers with spaces.

19. 

B. To create a response file to be used with interactive packages, use the pkgask command. The pkgparam command will display parameters about a package, and pkginfo will display information about one or more installed packages. The pkgresp command does not exist.

20. 

D. The -s option tells pkgadd to spool the package into the default spool directory (although another can be specified) instead of installing it. The -d option tells pkgadd to look at a specific device or directory for the installation files, instead of looking in the spool directory.




Solaris 9. Sun Certified System Administrator Study Guide
Solaris 9 Sun Certified System Administrator Study Guide
ISBN: 0782141811
EAN: 2147483647
Year: 2003
Pages: 194

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net