500 questions

118
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

Upload: ramalingamdec

Post on 06-Nov-2015

24 views

Category:

Documents


3 download

DESCRIPTION

Questions

TRANSCRIPT

http://www

http://www.angelfire.com/linux/solaris/sol/1.htmHere 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 cshb tcshc kshd she bash

Ans: a,c,d

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

a lpmove laser2 laser1b lpmove laser1 laser2c lpmove laser2-35 laser1d lpmove laser2 all laser1

Ans: a,c

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

a boot cdromb b sd (0,30,1)c ok boot cdromd b sd (0,6,2)

Ans: c

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

a shutdownb haltc rebootd Stop-A

Ans: aQuestion 5) Which command(s) can raise the priority of a user process?a kill -USR1b nicec priocntld raise

Ans: b,c

Question 6) /var/sadm/sulog does ?

a it records each time su command usedb 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 IDb A default login shellc A login (home directory

Ans: a

Question 8) Chgrp tech_file tech-doc

a tech_doc file updatedb 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 uninstallb pkgrm -pc rm -r

Ans: b

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

a any directoryb only those owned by root, lp and you

Ans: a

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

a pkgaddb pkgchkc pkgparamd pkginfo

Ans: d

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

a $homeb /c parent directoryd ~ home

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

a cancel laser1-36b cancel "laser1-36 laser1-38 laser2 -12"c cancel -u dlad 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 -e59 23 * * 1-5 tar cvf /home/daviswqb crontab 59 23 * * 1-5 tar cvf /home/davis

Ans: a

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

a pkgaddb pkgchkc pkgaskd pkginfo

Ans: d

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

a envb printenvc setd listAns: a

Question 17) What command schedules a command to run once at a given time?a crontabb priocntlc atd cron

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

a /etc/printcapb /dev/term/ac /usr/share/lib/terminfo/ed /usr/lib/printinfo/e

Ans: c

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

a largefilesb nolargefilesc lfd its enabled by default

Ans: d

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

a 512 bytesb 1024 bytesc 2048 bytesd 4096 bytes

Ans: b

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

a /etc/fstabb /etc/dfs/dfstabc /etc/vfstabd /etc/rc2.d/S74autofs

Ans: c

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

a encodingb decodingc compressingd uncompressing

Ans: c

Question 23) What is standard output ?

a tapb terminalc printerd cdrom

Ans: bQuestion 24) Which command can edit a file ?

a vi fileb vi -p filec vi -r filed vi

Ans: A,C

Question 25) To install WEB install you need

a Floppy driveb 64mb Ramc 1 GB HDDd Power pc system

Ans: b

Question 26) what is the command to display the runlevel

a whob who -rc who -R

Ans: b

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

a cron.db crontabdc crond crond

Ans: c

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

a whob fingerc last

Ans a

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

a /etc/hostsb /etc/path_to_instc /etc

Ans: b

Question 30) What does ps do without option ?

a all jobsb all processc all jobs belong to the userd all process belong to the user

Ans: c

Question 31) The shutdown command to stop at OK prompt

a init6b init 0c init sd init 1

Ans b

Question 32) What lp -d X Y mean ?

a show default printerb show the queue of printer Xc print file Y in printer Xd 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 fileb Execute the logfail /var/adm/loginlog commandc Create the /var/adm/loginlog filed 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 Doorb Directoryc Symbolic linkd Device (block)e Regular

Ans b

Question 35) Default shell of solarisa c,korn,bourneb c,sun,unixc korn,unix, bourned sun,os/2,bsd

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

a find /-owner X -printb find /-user X -printc find /-name user X -printd find /-name X -print

Ans: b

Question 37) Who can use chmod 2750 filename command ?

a superuserb group managerc anyone in the groupd the file owner

Ans: d

Question 38) Sources from where we can get patches

a ftp to sunb telnet to sunc wwwd media

Ans: c,d

Question 39) What is the daemon that runs crontab

a cronb crontabdc crond

Ans: c

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

a /etc/hosts.equivb $HOME/.rhostsc /home/.rhostsd /.rhosts

Ans: b

Question 41) Default shells of solaris is

a bourneb c shellc korn

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

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

Ans: a

Question 43) What is a hosta Host provides services to the othersystems.b It is an entity to take service from other systemsc Host is a unique name

Ans: c

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

a whob idc lastd logins

Ans:d

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

a /optb /usrc /vard /

Ans: B,D

Question 46) What is the output of the commandlpadmin -p test -c bldg10lpadmin -p test -c bldg11accept bldg11

a 2 classes bldg10 and bldg10 is createdb only class bldg11 accepts jobsc 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 filenameb lp -q top filenamec lp -q immediate filenamed lp -q high filename

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

