SCA_SLES15 practice question 3 of 15

Which file should be edited to make sure a file system is mounted each time a system boots?

Full set: 69 questions
Answer options
A: /mnt/fstab
B: /etc/fstab Correct answer
C: /etc/sysconfig/fstab
D: /etc/sysconfig/storage/fstab
E: /var/Ub/fstab
Correct Answer:
B. /etc/fstab
Explanation

The /etc/fstab (file system table) file is the standard system configuration file used by Linux to define how and where filesystems are to be mounted, particularly at boot time. The mount -a command, which is executed during the boot sequence, reads this file to mount all specified filesystems automatically. Entries in /etc/fstab define the device, mount point, filesystem type, mount options, and other parameters for each filesystem that should be persistently mounted.

Why Incorrect

A. /mnt is a directory typically used as a temporary mount point, not for configuration files.
C. /etc/sysconfig contains system configuration scripts and variables, but not the primary filesystem table.
D. This path is not a standard location for filesystem configuration on SLES.
E. The /var directory is for variable data like logs and caches, not static system configuration.

References

1. SUSE Linux Enterprise Server 15 SP4 Storage Administration Guide, Chapter 1, Introduction to Storage. Section 1.3, "Partitioning," mentions, "These partitions are listed in the /etc/fstab file, so they are mounted when the system is started."

2. fstab(5) man page. The NAME section explicitly identifies /etc/fstab as the "static information about the filesystems."

3. SUSE Linux Enterprise Server 15 SP4 Administration Guide, Chapter 13, Basic Networking. Section 13.7.2, "Configuring an NFS Client," provides an example of adding a line to /etc/fstab for persistent mounting.

Scroll to Top