RHCSA EX200 Flashcards
7 cards from real RHCSA practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 RHCSA EX200 flashcards as text
A cron job must run as user 'deploy' every weekday at 7:30 AM. Which crontab entry is correct?
Answer: 30 7 * * 1-5 deploy /script.sh
Crontab fields are minute hour dom month dow; '30 7 * * 1-5' means 7:30 AM Monday through Friday.
Which NFS mount option ensures that if the NFS server is unreachable, the mount operation does not hang the system indefinitely?
Answer: soft
The 'soft' option causes NFS operations to return an error after a timeout instead of retrying indefinitely.
You want to find all SUID files on the system. Which find command is correct?
Answer: find / -perm -4000 -type f
The '-perm -4000' with the leading dash means the SUID bit must be set, regardless of other permission bits.
Which file controls the sudo privileges for users and groups on a RHEL system, and should be edited with 'visudo'?
Answer: /etc/sudoers
/etc/sudoers defines who can run what commands as which users; visudo validates syntax before saving.
To mount an XFS filesystem at /data persistently, which /etc/fstab entry is correct?
Answer: /dev/sdb1 /data xfs defaults 0 0
For a non-root XFS partition, the last two fields should be 0 0 (no dump, no fsck) since xfs_repair is used manually.
Which command shows the current SELinux mode and displays whether it is enforcing, permissive, or disabled?
Answer: sestatus
'sestatus' displays the current and configured SELinux mode along with the policy type.
How do you list all currently active firewalld zones and their associated interfaces?
Answer: firewall-cmd --get-active-zones
'--get-active-zones' shows only zones that have interfaces or sources assigned, along with those assignments.