Test Out Linux Pro 8.5.6 Practice Questions
What is the full path and filename of the file that contains the file system table for a Linux system?
/etc/fstab
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. Which of the following configuration files would you document?
/etc/fstab
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?
/etc/fstab
Which file shows the currently mounted volumes?
/etc/mtab
Which of the following directories is specified by Filesystem Hierarchy Standard (FHS) as a mount point for removable media, such as USB storage media, DVDs, CD-ROMs, and Zip disks?
/media
You are preparing to mount a device local to your system. Which directory holds the device files?
/dev
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?
/dev/cdrom /media/cdrom -t iso9660 ro,nouser,noauto
Partition /dev/sdb2 is mounted to /mnt/temp. You need to unmount /dev/sdb2. Which commands would you use? (Choose two.)
umount /dev/sdb2 umount /mnt/temp
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?
Edit /etc/fstab and add the swap partition.
You attempt to unmount a volume using the umount /dev/sdd3 command, but you receive a device is busy error message. Which of the following strategies will be MOST likely to allow you to unmount the file system? (Select TWO).
Make sure your current directory is not on the file system and try to unmount again. Find and close any open files on the file system, and try to unmount again.
A user is trying to access a file system mounted at /mnt/sdb1, but receives an error that states No such file or directory. Which commands can you use to see the current mount points? (Select TWO).
mount df
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?
mount -a
You need to mount the CD-ROM device to the /media/cdrom directory. What command should you use?
mount /dev/cdrom /media/cdrom
You have partitioned and formatted a new hard disk, sdc. You want to mount the first partition on sdc to directory /mnt/newdisk. Which command will perform the mount correctly?
mount /dev/sdc1 /mnt/newdisk