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.
Question 771
On shared directory /srv/collab-11, a RHEL 10 operator needs to set setgid on the shared directory. A review considers `chmod g+rw /srv/collab-11` as an alternative. Its relevant behavior is: g+rw adds read and write bits for the owning group without affecting other classes. 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-11
- chmod g+rw /srv/collab-11
- chmod g+s /srv/collab-11
- chmod o-w /srv/collab-11
Explanation
Correct Answer
C: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 o-w /srv/collab-11` 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: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-11` is the relevant alternative because the setgid bit causes new files and subdirectories to inherit the directory group where supported.
B: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-11` 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-11` is the relevant alternative because the setgid bit causes new files and subdirectories to inherit the directory group where supported.
Question 772
On shared directory /srv/collab-12, a RHEL 10 operator needs to set the sticky bit on a writable shared directory. A review considers `chmod g+rw /srv/collab-12` as an alternative. Its relevant behavior is: g+rw adds read and write bits for the owning group without affecting other classes. 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-12
- chmod g+rw /srv/collab-12
- chmod o-w /srv/collab-12
- chmod +t /srv/collab-12
Explanation
Correct Answer
D: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-12` 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-12` 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-12` is the relevant alternative because a sticky directory limits deletion and renaming to permitted owners or privileged users.
C: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-12` is the relevant alternative because a sticky directory limits deletion and renaming to permitted owners or privileged users.
Question 773
On shared directory /srv/collab-13, a RHEL 10 operator needs to give the owning group read and write access. A review considers `chmod +t /srv/collab-13` 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 g+rw /srv/collab-13
- chmod g+s /srv/collab-13
- chmod +t /srv/collab-13
- chmod o-w /srv/collab-13
Explanation
Correct Answer
A: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-13` has the effect: o-w removes the write bit for the other permission class; 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 give the owning group read and write access. Instead, `chmod g+rw /srv/collab-13` is the relevant alternative because g+rw adds read and write bits for the owning group without affecting other classes.
C: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-13` 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-13` is the relevant alternative because g+rw adds read and write bits for the owning group without affecting other classes.
Question 774
On shared directory /srv/collab-14, a RHEL 10 operator needs to remove write access from users outside owner and group. A review considers `chmod +t /srv/collab-14` 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 g+s /srv/collab-14
- chmod o-w /srv/collab-14
- chmod +t /srv/collab-14
- chmod g+rw /srv/collab-14
Explanation
Correct Answer
B: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+s /srv/collab-14` 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 remove write access from users outside owner and group. Instead, `chmod o-w /srv/collab-14` 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-14` 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-14` is the relevant alternative because o-w removes the write bit for the other permission class.
Question 775
On shared directory /srv/collab-15, a RHEL 10 operator needs to show numeric permission bits on a directory. A review considers `chmod +t /srv/collab-15` 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 g+s /srv/collab-15
- chmod +t /srv/collab-15
- stat -c %a /srv/collab-15
- chmod g+rw /srv/collab-15
Explanation
Correct Answer
C: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-15` 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 show numeric permission bits on a directory. Instead, `stat -c %a /srv/collab-15` is the relevant alternative because stat reports the permission mode in a numeric octal representation.
B: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-15` 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-15` is the relevant alternative because stat reports the permission mode in a numeric octal representation.
Question 776
On shared directory /srv/collab-16, a RHEL 10 operator needs to set setgid on the shared directory. A review considers `chmod o-w /srv/collab-16` as an alternative. Its relevant behavior is: o-w removes the write bit for the other permission class. 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-16
- chmod g+rw /srv/collab-16
- chmod o-w /srv/collab-16
- chmod g+s /srv/collab-16
Explanation
Correct Answer
D: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-16` 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-16` is the relevant alternative because the setgid bit causes new files and subdirectories to inherit the directory group where supported.
B: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-16` is the relevant alternative because the setgid bit causes new files and subdirectories to inherit the directory group where supported.
C: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-16` is the relevant alternative because the setgid bit causes new files and subdirectories to inherit the directory group where supported.
Question 777
On shared directory /srv/collab-17, a RHEL 10 operator needs to set the sticky bit on a writable shared directory. A review considers `chmod o-w /srv/collab-17` as an alternative. Its relevant behavior is: o-w removes the write bit for the other permission class. 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-17
- chmod g+s /srv/collab-17
- chmod g+rw /srv/collab-17
- chmod o-w /srv/collab-17
Explanation
Correct Answer
A: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+rw /srv/collab-17` 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: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-17` 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-17` 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-17` is the relevant alternative because a sticky directory limits deletion and renaming to permitted owners or privileged users.
Question 778
On shared directory /srv/collab-18, a RHEL 10 operator needs to give the owning group read and write access. A review considers `chmod o-w /srv/collab-18` as an alternative. Its relevant behavior is: o-w removes the write bit for the other permission class. 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-18
- chmod g+rw /srv/collab-18
- chmod +t /srv/collab-18
- chmod o-w /srv/collab-18
Explanation
Correct Answer
B: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-18` 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-18` is the relevant alternative because g+rw adds read and write bits for the owning group without affecting other classes.
C: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-18` 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-18` is the relevant alternative because g+rw adds read and write bits for the owning group without affecting other classes.
Question 779
On shared directory /srv/collab-19, a RHEL 10 operator needs to remove write access from users outside owner and group. A review considers `chmod g+rw /srv/collab-19` as an alternative. Its relevant behavior is: g+rw adds read and write bits for the owning group without affecting other classes. 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-19
- chmod +t /srv/collab-19
- chmod o-w /srv/collab-19
- chmod g+rw /srv/collab-19
Explanation
Correct Answer
C: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-19` 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 remove write access from users outside owner and group. Instead, `chmod o-w /srv/collab-19` 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-19` 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-19` is the relevant alternative because o-w removes the write bit for the other permission class.
Question 780
On shared directory /srv/collab-20, a RHEL 10 operator needs to show numeric permission bits on a directory. A review considers `chmod g+rw /srv/collab-20` as an alternative. Its relevant behavior is: g+rw adds read and write bits for the owning group without affecting other classes. 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-20
- chmod +t /srv/collab-20
- chmod g+rw /srv/collab-20
- stat -c %a /srv/collab-20
Explanation
Correct Answer
D: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+rw /srv/collab-20` 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 show numeric permission bits on a directory. Instead, `stat -c %a /srv/collab-20` is the relevant alternative because stat reports the permission mode in a numeric octal representation.
B: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-20` is the relevant alternative because stat reports the permission mode in a numeric octal representation.
C: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-20` is the relevant alternative because stat reports the permission mode in a numeric octal representation.
Red Hat Certified System Administrator (RHCSA) (EX200) Practice Tests