Choose All Correct Answers For Each Question.: UNIX Track 1 MCIT Lab. 3
Choose All Correct Answers For Each Question.: UNIX Track 1 MCIT Lab. 3
Choose All Correct Answers For Each Question.: UNIX Track 1 MCIT Lab. 3
1. Which of the following commands would you use to display the available swap space? A. swap -a B. swap -l C. swap -s D. prtconf 2. Which of the following commands would you use to list the current swap area on your system? A. swap -a B. swap -l C. swap -s D. prtconf 3. Which of the following files must you modify so that the added swap space will be activated automatically each time the system is booted? A. /etc/swapadd B. /etc/swap C. /etc/vfstab D. /etc/swapconf 4. If you want to share a resource, you would add the share command for that resource into which of the following files? A. /etc/dfs/sharetab B. /etc/dfs/dfstab C. /etc/default/nfs D. /etc/vfstab 5. Which of the following are the commands to manage core files and crash dump? A. coreadm B. crashadm C. dumpadm D. dumpadmin
UNIX Track
MCIT Lab. 3
6. Which of the following are true statements about core files and crash dumps. A. If you see a file such as vmcore.123, assume it was generated when a process terminated abnormally. B. A file that looks like unix.123 must be created by a system crash. C. A file that looks like core.politics.101 might have been created by a process named politics that terminated abnormally. D. dumpadm.conf is the configuration file for the utility that manages the core files. 7. Which of the following files would you look into to find out the IP address associated with a host name on your machine: A. /etc/hostname.<interface> B. /etc/hostname C. /etc/nodename D. /etc/inet/hosts 8. An Internet service for example, rlogin was started when you booted your Solaris 10 system. After the boot, you disabled the service with the svcadm command. Now when you reboot the machine, you will need to manually enable the service by using the svcadm command. A. True B. False 9. Which command would you use to check whether a remote host is reachable? A. ping B. snoop C. ifconfig D. netstat 10.Which of the following commands would you issue to list the contents of a tar file specified by the argument <tarFile>? A. tar cvf <tarFile> B. tar uvf <tarFile> C. tar xvf <tarFile> D. tar tvf <tarFile> 11.Which of the following commands has a built-in capability to perform incremental backups? A. ufsdump B. tar C. cpio D. pax E. dd
UNIX Track 2 MCIT Lab. 3
12.Suppose your backup requires multiple tape volumes. Which of the following commands can you use? A. cpio B. tar C. ufsdump D. pax 13.Suppose while issuing the ufsdump command you do not use the f option to specify the tape drive to which the files will be dumped. Which tape device will the ufsdump utility look for, by default? A. /dev/rmt/1 B. /dev/rmt/0 C. /dev/mt/0 D. dev/tape/0 14.You want to make a backup of a file system without putting the system into single-user mode and unmounting the file system. Which of the following options allows you do that? A. Use the ufsdump command. B. First take a snapshot with fssnap and then backup the snapshot with ufsdump command. C. First take a snapshot with the fssnap command and then backup the snapshot with the cpio command. D. First take a snapshot with fssnapshot command and then backup the snapshot with ufsdump command. E. Use the fssnap command to take the snapshot and perform the backup. 15.Which of the following files the can the ufsdump command use to store or retrieve information? A. /etc/dumpdates B. /etc/vfstab C. /etc/dumplog D. /etc/dumpinfo 16.You are a system administrator for a marketing firm that is very busy during the day and is closed on Sundays. Which of the following is an appropriate backup strategy? A. Full system backup each Sunday B. Full system backup on the last Sunday of each month and incremental backup on all other Sundays of the month. C. Full system backup daily at 9 : 00 a.m. D. Full system backup every Sunday and nightly incremental backups from Monday to Saturday.
UNIX Track 3 MCIT Lab. 3
17.Which of the following commands can you use to display the process information that will be updated periodically? A. pgrep B. ps C. plist D. prstat 18.Which of the following commands will display all the processes that have go in the process argument string? A. ps -ef grep go B. pgrep -l -f go C. ps -a go D. prstat go 19.Which of the following commands will kill a process with process ID 24387 and process name pass2? A. kill 24387 B. kill pass2 C. pkill 24387 D. pkill pass2 20.Which of the following entries in a crontab file instructs the system to execute the diskchecker script at 9 : 10 a.m. each Sunday and Tuesday? A. 0 2 * * * 9 : 10 /etc/cron.d/diskchecker B. 10 9 * * * 0,2 /etc/cron.d/diskchecker C. 10 9 * * * 1,3 /etc/cron.d/diskchecker D. 9 10 * * * 0,2 /etc/cron.d/diskchecker 21.Which of the following commands will display information about the last three reboots of your system? A. last reboot -3 B. last reboot | head -3 C. last reboot | tail -3 D. who -r | head -3 E. who -r | tail -3
UNIX Track
MCIT Lab. 3
22.Which of the following is the correct name for the administrative account on a Solaris 10 system created by default? (Choose all that apply.) A. superuser B. root C. administrator D. admin E. manager 23.Assume you have the following weekly backup schedule by using the ufsdump command: Monday dump level 1 tape1 Tuesday dump level 2 tape2 Wednesday dump level 3 tape3 Thursday dump level 4 tape4 Friday dump level 0 tape0 Your system crashed on a Wednesday afternoon before starting the Wednesday backup. Which set of tapes would you use to restore the data as fully as possible? A. tape0, tape1, tape2, tape3, and tape4 B. tape0, tape1, tape2, and tape3 C. tape0, tape1, and tape2 D. tape0
UNIX Track
MCIT Lab. 3