a whob lastc idd finger

Ans c

Question 49) How to assign priority to a file topurgenta lp -d printername -q 1 topurgentb lp -p printername -q 0 topurgentc lp -d printername -q 0 topurgent

Ans: c

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

a hashb prompt offc no confd ftp -i

Ans b,d

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

a reject ab cancel ac lpmove a bd reject lpmove a b

Ans: b,c

Question 52) What is correct about at ?

a execute once onlyb put a file at a locationc schedule a event

Ans: a,c

Question 53) How to check filesystem damage

a ckb fsckc fsokd sync

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

a /etc/cron/crontabenableb /etc/cron.d/crontabenablec /etc/cron/crontabdenyd /etc/cron.d/crontabdeny

Ans: b,d

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

a multitaskingb multiprocessingc distributed processing

Ans: a

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

a datalessb disklessc standalone

Ans: a

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

a lp -cb lpadmin -cc lpstat -cd lpadmin -c -m

Ans: c

Question 58) Cpio command can span multiple backup tapes.

a Trueb False

Ans: a

Question 59) Which command display file size in kilobyte ?

a dfb df -kc dud du -k

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

a ok boot-device?diskb #eepromc setenvd none of the above

Ans: d

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

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

Ans: a

Question 62) Solaris supports

a Korn, Bourne, C shellsb C shell is obsolete, not supportedc Bourne shell is obsolete, not supportedd Born shell is officially supported shell

Ans: a

Question 63) Which of the following directories contain kernel

a /b /usrc /etcd /platformc /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/homeb mount /dev/rdsk/c0t0d0s7 /export/homec mountall

Ans: b

Question 64) To boot a system in single user mode

a ok boot diskb ok boot -sc ok boot -s cdromd boot

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

a /etc/cron.d/cron.denyb /etc/cron.d/cron.allowc /var/spool/cron/cron.allowd /var/spool/cron/cron.denye /usr/lib/cron/cron.allowf /usr/lib/cron/cron.deny

Ans: a,b

Question 66) The commmand used to synchornise the disks

a syncb donec equlld disk_sync

Ans: a

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

a chmod u-w filenb chmod u-x filenc chmod g-w filend 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 -dcommand line argument, then the LPDEST variableb The printer specified by the lp -d command line argument, followed bythe LPDEST variable, then the system defaultc The LPDEST variable, followed by the system default, then the printerspecified by the lp -d command line argument.

Ans:b

Question 69) Which type of device accepts data synchrnosly

a rawb chaterc disksd none

Ans: a

Question 70) Which of the following commands can be used to back up the entire filesystem located on the disk drive identified by c0t1d0s5?

a ufsdump 0u /dev/dsk/c0t1d0s5b ufsdump 0u /dev/rdsk/c0t1d0s5c ufsdump 9u /dev/rdsk/c0t1d0s5d ufsdump 9u /dev/dsk/c0t1d0s5

Ans: b

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

a cot4d0s1b c0t1d0s4

Ans: b

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

a more secureb new created files don't have write permission for othersc 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 memoryb when performing backupc when upgrading new solarisd when installing a remote printer

Ans: c

Question 74) What standard default file permission ?

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

Ans: a

Question 75) Root user is

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

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

a Add or modify a local printerb Add or modify a remote printerc Delete a local printerd Delete a remote printer

Ans: a,b,c,d

Question 77) Command used to set ACL

a setaclb setfaclc userfacl

Ans: b

Question 78) What happens on the following commands to a dirumask 022umask 027

a there will be no changesb it will provide more securityc it will take out read rights for othersd

Ans: b,c

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

a File systemsb Filesc Volume table of contentsd Directories

Ans: a,b,d

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

a %bc ~d ?

Ans: d

Question 81) Command used to see hostid

a fingerb namec unamed id

Ans: c

Question 82) For files /etc/hosts.equiv and $HOME/.rhosts, which is truea created by superuser onlyb related to system securityc created by default during the installationd 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@0b /dev/rdisk/0c devices/-----d /dev/dsk/c0t0d0s0

Ans: b

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

a new_diskb newc diskd partion

Ans: b

Question 86) What is the command for remote copying

a rcpb rshc rlogind ftp

Ans: a

Question 87) lp service supports the which of the following

a VMSb solaris 1.xc solaris 2.xd solaris 7

Ans: d

Question 88) Your login is to log intoa administratorb operation systemc homed company

Ans: c

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

a Printer nameb Print serverc Descriptiond Options

Ans: c,d

Question 90) Which file contains users passwd

a /etc/passwdb /etc/groupsc /etc/shadowd /etc/password

