Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 7. Disk and File System Administration > Exam Prep Practice Questions

Exam Prep Practice Questions

Question 1 Which of the following activities can be performed using the format command? [Select all that apply.]
  • A. Display a partition table

  • B. Modify a single partition in a partition table

  • C. Replace the entire partition table

  • D. Copy the partition table from one disk to another

A1: The correct answers are A, B, and C. Although a partition table can be created, saved, and used on another disk, the format command does not provide a method for copying a table from one disk to another.
Question 2 What is the name of the command that can be used to display the date and time the file systems were mounted?
A2: The correct answer is mount.
Question 3 Select the command that supports dynamic reconfiguration for hot-plugging.
  • A. reconfig

  • B. configadm

  • C. cfgadm

A3: The correct answer is C. Answers A and B are not valid.
Question 4 What is the full pathname of the file used to map between physical device names and instance names (driver binding name and instance number)?
A4: The correct answer is /etc/path_to_inst.
Question 5 Which command can be used to display both the physical device name and the (partial) logical device name of disks?
A5: The correct answer is format.
Question 6 Devices can be addressed using physical device names. Under which directory are these physical device names listed?
  • A. /dev

  • B. /etc

  • C. /devices

  • D. /phy

A6: The correct answer is C. Answer A, the /dev directory, is used for logical device names. Answer B, the /etc directory, is not used for devices, and answer D, the /phy directory, is not valid.
Question 7 Which of the following commands either display or require logical device names? [Select all that apply.]
  • A. format

  • B. newfs

  • C. fsck

  • D. mount

  • E. df

  • F. prtvtoc

A7: All the answers are correct.
Question 8 Which command-line argument is used to disable support for files larger than 2GB?
  • A. -o no2gfiles

  • B. -o nobigfiles

  • C. -o largefiles

  • D. -o nolargefiles

A8: The correct answer is D. Answers A and B are not valid command-line arguments. Answer C would enable (not disable) large file support.
Question 9 Files under the /dev and /devices directories are maintained by which of the following programs?
  • A. devadm

  • B. devfsadm

  • C. devfsadmin

  • D. devicesadm

A9: The correct answer is B (devfsadm). None of the other answers contains actual commands.
Question 10 Which of the following commands can be used to create a UFS file system?
  • A. newfs /dev/rdsk/c0d1s7

  • B. mkfs -t UFS /dev/rdsk/c0d1s7

  • C. newfs /dev/dsk/c0d1s7

  • D. newfs /dev/dsk/c0t1d1s7

A10: The correct answer is A. Answer B is incorrect because the correct argument to specify a UFS file system is the -F command-line argument. Answers C and D are incorrect because they use logical block device names. The newfs command requires logical raw device names.
Question 11 Which of the following commands uses logical block device names? [Select all that apply.]
  • A. mount

  • B. umount

  • C. fsck

  • D. newfs

A11: The correct answers are A and B. Answer B, umount, can also use mount point. Answers C and D, fsck and newfs, use logical raw device names.
Question 12 Which of the following types of file systems can be mounted using the mount command? [Select all that apply.]
  • A. UDF

  • B. UFS

  • C. TMPFS

  • D. HSFS

A12: All the answers are correct.
Question 13 What is the name of the command used to display a list of free blocks and number of files on a file system basis?
A13: The correct answer is df.
Question 14 Which of the following are fields of a partition table? [Select all that apply.]
  • A. Partition name

  • B. Partition tag

  • C. Disk label

  • D. Volume table of contents

  • E. Number of sectors in partition

A14: The correct answers are A, B, and E. Answer C, the disk label, is the portion of the disk that contains the partition table. Answer D, the volume table of contents, is another name for the disk label.
Question 15 Which of the following information is displayed by the prtvtoc command? [Select all that apply.]
  • A. Disk dimensions (geometry)

  • B. Partition table

  • C. Disk label

  • D. Volume table of contents

A15: All the answers are correct. The prtvtoc command displays the disk label (otherwise known as the volume table of contents), which consists of the disk geometry and the partition table.
Question 16 Which of the following tasks can be performed by the cfgadm command? [Select all that apply.]
  • A. Display receptacle state, occupant state, and attachment point condition.

  • B. Configure and unconfigure EDI disk drives.

  • C. Connect and disconnect SCSI controllers.

  • D. Test attachment points.

A16: Answers A, C, and D are correct. Answer B is incorrect because only SCSI devices and PCI adapter cards are supported by the cfgadm command.
Question 17 What is the name of the command that can be used to instruct the Volume Manager daemon to mount a floppy disk?
A17: The correct answer is volcheck.
Question 18 Which of the following is the format partition submenu command used to display the current partition table?
  • A. display

  • B. verify

  • C. print

  • D. select

  • E. show

A18: Answer C (print) is correct. Answer A (display) does not exist. Answer B (verify) is used to display the partition table from the main format menu, not the partition submenu. Answer D (select) allows a new partition table be selected from a list of partition tables, but none are displayed by this submenu command. Answer E (show) is a format menu command used to translate a disk address.
Question 19 Which of the following functions can be performed by the fsck command? [Select all that apply.]
  • A. Mounting file systems

  • B. Repairing corrupted file systems

  • C. Checking for file system damage

  • D. Displaying the amount of space used by each user

A19: The correct answers are B and C. Answer A is the function of the mount and mountall commands. Answer D is the function of the quot command.
Question 20 Which file contains a list of file systems to mount during system boot or when the mountall command is used?
  • A. /etc/vfstab

  • B. /etc/default/fs

  • C. /etc/mnttab

  • D. /etc/autofs

A20: The correct answer is A. Answer B, /etc/default/fs, contains the default file system type. Answer C, /etc/mnttab, contains the list of currently mounted file systems. Answer D, /etc/autofs, is not valid.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial