Question 760
An administrator is integrating NFS export files15.example.test:/exports/docs with an autofs root at /mnt/auto. The immediate requirement is to tell the automounter the direct or indirect map path. Which entry or command is appropriate?
- docs -fstype=nfs4 files15.example.test:/exports/docs
- systemctl restart autofs
- mount -t autofs
- /mnt/auto /etc/auto.team
Explanation
Correct Answer
D:A master-map entry links an indirect mount root to its map file This supplies the requested automounter piece. This matches the stated requirement to tell the automounter the direct or indirect map path. By contrast, the plausible alternative `systemctl restart autofs` has the effect: Restarting the automount service rereads its map definitions That addresses a different layer of the map or service configuration; that operation would not achieve the requested result. A separate comparison is `systemctl restart autofs`: Restarting the automount service rereads its map definitions That addresses a different layer of the map or service configuration. The stated task is to tell the automounter the direct or indirect map path. Instead, `/mnt/auto /etc/auto. For the named operational target /mnt/auto., the required change or inspection is performed by `/mnt/auto /etc/auto.team`; a different listed action would either inspect or change another aspect of that target.
Incorrect Answers
A:The map key docs specifies a mount name and NFS export with options That addresses a different layer of the map or service configuration. The stated task is to tell the automounter the direct or indirect map path. Instead, `/mnt/auto /etc/auto.team` is the relevant alternative because a master-map entry links an indirect mount root to its map file This supplies the requested automounter piece. A separate comparison is `systemctl restart autofs`: Restarting the automount service rereads its map definitions That addresses a different layer of the map or service configuration. The stated task is to tell the automounter the direct or indirect map path. Instead, `/mnt/auto /etc/auto. For the named operational target /mnt/auto., this answer does not perform the requested action; `/mnt/auto /etc/auto.team` is selected to achieve the correct scope instead.
B:Restarting the automount service rereads its map definitions That addresses a different layer of the map or service configuration. The stated task is to tell the automounter the direct or indirect map path. Instead, `/mnt/auto /etc/auto.team` is the relevant alternative because a master-map entry links an indirect mount root to its map file This supplies the requested automounter piece. A separate comparison is `docs -fstype=nfs4 files15.example.test:/exports/docs`: The map key docs specifies a mount name and NFS export with options That addresses a different layer of the map or service configuration. The stated task is to tell the automounter the direct or indirect map path. Instead, `/mnt/auto /etc/auto.
C:Filtering mount entries by autofs shows the automounter-managed roots That addresses a different layer of the map or service configuration. The stated task is to tell the automounter the direct or indirect map path. Instead, `/mnt/auto /etc/auto.team` is the relevant alternative because a master-map entry links an indirect mount root to its map file This supplies the requested automounter piece. A separate comparison is `docs -fstype=nfs4 files15.example.test:/exports/docs`: The map key docs specifies a mount name and NFS export with options That addresses a different layer of the map or service configuration. The stated task is to tell the automounter the direct or indirect map path. Instead, `/mnt/auto /etc/auto.
Question 761
On shared directory /srv/collab-01, a RHEL 10 operator needs to set setgid on the shared directory. Which command performs that specific access-control task?
- chmod g+s /srv/collab-01
- chmod +t /srv/collab-01
- chmod g+rw /srv/collab-01
- chmod o-w /srv/collab-01
Explanation
Correct Answer
A:The setgid bit causes new files and subdirectories to inherit the directory group where supported. This matches the stated requirement to set setgid on the shared directory. By contrast, the plausible alternative `chmod g+rw /srv/collab-01` has the effect: g+rw adds read and write bits for the owning group without affecting other classes; that operation would not achieve the requested result.
Incorrect Answers
B:A sticky directory limits deletion and renaming to permitted owners or privileged users. The stated task is to set setgid on the shared directory. Instead, `chmod g+s /srv/collab-01` is the relevant alternative because the setgid bit causes new files and subdirectories to inherit the directory group where supported.
C:g+rw adds read and write bits for the owning group without affecting other classes. The stated task is to set setgid on the shared directory. Instead, `chmod g+s /srv/collab-01` is the relevant alternative because the setgid bit causes new files and subdirectories to inherit the directory group where supported.
D:o-w removes the write bit for the other permission class. The stated task is to set setgid on the shared directory. Instead, `chmod g+s /srv/collab-01` is the relevant alternative because the setgid bit causes new files and subdirectories to inherit the directory group where supported.
Question 762
On shared directory /srv/collab-02, a RHEL 10 operator needs to set the sticky bit on a writable shared directory. Which command performs that specific access-control task?
- chmod g+s /srv/collab-02
- chmod +t /srv/collab-02
- chmod g+rw /srv/collab-02
- chmod o-w /srv/collab-02
Explanation
Correct Answer
B:A sticky directory limits deletion and renaming to permitted owners or privileged users. This matches the stated requirement to set the sticky bit on a writable shared directory. By contrast, the plausible alternative `chmod o-w /srv/collab-02` has the effect: o-w removes the write bit for the other permission class; that operation would not achieve the requested result.
Incorrect Answers
A:The setgid bit causes new files and subdirectories to inherit the directory group where supported. The stated task is to set the sticky bit on a writable shared directory. Instead, `chmod +t /srv/collab-02` is the relevant alternative because a sticky directory limits deletion and renaming to permitted owners or privileged users.
C:g+rw adds read and write bits for the owning group without affecting other classes. The stated task is to set the sticky bit on a writable shared directory. Instead, `chmod +t /srv/collab-02` is the relevant alternative because a sticky directory limits deletion and renaming to permitted owners or privileged users.
D:o-w removes the write bit for the other permission class. The stated task is to set the sticky bit on a writable shared directory. Instead, `chmod +t /srv/collab-02` is the relevant alternative because a sticky directory limits deletion and renaming to permitted owners or privileged users.
Question 763
On shared directory /srv/collab-03, a RHEL 10 operator needs to give the owning group read and write access. Which command performs that specific access-control task?
- chmod g+s /srv/collab-03
- chmod +t /srv/collab-03
- chmod g+rw /srv/collab-03
- chmod o-w /srv/collab-03
Explanation
Correct Answer
C:g+rw adds read and write bits for the owning group without affecting other classes. This matches the stated requirement to give the owning group read and write access. By contrast, the plausible alternative `chmod o-w /srv/collab-03` has the effect: o-w removes the write bit for the other permission class; that operation would not achieve the requested result.
Incorrect Answers
A:The setgid bit causes new files and subdirectories to inherit the directory group where supported. The stated task is to give the owning group read and write access. Instead, `chmod g+rw /srv/collab-03` is the relevant alternative because g+rw adds read and write bits for the owning group without affecting other classes.
B:A sticky directory limits deletion and renaming to permitted owners or privileged users. The stated task is to give the owning group read and write access. Instead, `chmod g+rw /srv/collab-03` is the relevant alternative because g+rw adds read and write bits for the owning group without affecting other classes.
D:o-w removes the write bit for the other permission class. The stated task is to give the owning group read and write access. Instead, `chmod g+rw /srv/collab-03` is the relevant alternative because g+rw adds read and write bits for the owning group without affecting other classes.
Question 764
On shared directory /srv/collab-04, a RHEL 10 operator needs to remove write access from users outside owner and group. Which command performs that specific access-control task?
- chmod g+s /srv/collab-04
- chmod +t /srv/collab-04
- chmod g+rw /srv/collab-04
- chmod o-w /srv/collab-04
Explanation
Correct Answer
D:o-w removes the write bit for the other permission class. This matches the stated requirement to remove write access from users outside owner and group. By contrast, the plausible alternative `chmod g+rw /srv/collab-04` has the effect: g+rw adds read and write bits for the owning group without affecting other classes; that operation would not achieve the requested result.
Incorrect Answers
A:The setgid bit causes new files and subdirectories to inherit the directory group where supported. The stated task is to remove write access from users outside owner and group. Instead, `chmod o-w /srv/collab-04` is the relevant alternative because o-w removes the write bit for the other permission class.
B:A sticky directory limits deletion and renaming to permitted owners or privileged users. The stated task is to remove write access from users outside owner and group. Instead, `chmod o-w /srv/collab-04` is the relevant alternative because o-w removes the write bit for the other permission class.
C:g+rw adds read and write bits for the owning group without affecting other classes. The stated task is to remove write access from users outside owner and group. Instead, `chmod o-w /srv/collab-04` is the relevant alternative because o-w removes the write bit for the other permission class.
Question 765
On shared directory /srv/collab-05, a RHEL 10 operator needs to show numeric permission bits on a directory. Which command performs that specific access-control task?
- stat -c %a /srv/collab-05
- chmod g+s /srv/collab-05
- chmod +t /srv/collab-05
- chmod g+rw /srv/collab-05
Explanation
Correct Answer
A:stat reports the permission mode in a numeric octal representation. This matches the stated requirement to show numeric permission bits on a directory. By contrast, the plausible alternative `chmod g+s /srv/collab-05` has the effect: The setgid bit causes new files and subdirectories to inherit the directory group where supported; that operation would not achieve the requested result.
Incorrect Answers
B:The setgid bit causes new files and subdirectories to inherit the directory group where supported. The stated task is to show numeric permission bits on a directory. Instead, `stat -c %a /srv/collab-05` is the relevant alternative because stat reports the permission mode in a numeric octal representation.
C:A sticky directory limits deletion and renaming to permitted owners or privileged users. The stated task is to show numeric permission bits on a directory. Instead, `stat -c %a /srv/collab-05` is the relevant alternative because stat reports the permission mode in a numeric octal representation.
D:g+rw adds read and write bits for the owning group without affecting other classes. The stated task is to show numeric permission bits on a directory. Instead, `stat -c %a /srv/collab-05` is the relevant alternative because stat reports the permission mode in a numeric octal representation.
Question 766
On shared directory /srv/collab-06, a RHEL 10 operator needs to set setgid on the shared directory. A review considers `chmod +t /srv/collab-06` as an alternative. Its relevant behavior is: A sticky directory limits deletion and renaming to permitted owners or privileged users. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?
- chmod +t /srv/collab-06
- chmod g+s /srv/collab-06
- chmod g+rw /srv/collab-06
- chmod o-w /srv/collab-06
Explanation
Correct Answer
B:The setgid bit causes new files and subdirectories to inherit the directory group where supported. This matches the stated requirement to set setgid on the shared directory. By contrast, the plausible alternative `chmod +t /srv/collab-06` has the effect: A sticky directory limits deletion and renaming to permitted owners or privileged users; that operation would not achieve the requested result.
Incorrect Answers
A:A sticky directory limits deletion and renaming to permitted owners or privileged users. The stated task is to set setgid on the shared directory. Instead, `chmod g+s /srv/collab-06` is the relevant alternative because the setgid bit causes new files and subdirectories to inherit the directory group where supported.
C:g+rw adds read and write bits for the owning group without affecting other classes. The stated task is to set setgid on the shared directory. Instead, `chmod g+s /srv/collab-06` is the relevant alternative because the setgid bit causes new files and subdirectories to inherit the directory group where supported.
D:o-w removes the write bit for the other permission class. The stated task is to set setgid on the shared directory. Instead, `chmod g+s /srv/collab-06` is the relevant alternative because the setgid bit causes new files and subdirectories to inherit the directory group where supported.
Question 767
On shared directory /srv/collab-07, a RHEL 10 operator needs to set the sticky bit on a writable shared directory. A review considers `chmod g+s /srv/collab-07` as an alternative. Its relevant behavior is: The setgid bit causes new files and subdirectories to inherit the directory group where supported. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?
- chmod g+s /srv/collab-07
- chmod g+rw /srv/collab-07
- chmod +t /srv/collab-07
- chmod o-w /srv/collab-07
Explanation
Correct Answer
C:A sticky directory limits deletion and renaming to permitted owners or privileged users. This matches the stated requirement to set the sticky bit on a writable shared directory. By contrast, the plausible alternative `chmod g+s /srv/collab-07` has the effect: The setgid bit causes new files and subdirectories to inherit the directory group where supported; that operation would not achieve the requested result.
Incorrect Answers
A:The setgid bit causes new files and subdirectories to inherit the directory group where supported. The stated task is to set the sticky bit on a writable shared directory. Instead, `chmod +t /srv/collab-07` is the relevant alternative because a sticky directory limits deletion and renaming to permitted owners or privileged users.
B:g+rw adds read and write bits for the owning group without affecting other classes. The stated task is to set the sticky bit on a writable shared directory. Instead, `chmod +t /srv/collab-07` is the relevant alternative because a sticky directory limits deletion and renaming to permitted owners or privileged users.
D:o-w removes the write bit for the other permission class. The stated task is to set the sticky bit on a writable shared directory. Instead, `chmod +t /srv/collab-07` is the relevant alternative because a sticky directory limits deletion and renaming to permitted owners or privileged users.
Question 768
On shared directory /srv/collab-08, a RHEL 10 operator needs to give the owning group read and write access. A review considers `chmod g+s /srv/collab-08` as an alternative. Its relevant behavior is: The setgid bit causes new files and subdirectories to inherit the directory group where supported. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?
- chmod g+s /srv/collab-08
- chmod +t /srv/collab-08
- chmod o-w /srv/collab-08
- chmod g+rw /srv/collab-08
Explanation
Correct Answer
D:g+rw adds read and write bits for the owning group without affecting other classes. This matches the stated requirement to give the owning group read and write access. By contrast, the plausible alternative `chmod +t /srv/collab-08` has the effect: A sticky directory limits deletion and renaming to permitted owners or privileged users; that operation would not achieve the requested result.
Incorrect Answers
A:The setgid bit causes new files and subdirectories to inherit the directory group where supported. The stated task is to give the owning group read and write access. Instead, `chmod g+rw /srv/collab-08` is the relevant alternative because g+rw adds read and write bits for the owning group without affecting other classes.
B:A sticky directory limits deletion and renaming to permitted owners or privileged users. The stated task is to give the owning group read and write access. Instead, `chmod g+rw /srv/collab-08` is the relevant alternative because g+rw adds read and write bits for the owning group without affecting other classes.
C:o-w removes the write bit for the other permission class. The stated task is to give the owning group read and write access. Instead, `chmod g+rw /srv/collab-08` is the relevant alternative because g+rw adds read and write bits for the owning group without affecting other classes.
Question 769
On shared directory /srv/collab-09, a RHEL 10 operator needs to remove write access from users outside owner and group. A review considers `chmod g+s /srv/collab-09` as an alternative. Its relevant behavior is: The setgid bit causes new files and subdirectories to inherit the directory group where supported. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?
- chmod o-w /srv/collab-09
- chmod g+s /srv/collab-09
- chmod +t /srv/collab-09
- chmod g+rw /srv/collab-09
Explanation
Correct Answer
A:o-w removes the write bit for the other permission class. This matches the stated requirement to remove write access from users outside owner and group. By contrast, the plausible alternative `chmod +t /srv/collab-09` has the effect: A sticky directory limits deletion and renaming to permitted owners or privileged users; that operation would not achieve the requested result.
Incorrect Answers
B:The setgid bit causes new files and subdirectories to inherit the directory group where supported. The stated task is to remove write access from users outside owner and group. Instead, `chmod o-w /srv/collab-09` is the relevant alternative because o-w removes the write bit for the other permission class.
C:A sticky directory limits deletion and renaming to permitted owners or privileged users. The stated task is to remove write access from users outside owner and group. Instead, `chmod o-w /srv/collab-09` is the relevant alternative because o-w removes the write bit for the other permission class.
D:g+rw adds read and write bits for the owning group without affecting other classes. The stated task is to remove write access from users outside owner and group. Instead, `chmod o-w /srv/collab-09` is the relevant alternative because o-w removes the write bit for the other permission class.
Question 770
On shared directory /srv/collab-10, a RHEL 10 operator needs to show numeric permission bits on a directory. A review considers `chmod g+s /srv/collab-10` as an alternative. Its relevant behavior is: The setgid bit causes new files and subdirectories to inherit the directory group where supported. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?
- chmod g+s /srv/collab-10
- stat -c %a /srv/collab-10
- chmod +t /srv/collab-10
- chmod g+rw /srv/collab-10
Explanation
Correct Answer
B:stat reports the permission mode in a numeric octal representation. This matches the stated requirement to show numeric permission bits on a directory. By contrast, the plausible alternative `chmod +t /srv/collab-10` has the effect: A sticky directory limits deletion and renaming to permitted owners or privileged users; that operation would not achieve the requested result.
Incorrect Answers
A:The setgid bit causes new files and subdirectories to inherit the directory group where supported. The stated task is to show numeric permission bits on a directory. Instead, `stat -c %a /srv/collab-10` is the relevant alternative because stat reports the permission mode in a numeric octal representation.
C:A sticky directory limits deletion and renaming to permitted owners or privileged users. The stated task is to show numeric permission bits on a directory. Instead, `stat -c %a /srv/collab-10` is the relevant alternative because stat reports the permission mode in a numeric octal representation.
D:g+rw adds read and write bits for the owning group without affecting other classes. The stated task is to show numeric permission bits on a directory. Instead, `stat -c %a /srv/collab-10` is the relevant alternative because stat reports the permission mode in a numeric octal representation.
Red Hat Certified System Administrator (RHCSA) (EX200) Practice Tests