Ans: c

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

a 0b 10c 14d 13

Ans: 14

Question 92) What is the system default run level?

a 3b 2c 4

Ans: a

Question 93) Kernel is for

a device managementb file storagec trAns:lating user requests

Ans: a

Question 94) Which of the following cancel commands can be used to cancel the printing of one ormore print requests?

a cancel -u rootb cancel -u root laser1c cancel laser1d cancel laser1-37

Ans: a,b,c,d

Question 95) How to list crontab ?a as root, run crontab -1b as regular user, run crontab -1c as root, run /etc/default/cron/rootd 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 idb whoamic whod whodo

Ans: a

Question 97) Which file does the /sbin/init program use to start processes?a /etc/init.b /etc/inittabc /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 LPPrint Service?a HP-UXb Solarisc Microsoft Windowsd MacintoshAns: a,b

Question 100) How to read an encoded filea uncompressb undecodec unencryptd uudecode

Ans: d

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

a dfb prtconfc dmesgd sysdefe mount

Ans: d,e

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

a logical collection of software packageb physical collection of software packages.c The overall software configuration.

Ans: a

Question 103) Type the path for printer database

a /usr/share/lib/terminfob /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: bQuestion 106) In Bourne shell how to set a path ?

a set PATH=/dir1/dir2/dir3b set PATH=(dir1 dir2 dir3)c PATH=/dir1/dir2/dir3d 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, filesc PROM, kernel, shell

Ans: a

Question 108) Which file shows the current mounted file systems

a /etc/vfstabb /etc/mountc /etc/mnttabd /usr/mount

Ans: c

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

a Ethernetb NFSc TCP/IPd NIS+

Ans: a,c

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

a 2b 3c 4d 5

Ans: b

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

a Bourne, Korn, and cb Bourne, Korn, and Restrictedc Korn, C, and Restricted

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

a showrev -l | grep SUNWaudiob showrev -p | grep SUNWaudioc showrev -a | grep SUNWaudio

Ans b

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

a logical collection of software packageb physical collection of software packages.c The overall software configuration.

Ans: a

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

a typeb analyzec infod inquiry

Ans: d

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

a ? lpb ? | number lpc ? | lpd number | lp

Ans: c

Question 116) What is Multi-tasking?

a The ability to perform more than one task at a timeb The ability for more than one user to log in at a timec 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 dub dfc 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/consoleb /etc/passwdc /etc/default/logind /etc/default/sue /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 jupiterb 232.85.129.1 saturnc 193.85.129.2 venusd 255.85.129.4 marse 50.0.0.7 mercury

Ans: a

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

a - no largefilesb -o no largefilesc o no largefilesd -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/systemb /etc/vfstabc /etc/initabAns cQuestion 124) From the OBP prompt, which command can be used to create a customized device alias, which survives power cycling the machine?

a aliasb nvaliasc unalias

Ans b

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

a dumb terminalb disklessc datalessd standalone

Ans: b

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

a Program or command nameb Parent process IDc Process IDd 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+delb Try to login in remotely and stop the process that is locking up the system.c Run the kill command locally with a killall commandd Hold down the stop and a keys simultaneously.e None of the above

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

a Devolperb corec Entire Distribution + OEM support

Ans c

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

a Usernameb User ID (UIdc Group ID (GIdd User's phone numbere Secondary groups

Ans: a,b,c,d,e

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

a /etcb /usrc /optd /(root)

Ans: c

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

a PATH=dir1dir2dir3b 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/terminfob /usr/termcapc /usr/share/lib/terminfod /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 directoriesb System commandsc Kernel filesd Device drivers

Ans: c,d

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

a LOGNAMEb TERMc PATHd LPDEST

Ans: a,b,c

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

a home directoryb default shellc host named working directory

Ans: c

Question 139) The command to run system as NFS client

a init 0b init -o nfs clinetc init 2

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

a Trueb False

Ans: a

Question 141) Which command prints the current directory name ?

a lsb cdc pwdd cat

Ans: c

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

a admintoolb passmgmtc usermodd passwd

Ans: d

Question 143) Which files control access to cron utility ?

a /etc/cron.d/cron.allow and /etc/cron.d/cron.denyb /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 infocmpb terminfoc pinfod printers

Ans: a

Question 145) How to quit vi without saving changes ?

a q!b qc ZZd ctrl-d

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

a dosb dosfsc pcfsd 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 sysdefb prtconfc mountd dmesge df

Ans: d

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

a only /export/home/user1 is owned by user1b all files and directories in /export/home/user1 are owned by user1c 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 rupb rloginc rusersd finger

Ans: c

