January 28, 2009

Linux / Solaris Interview Question - 3

Question 51) To stop printer a from printing and send all jobs to printer b
a reject a
b cancel a
c lpmove a b
d reject lpmove a b
Ans: b,c
Question 52) What is correct about at ?
a execute once only
b put a file at a location
c schedule a event
Ans: a,c
Question 53) How to check filesystem damage
a ck
b fsck
c fsok
d sync
Ans b 
Question 54) Which of the following controls the access to cron utility ?
a /etc/cron/crontabenable
b /etc/cron.d/crontabenable
c /etc/cron/crontabdeny
d /etc/cron.d/crontabdeny
Ans: b,d
Question 55) When more than one application is running it is know as
a multitasking
b multiprocessing
c distributed processing
Ans: a
Question 56) If a machine have / directory, but using /usr and /export/home somewhere else, then this machine is
a dataless
b diskless
c standalone
Ans: a
Question 57) Which of the following commands is used to list printer classes and the member
printers?
a lp -c
b lpadmin -c
c lpstat -c
d lpadmin -c -m
Ans: c
Question 58) Cpio command can span multiple backup tapes.
a True
b False
Ans: a
Question 59) Which command display file size in kilobyte ?
a df
b df -k
c du
d du -k
Ans: d
Question 60) What is the command that a simple user can give to set the default boot device
a ok boot-device?disk
b #eeprom
c setenv
d none of the above
Ans: d
Question 61) What value represents Sunday in the day of week field in crontab?
a) 0
b) 1
c) 6
d) 7
Ans: a
Question 62) Solaris supports
a Korn, Bourne, C shells
b C shell is obsolete, not supported
c Bourne shell is obsolete, not supported
d Born shell is officially supported shell
Ans: a
Question 63) Which of the following directories contain kernel
a /
b /usr
c /etc
d /platform
c /mount
Ans: a,b,d
Question 64) How to mount largefiles c0t0 disk 0 slice 7 on /export/home
a mount /dev/dsk/cotodos7 /export/home
b mount /dev/rdsk/c0t0d0s7 /export/home
c mountall
Ans: b
Question 64) To boot a system in single user mode
a ok boot disk
b ok boot -s
c ok boot -s cdrom
d boot
Ans: b
Question 65) Which of the following files are used to control access to the crontab files?
a /etc/cron.d/cron.deny
b /etc/cron.d/cron.allow
c /var/spool/cron/cron.allow
d /var/spool/cron/cron.deny
e /usr/lib/cron/cron.allow
f /usr/lib/cron/cron.deny
Ans: a,b
Question 66) The commmand used to synchornise the disks
a sync
b done
c equll
d disk_sync
Ans: a
Question 67) A file permission is listed as following -rw-rw-r-filen Which command do not
change its permission ?
a chmod u-w filen
b chmod u-x filen
c chmod g-w filen
d chmod g-x filen
Ans: B,D
Question 68) In terms of default printers, which of the following precedence orders is correct?
a The system default, followed by the printer specified by the lp -d
command line argument, then the LPDEST variable
b The printer specified by the lp -d command line argument, followed by
the LPDEST variable, then the system default
c The LPDEST variable, followed by the system default, then the printer
specified by the lp -d command line argument.
Ans:b
Question 69) Which type of device accepts data synchrnosly
a raw
b chater
c disks
d none
Ans: a
Question 70) Which of the following commands can be used to back up the entire file system located on the disk drive identified by c0t1d0s5?
a ufsdump 0u /dev/dsk/c0t1d0s5
b ufsdump 0u /dev/rdsk/c0t1d0s5
c ufsdump 9u /dev/rdsk/c0t1d0s5
d ufsdump 9u /dev/dsk/c0t1d0s5
Ans: b
Question 71) What is the logical name for a scsi disk 1 and partion 4
a cot4d0s1
b c0t1d0s4
Ans: b
Question 72) Which statement is true when umask 022 to umask 027 ?
a more secure
b new created files don't have write permission for others
c new created files have write permission for others
Ans: a,b
Question 73) At what instance u should halt the system
a when ur upgrading the memory
b when performing backup
c when upgrading new solaris
d when installing a remote printer
Ans: c
Question 74) What standard default file permission ?
a rw-r--r--
b rwxr-xr--
c rw---x-x
d rwxrwxrwx
Ans: a
Question 75) Root user is
a User ID=0, Group ID=0
b User ID=1, Group ID=0
c User ID=0, Group ID=1
d User ID=1, Group ID=1
Ans: c

1 comment: