nerdexam
Red_HatRed_Hat

EX200 · Question #8

EX200 Question #8: Real Exam Question with Answer & Explanation

Sign in or unlock EX200 to reveal the answer and full explanation for question #8. The question stem and answer options stay visible for context.

Submitted by katya_ua· Apr 18, 2026Configure Local Storage

Question

08. Configure autofs Configure autofs to automatically mount the home directory of a remote user as described below: - materials.example.com (172.25.254.254) exports /rhome via NFS to your system. This filesystem contains a pre-configured home directory for the user - The home directory of remoteuser1 is materials.example.com:/rhome/remoteuser1. - The home directory of remoteuser1 should be automatically mounted locally at /rhome/remoteuser1. - The home directory must be writable by the user. - The password for remoteuser1 is "flectrag". Correct Answer: See the below explanation Explanation Explanation/Reference: Solution: # Preparations (not required for the exam) # Go back to foundation0, remote into classroom, create the remoteuser1 user and directory. # This step is necessary to avoid issues with autofs mounting during testing. [kiosk@foundation0 ~]$ ssh root@classroom 'useradd -u 1010 remoteuser1 && mkdir -p /rhome/remoteuser1 && chown remoteuser1: /rhome/remoteuser1' # Install nfs-utils and autofs [root@node1 ~]# yum -y install nfs-utils autofs [root@node1 ~]# vim /etc/auto.master /rhome /etc/auto.rhome [root@node1 ~]# vim /etc/auto.rhome remoteuser1 -rw materials.example.com:/rhome/remoteuser1 [root@node1 ~]# systemctl enable --now autofs # Verification [root@node1 ~]# ll /rhome/ [root@node1 ~]# ssh remoteuser1@localhost remoteuser1@localhost\'s password: `flectrag` $ pwd /rhome/remoteuser1 $ touch my.file $ mount | grep rhome ... materials.example.com:/rhome/remoteuser1 on /rhome/remoteuser1 type nfs4 (`rw`,relatime,vers=4.2,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=172.25.250.100,local_lock=none,addr=1 72.25.254.254)

Unlock EX200 to see the answer

You've previewed enough free EX200 questions. Unlock EX200 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#autofs#NFS#Automated Mounting#User Home Directories
Full EX200 PracticeBrowse All EX200 Questions