Anda di halaman 1dari 96

http://www.angelfire.com/linux/solaris/sol/1.

htm

Here you can find 500+ model questions. I am happy to hear if this helpful to you, if please put a
remark in the guest book. And I will post more questions latter. Some of the answers may be
incorrect & you are requested to verify all answers yourself. If you found error, inform me with
reasons so that I can rectify it, and if you have any model questions please post it, I will add it
here. Believe in Give & take policy ...all the Best (Y)

Question 1) What shells are provided by default Solaris installation?

a csh
b tcsh
c ksh
d sh
e bash

Ans: a,c,d

Question 2) Which of the following commands can be used to move one or more print
requests from printer laser2 to printer laser1?

a lpmove laser2 laser1


b lpmove laser1 laser2
c lpmove laser2-35 laser1
d lpmove laser2 all laser1

Ans: a,c

Question 3) Which command are correct when you boot from CDROM ?

a boot cdrom
b b sd (0,30,1)
c ok boot cdrom
d b sd (0,6,2)

Ans: c

Question 4) Which of the following commands is the best way to shutdown a system?

a shutdown
b halt
c reboot
d Stop-A

Ans: a
Question 5) Which command(s) can raise the priority of a user process?
a kill -USR1
b nice
c priocntl
d raise

Ans: b,c
Question 6) /var/sadm/sulog does ?

a it records each time su command used


b it records user changed to other user.

Ans: a,b

Question 7) What is a minimum requirement to complete a successful login to a Solaris system?

a A login ID
b A default login shell
c A login (home directory

Ans: a

Question 8) Chgrp tech_file tech-doc

a tech_doc file updated


b group ownership of the tech_doc is changed

Ans a,b

Question 9) What command is used to remove a patch from a system?

a uninstall
b pkgrm -p
c rm -r

Ans: b

Question 10) Which directories you can include in your search path ?

a any directory
b only those owned by root, lp and you

Ans: a

Question 11) What command is used to show software package information?

a pkgadd
b pkgchk
c pkgparam
d pkginfo

Ans: d
Question 12) What is the top directory of the file system ?

a $home
b/
c parent directory
d ~ home

Ans: b

Question 13) Which of the following commands can be used to cancel one or more print
requests?

a cancel laser1-36
b cancel "laser1-36 laser1-38 laser2 -12"
c cancel -u dla
d cancel -u dla laser1

Ans: a,b,c,d

Question 14) Which one add the backing up command into cron(in fact vi) ?

a crontab -e
59 23 * * 1-5 tar cvf /home/davis
wq
b crontab 59 23 * * 1-5 tar cvf /home/davis

Ans: a

Question 15) What command verifies the accuracy of a software package installation?

a pkgadd
b pkgchk
c pkgask
d pkginfo

Ans: d

Question 16) Which command displays shell variables for Borne and C shell ?

a env
b printenv
c set
d list
Ans: a

Question 17) What command schedules a command to run once at a given time?
a crontab
b priocntl
c at
d cron

Ans: d
Question 18) Where is the printer information directory or files ?

a /etc/printcap
b /dev/term/a
c /usr/share/lib/terminfo/e
d /usr/lib/printinfo/e

Ans: c

Question 19) What mount option is used to mount file systems that have files larger than 2GB?

a largefiles
b nolargefiles
c lf
d its enabled by default

Ans: d

Question 20) The fragment size of a UFS file system is

a 512 bytes
b 1024 bytes
c 2048 bytes
d 4096 bytes

Ans: b

Question 21) What file contains a list of file systems to be automatically mounted at boot up?

a /etc/fstab
b /etc/dfs/dfstab
c /etc/vfstab
d /etc/rc2.d/S74autofs

Ans: c

Question 22) Which of the following will increase the reliability of email transmission ?

a encoding
b decoding
c compressing
d uncompressing

Ans: c

Question 23) What is standard output ?

a tap
b terminal
c printer
d cdrom

Ans: b
Question 24) Which command can edit a file ?

a vi file
b vi -p file
c vi -r file
d vi

Ans: A,C

Question 25) To install WEB install you need

a Floppy drive
b 64mb Ram
c 1 GB HDD
d Power pc system

Ans: b

Question 26) what is the command to display the runlevel

a who
b who -r
c who -R

Ans: b

Question 27) Which daemon check the crontab during the initialization ?

a cron.d
b crontabd
c cron
d crond

Ans: c

Question 28) How to find users logged into local area network

a who
b finger
c last

Ans a

Question 29) Which file will show physical device name to its instance name

a /etc/hosts
b /etc/path_to_inst
c /etc

Ans: b
Question 30) What does ps do without option ?

a all jobs
b all process
c all jobs belong to the user
d all process belong to the user

Ans: c

Question 31) The shutdown command to stop at OK prompt

a init6
b init 0
c init s
d init 1

Ans b

Question 32) What lp -d X Y mean ?

a show default printer


b show the queue of printer X
c print file Y in printer X
d remove print request X and Y

Ans: c

Question 33) How is logging failed login attempts to /var/adm/loginlog enabled?

a Add "FAIL=/var/adm/loginlog" to the /etc/default/login file


b Execute the logfail /var/adm/loginlog command
c Create the /var/adm/loginlog file
d Execute the login -fail /var/adm/loginlog command

Ans: c

Question 34) What type of file is this?


drwxr_xr_x 1 tom users 512 Sep 1 08:26 devices

a Door
b Directory
c Symbolic link
d Device (block)
e Regular

Ans b

Question 35) Default shell of solaris


a c,korn,bourne
b c,sun,unix
c korn,unix, bourne
d sun,os/2,bsd

Ans a
Question 36) How to find all files in the system belong to user X ?

a find /-owner X -print


b find /-user X -print
c find /-name user X -print
d find /-name X -print

Ans: b

Question 37) Who can use chmod 2750 filename command ?

a superuser
b group manager
c anyone in the group
d the file owner

Ans: d

Question 38) Sources from where we can get patches

a ftp to sun
b telnet to sun
c www
d media

Ans: c,d

Question 39) What is the daemon that runs crontab

a cron
b crontabd
c crond

Ans: c

Question 40) You should change which file in the remote machine if you want to login and do not
need to input password ?

a /etc/hosts.equiv
b $HOME/.rhosts
c /home/.rhosts
d /.rhosts

Ans: b

Question 41) Default shells of solaris is

a bourne
b c shell
c korn

Ans: a
Question 42) Which of the followings will find a file whose size is larger than 1 kilobytes ?

a find /export/home -size +2


b find /export/home -size +1024
c find /export/home -size +1

Ans: a

Question 43) What is a host

a Host provides services to the othersystems.


b It is an entity to take service from other systems
c Host is a unique name

Ans: c

Question 44) What is the command used to see ur userid groupid group and name

a who
b id
c last
d logins

Ans:d

Question 45) When you install a machine, which partitions are default included ?

a /opt
b /usr
c /var
d/

Ans: B,D

Question 46) What is the output of the command


lpadmin -p test -c bldg10
lpadmin -p test -c bldg11
accept bldg11

a 2 classes bldg10 and bldg10 is created


b only class bldg11 accepts jobs
c only class bldg10 accepts jobs

Ans: b

Question 47) Which of the following put the print request to the highest priority ?

a lp -q 0 filename
b lp -q top filename
c lp -q immediate filename
d lp -q high filename

Ans: a
Question 48) To identify user name, UID, group name and GID

a who
b last
c id
d finger

Ans c

Question 49) How to assign priority to a file topurgent

a lp -d printername -q 1 topurgent
b lp -p printername -q 0 topurgent
c lp -d printername -q 0 topurgent

Ans: c

Question 50) Which sub-command of ftp is used to transfer files without needing confirmation for
each file?

a hash
b prompt off
c no conf
d ftp -i

Ans b,d

Question 51) To stop printer a from printing and send all jobs to printer b

a reject a
b cancel a
c lpmove a b
d reject lpmove a b

Ans: b,c

Question 52) What is correct about at ?

a execute once only


b put a file at a location
c schedule a event

Ans: a,c

Question 53) How to check filesystem damage

a ck
b fsck
c fsok
d sync

Ans b
Question 54) Which of the following controls the access to cron utility ?

a /etc/cron/crontabenable
b /etc/cron.d/crontabenable
c /etc/cron/crontabdeny
d /etc/cron.d/crontabdeny

Ans: b,d

Question 55) When more than one application is running it is know as

a multitasking
b multiprocessing
c distributed processing

Ans: a

Question 56) If a machine have / directory, but using /usr and /export/home somewhere else,
then
this machine is

a dataless
b diskless
c standalone

Ans: a

Question 57) Which of the following commands is used to list printer classes and the member
printers?

a lp -c
b lpadmin -c
c lpstat -c
d lpadmin -c -m

Ans: c

Question 58) Cpio command can span multiple backup tapes.

a True
b False

Ans: a

Question 59) Which command display file size in kilobyte ?

a df
b df -k
c du
d du -k

Ans: d
Question 60) What is the command that a simple user can give to set the default boot device

a ok boot-device?disk
b #eeprom
c setenv
d none of the above

Ans: d

Question 61) What value represents Sunday in the day of week field in crontab?

a) 0
b) 1
c) 6
d) 7

Ans: a

Question 62) Solaris supports

a Korn, Bourne, C shells


b C shell is obsolete, not supported
c Bourne shell is obsolete, not supported
d Born shell is officially supported shell

Ans: a

Question 63) Which of the following directories contain kernel

a/
b /usr
c /etc
d /platform
c /mount

Ans: a,b,d

Question 64) How to mount largefiles c0t0 disk 0 slice 7 on /export/home

a mount /dev/dsk/cotodos7 /export/home


b mount /dev/rdsk/c0t0d0s7 /export/home
c mountall

Ans: b

Question 64) To boot a system in single user mode

a ok boot disk
b ok boot -s
c ok boot -s cdrom
d boot

Ans: b
Question 65) Which of the following files are used to control access to the crontab files?

a /etc/cron.d/cron.deny
b /etc/cron.d/cron.allow
c /var/spool/cron/cron.allow
d /var/spool/cron/cron.deny
e /usr/lib/cron/cron.allow
f /usr/lib/cron/cron.deny

Ans: a,b

Question 66) The commmand used to synchornise the disks

a sync
b done
c equll
d disk_sync

Ans: a

Question 67) A file permission is listed as following -rw-rw-r-filen Which command do not
change its permission ?

a chmod u-w filen


b chmod u-x filen
c chmod g-w filen
d chmod g-x filen

Ans: B,D

Question 68) In terms of default printers, which of the following precedence orders is correct?

a The system default, followed by the printer specified by the lp -d


command line argument, then the LPDEST variable
b The printer specified by the lp -d command line argument, followed by
the LPDEST variable, then the system default
c The LPDEST variable, followed by the system default, then the printer
specified by the lp -d command line argument.

Ans:b

Question 69) Which type of device accepts data synchrnosly

a raw
b chater
c disks
d none

Ans: a
Question 70) Which of the following commands can be used to back up the entire file
system located on the disk drive identified by c0t1d0s5?

a ufsdump 0u /dev/dsk/c0t1d0s5
b ufsdump 0u /dev/rdsk/c0t1d0s5
c ufsdump 9u /dev/rdsk/c0t1d0s5
d ufsdump 9u /dev/dsk/c0t1d0s5

