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)
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?
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 ?
Ans: a,b
a A login ID
b A default login shell
c A login (home directory
Ans: a
Ans a,b
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
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
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
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
a Floppy drive
b 64mb Ram
c 1 GB HDD
d Power pc system
Ans: b
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
a init6
b init 0
c init s
d init 1
Ans b
Ans: c
Ans: c
a Door
b Directory
c Symbolic link
d Device (block)
e Regular
Ans b
Ans a
Question 36) How to find all files in the system belong to user X ?
Ans: b
a superuser
b group manager
c anyone in the group
d the file owner
Ans: d
a ftp to sun
b telnet to sun
c www
d media
Ans: c,d
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
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 ?
Ans: a
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
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
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
Ans: a,c
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
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
a True
b False
Ans: a
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
Ans: a
a/
b /usr
c /etc
d /platform
c /mount
Ans: a,b,d
Ans: b
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
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 ?
Ans: B,D
Question 68) In terms of default printers, which of the following precedence orders is correct?
Ans:b
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
Ans: c
a rw-r--r--
b rwxr-xr--
c rw---x-x
d rwxrwxrwx
Ans: a
Ans: c
Question 76) Which of the following functions can be performed using the admintool command?
Ans: a,b,c,d
a setacl
b setfacl
c userfacl
Ans: b
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
a finger
b name
c uname
d id
Ans: c
Question 82) For files /etc/hosts.equiv and $HOME/.rhosts, which is true
Ans: b
Ans: a,b,c,d
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
a rcp
b rsh
c rlogin
d ftp
Ans: a
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
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
a3
b2
c4
Ans: a
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
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
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
Ans: a
a /usr/share/lib/terminfo
b /usr/share/lib/termcap
Ans: a,b
Ans: c
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
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?
Ans: a
Question 112) How do you find all the patches that have been applied to the package
SUNWaudio?
Ans b
Ans: a
Question 114) Which option of the format menu displays vendor name?
a type
b analyze
c info
d inquiry
Ans: d
a ? lp
b ? | number lp
c ? | lp
d number | lp
Ans: c
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
Ans: a
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
a - no largefiles
b -o no largefiles
c o no largefiles
d -o no
Ans: b
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?
Ans: a,c,d
Ans: c
Ans: a
Question 129) A process has caused the system to freeze What should you do next?
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
a PATH=dir1dir2dir3
b PATH="dir1 dir2 dir3"
c set PATH=(dir1 dir2 dir3)
Ans: a
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
Ans: c
Question 136) What is a Shell?
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?
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
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
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
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
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
Ans: c
Question 150) How to list users who login on local area network ?
a rup
b rlogin
c rusers
d finger
Ans: c
Ans: b
Ans: c
Question 154) Which of the following functions can be performed by a nonadministrative user
with the crontab command?
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
Ans: b
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
a last
b who
c whodo
d uname
Ans: a
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
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
Ans: c
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
a pkginfo
b pkgchk
c patchadd
Ans: a
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
a) /var/sadm/patch
b) /var/spool/patches
c) /var/adm/patches
d) No default but /var/spool/patch is commonly used
Ans: b
a Adjust
b Select
c Menu
Ans: b
a Select
b Adjust
c Menu
Ans: b
Ans: b
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
a touch newfile
b cat oldfile newfile
c cp oldfile
d cat oldfile | newfile
Ans: a,b
Ans: b
a admintool
b pkgtool
c pkgadd
d pkgrm
e pkginfo
Ans: a,d
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?
Ans: a
Question 182) What does the term ABSOLUTE PATH mean?
Ans: a
aA
bB
cC
dD
Ans: c
Ans: b
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?
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?
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
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
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
Ans: a
Question 200) What is the command that displays all the system mount points?
a showmount
b mountd
c mount
Ans: c
Ans: a
Question 202) Which 2 commands should be used to acquire online information about the
/etc/vfstab file?
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?
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?
Ans: a,b,c,d
Question 209) Which of the following can be used to remove multiple patches?
Ans: b
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
Ans: b
Ans: b
a setenv
b env
c printenv
Ans: c
a setenv
b env
c chmodenv
Ans: a
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
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 ?
Ans: c
Ans: c
Ans: b
Question 223) Which command(s) does not integrate incremental backup feature?
a Tar
b cpio
c ufsdump
d dd
Ans: a,b
Ans: c
Ans: b
a ls /usr/local/bin -l
b pwd cd
c cd ..
d rm -i *
Ans: c,d
Ans: c
Ans: c
Question 230) What does the tail command do?
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
Ans: a
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?
Ans: a,b,c,d
Question 246) What does the semicolon allow you to do on the command line?
Ans: a
a 1 or more characters
b Zero to more characters.
c 2 or more characters.
Ans: b
Ans: a,b,c
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:
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
Ans: c
Ans: c
a new filename
b vi filename
c touch
Ans: b
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
Ans: a
Question 261) Which of the following can be added in the members list of the Admintool Add
Group window?
Ans: b,d
Ans: c
Question 263) What is a local variable?
Ans: b
Question 264) What is the command to search for files and their full paths?
a search
b find
c goto
Ans b
Ans: b
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
a help
b help login
c cat login
d man login
Ans: d
Question 269) What is the PATH variable used for?
Ans: c
Ans: a
a echo $PATH
b show $PATH
c $PATH
Ans: a
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
Ans: b,c,d
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
Ans: a
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
a /dev/term/a
b /dev/term/b
c /dev/term/ttya
d /dev/dsk/c0t0d0s3
Ans: a,b
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
Ans: a,d
Question 289) What does the -(dash) option provide with the su command?
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
a admintool
b admin
c tool
Ans: a
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
a login
b rlogin
c enter
Ans: b
a rsh
b rcp
c rexecute
Ans: a
a banner
b printenv
c devalias
Ans: a
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?
Ans: a
Question 300) When the mount command is entered without any command line arguments, what
happens?
Ans: b,d
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
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
a core
b entire OS
c developer's package
d end-users' package
Ans: c
Ans: c
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
a /dev/console
b /etc/passwd
c /etc/default/login
d /etc/default/su
e /var/adm/loginlog
Ans: d
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
Ans: b
Question 317) What is the result of the following command?
setfacl -s urw-,gr--,or--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
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?
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
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?
Ans: c
a prtsched
b printsched
c lpsched
Ans: c
a /etc/default/profile, $HOME/.profile
b $HOME/.profile, $HOME/.login
c /etc/profile, $HOME/.profile
d /etc/profile, $HOME/.login
Ans: c
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
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
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
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?
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
a boot -t
b who -r (I think This is Correct)
c uptime
d who -b
Ans: b
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
a -d
b -i
c -u
d -o
e -id
Ans: d
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
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
a0
b1
c2
d3
Ans: c
Question 358) Which change can let root remote login host.
a CONSOLE=
b #CONSOLE=/dev/console
Ans: B
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
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
a .profile
b login
c .login
Ans: c
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
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
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
a /kernal
b /etc
c /usr
d /var
Ans: a
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
Ans: a,e
a Mainframe systems
b Client
c Sun Micro systems
d SPARC systems
e Standalone
f Servers
Ans: b,e,f
Ans: c
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 ?
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.
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
a echo alias
b showalias
c alias -a
d displayalias
e devalias
Ans: e
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
Ans: a
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
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?
Ans: b
a a file
b an option
c a directory
d a user name
Ans: c
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
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
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
Ans: b
Question 367) When does this job remove all core files ?
0 2 3 * 1 find /-name core -exec rm { }
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
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
Ans: c
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?
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
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?
Ans: b
Question 379) Which of the following situations will allow a user account to execute admintool?
Ans: a,b
Ans: d
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
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
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
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
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
a fdisk
b format
c newfs
d makefs
e fsck
Ans: b
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?
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
a Slashes
b Instance numbers
c Node names
d SCSI controller numbers
Ans: a,c
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
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
a 1234
b 4567
c set
d set and 1234
Ans: a
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?
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
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
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
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
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
Ans: a
Question 445) Which of the following commands are valid to create a class of printers and enable
them to queue jobs?
Ans: a
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?
Ans: c
Ans: a,b
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
a cron
b at
c cronat
d crontab
Ans: a
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?
Ans: a
Question 450) What are the serial interfaces?
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".
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
Ans: a,b,c,d,e
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
a /etc/shadow
b /etc/passwd
Ans: a
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
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
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
a block
b Directory
c Symbolic link
d Device
e Regular
Ans: b
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?
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
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
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?
Ans: a
Question 485) Which directory does "cd .." change to ?
a parent directory
b child directory
c home directory
d root directory
Ans: a
a wq
bw
cq
d ZZ
e quit
Ans: a,b,d
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.
Ans: c
Question 489) In relative path, which is the default in the directory hierarchy ?
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
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
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
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?
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
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
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
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
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
Ans: d
Question 508) Who can remove print job ?
a root
b file owner
c job owner
Ans: a,b
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.
Ans: a,b
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?
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