1. When the command "mkdir -p d1/d2/d3" is performed, which of the following statements is correct?
a. It will create the following 3 directories: /d1 and /d1/d2 and /d1/d2/d3
b. It will create the following 3 directories: /d1 and /d2 and /d3
c. It will create the following 2 directories: /d1 and /d1/d2/d3
d. It will not work
Answer: a
2. Which command displays access control list for a file?
a. aclget
b. getfacl
c. setfacl
d. aclset
Answer: b
3. What is the format sub-command to save the partition table to disk?
a. print
b. saveall
c. vtocsv
d. label
Answer: d
4. What does "mt -f" require?
a. You have to specify a tape device name
b. You have to specify the type of tape device
c. You have to specify the tape length
d. Nothing
Answer: a
5. Enter the command to change file access modes:
a. chmod or set
b. setfacl or chmod
c. set or setfacl
Answer: b
6. True or false: It is possible to overlap partitions with the format utility.
a. True
b. False
Answer: a
7. True or false: It is necessary to install all available patches to have a properly functioning system.
a. True
b. False
Answer: b
Often, patches provide fixes for problems not applicable to your system, optional but recommended security fixes, and may even introduce new bugs into the system.
8. The Volume Management configuration file. This defines items such as what action should be taken when media is inserted or ejected, what devices are used, and what file system types are unsafe to eject.
a. /etc/vold.conf
b. vold(1)
c. /etc/mmount.conf
d. volcheck(1)
Answer: a
9. True or false: The /etc/profile file is read only by the Korn and C shells.
a. True
b. False
Answer: b
10. True or False: You should remove all PPP packages before installing the PPP software from the CD-ROM.
a. True
b. False
Answer: a
11. Can you safely repartition an existing disk after using the installtool utility?
a. No, the data will be lost.
b. Yes, the data will be retained.
c. You will need to modify the /etc/format.dat file
Answer: a
12. Admintool modifies ______.
a. remote system files only
b. local and remote system files
c. local system files only
d. all files
Answer: c
13. Which OpenBoot command can be used to view system configuration information?
a. display
b. banner
c. env
d. list
e. show
Answer: b
14. Which of the following functions can be performed by a non-administrative user with the crontab command?
a. List the user's crontab file
b. Delete the user's crontab file
c. Edit another user's crontab file
d. List another user's crontab file
e. Edit the user's crontab file
Answer: a,b,e
15. What command would you use if you wanted to send output to a file and the screen at the same time?
a. split
b. tee
c. more
d. iosplit
Answer: b
example: ls -lR | tee logfile | more <br>
Output will be sent to "logfile" in the current directory and to the screen.
16. A multitasking system ______.
a. supports more than one processor at a time
b. supports more than one user at a time
c. supports more than one network connection at a time
d. supports more than one process at a time
Answer: d
17. Which of the following can be used to install multiple patches?
a. use patchadd to install each patch separately.
b. patchadd -M /var/spool/patch 104554-04 104587-06 104599-02
c. patchadd -M /var/spool/patch patchlist
d. patchadd -M /var/spool/patch -o allpatches
Answer: a,b,c
18. Which of the following files are used to control access to the crontab files?
a. /var/spool/cron/cron.allow
b. /usr/lib/cron/cron.allow
c. /etc/cron.d/cron.allow
d. /var/spool/cron/cron.deny
e. /etc/cron.d/cron.deny
Answer: c,e
19. Three types of naming conventions can be used to reference disks. Two are physical device names and logical device names. Select the third type of naming convention.
a. logical
b. instance
c. immediate
d. instant
Answer: b
20. True or False: The pkginfo command without any arguments will display package information for packages on the Solaris 8 CDROM disk.
a. True
b. False
Answer: b
21. True or False: Solaris 8 comes with software compilers, by default.
a. True
b. False
Answer: b
22. The ______ is the chip that holds custom system information that can be re-written using the PROM's setenv command.
a. RAM
b. ID Chip
c. CPU
d. NVRAM
Answer: d
23. What platform cannot support run level 0?
a. MIPS
b. Alpha
c. SPARC
d. Intel
Answer: d
24. The print service scheduler is automatically started by ______ script when the system boots.
a. /etc/usr/lp
b. /etc.rc.d/lp
c. /etc/init.d/lp
d. /var/init.d/lp
Answer: c
25. To change the default umask for the C shell, modify the umask variable in the ______ file.
a. /etc/default/login
b. /etc/login
c. /var/login
d. /etc/profile
Answer: a
26. True or False: The /opt directory can be preserved during a Solaris installation.
a. True
b. False
Answer: a
27. You enter the "patchrm 108577-03" command, and it fails. Which of the following situations will cause the command to fail?
a. The patch was installed using patchadd -d
b. The file(s) for patch 108577-03 do not exist on the system
c. You are not logged in as root
d. Patch 108577-04 is installed on the system
e. Patch 108577-02 is installed on the system
Answer: a,b,c,d
28. Which of the following files can the line "CONSOLE=/dev/console" be included in to increase system security?
a. /etc/default/su
b. /var/adm/loginlog
c. /etc/passwd
d. /dev/console
e. /etc/default/login
Answer: a,e
29. Which of the following types of file systems can be checked using the fsck command?
a. HSFS
b. TMPFS
c. S5
d. UFS
Answer: a,d
30. Which of the following commands can be used to define a Bourne shell variable?
a. env PRINTER lp1
b. PRINTER=lp1
c. setenv PRINTER=lp1
d. set PRINTER lp1
Answer: b
31. Provide the OpenBoot command to boot a system from the cdrom to initiate an install.
a. boot cdrom
b. boot dev cdrom
c. boot dev
d. boot cd
Answer: a
32. Which of the following commands can be used to list all patches?
a. patchlist alll
b. showrev -p
c. patchadd -p
d. patchinfo
Answer: b,c
33. Which commands below will create a file, if the file does not already exist?
a. more filename
b. cat filename
c. vi filename
d. touch filename
Answer: c,d
34. Which of the following versions of OpenBooot are currently supported by Sun Microsystems?
a. 1.x
b. 2.x
c. 3.x
d. 4.x
Answer: c
35. Which ls options would be used to view the contents of a directory and all of its subdirectories and also
display the file types?
a. -F
b. -a
c. -t
d. -R
e. -r
Answer: a,d
36. If you are in maintenance mode, what command would you use to bring the system back to run-level 3?
a. Control-D, typing 3, then press ENTER
b. Control-C, typing 3, then press ENTER
c. Control-X, typing 3, then press ENTER
d. Control-A, typing 3, then press ENTER
Answer: a
37. What directory contains historical information about all software packages and patches installed on your system?
a. /var/sys
b. /var/adm
c. /var/adms
d. /var/sadm
Answer: d
38. Which of the following functions can be performed using the admintool command?
a. Delete a local printer
b. Delete a remote printer
c. Add or modify a remote printer
d. Delegate printer control to other users
e. Add or modify a local printer
Answer: a,b,c,e
39. Your home directory is /export/home/user1. Your current directory is /export/home/user1/dir1. Without changing
directories, which ls command would you execute to view the files in your home directory that end in "s"?
a. ls HOME/s*
b. ls ~/*s
c. ls ~ *s
d. ls HOME/*s
Answer: b
40. During an upgrade, the disk space needs to be reallocated. Which of the following can be used as a backup medium?
a. Diskette
b. CD-ROM
c. Unused system disk
d. Tape
Answer: a,c,d
41. Which is the OpenBoot NVRAM parameter used to send messages from the system initialization sequence to the console on TTYA?
a. switch-diag
b. NVRAM /s
c. diag-switch
d. diag-NVRAM
Answer: c
42. System files, including those contained in the /etc/default directory, are generally read only. To make changes with vi, you need to use ______ to write the changes and exit.
a. :wqx
b. :wx!
c. :wq!
d. :wq#
Answer: c
43. Select the command used to display the PID of a process if only the program name is known.
a. pkgrep
b. pgrep
c. ps
d. grep
Answer: b
44. Which command shows the users that have logged off the system?
a. id
b. last
c. who
d. whodo
Answer: b
45. In which directory structure are most new products installed?
a. /home
b. /var
c. /etc
d. /opt
Answer: d
46. What information is provided by the "df" command?
a. Logical raw device of the file system partition
b. Logical block device of the file system partition
c. Free blocks
d. Number of files that can be created
Answer: b,c
47. True or False: In order to change run-levels, you must either be root or a member of the sysadmin group.
a. True
b. False
Answer: a
48. Which sub-command is used to change a pre-defined partition table?
a. select
b. label
c. modify
d. save
Answer: c
49. What key switches from insert mode to command mode in vi?
a. x
b. c
c. \
d. ESC
e. DEL
Answer: d
50. How can you verify the Ethernet address from the boot PROM?
a. ethernet
b. ipconfig
c. banner
d. env
Answer: c
51. What are four main file types in Solaris 8?
a. regular files
b. directories
c. symbolic links
d. virtual files
e. device files
Answer: a,b,c,e
52. How do you edit the crontab file?
a. cron -e
b. cron -edit
c. crontab -e
d. crontab -edit
Answer: c
53. Which command should be used after system interruption occurs to minimize the damage?
a. sync
b. fsck
c. halt
d. check
e. unmount
g. probe -scsi
Answer: a
54. How do you remove a permanent custom device defined in the OpenBoot PROM?
a. unset
b. unalias
c. devunalias
d. nvunalias
e. unsetalias
Answer: d
55. At the OpenBoot prompt, which command displays all device aliases defined in the system?
a. alias
b. nvalias
c. devalias
d. prtalias
Answer: c
56. Which command is used for interactive file restoration:
a. ufsrestore
b. ufsrestore 0f
c. ufsrestore ivf
d. ufsrestore rvf
e. ufsrestore tvf
Answer: c
57. What affect does setting the "ignoreeof" environment variable have?
a. The shell will ignore Control-D, so you cannot log out with it.
b. Cannot end e-mail using mail command since Control-D will be ignored.
c. "EOF" cannot be used to indicate the end of files.
Answer: a
58. The sticky bit has no effect to which of the following?
a. file owner
b. any member of the group
c. anybody accessing the directory
Answer: a
|