Ans: b

Question 71) What is the logical name for a scsi disk 1 and partion 4

a cot4d0s1
b c0t1d0s4

Ans: b

Question 72) Which statement is true when umask 022 to umask 027 ?

a more secure
b new created files don't have write permission for others
c new created files have write permission for others

Ans: a,b

Question 73) At what instance u should halt the system

a when ur upgrading the memory


b when performing backup
c when upgrading new solaris
d when installing a remote printer

Ans: c

Question 74) What standard default file permission ?

a rw-r--r--
b rwxr-xr--
c rw---x-x
d rwxrwxrwx

Ans: a

Question 75) Root user is

a User ID=0, Group ID=0


b User ID=1, Group ID=0
c User ID=0, Group ID=1
d User ID=1, Group ID=1

Ans: c
Question 76) Which of the following functions can be performed using the admintool command?

a Add or modify a local printer


b Add or modify a remote printer
c Delete a local printer
d Delete a remote printer

Ans: a,b,c,d

Question 77) Command used to set ACL

a setacl
b setfacl
c userfacl

Ans: b

Question 78) What happens on the following commands to a dir


umask 022
umask 027

a there will be no changes


b it will provide more security
c it will take out read rights for others
d

Ans: b,c

Question 79) Which of the following can be backed up using the ufsdump command?

a File systems
b Files
c Volume table of contents
d Directories

Ans: a,b,d

Question 80) In Vi, which of the following is used for searching a string ?

a%
b
c~
d?

Ans: d

Question 81) Command used to see hostid

a finger
b name
c uname
d id

Ans: c
Question 82) For files /etc/hosts.equiv and $HOME/.rhosts, which is true

a created by superuser only


b related to system security
c created by default during the installation
d run first during install

Ans: b

Question 83) What is the benefits of NFS.

a It shares executables and data files.


b It shares common read only file systems.
c It shares host names over network.
d It shares files for remote authentication.

Ans: a,b,c,d

Question 84) Which of the following is a physical device

a sd@0
b /dev/rdisk/0
c devices/-----
d /dev/dsk/c0t0d0s0

Ans: b

Question 85) Which command selects a new disk from format command

a new_disk
b new
c disk
d partion

Ans: b

Question 86) What is the command for remote copying

a rcp
b rsh
c rlogin
d ftp

Ans: a

Question 87) lp service supports the which of the following

a VMS
b solaris 1.x
c solaris 2.x
d solaris 7

Ans: d
Question 88) Your login is to log into

a administrator
b operation system
c home
d company

Ans: c

Question 89) Which of the following admintool fields can be modified for a remote printer?

a Printer name
b Print server
c Description
d Options

Ans: c,d

Question 90) Which file contains users passwd

a /etc/passwd
b /etc/groups
c /etc/shadow
d /etc/password

Ans: c

Question 91) Members of which group can add and remove users

a0
b 10
c 14
d 13

Ans: 14

Question 92) What is the system default run level?

a3
b2
c4

Ans: a

Question 93) Kernel is for

a device management
b file storage
c trAns:lating user requests

Ans: a
Question 94) Which of the following cancel commands can be used to cancel the printing of one
or
more print requests?

a cancel -u root
b cancel -u root laser1
c cancel laser1
d cancel laser1-37

Ans: a,b,c,d

Question 95) How to list crontab ?

a as root, run crontab -1


b as regular user, run crontab -1
c as root, run /etc/default/cron/root
d as regular user, run crontab -e

Ans: a,b

Question 96) Which command is used to show user and group information of a user ?

a id
b whoami
c who
d whodo

Ans: a

Question 97) Which file does the /sbin/init program use to start processes?

a /etc/init.
b /etc/inittab
c /usr/bin/inittab

Question 98) In what directory are physical devices found?

a /dev.
b /devices.
c /dev/rdsk.

Ans: b

Question 99) Which of the following operating systems are supported as print clients by the LP
Print Service?

a HP-UX
b Solaris
c Microsoft Windows
d Macintosh
Ans: a,b
Question 100) How to read an encoded file

a uncompress
b undecode
c unencrypt
d uudecode

Ans: d

Question 101) Which of the following commands display the logical device names of mounted
file systems?

a df
b prtconf
c dmesg
d sysdef
e mount

Ans: d,e

Question 102) What is meant by the term "software configuration cluster"?

a logical collection of software package


b physical collection of software packages.
c The overall software configuration.

Ans: a

Question 103) Type the path for printer database

a /usr/share/lib/terminfo
b /usr/share/lib/termcap

Ans: a,b

Question 104) What's the meaning of the following command ? -


uuencode filetar.Z filetar.Z | mail -s "filetar.Z" user@machine

a compresses the file and mails it to the user.


c uncompresses the file and mails it to the user.
c encodes the file and mails it to the user.
d decodes the file and mails it to the user.

Ans: c

Question 105) What is the task of the operating system?

a Provide a link between the kernel and system resources.


b Provide a link between the user and the system.
c Provide a link between system components and applications.

Ans: b
Question 106) In Bourne shell how to set a path ?

a set PATH=/dir1/dir2/dir3
b set PATH=(dir1 dir2 dir3)
c PATH=/dir1/dir2/dir3
d PATH=/dir1 /dir2 /dir3

Ans: c

Question 107) What are the 3 components of the operating system?

a kernel, shell and file system.


b directories, sub-directories, files
c PROM, kernel, shell

Ans: a

Question 108) Which file shows the current mounted file systems

a /etc/vfstab
b /etc/mount
c /etc/mnttab
d /usr/mount

Ans: c

Question 109) Which hardware and software are needed to do a remote login and copy ?

a Ethernet
b NFS
c TCP/IP
d NIS+

Ans: a,c

Question 110) At which run level is Network File System (NFS) services typically started?

a2
b3
c4
d5

Ans: b

Question 111) What are the 3 shells that are available with the Solaris environment?

a Bourne, Korn, and c


b Bourne, Korn, and Restricted
c Korn, C, and Restricted

Ans: a
Question 112) How do you find all the patches that have been applied to the package
SUNWaudio?

a showrev -l | grep SUNWaudio


b showrev -p | grep SUNWaudio
c showrev -a | grep SUNWaudio

Ans b

Question 113) What is meant by the term "software configuration cluster"?

a logical collection of software package


b physical collection of software packages.
c The overall software configuration.

Ans: a

Question 114) Which option of the format menu displays vendor name?

a type
b analyze
c info
d inquiry

Ans: d

Question 115) Which print command is used in an e-mail ?

a ? lp
b ? | number lp
c ? | lp
d number | lp

Ans: c

Question 116) What is Multi-tasking?

a The ability to perform more than one task at a time


b The ability for more than one user to log in at a time
c The ability to run more than one operating system at a time

Ans: a

Question 117) Which of the following commands can be used to list the amount of disk space
used by a file system?

a du
b df
c quot

Ans: b
Question 118) Which of the following files can the line "CONSOLE=/dev/console" be included in
to increase system security?

a /dev/console
b /etc/passwd
c /etc/default/login
d /etc/default/su
e /var/adm/loginlog

Ans: c,d

Question 119) What is a Client?

a An entity the requires service from another host.


b An entity that provides service to another host .
c A workstation does not need the support of any other computer system.

Ans: a

Question 120) Which of the following is not a valid /etc/hosts entry?

a 10.21.2.258 jupiter
b 232.85.129.1 saturn
c 193.85.129.2 venus
d 255.85.129.4 mars
e 50.0.0.7 mercury

Ans: a

Question 121) What is the option to mount with nolarge files

a - no largefiles
b -o no largefiles
c o no largefiles
d -o no

Ans: b

Question 122) What is a Server?

a An entity the requires service from another host.


b An entity that provides service to another host.
c A workstation does not need the support of any other computer system.

Ans: b

Question 123) During system initialization, which file causes the init process to call the /sbin/rc2/
script?
a /etc/system
b /etc/vfstab
c /etc/initab
Ans c
Question 124) From the OBP prompt, which command can be used to create a customized
device alias, which survives power cycling the machine?

a alias
b nvalias
c unalias

Ans b

Question 125) The boot server is used to boot what kind of terminal ?

a dumb terminal
b diskless
c dataless
d standalone

Ans: b

Question 126) What information is provided on all process listings generated by the ps
command?

a Program or command name


b Parent process ID
c Process ID
d Associated terminal device

Ans: a,c,d

Question 127) What is a Standalone system?

a An entity the requires service from another host.


b An entity that provides service to another host.
c A workstation does not need the support of any other computer system

Ans: c

Question 128) What is the Kernel?

a The core of the Solaris computing environment.


b The interface between the user and the operating system.
c A hierachy of directories, subdirectories, and files.

Ans: a

Question 129) A process has caused the system to freeze What should you do next?

a Attempt to reboot with Ctrl+alt+del


b Try to login in remotely and stop the process that is locking up the system.
c Run the kill command locally with a killall command
d Hold down the stop and a keys simultaneously.
e None of the above

Ans: b
Question 130) What installation option is not available in Intel installation

a Devolper
b core
c Entire Distribution + OEM support

Ans c

Question 131) When using admintool to create a user account, which of the following can be
specified?

a Username
b User ID (UId
c Group ID (GId
d User's phone number
e Secondary groups

Ans: a,b,c,d,e

Question 132) Which file system is for unbundle third-part software package ?

a /etc
b /usr
c /opt
d /(root)

Ans: c

Question 133) In Bourne shell, how to set values to PATH ?

a PATH=dir1dir2dir3
b PATH="dir1 dir2 dir3"
c set PATH=(dir1 dir2 dir3)

Ans: a

Question 134) What is a File Server?

a A machine that makes its local printer available to other machines on the metwork.
b A machine that shares its disk storage and files with other machines on the network.
c A machine that inplements a shared database of information used by the network.

Ans: b

Question 135) What is a File system?

a A hierarchy of directories and subdirectories.


b The core of the operating system..
c A hierarchy of directories, subdirectories, and files.

Ans: c
Question 136) What is a Shell?

a An interface between the user and the kernel.


b Translates machine language to English.
c An interface between the kernel and the Operating System.

Ans: a

Question 137) Which database must have entries for printer types in order for printers to work ?

a /usr/terminfo
b /usr/termcap
c /usr/share/lib/terminfo
d /usr/share/lib/termcap

Ans: c

Question 138) Which of the following types of files are typically stored in the root file system?

a User home directories


b System commands
c Kernel files
d Device drivers

Ans: c,d

Question 137) Which variables are automatically setup when you login ?

a LOGNAME
b TERM
c PATH
d LPDEST

Ans: a,b,c

Question 138) In addition to the word login, what does initial login prompt include ?

a home directory
b default shell
c host name
d working directory

Ans: c

Question 139) The command to run system as NFS client

a init 0
b init -o nfs clinet
c init 2

Ans: c
Question 140) Multitasking and multiuser are basic features of UNIX and the Solaris Computing
environment?

a True
b False

Ans: a

Question 141) Which command prints the current directory name ?

a ls
b cd
c pwd
d cat

Ans: c

Question 142) Which command can be used by the guest account to change its password?

a admintool
b passmgmt
c usermod
d passwd

Ans: d

Question 143) Which files control access to cron utility ?

a /etc/cron.d/cron.allow and /etc/cron.d/cron.deny


