7.5 Code Practice

Question: Which of the following is not true regarding mount points?
Answer: Mount points use the partitions represented by device files located in the /lib directory.
==================================================
Question: You have partitioned and formatted a new hard drive, sdc. You want to mount the first partition on sdc to directory /mnt/newdisk. Which command will perform the mount correctly?
Answer: mount /dev/sdc1/mnt/newdisk
==================================================
Question: You are preparing to mount a device local to your system. Which directory holds the device files?
Answer: /dev
==================================================
Question: Partition /dev/sdb2 is mounted to /mnt/temp. You need to unmount /dev/sdb2. Which commands would you use? (Choose two.)
Answer: umount /dev/sdb2
umount /mnt/tmp
==================================================
Question: A user is trying to access a file system mounted at /mnt/sdb1 but receives an error No such file or directory. Which commands can you use to see the current points? (Choose two.)
Answer: df
mount
==================================================
Question: A number of new file systems have been added to the server and you want them to be active now. You also do not want to bring the server down. Which command makes the changes active?
Answer: mount -a
==================================================
Question: You want to mount a number of filesystems each time the system is brought up. Which configuration file should hold the configuration information for the filesystems to be mounted?
Answer: /etc/fstab
==================================================
Question: Yesterday you created a new swap area for your system. Today, after rebooting the system, you find the swap area is not mounted. What should you do to ensure the swap area is mounted each time the system boots?
Answer: Edit /etc/fstab and add the swap partition.
==================================================
Question: Which file shows the currently mounted volumes?
Answer: /etc/mtab
==================================================
Question: You have added several new hard disks to your system. After partitioning and formatting you have modified a configuration file to mount these new file systems automatically. You want to document the change you made. What file would you document?
Answer: /etc/fstab
==================================================
Question: You are trying to unmount /dev/sdd3 but are receiving a device is busy error message. What con you do to try to unmount the file system? ( Choose all that apply.)
Answer: Find and close any open files on the file system, and try to unmount again.
Make sure your current working directory is not on the file system and try to unmount again.
==================================================
Question: Which of the following directories is specified by Filesystem Hierarchy Standard (FHS) as a mount point for removable media, such as USB storage media, DVD's, CD-ROMs, and Zip disks?
Answer: /media
==================================================
Question: You need to configure your Linux system to allow only the root user account to mount the CD-ROM device. Which of the following options should you add to the /etc/fstab file?
Answer: /dev/cdrom /media/cdrom -t iso9660 ro,nouser,noauto
==================================================