Self Test


The following questions will help you measure your understanding of the material presented in this chapter. Read all the choices carefully because there might he more than one correct answer. Choose all correct answers for each question.

1. 

Which of the following commands would you issue to list the contents of a tar file specified by the argument <tarFile>?

  1. tar cvf <tarFile>

  2. tar uvf <tarFile>

  3. tar xvf <tarFile>

  4. tar tvf <tarFile>

image from book

2. 

Which of the following commands has a built-in capability to perform incremental backups?

  1. ufsdump

  2. tar

  3. cpio

  4. pax

  5. dd

image from book

3. 

Suppose your backup requires multiple tape volumes. Which of the following commands can you use?

  1. cpio

  2. tar

  3. ufsdump

  4. pax

image from book

4. 

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?

  1. /dev/rmt/1

  2. /dev/rmt/0

  3. /dev/mt/0

  4. dev/tape/0

image from book

5. 

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?

  1. tape0, tape1, tape2, tape3, and tape4

  2. tape0, tape1, tape2, and tape3

  3. tape0, tape1, and tape2

  4. tape0

image from book

6. 

Assume you have the following weekly backup schedule by using the ufsdump command:

  • Monday—dump level 1—tape1

  • Tuesday—dump level 1—tape2

  • Wednesday—dump level 1—tape3

  • Thursday—dump level 1—tape4

  • Friday—dump level 0—tape0

Your system crashed on a Thursday afternoon before starting the Thursday backup. Which set of tapes will you use in order to restore the data as fully as possible?

  1. tape0, tape1, tape2, and tape3

  2. tape0, tape1, and tape2

  3. tape0, and tape3

  4. tape0

image from book

7. 

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 to do that?

  1. Use the ufsdump command.

  2. First take a snapshot with fssnap and then backup the snapshot with ufsdump command.

  3. First take a snapshot with the fssnap command and then backup the snapshot with the cpio command.

  4. First take a snapshot with fssnapshot command and then backup the snapshot with ufsdump command.

  5. Use the fssnap command to take the snapshot and perform the backup.

image from book

8. 

Which of the following files can the ufsdump command use to store or retrieve information?

  1. /etc/dumpdates

  2. /etc/vfstab

  3. /etc/dumplog

  4. /etc/dumpinfo

image from book

9. 

Which of the following are the necessary steps in restoring the root file system when your disk crashed and you added a new disk to the system?

  1. Boot the system from a CD or the network.

  2. Issue the installboot command.

  3. Use the fsck command.

  4. Use the init 6 command.

image from book

10. 

Which of the following files are created by the ufsrestore command?

  1. ufsrestore.log

  2. ufssymtable

  3. restoresymtable

  4. dumpdates

image from book

11. 

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?

  1. Full system backup each Sunday

  2. Full system backup on the last Sunday of each month and incremental backup on all other Sundays of the month.

  3. Full system backup daily at 9:00 A.M.

  4. Full system backup every Sunday and nightly incremental backups from Monday to Saturday.

image from book

Answers

1. 

þ D. The t option will display the names of the files in the archive.

ý A is incorrect because the c option creates the archive file, and B is incorrect because the u option is used to add the files to the archive. C is incorrect because the x option is used to extract the files from the archive.

2. 

þ A. The ufsdump command has dump levels that you can use to make incremental backups.

ý B, C, D, and E are incorrect because the tar, cpio, pax, and dd commands all lack a built-in mechanism for incremental backups.

3. 

þ A, C, and D. The cpio, pax, and ufsdump commands support multiple tape volumes.

ý B is incorrect because the tar command does not support multiple tape volumes and can be used to back up files and subtrees to a single tape.

4. 

þ B. The default tape drive for the ufsdump command is the first tape device: /dev/rmt/0.

ý A is incorrect because the first tape device is /dev/rmt/0, not /dev/rmt/1. C is incorrect because /dev/mt/0 is not the default backup device, and D is incorrect because there is no such device as /dev/tape/0.

5. 

þ C. You will need the last full backup, which is on tape0, along with all the files that have changed since then and were backed up, which are on tape1 and tape2.

ý A and B are incorrect because tape3 and tape4 are from the previous week, before the last backup was taken. D is incorrect because some files may have changed after the last backup, and some of those files would be on tape1 and tape2.

6. 

þ C. You will need the last full backup which is on tape0 along with all the files that have changed since then and were backed up, which will be on tape3.

ý A and B are incorrect because you do not need tape1 and tape 2; this is a differential backup. D is incorrect because some files may have changed and would have been backed up after the last backup; and all of those files would be on tape3.

7. 

þ B and C. First you make a snapshot of the file system, and then you can make a backup of the snapshot by using a suitable command, such as tar, cpio, or ufsdump.

ý A is incorrect because to back up an active file system by using ufsdump, you need to unmount the file system. D is incorrect because there is no such command as ufssnap shot, and E is incorrect because the fssnap command takes the snapshot and stores it on the same disk.

8. 

þ A and B. The ufsdump command used with the u option updates the dump record by adding an entry to the /etc/dumpdates file, and the ufsdump command used with the w option warns by listing the file systems that have not been backed up within a day. This information is retrieved from the /etc/dumpdates and /etc/vfstab files.

ý C and D are incorrect because there are no such files as dumplog or dumpinfo.

9. 

þ A, B, C, and D. Because your disk does not have the root file system, you cannot boot from the disk; you must boot from a CD or the network. You use the installboot command to install the boot blocks, and you issue the fsck command to check the consistency of the file system. You use the init 6 command to reboot the system from the disk.

10. 

þ C. The restoresymtable file is created and used by the ufsrestore command to checkpoint the restore.

ý A and B are incorrect because there are no files named ufsrestore.log and ufssymtable created by the ufsrestore command. D is incorrect because the dumpdates file is maintained by the ufsdump command and not by ufsrestore.

11. 

þ D. The full backup on Sunday would allow you to reuse the last week's media for the next week's incremental backups. The nightly incremental backups would not interrupt the busy days and would take less time than full backups.

ý A and B are incorrect because they would not provide protection against loss of data during weekdays. C is incorrect because it would disrupt the busy days of the firm, as the system would be down every morning for backup.




Sun Certified System Administrator for Solaris 10 Study Guide Exams 310-XXX & 310-XXX
Sun Certified System Administrator for Solaris 10 Study Guide Exams 310-XXX & 310-XXX
ISBN: N/A
EAN: N/A
Year: 2005
Pages: 168

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net