b /var/spool/cron, /var/spool/cron/crontabs

Ans: a

Question 144) Which command can be used to display the contents of a terminfo entry for
printers?

a infocmp
b terminfo
c pinfo
d printers

Ans: a

Question 145) How to quit vi without saving changes ?

a q!
bq
c ZZ
d ctrl-d

Ans: a
Question 146) How the dos file systems are recoganised in Solaris

a dos
b dosfs
c pcfs
d winfs

Ans: c

Question 147) More than one user accessing the system at the same time is referred to as ?

a Multiuser.
b Multitasking.
c Multifuunctional.

Ans: a

Question 148) Which of the following commands display both instance and physical device
names?

a sysdef
b prtconf
c mount
d dmesg
e df

Ans: d

Question 149) Which statement is true for chown -R user1 /export/home/user1 ?

a only /export/home/user1 is owned by user1


b all files and directories in /export/home/user1 are owned by user1
c all files and directories in /export/home/user1 are owned by user1, including /export/home/user1

Ans: c

Question 150) How to list users who login on local area network ?

a rup
b rlogin
c rusers
d finger

Ans: c

Question 151) What is a host?

a A machine that requires service from another machine


b A machine that shares its disk storage and files with other machines.
c A computer system in a network computer environment.
Ans: c
Question 152) What's the default file and directory permission ?

a 644 and 766


b 644 and 755
c 655 and 766
d 655 and 755

Ans: b

Question 153) What is an IP address?

a The address of where the machine is physically located


b A number used by networking hardware to identify machines attached to the network.
c A number used by networking software to identify machines attached to the network

Ans: c

Question 154) Which of the following functions can be performed by a nonadministrative user
with the crontab command?

a Delete the user's crontab file


b Edit the user's crontab file
c List the user's crontab file
d List another user's crontab file
e Edit another user's crontab file

Ans: a,b,c

Question 155) What is the command to quit and discard any changes in the vi text editor?

a wq!
b w!
c q!
dq

Ans: c

Question 156) What is a network?

a A group of computers in the same room.


b A group of computers which are connected
c A group of computers.

Ans: b

Question 157) What is a domain?

a A network community of users sharing the same workstations.


b A network community of users sharing the same name service database of information
c A group of computers all using the same printer.

Ans: b
Question 158) What is a partition of a disk ?

a a sector in a disk
b a slice in a disk
c a track in a disk
d a cylinder in a disk

Ans: b

Question 159) Which command display login, logout information ?

a last
b who
c whodo
d uname

Ans: a

Question 160) What is the File Manager used for?

a To navigate the file structure


b To navigate the kernel.
c To navigate the OS.

Ans: a
Question 161) The hosts file is as following, which statements are true ?
192.33.64.11 venus
192.33.64.15 mars
192.33.64.254 star

a all machines are in same subnet


b the machine may be venus
c this is a class B network
d this is a class C network

Ans: a,b,d

Question 162) Which of the following commands will add a printer to a printer class?

a lp -p laser1 -c draft
b lpadmin -d laser1 -c draft
c lpadmin -p laser1 -c draft
d lp -d laser1 -c draft

Ans: c

Question 163) What is one of the commands a user can use to close their account when they are
finished working?

a bye
b exit
c close

Ans: b
Question 164) Which task is the kernel responsible for?

a managing users
b managing CPU resources
c managing Memory

Ans: b

Question 165) What is the Help Viewer?

a Provides help when you have a syntax error.


b An online help screen
c A hypertext-based help system.

Ans: c

Question 166) What is the purpose of the Console window?

a Used to enter text.


b Used to display system error messages and diagnostic information.
c Used to display active processes.

Ans: c

Question 167) What piece of information must a user provide to protect their account?

a password
b user Id
c group Id

Ans: a

Question 168) Which command gives information about packages.

a pkginfo
b pkgchk
c patchadd

Ans: a

Question 169) The command used to see data flow in ftp

a hash
b prompt
c connect
d get

Ans: a
Question 170) What is the area outside of any windows and icons referred to?

a The workspace
b The Background
c The Screen.

Ans: a

Question 171) What is the default spool directory for patches?

a) /var/sadm/patch
b) /var/spool/patches
c) /var/adm/patches
d) No default but /var/spool/patch is commonly used

Ans: b

Question 172) What is the left button on the mouse?

a Adjust
b Select
c Menu

Ans: b

Question 173) What is the center button on the mouse?

a Select
b Adjust
c Menu

Ans: b

Question 174) Which of the following is an instance name composed of?

a Full pathname and physical device number


b Driver binding name and instance number
c Logical device name and partition number
d Physical device name and instance number

Ans: b

Question 175) What is the right button on the mouse?

a Menu
b Select
c Adjust

Ans: a
Question 176) Which of the following commands can be used to define a Bourne shell variable?

a setenv PRINTER=lp1
b env PRINTER lp1
c PRINTER=lp1
d set PRINTER lp1
e define PRINTER as lp1

Ans: c

Question 177) Which of the following create a new file ?

a touch newfile
b cat oldfile newfile
c cp oldfile
d cat oldfile | newfile

Ans: a,b

Question 178) How do you display the work Space menu?

a Press the right mouse button inside any window.


b Press the right mouse button outside any icon or window
c Press the center mouse button anywhere on the screen.

Ans: b

Question 179) Which of the following can be used to remove packages?

a admintool
b pkgtool
c pkgadd
d pkgrm
e pkginfo

Ans: a,d

Question 180) How to display current shell process ?

a ps -aux
b ps -ef
c ps
d ps -el

Ans: c

Question 181) What is the pushpin used for in some menus and windows?

a Used to "pin" a menu to the workspace


b Used to log out of the System.
c Used to open another window.

Ans: a
Question 182) What does the term ABSOLUTE PATH mean?

a Tells you absolutely how to get to a file or directory.


b Tells you where you are in a file structure
c Displays the directory you are currently working in.

Ans: a

Question 183) What is the Internet class for IP 192.34.64.11 ?

aA
bB
cC
dD

Ans: c

Question 184) Whats the output of mkdir -p x/y/z

a it creates dir x,y,z


b it creates dir z in y , y in x , x under the current dir
c its not a vaild command
d it creates dir x,y/z

Ans: b

Question 185) What does the term PARENT DIRECTORY mean?

a The root directory.


b A directory with any directories below it.
c A directory below another directory.

Ans: b

Question 186) While changing the password, by how many characters the new password has to
differ from the old one in Solaris 8?

a2
b8
c3
d4

Ans: c

Question 187) On name service form, if you choose "Specify hostname of server",what you must
provide ? (During installation when you choose NIS+)

a server's domain
b server's hostname
c server's IP address
d server's Ethernet address

Ans: b,c
Question 188) A file system can be defined as?

a files and directories.


b a hierarchy of files and directories found in a partition.
c The partitions on a system.

Ans: b

Question 189) Which file system contains unbundled and third-party software applications?

a /usr
b /home
c /opt

Ans: c

Question 190) What must be specified when using the kill command to terminate a process?

a The signal to send to the process


b The process ID (PId of the process
c The owner (UId of the process
d The name of the process

Ans: b

Question 191) Which command displays the all files with one screen full a time ?

a ls -la | more
b ls -la more
c ls -ls
d ls -la more

Ans: a

Question 192) Which file system is at the top of the file hierarchy?

a root (/)
b /home
c /etc

Ans: a

Question 193) How can you send mail in command line ?

a mail -s "hi" username


b mail username
c mail username filename
d mail username@machinename < filename

Ans: d
Question 194) Which Bourne shell command changes to your login directory ?

a cd
b cd ~
c cd /home
d cd $HOME

Ans: a,b,d

Question 195) Which file system contains executable commands, system administration utilities,
and library routines?

a /etc
b /usr
c /home

Ans: b

Question 196) Which file system contains the user's home directory?

a root (/)
b /export/home
c /usr

Ans: b

Question 197) Which command to stop entire LP services ?

a /etc/init.d/lp stop
b lp -d
c cancel
d lpadmin -d

Ans: a

Question 198) Your system has been brought to the boot prompt through an interrupt. Which
command should you now use to minimize amount of disruption caused to the disk-file system?

a reset
b sync
c disk
d set

Ans b

Question 199) What's the software package cluster ?

a a logical collection of related software packages.


b unboundle software packages.
c a collection of all software packages.
d a collection of various files and directories.

Ans: a
Question 200) What is the command that displays all the system mount points?

a showmount
b mountd
c mount

Ans: c

Question 201) What is the contents in /etc/skel ?

a template of shell scripts.


b default login scripts.
c kernel system files.
d host's name information.

Ans: a

Question 202) Which 2 commands should be used to acquire online information about the
/etc/vfstab file?

a man -s4 vfstab


b man vfstab
c man vfstab(5)
d man /etc/vfstab

Ans a,c

Question 203) What is the command to display the file system information in Kbytes?

a ls -l
b df -k
c df -l

Ans: b

Question 204) Which of the following commands can be used to create a UFS file system?

a mkfs
b mkfs -F ufs
c mkfs_ufs
d newfs

Ans: a,b,c,d

Question 205) What does the term CURRENT DIRECTORY refer to?

a The directory in which you are currently working.


b The hierarchy of files and directories.
c parent directory.

Ans: a
question 206) You want to prevent the password for the guest account from being changed
frequently. Which field of the Admintool Modify User window do you use?

a Password
b Min Change
c Max Change
d Max Inactive

Ans: b

Question 207) Which ls command option would you use to verify the owner of a file?

a -l
b -a
c -s

Ans: a

Question 207) Under format menu which command is used to find the current label

a partition
b print
c label
d current

Ans: c

Question 208) Which of the following can be used to specify the printer to be used?

a The LPDEST shell variable


b The lpadmin command
c The lp command
d The PRINTER shell variable

Ans: a,b,c,d

Question 209) Which of the following can be used to remove multiple patches?

a patchrm -M /var/spool/patch 104567-03 106583-10 103276-04


b Use patchrm to remove each patch separately
c patchrm -M /var/spool/patch patchlist

Ans: b

Question 210) What is the pwd command used for?

a To display your default printer.


b To display your parent directory.
c To display your current directory.

Ans: c
Question 211) A tree of directories and files is called

a a file system
b a cluster
c a hard drive

Ans: a

Question 212) What does one period (.) represent.

a The current parent directory.


b The current working directory.
c The current sub-directory.

Ans: b

Question 213) What does the -a option do in the ls command

a list files in long format


b list hidden files
c This is not a valid option for the ls command

Ans: b

Question 214) What command displays the NVRAM parameters?

a setenv
b env
c printenv

Ans: c

Question 215) What command changes the NVRAM parameters?

a setenv
b env
c chmodenv

Ans: a

Question 216) What does the -r option do in the rm command

a removes all empty sub-directories.


b removes a directory that is not empty.
c removes all files.

Ans: b
Question 217) Which command are legal ?

a ls filename -l
b head -10
c head -20 /dev/filename
d mv -i *

Ans: c

Question 218) What does the cat command do?

a Gives a listing of all files in a directory.


b Displays short files.
c Displays your current working directory.

Ans: b

Question 219) Which 2 commands or utilities can be used to display a list of active process?

a prstat
b ps
c sdtprocess
d ps -a

Ans a,c