Question 151) What is a host?

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

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

Ans: b

Question 153) What is an IP address?

a The address of where the machine is physically locatedb 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 fileb Edit the user's crontab filec List the user's crontab filed List another user's crontab filee 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!d q

Ans: c

Question 156) What is a network?

a A group of computers in the same room.b A group of computers which are connectedc 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 informationc 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 diskb a slice in a diskc a track in a diskd a cylinder in a disk

Ans: b

Question 159) Which command display login, logout information ?

a lastb whoc whodod uname

Ans: a

Question 160) What is the File Manager used for?

a To navigate the file structureb To navigate the kernel.c To navigate the OS.

Ans: aQuestion 161) The hosts file is as following, which statements are true ?192.33.64.11 venus192.33.64.15 mars192.33.64.254 star

a all machines are in same subnetb the machine may be venusc this is a class B networkd 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 draftb lpadmin -d laser1 -c draftc lpadmin -p laser1 -c draftd 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 byeb exitc close

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

a managing usersb managing CPU resourcesc managing Memory

Ans: b

Question 165) What is the Help Viewer?

a Provides help when you have a syntax error.b An online help screenc 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 passwordb user Idc group Id

Ans: a

Question 168) Which command gives information about packages.

a pkginfob pkgchkc patchadd

Ans: a

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

a hashb promptc connectd get

Ans: a

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

a The workspaceb The Backgroundc The Screen.

Ans: a

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

a) /var/sadm/patchb) /var/spool/patchesc) /var/adm/patchesd) No default but /var/spool/patch is commonly used

Ans: b

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

a Adjustb Selectc Menu

Ans: b

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

a Selectb Adjustc Menu

Ans: b

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

a Full pathname and physical device numberb Driver binding name and instance numberc Logical device name and partition numberd Physical device name and instance number

Ans: b

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

a Menub Selectc Adjust

Ans: a

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

a setenv PRINTER=lp1b env PRINTER lp1c PRINTER=lp1d set PRINTER lp1e define PRINTER as lp1

Ans: c

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

a touch newfileb cat oldfile newfilec cp oldfiled 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 windowc Press the center mouse button anywhere on the screen.

Ans: b

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

a admintoolb pkgtoolc pkgaddd pkgrme pkginfo

Ans: a,d

Question 180) How to display current shell process ?

a ps -auxb ps -efc psd 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 workspaceb Used to log out of the System.c Used to open another window.

Ans: aQuestion 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 structurec Displays the directory you are currently working in.

Ans: a

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

a Ab Bc Cd D

Ans: c

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

a it creates dir x,y,zb it creates dir z in y , y in x , x under the current dirc its not a vaild commandd 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?

a 2b 8c 3d 4

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 domainb server's hostnamec server's IP addressd server's Ethernet address

Ans: b,cQuestion 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 /usrb /homec /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 processb The process ID (PId of the processc The owner (UId of the processd The name of the process

Ans: b

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

a ls -la | moreb ls -la morec ls -lsd ls -la more

Ans: a

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

a root (/)b /homec /etc

Ans: a

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

a mail -s "hi" usernameb mail usernamec mail username filenamed mail username@machinename < filename

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

a cdb cd ~c cd /homed cd $HOME

Ans: a,b,d

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

a /etcb /usrc /home

Ans: b

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

a root (/)b /export/homec /usr

Ans: b

Question 197) Which command to stop entire LP services ?

a /etc/init.d/lp stopb lp -dc canceld 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 resetb syncc diskd 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: aQuestion 200) What is the command that displays all the system mount points?

a showmountb mountdc 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 vfstabb man vfstabc 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 -lb df -kc df -l

Ans: b

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

a mkfsb mkfs -F ufsc mkfs_ufsd 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 Passwordb Min Changec Max Changed Max Inactive

Ans: b

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

a -lb -ac -s

Ans: a

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

a partitionb printc labeld current

Ans: c

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

a The LPDEST shell variableb The lpadmin commandc The lp commandd 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-04b Use patchrm to remove each patch separatelyc 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: cQuestion 211) A tree of directories and files is called

a a file systemb a clusterc 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 formatb list hidden filesc This is not a valid option for the ls command

Ans: b

Question 214) What command displays the NVRAM parameters?

a setenvb envc printenv

Ans: c

Question 215) What command changes the NVRAM parameters?

a setenvb envc 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 -lb head -10c head -20 /dev/filenamed 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 prstatb psc sdtprocessd 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 jobc 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 filed 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 usersb assign a name to primary groupsc provide a special group for super user privilege

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

a Tarb cpioc ufsdumpd dd

Ans: a,b

