An administrator needs to set up an automount point for NFS shares from server nfs.example.com:/exports/backup. The mount point should be /backup and should mount on access. Which configuration is correct?
Correct autofs configuration: master file points to map file.
Why this answer
Option C is correct because it defines an autofs indirect map: the master map entry /backup /etc/auto.backup tells autofs to use /etc/auto.backup as the map for the /backup mount point, and the map entry backup -fstype=nfs4 nfs.example.com:/exports/backup specifies that accessing /backup/backup triggers an NFSv4 mount of the remote export. This configuration mounts the share on demand (automount) rather than at boot or via fstab.
Exam trap
The trap here is that candidates confuse static fstab mounts (which mount at boot) with automount behavior, or they misidentify the correct autofs map file syntax and location, often expecting a single file or a different extension.
How to eliminate wrong answers
Option A is wrong because /etc/auto.master.d/backup.autofs is not a valid autofs configuration file; autofs uses master map files (e.g., /etc/auto.master) and indirect/direct map files (e.g., /etc/auto.backup), not .autofs extension files. Option B is wrong because systemd-mount with automount options is a systemd-native mechanism that does not integrate with autofs; the question specifically asks for an automount point using autofs, not systemd units. Option D is wrong because adding an entry to /etc/fstab with defaults 0 0 mounts the share at boot time (or on mount -a), not on access; automount requires autofs or systemd automount units, not a static fstab entry.