Question 220) How is the error message processed if the print daemon encounter a problem
when a user sends a file to the printer ?

a display the message on the console or mail the message to administrator.


b display the message on the console and mail the message to the user sending the job
c display the message on console only.
d mail the message to the user only.

Ans: c

Question 221) When receiving an encoded mail, how to read it ?

a nothing. Save it to a file will be readable automatically.


b save it to a file, then uncompress it.
c save to a file, then uudecode the file
d save to a file, then crypt the file

Ans: c

Question 222) Which function is not performed by /etc/group file ?

a assign secondary groups for users


b assign a name to primary groups
c provide a special group for super user privilege

Ans: b
Question 223) Which command(s) does not integrate incremental backup feature?

a Tar
b cpio
c ufsdump
d dd

Ans: a,b

Question 224) What does the more command do?

a Displays the contents of a file to the screen more than once


b Displays the contents of a file
c Displays the contents of a file to the screen one screenful at a time

Ans: c

Question 225) To list current mounted file system.


a mountall
b mount
c umount
d umountall

Ans: b

Question 226) Which commands are correct ?

a ls /usr/local/bin -l
b pwd cd
c cd ..
d rm -i *

Ans: c,d

Question 227) What does the man command do?

a Displays the help viewer.


b Displays all processes that are active
c Accesses the on-line reference pages.

Ans: c

Question 229) What does the head command do?

a Displays the header in a file


b Creates a header in a file
c Displays the first n lines of a file

Ans: c
Question 230) What does the tail command do?

a Displays the footnote in a file


b Displays the last n lines of a file
c Creates a footnote for a file

Ans: b

Question 240) Which command can delete /export/app/report directory in /export/app directory ?

a rm -r report
b rmdir report
c rm report
d rmdir /export/app/report

Ans: a

Question 241) Which command should be used to configure only those devices supported by the
st drives?

a devfsadm -i
b devfsadm -i st
c devices
d dev

Ans: b

Question 242) What does the touch command do?

a Creates new, empty files.


b Finds out if a file exist.
c Creates a new file

Ans: a

Question 243) What is the content of file /etc/nodename ?

a the domain name


b the machine host name
c the network name that the machine is connected to.
d the remote machine name

Ans: b

Question 244) Your current working directory contain ./ ../ .tst dir1/ file1 file2 file3 file4. Which
command copies the .tst file into the dir1 directory?

a cp .tst /
b cp .tst /../dir1
c cp .tst dir1/
Ans: c
Question 245) You enter the patchrm 108577-03 command, and it fails. Which of the following
situations will cause the command to fail?

a You are not logged in as root


b Patch 108577-03 is not installed on the system
c Patch 108577-04 is installed on the system
d The patch was installed using patchadd -d

Ans: a,b,c,d

Question 246) What does the semicolon allow you to do on the command line?

a Enter multiple commands on a single command line


b Enter one command on multiple command lines.
c Acts as a new line character.

Ans: a

Question 247) What does the asterisk represent?

a 1 or more characters
b Zero to more characters.
c 2 or more characters.

Ans: b

Question 248) Sysadmin group can do

a They can remotely administer


b They can change printer configuration from command line
c They can add users from command line

Ans: a,b,c

Question 249) Which command produces this


root console Tue Oct 2 1024 - 1050 (0026) ?

a who
b last
c users
d whoami

Ans: b

Question 250) The option used with ls to list all hidden files

a -l
b -a
c -o
d -h

Ans: b
Question 251) # lpmove stock sparc meAns:

a move all print requests from stock to sparc


b move all root printing requests from stock to sparc
c move printing request stock to printer sparc

Ans: a

Question 252) Which of the following commands will show the current run level?

a) boot -l
b) who -b
c) uptime
d) who -r

Ans: d

Question 253) What does the Pipe (|) do?

a Takes the output of a command and logs it.


b Take the output of one command and displays it to the screen.
c Takes the output of one command and passes it as the input into a following command

Ans: c

Question 254) What are the 3 modes of operation in vi?

a Command mode, Insert mode, Entry mode


b Entry mode, Command mode, Replace mode
c Command mode, Entry mode, Last-line mode

Ans: c

Question 255) How do you create a new file using vi?

a new filename
b vi filename
c touch

Ans: b

Question 256) Which statement is true about IP address ?

a It consists of digital number separated by dot.


b It consists of letters, slash, dash, not digital numbers.
c It is used for searching network resources.
d It is used for searching network machines.

Ans: a,d
Question 257) What is the primary job of the shell?

a A command interpreter.
b The core of the operating system.
c Interpreter between applications and the OS.

Ans: a

Question 258) Which of the following shows the access mode of a file that has the setgid
enabled?

a srwxrwxrwx
b -rwsrwxrwx
c -rwxrwsrwx
d -rwxrwxrws
e -rwxrwxrwt

Ans: c

Question 259) How to get date information into day variable in Bourne shell ?

a day=`date`
b day='date'
c day="date"

Ans: a

Question 260) What are environmental variables?

a Variables exported to all shells.


b Any variable
c Variable available to the current shell.

Ans: a

Question 261) Which of the following can be added in the members list of the Admintool Add
Group window?

a UIDs that are less than 1,000


b The names of user accounts that are locked or have no password
c UIDs that are 1,000 or greater
d The names of user accounts used for system administration

Ans: b,d

Question 262) What is the env command used for?

a To display the current (local) variables and their values.


b To display all variables.
c To display the current (exported environment variables and their value

Ans: c
Question 263) What is a local variable?

a Variables exported to all shells.


b Variables known only in the current shell or window.
c Variables defined in the .profile

Ans: b

Question 264) What is the command to search for files and their full paths?

a search
b find
c goto

Ans b

Question 265) What is the set command used for?

a Displays the current shells exported variables.


b Displays the current shell's local variables.
c Displays the users that are logged in.

Ans: b

Question 266) What is the echo command used for?

a Display text or variables.


b Used to repeat a command more than once
c Displays text twice

Ans: a

Question 267) Within the partition menu of the format command, which simple command should
you type next in order to give a name to the current label definition for future retrieval?

a Label
b disk
c type

Ans: a

Question 268) How to use on-line help ?

a help
b help login
c cat login
d man login

Ans: d
Question 269) What is the PATH variable used for?

a To determine the path to a command


b To determine the search order for the find command
c To determine the search orders for commands that are executed

Ans: c

Question 270) What does the which command display?

a The path name leading to a command


b To determine the search order for commands that are executed
c To determine the current shell in use

Ans: a

Question 271) What command displays your current search path?

a echo $PATH
b show $PATH
c $PATH

Ans: a

Question 272) What command is used to change file permissions?

a chmod
b chperm
c permission

Ans: a

Question 273) What command is used to display your current user mask setting?

a mask
b umask
c showmask

Ans: b

Question 274) What does the r mean in the following file permission for the owner ?
-rw-r-----

a cannot read
b read only
c readable
d can execute

Ans: c
Question 275) What command is used to change group ownership on files and directories?

a chmod
b passwd
c chgrp

Ans: c

Question 276) 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

Ans: b,c,d

Question 277) What is setuid?

a Changes a users Id
b Treats anyone with permission to run a program as if they are the program owner.
c Lets anyone run a particular program.

Ans: b

Question 278) What is the command to display who is currently logged into the system?

a who
b whoami
c whoishere

Ans: a

Question 279) What does the last command display?

a login and logout information


b The last n commands executed
c The last n lines of a file

Ans: a

Question 280) What type are CDROM file ?

a pipe
b symbolic link
c character
d block

Ans: c
Question 281) What is the format of the password file??

a usernamecommentUIDGIDhome-dirlogin_shell
b usernamexUIDGIDcommenthome-dirlogin_shell
c usernamexGIDUIDhome-dirlogin_shell

Ans: b

Question 282) Which file has login ID and other user information ?

a /etc/passwd
b /etc/hosts
c /etc/group

Ans: a

Question 283) Which 4 vi commands switch from command mode to edit mode?

aa
bi
cA
d cw

Ans: a,b,c,d

Question 284) Which are valid printer port ?

a /dev/term/a
b /dev/term/b
c /dev/term/ttya
d /dev/dsk/c0t0d0s3

Ans: a,b

Question 285) What command is used to become a different user?

a change
b du
c su

Ans: c

Question 286) You are working from a text-based terminal. Which command should you use to
change a user's primary group?

a chgrp
b groupmod
c chown

Ans: b
Question 287) What command is used to display your user ID, user name, group ID, and group
name?

a id
b gid
c showname

Ans: a

Question 288) Which statement is true about the file /etc/hosts ?

a It gives the hosts' name and their IP addresses.


b Any user can modify it.
c It is created automatically when adding a new user.
d It is created automatically when installing system.

Ans: a,d

Question 289) What does the -(dash) option provide with the su command?

a allows the user to adopt the environment of the new user.


b allows the user to log in as another user.
c allows the user to log in as super user.

Ans: a

Question 290) When a user account is created, the .profile is copied from which file?

a /etc/skel/default.profile
b /etc/profile
c /etc/skel/local.profile
d /.profile

Ans: c

Question 291) What command is used to display the Administration Tool?

a admintool
b admin
c tool

Ans: a

Question 292) What command is used to create a users' group?

a addgroup
b groupadd
c grpadd

Ans: b
Question 293) What command is used to add a user and create a users' home directory?

a useradd
b adduser
c addgroup

Ans: a

Question 294) What command allows a login session on a remote system?

a login
b rlogin
c enter

Ans: b

Question 295) What command is used to execute a program on a remote system?

a rsh
b rcp
c rexecute

Ans: a

Question 296) How to identify default boot information

a banner
b printenv
c devalias

Ans: a

Question 297) How many lines head/tail will display by default ?

a 10 lines
b 5 lines
c 25 lines

Ans: a

Question 298) What command allows you to copy files or directories to and from another
machine?

a rsh
b rcopy
c rcp

Ans: c
Question 299) What is the host.equiv file used for?

a to identify remote machines as trusted hosts.


b to identify remote machines.
c to identify remote hosts with the same OS.

Ans: a

Question 300) When the mount command is entered without any command line arguments, what
happens?

a All file systems in /etc/vfstab are mounted


b All mounted file systems are displayed
c All file systems in /etc/vfstab are displayed
d All file systems listed in /etc/mnttab are displayed

Ans: b,d

Question 301) The reason why Solaris is distributive is that

a use of resources across network


b distribution of computers on network
c more than on person can access one file at the same time

Ans: a

Question 302) Which 2 commands or utilities can be used to display a list of active process?

a prstat
b sdtprocess
c ps -al
d proc

Ans: a,b

Question 303) What should I modify if I would like to change the password aging period?

a /etc/shadow
b /etc/password
c /etc/default/passwd
d /etc/inetinit

Ans: c

Question 304) What command allows you to log into remote systems, including non-UNIX
systems?

a rlogin
b telnet
c remote

Ans:b
Question 305) What is minimum file system required other than /root

a /etc
b /export/home
c /usr
d /user

Ans: c

Question 306) What is the ftp command used for?

a send files to a remote system


b get files from a remote system.
c transfer files using ASCII, binary, DOS, or UNIX format
d All the above

Ans: d

Question 307) The /etc/cron.d/cron.deny file exists, but not the /etc/cron.d/cron.allow file Which of
the following statements is true regarding access to the cron capability?