Question 224) What does the more command do?

a Displays the contents of a file to the screen more than onceb Displays the contents of a filec 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 mountallb mountc umountd umountall

Ans: b

Question 226) Which commands are correct ?

a ls /usr/local/bin -lb pwd cdc 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 activec Accesses the on-line reference pages.

Ans: c

Question 229) What does the head command do?

a Displays the header in a fileb Creates a header in a filec Displays the first n lines of a file

Ans: c

Question 230) What does the tail command do?

a Displays the footnote in a fileb Displays the last n lines of a filec 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 reportb rmdir reportc rm reportd 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 -ib devfsadm -i stc devicesd 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 nameb the machine host namec 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 /../dir1c cp .tst dir1/Ans: cQuestion 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 rootb Patch 108577-03 is not installed on the systemc Patch 108577-04 is installed on the systemd 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 lineb 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 charactersb Zero to more characters.c 2 or more characters.

Ans: b

Question 248) Sysadmin group can do

a They can remotely administerb They can change printer configuration from command linec They can add users from command line

Ans: a,b,c

Question 249) Which command produces thisroot console Tue Oct 2 1024 - 1050 (0026) ?

a whob lastc usersd whoami

Ans: b

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

a -lb -ac -od -h

Ans: bQuestion 251) # lpmove stock sparc meAns:

a move all print requests from stock to sparcb move all root printing requests from stock to sparcc move printing request stock to printer sparc

Ans: a

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

a) boot -lb) who -bc) uptimed) 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 modeb Entry mode, Command mode, Replace modec Command mode, Entry mode, Last-line mode

Ans: c

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

a new filenameb vi filenamec 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 srwxrwxrwxb -rwsrwxrwxc -rwxrwsrwxd -rwxrwxrwse -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 variablec 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,000b The names of user accounts that are locked or have no passwordc UIDs that are 1,000 or greaterd 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: cQuestion 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 searchb findc 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 oncec 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 Labelb diskc type

Ans: a

Question 268) How to use on-line help ?

a helpb help loginc cat logind man login

Ans: d

Question 269) What is the PATH variable used for?

a To determine the path to a commandb To determine the search order for the find commandc 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 commandb To determine the search order for commands that are executedc To determine the current shell in use

Ans: a

Question 271) What command displays your current search path?

a echo $PATHb show $PATHc $PATH

Ans: a

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

a chmodb chpermc permission

Ans: a

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

a maskb umaskc showmask

Ans: b

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

a cannot readb read onlyc readabled can execute

Ans: c

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

a chmodb passwdc chgrp

Ans: c

Question 276) What information is provided by the df command?

a Logical raw device of the file system partitionb Logical block device of the file system partitionc Free blocksd Number of files that can be created

Ans: b,c,d

Question 277) What is setuid?

a Changes a users Idb 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 whob whoamic whoishere

Ans: a

Question 279) What does the last command display?

a login and logout informationb The last n commands executedc The last n lines of a file

Ans: a

Question 280) What type are CDROM file ?

a pipeb symbolic linkc characterd block

Ans: c

Question 281) What is the format of the password file??

a usernamecommentUIDGIDhome-dirlogin_shellb usernamexUIDGIDcommenthome-dirlogin_shellc usernamexGIDUIDhome-dirlogin_shell

Ans: b

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

a /etc/passwdb /etc/hostsc /etc/group

Ans: a

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

a ab ic Ad cw

Ans: a,b,c,d

Question 284) Which are valid printer port ?

a /dev/term/ab /dev/term/bc /dev/term/ttyad /dev/dsk/c0t0d0s3

Ans: a,b

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

a changeb duc 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 chgrpb groupmodc chown

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

a idb gidc 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.profileb /etc/profilec /etc/skel/local.profiled /.profile

Ans: c

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

a admintoolb adminc tool

Ans: a

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

a addgroupb groupaddc grpadd

Ans: b

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

a useraddb adduserc addgroup

Ans: a

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

a loginb rloginc enter

Ans: b

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

a rshb rcpc rexecute

Ans: a

Question 296) How to identify default boot information

a bannerb printenvc devalias

Ans: a

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

a 10 linesb 5 linesc 25 lines

Ans: a

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

a rshb rcopyc 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 mountedb All mounted file systems are displayedc All file systems in /etc/vfstab are displayedd 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 networkb distribution of computers on networkc 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 prstatb sdtprocessc ps -ald proc

Ans: a,b

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

a /etc/shadowb /etc/passwordc /etc/default/passwdd /etc/inetinit

Ans: c

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

a rloginb telnetc remote

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

a /etcb /export/homec /usrd /user

Ans: c

