System Administration Self Evaluation Test [ SA 1 ]


Instructions
This self evaluation test is designed for junior to mid-level Unix sysadmin. There are 20 multiple choice questions to be answered. Please read all the choices before clicking on the right one. If a question has more than one right choices then you have to click better of those. Also you must attempt all the questions before clicking on "Test" button at the bottom of the page.

Q 1 A crontab entry has first 5 fields as "10 15 1 * 1". When is this entry scheduled to execute?
   At 03:10pm on first of every month or monday    At 10:15am on first of every month or monday
   At 10:15am on first of a month which is monday    At 10:15am on every monday
 
Q 2 Which of the following statements is FALSE with regards to filesystem check 'fsck' command?
   'fsck' pass number in fstab or vfstab indicates the order in which filesystems will be checked    On System V fsck will only run at boot time if the filesystems were not cleanly unmounted
   'fsck -y' option will try to fix all the filesystems problem    'fsck' only checks and reports filesystem problems which you have to correct with '-y' option
 
Q 3 Which one of the following is not a feture of Berkely Fast Filesystem or UFS?
   It creates fragments of disk block to avoid wastage of storage in case of smaller files    It was designed for optimizing storage space and thus limits blocksize to 2K
   It supports block size of upto 64KB    It creates cylinder groups with each group having a copy of superblock
 
Q 4 What is the result of execution of the following command?
find /usr -name core -type f -atime 30 -ok rm -f {} \;
   It removes core files older than 30 days in subdirectories of /usr    It prompts for removal of core files older than 30 days unser /usr subdirectories
   It prompts for removal of core files accessed before 30 days in /usr subdirectories    It removes core files under /usr subdirectories last accesses 30 days ago
 
Q 5 Which one of the following is not an advantage of 'cpio' over 'tar'?
   'cpio' manages to pack data more efficiently than tar and thus has a slight advantage over 'tar'    'cpio' is easier to use for a directory subtree unlike 'tar' which is more suited to backing up a random list of files
   'cpio' handles backup spread over multiple tapes much better than 'tar' does    'cpio' can easily skip over a bad section of tape and can recover most of the data where as 'tar' just fails
 
Q 6 Which of the following statements is FALSE with regards to password restrictions?
   C2 security has per user password, password aging and non accessible password file as some of the requirements    'pwconv' command is used typically to create shadow file entry for an user in passwd file
   Default characteristics such as path and umask are stored in /etc/default/login file under System V    Default unix password for all users is stored in /etc/default/passwd file
 
Q 7 Which of the following statement is FALSE with regards to password security?
   Most systems using shadow file have 'x' in the password field of the passwd file    Systems using standard Sys V shadow file store password aging information in shadow file fields
   Systems that use shadow file store comma separated password aging information in the the password field of passwd file    When adding a new user entry in password file its safer to add an asterisk in the password field before the actual password is set
 
Q 8 What does SGID flag on a non executable file specify?
   The file should always stay memory resident    The file can be executed only by users belonging to the same group
   The file is used as swap file    The file or record locking has been enabled for the file
 
Q 9 Which file is used for logging by syslog daemon?
   /var/adm/log    /var/adm/dmesg
   /var/adm/messages    /var/adm/bootlog
 
Q 10 Which of the following statement is FALSE with regards to comparison between 'vmstat' and 'sar' ?
   Both vmstat and sar report similar information but sar provides better logging facility    Default vmstat arguments are reporting interval and number of lines of report which is different from the default arguments to sar command
   The paging actviies reported by vmstat such as pageins and pageouts can be obtained by 'sar -p' or 'sar -g' commands    The vmsatat command displays information more consicely than sar
 
Q 11 Which of the following is the system administration tool on HP-UX systems?
   SMIT    SAM
   admintool    sysadmsh
 
Q 12 What 'mkfs' parameter should be changed and how, in order to create a filesystem with large number of small files?
   Increase fragment size    Decrease amount of free space reserved
   Decrease bytes-per-inode parameter    Decrease filesystem blocksize parameter
 
Q 13 Which of the following statements is FALSE with regards to mail subsystem?
   The mail user agent configurations are stored in sendmail.cf file    Users delivered mail is spooled under /var/spool/mail directory
   Mails waiting to be processed by transport agent are saved under /var/spool/mqueue directory    Mail distribution lists are stored in aliases file
 
Q 14 Which of the following cases will allow a user passwordless rsh/rlogin with account on two hosts from each other?
   Both the hosts are listed in /etc/hosts.equiv and user has different usernames on both the hosts    Both the hosts are listed in /etc/hosts.equiv and user has the same username on both the hosts and he is using '-l' option of the rcommands
   Both the hosts are listed in /etc/hosts.equiv and ~/.rhost files but user has different username on both the hosts    There is no /etc/hosts.equiv and user has different usernames on the hosts. Also ~/.rhosts files on both hosts have username and hosts for both the hosts
 
Q 15 What is the function of name service cache daemon
   It caches file names and inodes    It caches UFS metadata information
   It caches host name and address information    It caches NFS data pages
 
Q 16 Which of the following is not a characteristics of BSD print subsystem?
   Printer related configurations are stored in /etc/printcap file    The command 'lpstat' can be used to shows jobs status in print queue and 'cancel' to cancel print request
   The administrative command 'lpc' controls printers and print queues    The 'lpd' daemon handles data sent from spool directory to the printers
 
Q 17 What is defined by 'hard' mount option of NFS filesystem?
   Cancel the request in case of an error    Cancel the request in case of an error if interrupt signal is sent
   Retry mounting in case of an error    Block the request in case of an error
 
Q 18 Which of the following information is not reported by 'vmstat'?
   Minor faults such as address translation faults occured in paging activity    Number of processes in blocked for resources state
   Number of processes in zombie state    Percentage of time CPU was in idle state
 
Q 19 Which of the following 'ps' command field does not match its description?
   '%CPU' shows the ratio of CPU consumed to elapsed time    'PRI' field shows the nice value of the process
   'SZ' shows virtual memory pages and 'RSS' shows real memory pages    'WCHAN' shows address of an event for which process is sleeping and no address shown means the process is running
 
Q 20 Which of the following innovation to Unix was not introduced by BSD variants?
   Microkernel architecture    Fast filesystem
   Sockets and TCP/IP    Virtual memory and paging