a Without a cron.allow file, no one, including root, is allowed to create,edit, or delete crontab files.
b Without a cron.allow file, only root is allowed to create, edit, or delete crontab files.
c Any user account not listed in the cron.deny file can create, edit, or delete crontab files.
d Any user account listed in the cron.deny file cannot create, edit, or delete crontab files.

Ans: c,d

Question 308) Questionuick install installs which cluster of packages ?

a core
b entire OS
c developer's package
d end-users' package

Ans: c

Question 309) What #rsh machinename does ?

a create a remote shell on local machine


b log user into a remote shell
c log user into the remote machine
d run a command on the remote machine, then exit

Ans: c

Question 310) What command identifies who is logged in on the network?

a rusers
b whoami
c rlog

Ans: a
Question 311) You are aware of a scheduled power outage Which 3 commands protect your
computer against power outage?

a shutdown -i 0 -g 300 -y
b shutdown -i 1 -g 300 -y
c shutdown -i 5 -g 300 -y

Ans a,b,c

Question 312) The entry "SULOG=/var/adm/sulog" to enable logging of su usage is added to


which of the following files?

a /dev/console
b /etc/passwd
c /etc/default/login
d /etc/default/su
e /var/adm/loginlog

Ans: d

Question 313) What is the ping command used for?

a to determine if the named host is up and running


b to determine if the pong is working.
c to determine if a user is logged into a specific workstation.

Ans: a

Question 314) the command used to check the accuracy of package installation

a pkginfo
b shpkg
c testpkg
d showrev -p

Ans: a

Question 315) What command displays the status of various network-related data structures?

a status
b netstat
c rstat

Ans: b

Question 316) What is the task of the compress command?

a Used to combine two files into one


b Used to compress files.
c Used to combine two or more files into one

Ans: b
Question 317) What is the result of the following command?
setfacl -s urw-,gr--,or--file1

a Access mode 644 is added to the existing ACLs for file1.


b Access mode 644 is deleted from the existing ACLs for file1.
c Access mode 644 replaces the existing ACLs for file1.
d Access mode 622 is added to the existing ACLs for file1.
e Access mode 622 replaces the existing ACLs for file1.

Ans: c

Question 318) What can verify the accuracy and integrity of a software package?

a pkgchk
b pkgchk -l
c pkginfo -l
d pkginfo -v

Ans: a

Question 319) What is the uuencode command used for?

a Create an ACSII-encoded representation of the binary file


b Create a file with a password protection.
c Create a directory with password protection.

Ans: a

Question 320) Which file contains the characteristics definition of printers stored?
a /usr/share/lib/terminfo
b /usr/share/lib/termcap
c /usr/share/lib/printer
d /etc/default/printer

Ans: a

Question 321) Which commands can be used to install a package from CD-ROM?

a admintool with Source Media set to CD with Volume Management


b pkgadd -d /cdrom/cdrom0
c admintool with Source Media set to CD without Volume Management
d pkgadd -s /cdrom/cdrom0

Ans: a,b,c

Question 322) What command is used to send mail from the command line?

a mailx
b sendmail
c xmail

Ans: a
Question 323) Shell is

a interpreter and trAns:lator


b carry out user requests.
c act as a programming language only

Ans: a

Question 324) What database consists of a series of files that describe control sequnces?

a termcon
b terminfo
c datainfo

Ans: b

Question 325) Every printer definition must contain two things. What are they?

a printer type , printer name


b printer type , location
c content type , printer type

Ans: c

Question 326) What is the name of the print service scheduler?

a prtsched
b printsched
c lpsched

Ans: c

Question 327) In which order Bourne shell execute during login ?

a /etc/default/profile, $HOME/.profile
b $HOME/.profile, $HOME/.login
c /etc/profile, $HOME/.profile
d /etc/profile, $HOME/.login

Ans: c

Question 328) The Solaris supports what type of printing environment?

a homogenous
b heterogeneous
c hetero

Ans: b
Question 329) Which of the following files are used to control access to the at command?

a /usr/lib/cron/at.allow
b /etc/cron/at.allow
c /var/spool/cron/atjobs/at.allow
d /var/spool/cron/atjobs/at.deny

Ans: a

Question 330) Which command shows the users that have logged off the system?

a who
b last
c whodo
d id

Ans: b

Question 331) What is the lp command used for?

a to print ASCII or text files .


b to set up a line printer.
c to switch default printers.

Ans: a

Question 332) Which of the following types of file systems can be checked using the fsck
command?

a S5
b UFS
c TMPFS
d HSFS

Ans: a,b,d

Question 333) lpstat -d meAns:

a delete a printing request


b show default printer
c print a file
d show printing requests on destination printer

Ans: b

Question 334) What's the meaning of the command chmod 4750 filename ?

a set UID
b set GID
c set stick bit
d unset UID

Ans: a
Question 335) What command is used to diplay the print queue?

a lpstat
b lpqueue
c lprint

Ans: a

Question 336) What command to boot from cdrom

a boot cdrom from prompt


b boot cdrom from o.k prompt

Ans: b

Question 337) What command is used to cancel a specific printer request waiting in the queue?

a cancel
b stop
c halt

Ans: a

Question 338) After reading and quitting from mail, the mail file is saved in

a mbox
b inbox
c .mailx

Ans: a

Question 339) A (blank) is a named group of printers created with the lpadmin command?

a group
b set
c class

Ans: c

Question 340) A user logs into a system running the Solaris 8 Operating Environment using the
telnet command The user has been assigned a bourne shell (sh) and home /home/user/
directory. All of the following files exist with appropriate ownership and permissions. Which 2 files
are used to initialize this user's session?

a /etc/profile
b /home/user/.profile

Ans a,b
Question 341) What is the lpmove command used for?

a To move selected print request from one printer to another.


b To move printers from one queue to another.
c To form feed the line printer.

Ans: a

Question 342) Which command enables you to list, but not retrieve the contents of a tape archive
copied to the default tape device /dev/rmt/0?

a tar tf /dev/rmt/0
b tar cf /dev/rmt/0
c tar xf /dev/rmt/0

Question 343) What command searches the specified directory hierarchy for files that match the
search criteria?

a where
b find
c search

Ans: b

Question 344) Which command shows the last reboot time?

a boot -t
b who -r (I think This is Correct)
c uptime
d who -b

Question 345) What does the ps command do?

a list post script printers.


b list the processes currently running on the system.
c list all available printers.

Ans: b

Question 346) What is the task of the at command?

a execute a command or script at a specific workstation.


b execute a command or script at the server.
c execute a command or script at a specified time
Ans: c

Question 347) What command copies files between hosts ?

a rcp
b rsh
c ftp
d telnet

Ans: a,c
Question 348) Enables more than one process or application to be used at a time

A Multiuser
B Multitasking
C Distributed Processing.
D Timesharing

Ans: b

Question 349) The option used to duplicate user id

a -d
b -i
c -u
d -o
e -id

Ans: d

Question 350) What command can display default boot device?

a devaliase
b printenv
c probe-scsi
d default

Ans: b

Question 351) Which command is used to build a new file system on the raw special device at
c0t3d0s5?

a newfs /dev/rdsk/c0t3d0s5
b mkfs /dev/dsk/c0t3d0s5
c newfs c0t3d0s5

Ans: a

Question 352) Which files you can use to add mail aliases ?

a ~/. mailrc
b /etc/mail
c /etc/aliases
d ~/.aliases

Ans: a,c

Question 353) Which command is boot from CD-ROM

a the command boot cdrom from BOOT EPROM prompt.


b the command boot cdrom from ok BOOT EPROM prompt.
c boot d(0,6,2)
d the command boot disk from BOOT EPROM prompt.
Ans: b,c
Question 354) Which command can print an e-mail to a printer ?

a ? lp
b ? number lp
c ? 1lp
d ? number | lp

Ans: a,c

Question 355) Root console pluto Fri DEC 15 1024 ィ C 1050 (0026)
Which command can display the information?

a Who
b Last
c dmesg
d finger

Ans: b

Question 356) Which of the following commands either display or can use logical raw device
names?

a format
b newfs
c fsck
d mount
e df

Ans: a,b,c

Question 357) What is the default NIS+ security level?

a0
b1
c2
d3

Ans: c

Question 358) Which change can let root remote login host.

a CONSOLE=
b #CONSOLE=/dev/console

Ans: B

Question 359) mount a large file enable file system

a mount /dev/dsk/c0t0d0s3 /export/home


b mount ィ Co large /dev/dsk/c0t0d0s3 /export/home
c mount large /dev/dsk/c0t0d0s3 /export/home

Ans: a
Question 340) How to build a new ufs file system

a newfs
b nwfs
c fsck

Ans a

Question 341) Type the command to display current default printer status.

a lp
b lpstat
c lp -o
d lp -l

Ans: b

Question 342) Type the command to delete printer queue

a reject
b cancel
c delete
d deny

Ans b

Question 343) You wan to change the services which are to be loaded by default which file you
will edit

a /etc/mnttab
b /etc/initab
c /etc/system
d /etc/vfstab

Ans: d

Question 344) Where to change umask value for c-shell

a .profile
b login
c .login

Ans: c

Question 345) Which option of useradd allows duplication of UIDs?

a -d
b -o
c -r
d -D
e useradd doesn't support duplication of UIDs

Ans b
Question 346) Which of the following controls the root login policy ?

a /etc/default/su
b /etc/default/login
Ans: a

Question 347) The three main parts of the SunOS are

a memory, swap space and file system


b kernel, daemons and shell
c file structure, virtual memory and kernel
d kernel, shell and file structure
e swap space, daemons and shell

Ans: d

Question 348) The following sets a permanent customized device alias at the OBP
OK ******* bootdisk2 /pci@1f,0/pci@1,1/ide@3/dsk@2,0
Which is the missing command?

a alias
b unalias
c nvalias
d ualias

Ans: c

Question 349) The core functions of the operating system do not include

a the provision of graphical user interface to users


b the management of devices and memory
c the management of processes and daemons
d the scheduling and execution of commands

Ans: a

Question 350) What is the default shell for the Solaris computing environment?

a Bourne Shell
b Korn Shell
c C Shell
d Z Shell
e TC Shell
f BASH Shell.

Ans: a,b,c,d,e,f

Question 351) Does any one know the custom installation parameters in Sol 8 installation.Choose
3? choices
a 64 bit support
b software cluster group
c user disk quota
d File system configuration

Ans: a,b,d
Question 352) Which system is installed automatically while Solaris is being installed ?

a core
b entire system
c development
d end-user

Ans: a

Question 353) Which file is command to both Bourne and Korn shell ?

a .profile
b .cshrc
c .login

Ans: a

Question 354) The directory which contains executable commands, system administration utilities
and library routines is

a/
b /usr
c /etc
d /home

Ans: b

Question 355) The directory that contains genunix (the kernel) is

a /kernal
b /etc
c /usr
d /var

Ans: a

Question 356) The directory that contains passwd file is

a /etc
b /passwd
c /shadow

Ans: a

Question 357) The directory that contains unbundled and third party software applications is

a /home/export
b /var
c /opt
d /etc

Ans: c
Question 358) The directory that contains users' home directory is

a /export/home
b /usr
c /var
d /opt

Ans: a

Question 359) The following items are the advantages of NIS+ has over NIS except

a Storage of machine names and addresses


b Secure data access
c Hierarchical and decentralized network administration
d Very large name space administration
e Internet host lookups
f Access to resources across domains
g Incremental updates

Ans: a,e

Question 340) What are the valid Sun System Configurations

a Mainframe systems
b Client
c Sun Micro systems
d SPARC systems
e Standalone
f Servers

Ans: b,e,f

Question 341) The core software configuration cluster contains

a compilers and debugger


b extended hardware support for OEM components
c drivers required to run OpenWindows and CDE
d Openwindows and CDE
e compiler tools and man pages

Ans: c

Question 342) The Developer software configuration cluster contains

a compilers and debugger


b extended hardware support for OEM components
c drivers required to run OpenWindows and CDE
d Openwindows and CDE
e compiler tools and man pages

Ans: c,d,e
Question 343) Which of the following commands can be used to move a print request to the top
of a printer queue?

a lp -H immediate file1
b lpadmin -t file1
c lp -d laser1 -q 0 file1
d lp -d laser1 -H immediate file1

Ans:a,c,d

Question 344) How to use find to find a file under /usr directory and print its absolute path ?

a find /usr -name filename -print


b find /usr -name filename

Ans: a

Question 345) Write down a single command (including the full path) and its options that will
change the system runlevel to 0 after a grace period of 5 minutes and will send the message
"**System is going down in 5 minutes**" to all active users of the system.

a #shutdown -i 0 g 300 "**System is going down in 5 minutes**"


b #shutdown -v 0 g 300 "**System is going down in 5 minutes**"
c #shutdown -m "**System is going down in 5 minutes**" -i 0 g 300

Ans: a

Question 346) What is the OK prompt command to find out the machine model, presence of
keyboard, ROM revision, memory, serial number, ethernet address and host ID?

a printenv
b banner
c env
d uname -x

Ans: b

Question 347) Which command is used to retrieve additional information about a command at OK
prompt?

a help
b man
c info
d seek
e question

Ans: a
Question 348) What in the name of the directory where the Kernel device information file
path_to_inst is found?

a /etc
b /opt
c /root
d /var

Ans: a

Question 349) Which PROM command shows the default boot device?

a echo
b nvalias
c devalias
d printenv

Ans: d

Question 350) What command is used at OK prompt to show the aliases?

a echo alias
b showalias
c alias -a
d displayalias
e devalias

Ans: e

Question 351) Siva wants to backup his home directory Monday-Friday,


which cron job will do this ?

a 0 4 * * 2-6 tar cf /dev/rmt/0 /home/homer


b 0 4 * * 1-5 tar cf /dev/rmt/0 /home/homer
c 0 4 * 1-5 * tar cf /dev/rmt/0 /home/homer
d 0 4 * 1-30 * tar cf /dev/rmt/0 /home/homer

Ans: b

Question 352) Write down the commands at OK prompt to (a find out whether the system will
automatically boot to CDE/OpenWindow upon reboot

a ok printenv auto-boot?
b ok env auto-boot?
c ok test auto-boot?

Ans: a
Question 353) Set the corresponding environment variable such that the system will not
automatically boot up into the login manager

a ok setenv auto-boot? false


b ok env auto-boot? false
c ok set auto-boot? false

Ans: a

Question 354) Make the previous change persists

a ok default
b ok reset
c ok orginall-conf

Ans: b

Question 355) Which commands in vi place you in insert mode from command mode?

ai
ba
cA
d cw
eD
fG

Ans: a,b,c,d

Question 356) Write down the command to boot a SPARC machine into Single user mode with a
CDROM

a ok boot cdrom -s
b ok boot cdrom -i
c ok boot cdrom

Ans: a

Question 357) Softwares distributed as packages on a Solaris 2.x system should contain

a the readmetxt file


b files describing that particular package
c the actual files to be installed
d scripts that should be run before and after installation
e scripts that should be run during removal

Ans: b,c,d,e

Question 358) Which of the following commands will display all packages

a pkginfo
b shpkg
c showpkg
d sh package

Ans: a
Question 359) What does /dev/dsk/c0t3d0s6 identify?

a The logical raw device addressed as Controller 0 Target 3 Disk 0 Partition 6


b The logical block device addressed as Controller 0 Target 3 Disk 0 Partition 6
c The physical raw device addressed as Controller 0 Target 3 Disk 0 Partition 6
d The physical block device addressed as Controller 0 Target 3 Disk 0 Partition 6

Ans: b

Question 360) cp a b report, What does report mean?

a a file
b an option
c a directory
d a user name

Ans: c

Question 361) Which of the following commands are wrong

a pkgrm -d package_name
b pkgrm package_name
c pkgrm -d package_path package_name
d pkgadd -d package_path package_name
e pkgchk -d package path

Ans: a,c,e

Question 362) What is the file (giving its full path) that is modified by pkgadd and pkgrm and
contains the listing of all packages installed on a system?

a /var/sadm/spool/contents
b /var/sadm/install/contents
c /var/adm/spool

Ans: b

Question 363) The package command information could be obtained from

a package_path/package_name/pkgmap
b package_path/package_name/pkgcom
c package_path/package_name/info
d package_path/package_name/commands
e package_path/package_name/script
f package_path/package_name/pkgscript

Ans: a

Question 364) What is the correct format of crontab file ?

a time, date, command


b time, owner, command

Ans: a
Question 365) What is the spooling directory used when the following command is issued
# pkgadd -d package_path -s spool package_name

a /var/spool/pkg
b /var/sadm
c /var/spool/dir

Ans: a

Question 366) Packages can be removed from the spooling directory with which command below

a pkgadd -r spooling_path package_name


b pkgrm -s spooling_path package_name
c pkgrm -s package_name
d pkgrm -r package_name

Ans: b

Question 367) When does this job remove all core files ?
0 2 3 * 1 find /-name core -exec rm { }

a runs Monday at 200 am


b runs Sunday at 200am
c runs Monday at two minutes after midnight
d runs Sunday at two minutes after midnight

Ans: a

Question 368) Which of the following directories store the historical information about the patches
installed in a system

a /etc/sadm/patches
b /opt/patch/log
c /var/sadm/patch
d /var/sadm/install
e /etc/install/patch

Ans: c

Question 367) Under which dir you can find the path_to_instance file

a /usr
b /root
c /etc
d /var

Ans: c
Question 368) Which is initialization file for Bourne shell

a .profile
b profile
c login

Ans: b

Question 369) When you log into C-shell which file is read

a .login
b local.login
c profile

Ans: c

Question 370) Which of the following commands can be used to display tha patches information

a patchadd -d
b patchadd -p
c patchadd -i
d patchrm -i
e patchinfo
f showrev -p

Ans: b,f

Question 371) Consider the following


# cp /etc/rc2.d/S22mylp /etc/rc2.d/.S22mylp.orig

a There is a problem, because init will execute both run control files at startup.
b There is a problem, because init will get confused and fail to run at startup.
c This is not a problem, because S22mylp and .S22mylp.orig will cancel each other out when init
executes both files at startup.
d This is not a problem, because .S22mylp.orig will not be executed by init at all at startup.

Ans: d

Question 372) What if the /var/sadm/patch directory is tempered

a the patches added to a system may not function properly


b the system will crash more frequently
c the patches cannot be uninstalled
d it will not affect the system at all

Ans: c

Question 373) Which of the following cannot be configured through admintool


a users
b groups
c hosts
d printers
e parallel ports
f serial ports
g software

Ans: e

Question 374) Which is the preferred method to temporarily prevent a user account from being
used?

a Delete the user account and all files in the home directory of the user account
b Lock the account using admintool
c Modify the user account .profile to change the user environment
d Use admintool to change the UID and GID associated with the user account

Ans: b

Question 375) A patch obtained from Sun Microsystems can be installed using which of the
following commands?

a pkgadd -patch 107588-01


b patchadd 107588-01
c patchadd /var/spool/patch/107588-01
d patch SUNWaccu 107588-01

Ans: b,d

Question 376) Which is the directory that stores all the default hidden initialization file in the users'
home directories when they were first created

a /etc/default/login
b /etc/default/
c /etc/skel/
d /etc/profile/
e /etc/home/
f /etc/.login/

Ans: c

Question 377) What is the difference between at and crontab ?

a crontab jobs scheduled to run once, at jobs scheduled to run many times
b crontab is the scheduler, at executes the commands
c at is the scheduler, crontab executes the commands
d crontab jobs are scheduled to run many times, at jobs are scheduled to run once

Ans: d

Question 378) Which command should be used to extract the file install.log from the backp.tar file
which is in tar format?

a tar cvf backup.tar install.log


b tar xvf backup.tar install.log
c tar evf backup.tar install.log

Ans: b

Question 379) Which of the following situations will allow a user account to execute admintool?

a The account is a member of the sysadmin group.


b The account is root.
c The account is logged in at the console
d The account is a member of the sys group.
e The account is a member of the adm group.

Ans: a,b

Question 380) How to use rcp ?

a rcp file remote_host /tmp


b rcp
c rcp remote_host file /tmp
d rcp file remote_host/tmp

Ans: d

Question 381) Which of the following are valid fields in /etc/passwd?

a encrypted password
b user ID
c loginID
d primary groupID
e default shell
f secondary groupID
g password aging

Ans: b,c,d,e

Question 382) Why environment variables are defined in .login ?

a Since environment are inherited from .login


b Since .login is executed when each shell is started

Ans: a
Question 383) What is the file that defines the default fields of /etc/shadow eg. the period of which
a user must change his/her password and the minimum period that the user must change his/her
password This file also specifies the minimum password length?

a /etc/default/passwd
b /etc/default/shadow
c /etc/default/useradd
d /etc/default/login
e /etc/default/skel

Ans: a

Question 384) What are the initialization files if a user uses C shell

a /etc/profile
b /etc/profile
c /etc/login
d /etc/skel/local.cshrc

Ans: c

Question 385) Which of the following are serial devices?

a CPU
b memory
c terminal
d printer

Ans: c,d

Question 386) What is the impact of DTSOURCEPROFILE=true in the .dtprofile of a user account
that uses the C shell as the login shell?

a None-only accounts that use the Bourne and Korn shells as login shells are affected
b The .profile file in the home directory of the user account is sourced
c The .login file in the home directory of the user account is sourced
d The .cshrc file in the home directory of the user account is sourced

Ans: c

Question 387) Which of the following command gives read and write permission to the owner of a
new file, read permission to group, and no permissions to others or gives all permissions to the
owner of a new directory, read and execute permissions to group, and no permissions to others

a umask 022
b umask 027
c umask 755
d umask 644
e umask 750

Ans: b
Question 388) Determine the option of the setfacl command that is used to replace the entire ACL
with the new ACL

a -m
b -s
c -d
d -r
e -c

Ans: b

Question 389) What is the usage of an inode?

a stores the file type


b stores the file size
c stores the content of the file or directory
d None of above

Ans: a , b

Question 390) Which slice of a hardisk in unix file system represents the entire disk by definition

a0
b1
c2
d3
e4

Ans: c

Question 391) The command used to mount an ISO format CDROM

a mount
b mount -F ISO -r /dev
c mount -f ISO CDROM
d mount -F ISO CDROM -r /dev

Ans: b