Question 306) What is the ftp command used for?

a send files to a remote systemb get files from a remote system.c transfer files using ASCII, binary, DOS, or UNIX formatd 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 coreb entire OSc developer's packaged end-users' package

Ans: c

Question 309) What #rsh machinename does ?

a create a remote shell on local machineb log user into a remote shellc log user into the remote machined run a command on the remote machine, then exit

Ans: c

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

a rusersb whoamic rlog

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

a shutdown -i 0 -g 300 -yb shutdown -i 1 -g 300 -yc 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/consoleb /etc/passwdc /etc/default/logind /etc/default/sue /var/adm/loginlog

Ans: d

Question 313) What is the ping command used for?

a to determine if the named host is up and runningb 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 pkginfob shpkgc testpkgd showrev -p

Ans: a

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

a statusb netstatc rstat

Ans: b

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

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

Ans: bQuestion 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 pkgchkb pkgchk -lc pkginfo -ld pkginfo -v

Ans: a

Question 319) What is the uuencode command used for?

a Create an ACSII-encoded representation of the binary fileb 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/terminfob /usr/share/lib/termcapc /usr/share/lib/printerd /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 Managementb pkgadd -d /cdrom/cdrom0c admintool with Source Media set to CD without Volume Managementd pkgadd -s /cdrom/cdrom0

Ans: a,b,c

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

a mailxb sendmailc xmail

Ans: aQuestion 323) Shell is

a interpreter and trAns:latorb 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 termconb terminfoc datainfo

Ans: b

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

a printer type , printer nameb printer type , locationc content type , printer type

Ans: c

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

a prtschedb printschedc lpsched

Ans: c

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

a /etc/default/profile, $HOME/.profileb $HOME/.profile, $HOME/.loginc /etc/profile, $HOME/.profiled /etc/profile, $HOME/.login

Ans: c

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

a homogenousb heterogeneousc hetero

Ans: b

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

a /usr/lib/cron/at.allowb /etc/cron/at.allowc /var/spool/cron/atjobs/at.allowd /var/spool/cron/atjobs/at.deny

Ans: a

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

a whob lastc whodod 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 S5b UFSc TMPFSd HSFS

Ans: a,b,d

Question 333) lpstat -d meAns:

a delete a printing requestb show default printerc print a filed show printing requests on destination printer

Ans: b

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

a set UIDb set GIDc set stick bitd unset UID

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

a lpstatb lpqueuec lprint

Ans: a

Question 336) What command to boot from cdrom

a boot cdrom from promptb 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 cancelb stopc halt

Ans: a

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

a mboxb inboxc .mailx

Ans: a

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

a groupb setc 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 filesare used to initialize this user's session?

a /etc/profileb /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/0b tar cf /dev/rmt/0c tar xf /dev/rmt/0

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

a whereb findc search

Ans: b

Question 344) Which command shows the last reboot time?

a boot -tb who -r (I think This is Correct)c uptimed 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 timeAns: c

Question 347) What command copies files between hosts ?

a rcpb rshc ftpd telnet

Ans: a,c

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

A MultiuserB MultitaskingC Distributed Processing.D Timesharing

Ans: b

Question 349) The option used to duplicate user id

a -db -ic -ud -oe -id

Ans: d

Question 350) What command can display default boot device?

a devaliaseb printenvc probe-scsid 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/c0t3d0s5b mkfs /dev/dsk/c0t3d0s5c newfs c0t3d0s5

Ans: a

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

a ~/. mailrcb /etc/mailc /etc/aliasesd ~/.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 ? lpb ? number lpc ? 1lpd ? number | lp

Ans: a,c

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

a Whob Lastc dmesgd finger

Ans: b

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

a formatb newfsc fsckd mounte df

Ans: a,b,c

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

a 0b 1c 2d 3

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/homeb mount Co large /dev/dsk/c0t0d0s3 /export/homec mount large /dev/dsk/c0t0d0s3 /export/home

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

a newfsb nwfsc fsck

Ans a

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

a lpb lpstatc lp -od lp -l

Ans: b

Question 342) Type the command to delete printer queue

a rejectb cancelc deleted 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/mnttabb /etc/initabc /etc/systemd /etc/vfstab

Ans: d

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

a .profileb loginc .login

Ans: c

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

a -db -oc -rd -De useradd doesn't support duplication of UIDs

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

a /etc/default/sub /etc/default/loginAns: a

Question 347) The three main parts of the SunOS are

a memory, swap space and file systemb kernel, daemons and shellc file structure, virtual memory and kerneld kernel, shell and file structuree swap space, daemons and shell

Ans: d

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

a aliasb unaliasc nvaliasd ualias

Ans: c

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

a the provision of graphical user interface to usersb the management of devices and memoryc the management of processes and daemonsd the scheduling and execution of commands

Ans: a

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

a Bourne Shellb Korn Shellc C Shelld Z Shelle TC Shellf 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? choicesa 64 bit supportb software cluster groupc user disk quotad File system configuration

Ans: a,b,d

Question 352) Which system is installed automatically while Solaris is being installed ?

a coreb entire systemc developmentd end-user

Ans: a

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

a .profileb .cshrcc .login

Ans: a

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

a /b /usrc /etcd /home

Ans: b

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

a /kernalb /etcc /usrd /var

Ans: a

Question 356) The directory that contains passwd file is

a /etcb /passwdc /shadow

Ans: a

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

a /home/exportb /varc /optd /etc

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

a /export/homeb /usrc /vard /opt

Ans: a

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

a Storage of machine names and addressesb Secure data accessc Hierarchical and decentralized network administrationd Very large name space administratione Internet host lookupsf Access to resources across domainsg Incremental updates

Ans: a,e

Question 340) What are the valid Sun System Configurations

a Mainframe systemsb Clientc Sun Micro systemsd SPARC systemse Standalonef Servers

Ans: b,e,f

Question 341) The core software configuration cluster contains

a compilers and debuggerb extended hardware support for OEM componentsc drivers required to run OpenWindows and CDEd Openwindows and CDEe compiler tools and man pages

Ans: c

Question 342) The Developer software configuration cluster contains

a compilers and debuggerb extended hardware support for OEM componentsc drivers required to run OpenWindows and CDEd Openwindows and CDEe 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 file1b lpadmin -t file1c lp -d laser1 -q 0 file1d 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 -printb 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 printenvb bannerc envd uname -x

Ans: b

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

a helpb manc infod seeke question

Ans: a

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

a /etcb /optc /rootd /var

Ans: a

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

a echob nvaliasc devaliasd printenv

Ans: d

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

a echo aliasb showaliasc alias -ad displayaliase 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/homerb 0 4 * * 1-5 tar cf /dev/rmt/0 /home/homerc 0 4 * 1-5 * tar cf /dev/rmt/0 /home/homerd 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? falseb ok env auto-boot? falsec ok set auto-boot? false

Ans: a

Question 354) Make the previous change persists

a ok defaultb ok resetc ok orginall-conf

Ans: b

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

a ib ac Ad cwe Df G

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 -sb ok boot cdrom -ic ok boot cdrom

Ans: a

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

a the readmetxt fileb files describing that particular packagec the actual files to be installedd scripts that should be run before and after installatione scripts that should be run during removal

Ans: b,c,d,e

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

a pkginfob shpkgc showpkgd sh package

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

a The logical raw device addressed as Controller 0 Target 3 Disk 0 Partition 6b The logical block device addressed as Controller 0 Target 3 Disk 0 Partition 6c The physical raw device addressed as Controller 0 Target 3 Disk 0 Partition 6d 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 fileb an optionc a directoryd a user name

Ans: c

Question 361) Which of the following commands are wrong

a pkgrm -d package_nameb pkgrm package_namec pkgrm -d package_path package_named pkgadd -d package_path package_namee 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/contentsb /var/sadm/install/contentsc /var/adm/spool

Ans: b

Question 363) The package command information could be obtained from

a package_path/package_name/pkgmapb package_path/package_name/pkgcomc package_path/package_name/infod package_path/package_name/commandse package_path/package_name/scriptf package_path/package_name/pkgscript

Ans: a

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

a time, date, commandb time, owner, command

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

a /var/spool/pkgb /var/sadmc /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_nameb pkgrm -s spooling_path package_namec pkgrm -s package_named 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 amb runs Sunday at 200amc runs Monday at two minutes after midnightd 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/patchesb /opt/patch/logc /var/sadm/patchd /var/sadm/installe /etc/install/patch

Ans: c

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

a /usrb /rootc /etcd /var

Ans: c

Question 368) Which is initialization file for Bourne shell

a .profileb profilec login

Ans: b

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

a .loginb local.loginc profile

Ans: c

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

a patchadd -db patchadd -pc patchadd -id patchrm -ie patchinfof 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 properlyb the system will crash more frequentlyc the patches cannot be uninstalledd it will not affect the system at all

Ans: c

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

a usersb groupsc hostsd printerse parallel portsf serial portsg 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 accountb Lock the account using admintoolc Modify the user account .profile to change the user environmentd 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-01b patchadd 107588-01c patchadd /var/spool/patch/107588-01d 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/loginb /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 timesb crontab is the scheduler, at executes the commandsc at is the scheduler, crontab executes the commandsd 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.logb tar xvf backup.tar install.logc 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 consoled 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 /tmpb rcpc rcp remote_host file /tmpd rcp file remote_host/tmp