Question 392) Which of the following command report on all mounted file systems and include
the number of files

a quot -af
b quot -mn
c quot -an
d quot -mf

Ans: a
Question 393) What is the access mode of a file created with the umask set to 123?

a 321
b #NAME?
c 345
d rw-r--r--

Ans: d

Question 394) Which of the following directory contains executable commands, system
administration utilities,and library routines

a /root
b /sbin
c /usr
d /lib
e /opt
f /bin

Ans: c

Question 395) Which Solaris utility is used to partition a hardisk ?

a fdisk
b format
c newfs
d makefs
e fsck

Ans: b

Question 396) Which command show all mounted file systems ?

a mount
b mountall
c umount
d umountall

Ans: a

Question 397) What is the main advantage of using a striped virtual file system compared to
concatenated virtual file system?

a We can create a volume that is larger than one disk


b We can use more than one slice in a single file system
c We can increase the size of a file system while it is in use
d We can increase the file system Input/Output performance
e We can have special data compression algorithms that increase the storage capacity

Ans: d
Question 398) A user logs into a system running Solaris 8 OE using the telnet command The user
has been assigned a Korn Shell (Ksh) and home /home/user1 directory. The following files are
executed on login by user1.

a /home/user1/.kshrc
b /etc/profile
c /home/user1/.profile
In which order are they executed?

Ans: b,c,a

Question 399) Which of the following commands may be used to perform remote backup with
crontab ?

a rlogin
b rsh
c ssh
d ksh
e telnet

Ans: b

Question 400) You want to print three copies of a file, how do you do this ?

a lp -3 file
b lp -n 3 file
c lp.....
Ans: b

Question 401) The new password must differ from the old one for atleast __ charters

a2
b3
c4
d8

Ans: b

Question 402) What does a physical device name consist of?

a Slashes
b Instance numbers
c Node names
d SCSI controller numbers

Ans: a,c

Question 403) In Bourne shell, how to export variable ?

a export variable
b export $variable
c setenv variable
d set variable

Ans: a
Question 404) The command that may be used to identify the users who are logged in on other
systems on the network is

a rusers
b rcp
c telnet
d rup

Ans: a

Question 405) Which of the following are the valid software configuration cluster?

a Core
b End User
c Enterprise
d Developer

Ans: a,b,d

Question 406) Which of the following commands will modify the /etc/dumpdates

a ufsdump 0c /dev/rdsk/c1t0d0s2
b ufsdump 0cf /dev/rmt/0 /dev/rdsk/c1t0d0s2
c ufsdump 0cf /dev/rmt/0n /dev/rdsk/c1t0d0s2
d ufsdump 0ucf /dev/rmt/0 /dev/rdsk/c1t0d0s2

Ans: d

Question 407) If you have multiple dump files in a magnetic tape and you want to be sure that the
tape drive will skip to the end of the recorded media before you dump more files into the media,
choose one of the following commands

a mt eom
b ufsdump 0ucf /dev/rmt/0n /dev/rdsk/c1t0d0s1
c mt retension
d mt forward
e mt fsf 10
f mt last

Ans: a

Question 408) Which command removes print jobs ?

a cancel
b enable
c stop

Ans: a
Question 409) NFS servers can share peripherals like modems and printers. The above
statement is

a true
b false

Ans: b

Question 410) In Bourne shell, set 1234=4567, which one is variable

a 1234
b 4567
c set
d set and 1234

Ans: a

Question 411) Which is the configuration file for nfs server?

a /etc/nfstab
b /etc/nfs/nfstab
c /etc/dfs/dfstab
d /etc/sharetab
e /etc/vfstab
f /etc/mnttab

Question 412) What is the command that is used to find out the nfs resources shared by a
server?

a nfshares
b nfsshares
c shares
d dfshares
e netshares

Ans: d

Question 413) Which 2 commands should be used to acquire online information about the
/etc/vfstab file?

a man -s4 vfstab


b man vfstab(5)

Ans: a,b

Question 414) Which PROM command boots the system using a different file system?

a boot -a
b boot -d
c boot -f
d reboot

Ans: a
Question 415) Which of the following is the spooling directory for pending print requests?

a /var/spool/lp
b /var/lp/spool
c /etc/spool
d /etc/lp/spool
e /tmp/lp/spool

Ans: a

Question 416) What are the functions of Print Filters ?

a to identify the terminfo database entry containing the control sequences to initialize the printer
b to print forms and forms with text and graphics instead of blank paper
c to initialize a printer before sending a print job to the printer
d to convert the content of requests to the type of content accepted by the destination printer
e to track the status of every job to enable users to remove jobs and system administrators to
manage print jobs

Ans: d

Question 417) Environment variables are known in all ___ created after the variable defined

a sub-shells
b aliases
c processes
d jobs

Ans: a

Question 418) Where is the ASCII definition database which describes the capabilities of
terminals and printers ?

a /etc/termcap
b /usr/share/lib/terminfo
c /etc/terminfo
d /usr/lib/termcap

Ans: b

Question 419) Which directory contains the database entries that dictate the control sequences to
initialize the printer?

a /usr/lib/lp/
b /etc/lp/
c /usr/share/lib/terminfo
d /etc/lp/terminfo

Ans: c
Question 420) Which command is used to build a new file system on the raw special device at
c0t3d0s5?

a newfs /dev/rdsk/c0t3d0s5
b newfs /devices/rdsk/c0t3d0s5

Ans a

Question 421) Which of the following evaluate the command literally ?

a back quote (` `)
b double quote (" ")
c single quote (' ')
d parentheses (( ) )

Ans: a

Question 422) Which of the following user environment variables may be used to specify the
default printer?

a LPRCONF
b PRINTERS
c PRINTER
d LPDEST
e LPDEFAULT

Ans: c,d

Question 423) Which command in PROM mode can display the default Boot device that system
boot from ?

a banner
b probe-scsi
c devaliase
d printenv

Ans: d

Question 424) Which of the following command cannot be used to manipulate print requests?

a continue
b cancel
c enable
d disable
e accept
f reject

Ans: a
Question 425) Which of the following commands may be used to move a print request from one
queue to the other?

a lp -c
b lp -x
c lpadmin
d lpmove

Ans: d

Question 426) What is the command to send a print request to printer printer1 to print file1
without banner?

a lp file1
b lp -n printer1 file1
c lp -d printer1 -o nobanner file1
d lp -p printer1 -o nobanner file1
e lp -p printer1 -b file1

Ans: a,b,c,d,e

Question 427) Which command list hidden files ?

a ls -l
b ls -a
c ls -h
d ls -IF

Ans: b

Question 428) To execute the reducelog command at 11 P.M. every Sunday evening, which entry
should be placed in a crontab file?

a 11 00 * * 0 reducelog
b 0 23 * * 0 reducelog
c * * 23 0 0 reducelog
d reducelog 11 00 * * 0

Ans: b

Question 429) What is the command to display all status information output and the acceptance
and idle or busy status of all printers?

a lp -a
b lp -d
c lp -o
d lp -p
e lp -s
f lp -t

Ans: f
Question 430) Which environment variable is used to set default printer?

a PRINT
b DEFAULTPRINTER
c LPDEST
d DEFAULT

Ans: c

Question 431) What is the command to display the idle or busy status and availability of all
printers?

a lp -a
b lp -d
c lp -o
d lp -p
e lp -s
f lp -t

Ans: d

Question 432) What is the result of using the following command?


# mkdir -p dir1/dir2/dir3

a it creates 3 directories, named dir1, dir1/dir2, and dir1/dir2/dir3 respectively.


b it is not a valid command
c it creates directories names dir1,dir2,dir3 respectively

Ans: a

Question 433) What are the commands to cancel a specific printer request waiting in the queue
or the print request currently printing?

a lp -k <request-ID
b lp -k <printer
c lp -k <request-ID <printer
d cancel -u <user <printer
e cancel <request-ID <printer

Ans: d,e

Question 434) What is the terminology used to describe a named group of printers created with
the lpadmin command?

a cluster
b group
c class
d circle
e school

Ans: c
Question 444) Which error message this command will generate
cd /usr/bin ~letters

a Too many arguments.


b No such directory.

Ans: a

Question 445) Which of the following commands are valid to create a class of printers and enable
them to queue jobs?

a#lpadmin -p printer1 -c class1


#lpadmin -p printer2 -c class1
#accept class1
b#lpadmin -p printer1 -c class1
#lpadmin -p printer2 -c class1
#enable class1
c#lpadmin -d printer1 -g class1
#lpadmin -d printer2 -g class1
#enable class1
d#lpadmin -d printer1 -g class1
#lpadmin -d printer2 -g class1
#accept class1

Ans: a

Question 447) What does the command "df -k" do ?

a It shows the size of each file partition in byte


b It shows the size of each file partition in megabyte
c It shows the size of folders and files in your home directory in kilobyte
d It shows the amount of disk usage in percentage

Ans: d

Question 448) What is the command that will movee a specified print job to the top of the queue?

a lp -q print-request -H top
b lp -u userid -H first
c lp -i print-request -H immediate
d lp -p print-request -H first

Ans: c

Question 449) Which of the following command will set the priority to n while printing a file?

a lp -d printer -P n file
b lp -p printer -b n file
c lp -d printer -q n file
d lp -p printer -P n file
e lp -d printer -p n file

Ans: c
Question 450) The stick bit has NO effect to which of the following ?

a file owner
b any member of the group
c anybody access the directory

Ans: a

Question 451) Which command is used to change the system boot device?

a use disk2 as boot-device


b set boot-device disk2
c setenv boot-device disk2
d set boot-dev disk2
e setdev boot disk2

Ans: c

Question 452) When you use the command #reject printer1 ,

a printer1 will reject additional print requests on the printer


b printer1 will move or cancel any requests that are currently queued to the printer
c printer1 will be temporarily unavailable (equivalent to pressing "online/offline" on the printer
itself
d printer1 will will accept print jobs

Ans: a,b

Question 453) When you use the command #disable printer1

a printer1 will reject additional print requests on the printe r


b printer1 will move or cancel any requests that are currently queued to the printer
c printer1 will be temporarily unavailable (equivalent to pres sing "online/offline" on the d printer
itself
e printer1 will accept print jobs

Ans: c,e

Question 454) Which of the following command may be used to check the status of the print
queues?

a lp -q
b lp -s printername
c lp -q printername
d lpstat -o
e lpstat -p printername

Ans: d,e
Question 455) In order to redefine available set of commands you can execute,which variable
must you modify ?

a DISPLAY
b PATH
c HOME
d PS1

Ans: b

Question 456) Which of the following files may be use to control the usage of crontab?

a /etc/crontab/cron.allow
b /etc/crontab/cron.deny
c /etc/cron.d/cron.allow
d /etc/cron.d/cron.deny
e /etc/cron.access
f /etc/crontabACL

Ans: c,d

Question 457) Which daemon may execute commands repeatedly ?

a cron
b at
c cronat
d crontab

Ans: a

Question 458) Which of the following may be considered as serial devices?

a serial ports
b SCSI ports
c alphanumeric terminals
d modems
e serial printers

Ans: a,c,d,e

Question 459) What does R means: in the S column of the output of ps command?

a The process is running.


b The process is on the running queue
c This process is a regular process.
d This is a sleeping process.