Ans: d

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

a encrypted passwordb user IDc loginIDd primary groupIDe default shellf secondary groupIDg password aging

Ans: b,c,d,e

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

a Since environment are inherited from .loginb 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/passwdb /etc/default/shadowc /etc/default/useraddd /etc/default/logine /etc/default/skel

Ans: a

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

a /etc/profileb /etc/profilec /etc/logind /etc/skel/local.cshrc

Ans: c

Question 385) Which of the following are serial devices?

a CPUb memoryc terminald 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 affectedb The .profile file in the home directory of the user account is sourcedc The .login file in the home directory of the user account is sourcedd 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 022b umask 027c umask 755d umask 644e 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 -mb -sc -dd -re -c

Ans: b

Question 389) What is the usage of an inode?

a stores the file typeb stores the file sizec stores the content of the file or directoryd None of above

Ans: a , b

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

a 0b 1c 2d 3e 4

Ans: c

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

a mountb mount -F ISO -r /devc mount -f ISO CDROMd 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 -afb quot -mnc quot -and quot -mf

Ans: a

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

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

Ans: d

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

a /rootb /sbinc /usrd /libe /optf /bin

Ans: c

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

a fdiskb formatc newfsd makefse fsck

Ans: b

Question 396) Which command show all mounted file systems ?

a mountb mountallc umountd 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 diskb We can use more than one slice in a single file systemc We can increase the size of a file system while it is in used We can increase the file system Input/Output performancee 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/.kshrcb /etc/profilec /home/user1/.profileIn 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 rloginb rshc sshd kshe telnet

Ans: b

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

a lp -3 fileb lp -n 3 filec lp.....Ans: b

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

a 2b 3c 4d 8

Ans: b

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

a Slashesb Instance numbersc Node namesd SCSI controller numbers

Ans: a,c

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

a export variableb export $variablec setenv variabled 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 rusersb rcpc telnetd rup

Ans: a

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

a Coreb End Userc Enterprised Developer

Ans: a,b,d

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

a ufsdump 0c /dev/rdsk/c1t0d0s2b ufsdump 0cf /dev/rmt/0 /dev/rdsk/c1t0d0s2c ufsdump 0cf /dev/rmt/0n /dev/rdsk/c1t0d0s2d 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 eomb ufsdump 0ucf /dev/rmt/0n /dev/rdsk/c1t0d0s1c mt retensiond mt forwarde mt fsf 10f mt last

Ans: a

Question 408) Which command removes print jobs ?

a cancelb enablec stop

Ans: a

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

a trueb false

Ans: b

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

a 1234b 4567c setd set and 1234

Ans: a

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

a /etc/nfstabb /etc/nfs/nfstabc /etc/dfs/dfstabd /etc/sharetabe /etc/vfstabf /etc/mnttab

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

a nfsharesb nfssharesc sharesd dfsharese netshares

Ans: d

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

a man -s4 vfstabb man vfstab(5)

Ans: a,b

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

a boot -ab boot -dc boot -fd reboot

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

a /var/spool/lpb /var/lp/spoolc /etc/spoold /etc/lp/spoole /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 printerb to print forms and forms with text and graphics instead of blank paperc to initialize a printer before sending a print job to the printerd to convert the content of requests to the type of content accepted by the destination printere 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-shellsb aliasesc processesd jobs

Ans: a

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

a /etc/termcapb /usr/share/lib/terminfoc /etc/terminfod /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/terminfod /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/c0t3d0s5b 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 LPRCONFb PRINTERSc PRINTERd LPDESTe LPDEFAULT

Ans: c,d

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

a bannerb probe-scsic devaliased printenv

Ans: d

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

a continueb cancelc enabled disablee acceptf 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 -cb lp -xc lpadmind lpmove

Ans: d

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

a lp file1b lp -n printer1 file1c lp -d printer1 -o nobanner file1d lp -p printer1 -o nobanner file1e lp -p printer1 -b file1

Ans: a,b,c,d,e

Question 427) Which command list hidden files ?

a ls -lb ls -ac ls -hd 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 reducelogb 0 23 * * 0 reducelogc * * 23 0 0 reducelogd 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 -ab lp -dc lp -od lp -pe lp -sf lp -t

Ans: f

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

a PRINTb DEFAULTPRINTERc LPDESTd DEFAULT

Ans: c

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

a lp -ab lp -dc lp -od lp -pe lp -sf 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 commandc 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