Ans: a
Question 450) What are the serial interfaces?

a Small Computer System Interface


b Serial Device Peripheral Interface
c Data Terminal Equipment
d Data Communications equipment
e Serial Data Interface
f Serial Communication Equipment

Ans: c,f

Question 451) Which command does a full backup of all files in the /export/home file system to
the /dev/rmt/1 remote tape device attached to the workstation "mars".

a ufsdump Of mars/dev/rmt/1 /export/home


b dd 0f mars/dev/rmt/1 /export/home
c cpio > i mars/dev/rmt/1 /export/home

Ans: a

Question 452) Pin 2 of the RS-232-C 25 pin connector for a Data Terminal Equipment is used to

a transmit signal
b receive signal

Ans: a

Question 453) Which of the following are true of null modem cable ?

a A null modem cable provides meAns: for two DTE devices to communicate with each other
without a modem
b A null modem cable crosses pins 2 and 3
c A null modem cable crosses pins 7 and 8
d Only pins 2,3 and 7 are required for communications between two DTE devices

Ans: a,b,d

Question 454) The tip command

a may be used to connect a remote host using a modem


b uses full duplex connection over a parallel line
c will cause a file called .tiprc in the user's home directory to be executed
d may use the following environment variables REMOTE, PHONES, HOST, HOME, SHELL
e uses the following files /etc/phones, /etc/remote, /var/adm/aculog and ~/.tiprc

Ans: a,b,c,d,e

Question 455) Root user is

a user ID=0, group ID=0


b user ID=0, group ID=1
c user ID=1, group ID=0
d user ID=1, group ID=1

Ans: b
Question 456) Which Sun system will halt and poweroff when "init 5" is executed ?

a sun3
b sun4
c sun4c
d sun4m
e sun4d

Ans: d

Question 457) Which of the following module is used to perform standard terminal I/O
processing?

a ldterm
b sacadm
c pmadm
d ttyadm
e nlsadmin

Ans: a

Question 458) Password is verified against which file ?

a /etc/shadow
b /etc/passwd

Ans: a

Question 459) The SAF (Service Access Facility)

a may be used for monitoring of the parallel ports


b uses the port monitor process to manage the USB port
c uses ttymon to manage serial ports
d manages network ports using the listen daemon

Ans: a,b,c,d

Question 460) Which of the following daemons is used for detecting incoming login requests and
dispatching these requests appropriately, setting terminal modes and baud rates?

a listen
b logind
c ttymon
d ttyd
e seriald

Ans: a,b,c,d,e
Question 461) Which of the following command copy files to remote system ?

a rcp
b rsh
c ftp
d telnet

Ans: a

Question 462) Which option of the usermod command allows the use of duplicate user IDs?

a -o
b -i
c -u

Ans: a

Question 463) What does .login commonly have ?

a environment variables
b shell variables

Ans: a

Question 464) What file is created by ttymon and contains successful logins information ?

a /var/adm/logins
b /var/ttylogs
c /var/tty/logins
d /var/adm/utmp
e /var/logs/ttylog

Ans: d

Question 465) What command can be used to set the values of the positional parameters?

a setenv
b setparam
c setpos
d setpp
e set

Ans: e

Question 466) When is the system profile executed?

a After the .profile in the home directory of the user account


b Before the .profile in the home directory of the user account
c Instead of the .profile in the home directory of the user account

Ans: b
Question 467) The sh command is a useful one to debug shell scripts. Which option of the sh
command may be used to print commands and their arguments as they are executed?

a -v
b -s
c -x
d -d
e -c

Ans: c

Question 468) What type of file is this?


drwxr_xr_x 1 tom users 512 Sep 1 0826 devices

a block
b Directory
c Symbolic link
d Device
e Regular

Ans: b

Question 469) How to terminate an application ?

a Ctrl-c
b kill command
c quit from window for any window applications
d suspend command

Ans: a,b,c

Question 470) What is the block size that df shows disk space in,by default?

a 256 bytes
b 512 bytes
c 1024 bytes
d 2048 bytes

Ans: b

Question 471) Which of the following command show the patches installed?

a pkginfo
b patchadd -p
c showrev -p
d patchinfo

Ans: b,c
Question 472) Which command, similar to tar in syntax, produces an archive which compresses
each file before archiving it?

a tar
b Zcat
c cpio

Ans: b

Question 473) What value represents Sunday in the day of week field in crontab?

a0
b1
c6
d7

Ans: a

Question 474) Which process tool can you use to find the current working directory for a
process?

a ps
b pwdx
c dir

Ans: b

Question 475) How do you find all the patches that have been applied to the package
SUNWtest?

a showrev -p |grep SUNWtest


b pacthinfo SUNWtest
c showpacth -p SUNWtest

Ans: a

Question 476) If you are on a VT220 terminal and there is no stop key on the keyboard, which of
the following is true

a A break signal cannot be sent to the machine from the terminal.


b A break signal can be sent by pressing CTRL, ALT and Del together.
c Check the VT220 terminal manual to find out he key to generate the break signal.
d Power down the VT220 terminal to send the break signal.

Ans: c

Question 478) Your current working directory is the /export/home_a/user/ directory. Which 2
commands strings put you into the /export/home_b/user 20 directory?

a cd ../../home_b/user 20
b cd /export/home_b/user 20

Ans a,b
Question 479) What are the 3 default Solaris 8 shells?

a c,bourne,korn
b bash,korn,bourne
c sun,korn,bourne

Ans: a

Question 480) What affect does setting ignoreeof environment variable have ?

a Shell will ignore Control-D, so you cat not log out with it
b can not end letter using mail command since Control-D will be ignored

Ans: a

Question 481) How many shells are available in solaris 8 operating environment?

a3
b4
c8
d6

Ans: d

Question 482) In order to monitor system message on the console,uncomment


CONSOLE=/dev/console in which file ?

a /etc/default/su
b /etc/default/login
c /etc/default/init
d /etc/default/passwd

Ans: a

Question 483) Which of the following command shows the processes associated with the local
terminal?

a ps -e
b ps -ef
c ps -a
d ps

Ans: c

Question 484) How will u change all the occurences of "Solaris" into "Solaris Operating
Enviroment" in a file?

a %s/Solaris/Solaris Opearating Environment/g


b %r/Solaris/Solaris Opearating Environment/g
c %c/Solaris/Solaris Opearating Environment/g

Ans: a
Question 485) Which directory does "cd .." change to ?

a parent directory
b child directory
c home directory
d root directory

Ans: a

Question 486) What are the ways to quit vi?

a wq
bw
cq
d ZZ
e quit

Ans: a,b,d

Question 487) What is the correct sequence of file type ?

a owner other group


b other group owner
c owner group other
d group other owner

Ans: c

Question 488) Siva has taken a position with a competing firm. How would you go about locking
his account so that he can no longer gain access to the system? Choose all that apply.

a use the admintool to delete his account.


b i userdel ram12
c i passwd -l ram12
d using the admintool remove him from the accounting group
e None of the above

Ans: c

Question 489) In relative path, which is the default in the directory hierarchy ?

a look down the directory


b look up the directory

Ans: a

Question 490) From the command line, how would you delete users directory and login at the
same time?

a userdel -d siva
b userdel -r siva
c userdel -l siva
d userdel -o siva

Ans: b
Question 491) How to display disk usage in terms of kilobyte ?

a df -k
b du -k
c df
d du

Ans: a

Question 492) If you have drwxrwsrwx, how to disable de setgid bit?

a chmod 0777
b chmod g-s
c chmod 2755
d chmod 2777

Ans: b

Question 493) The right way to use these two commands chown, chgrp

a chown new_owner filename


b chown filename new_owner
c chgrp new_group filename
d chgrp filename new_group

Ans: a,c

Question 494) What is the command displaying a trailer character in order to recognize what is
the file type?

a ls -A
b ls -F
c ls -d
d ls -l

Ans: d

Question 495) What does r-x mean ?


dr-xr-xr-x
-r-xr-xr-x

a writable, executable
b readable, searchable
c readable, executable
d read only

Ans: b,c
Question 496) You suspect that someone has been trying to login to the network. What would
you have to do set up the system to record failed login attempts?

a Nothing, account logging is on by default in ver 8\par


b Uncomment the line initializing logging in the startup script
c Enable the logging daemon
d Create a file called loginlog in /var/adm/
e None of the above

Ans: d

Question 497Which of the following is the first phase in the Solaris boot process?

a init
b Boot PROM or BIOS
c Boot programs
d Kernel initialization

Ans: b

Question 498) What is illegal character in host name ?

a letter
b number
c slash (/)
d underscore (_)

Ans: c

Question 499) Where does the command who look for information about users currently on the
system?

a /var/adm/who
b /var/adm/utmpx
c /var/sadm/ucmp
c /var/sadm/all

Ans: b

Question 500) What does t mean in -rwx-----t ?

a readable
b searchable
c setgid
d sticky bit

Ans: d

Question 501) Which option of patchadd command does not backup the files to be patched?

a -u
b -f
c -v

Ans: a
Question 502) What permissions are needed to change to a directory and list its contents ?

a r--
b rw-
c r-x

Ans: c

Question 503) Which commands will create a file ?

a touch filename
b cat filename
c ls filename
d cat blah filename

Ans: a,d

Question 504) You go to a users desk and find that the technician has su'd to root and left the
station still logged in. You have 5 junior admins under you. What command can you use to
determine who the culprit is?

a who am i
b who
c last
d finger

Ans: a

Question 505) The cron daemon

a schedules jobs to run


b executes jobs to run

Ans: b

Question 506) You want to print a file with the highest priority, how do you do this ?

a lp -q 0 filename
b lp -q high filename
c lp -q immediate filename
d lp -q

Ans: a

Question 507) What is denoted by the following permissions on the file taxes1999? -r-sr-xr-x

a the file is not executable by anyone but root


b world readable-writable by all users
c file has been locked to all users
d The current owner and root of the file can execute it.
e None of the above

Ans: d
Question 508) Who can remove print job ?

a root
b file owner
c job owner

Ans: a,b

Question 509) Which of the following executes a task at 700pm once?

a at 700pm task
b at 1900
at task
c at 700pm
at task
at ctrl-d
d at 1900
at ctrl-d
task

Ans: c

Question 510) What is the purpose of the PROM? Choose all that apply.

a Boot the operating system


b Test the hardware
c Initialize daemons
d Share resources via NFS
e None of the above

Ans: a,b

Question 511) In Bourne shell, how to assign value to variable EDITOR ?

a EDITOR=/bin/vi
b set EDITOR /bin/vi

Ans: a

Question 512) You wish to run extensive diagnostics on your sun box during bootup, what should
you do?

a Nothing, it will run an extensive POST by default.


b Press and hold the stop key while powering on the system.
c Press and hold the stop key as well as the S key
d Press and hold the stop key while pressing the M key.
e None of the above

Ans: e
Question 513) What do you choose to use the new disk from the format menu?

a new
b disk
c select
d

Ans: b

Question 514) If you have an umask of 022, and you create a new empty file, which permissions
will it have?

a 644
b 755
c 666
d 123

Ans a

Question 515) If you type the word Mississipi3 for the passwd command

a It is correct
b It is and invalid password
c The passwd command shows you an error message
d The passwd command displays a warning message

Ans: b

Anda mungkin juga menyukai