Free RHCSA Exam Flashcards

Memorize 50 essential terms and definitions for the Red Hat Certified System Administrator (RHCSA) Exam, EX200. See the term, recall the definition, then flip to check yourself.

50 Flashcards
10 Topics
100% Free
TermClick to flip

How do you append standard output to one file and write errors to another?

Tap to reveal definition
Card 1 of 50Essential Tools

Filter by Topic

Jump to Card

About These RHCSA Flashcards

These 50 flashcards are designed to help you memorize key terms and definitions for the Red Hat Certified System Administrator (RHCSA) Exam, EX200. Each card shows a term on the front and its definition on the back—the classic flashcard format for vocabulary memorization. Use these alongside our practice questions to build both recall and comprehension.

Topics Covered

Essential Tools9 cards
Software Management3 cards
Shell Scripting3 cards
Running Systems8 cards
Local Storage5 cards
File Systems4 cards
System Deployment and Maintenance5 cards
Basic Networking3 cards
Users and Groups3 cards
Security7 cards

Complete Flashcard Reference

Review every term in this set. Open any term to reveal its definition.

How do you append standard output to one file and write errors to another?

Run command >> output.log 2> errors.log. The first redirection appends standard output. The second writes standard error and replaces any existing contents of errors.log.

What does grep '^WARN' app.log match?

It prints lines beginning with WARN. The ^ anchors the pattern at the start of the line, so an occurrence later in the line does not match.

How do you open an SSH session on node1 as the user alex?

Run ssh alex@node1. The name before @ selects the remote account. Verify an unfamiliar host key fingerprint before accepting it.

What does the hyphen in su - alex change?

It starts a login shell for alex, initializes a login environment, and changes to alex’s home directory. Use it when you need to reproduce the account’s normal login environment.

How can you list the members of backup.tar.gz before extracting it?

Run tar -tzf backup.tar.gz. The t lists members, z handles gzip, and f identifies the archive file. Use j in place of z with a bzip2-compressed tar archive.

Which kind of link still reaches a file after its original name is removed?

A hard link. Both names refer to the same inode, which remains reachable through the second name. A symbolic link stores a path and breaks if that path disappears.

What permissions does chmod 640 report.txt give a regular file?

The owner gets read and write, the group gets read, and everyone else gets no permissions. In octal modes, read is 4, write is 2, and execute is 1.

How do you open the configuration-file manual for passwd?

Run man 5 passwd. Section 5 covers file formats and configuration conventions. Section 1 documents the passwd command.

How do you save and exit an edited file in vi?

Press Esc to leave insert mode, type :wq, and press Enter. The w writes the file and q quits the editor.

Where do you put a custom DNF repository definition?

Put a .repo file in /etc/yum.repos.d/. Give the repository a unique section ID and configure its source and signature settings. Use dnf repolist to check whether DNF sees it as enabled.

Why use dnf install ./tool.rpm for a local RPM?

DNF installs the local RPM and can resolve dependencies through enabled repositories. The ./ tells DNF to use the file in your current directory. Use dnf remove with the installed package name to remove it.

What does a Flatpak remote supply?

It supplies Flatpak apps and runtimes. Register the source with flatpak remote-add, then use flatpak install with the remote and application ID. Use flatpak uninstall with the ID to remove the installed app.

When does the then branch of a Bash if statement run?

It runs when the condition command exits with status 0. For example, [ -f "$1" ] succeeds when the first argument names a regular file. Leave spaces around the test operands and brackets.

How do you loop over a script’s arguments without splitting filenames that contain spaces?

Use for path in "$@". Bash expands the quoted "$@" to one separate word per argument, preserving each argument’s boundaries.

How do you capture a command’s output in a Bash variable?

Use command substitution, as in current_host=$(hostname). Bash captures standard output and removes trailing newlines. Quote "$current_host" when passing it as a single argument.

Which systemctl command requests a normal reboot?

Run systemctl reboot. Systemd stops services and shuts the system down before restarting it. Use systemctl poweroff when the machine should stay off.

How do you enter multi-user.target for the current session?

From a console, run systemctl isolate multi-user.target. Isolation starts the target and its dependencies and can stop other units. Use systemctl set-default multi-user.target if the change should apply at future boots.

How long does a kernel argument edited interactively at the GRUB menu last?

It applies to that boot only. A one-time edit is useful for testing a recovery setting on a system you administer before changing the saved boot configuration.

Which signal should you send first to a runaway process you’ve identified?

Send SIGTERM with kill PID. This lets the process handle the shutdown and clean up. Use SIGKILL only if the process will not exit and you need to stop it immediately.

What does a larger nice value do to a normal process competing for CPU time?

It lowers the process’s scheduling priority relative to otherwise comparable processes. Use nice when launching a command and renice for an already running process.

Which command shows the active TuneD profile?

Run tuned-adm active. Use the result to verify that the intended profile is active after selecting one with tuned-adm profile PROFILE.

How do you read the previous boot’s systemd journal?

Run journalctl -b -1. To retain journal entries across reboots, enable persistent storage with Storage=persistent in the journald configuration. Persistent entries are stored under /var/log/journal.

How do you retrieve a file from an SSH server using interactive SFTP?

Connect with sftp user@host, then run get remote-file at the sftp prompt. The transfer uses SSH and writes the file to your local working directory unless you specify another destination.

How can you inspect the GPT partition layout of a disk without modifying it?

Run parted /dev/DEVICE print, substituting the correct whole-disk device. The output identifies the partition table type and shows the partition boundaries.

How do PVs, VGs, and LVs fit together in LVM?

A physical volume (PV) supplies storage to a volume group (VG). The VG pools that capacity, and a logical volume (LV) is allocated from the pool and exposed as a block device.

What makes a new physical volume’s space available to an existing volume group?

After initializing the verified new device as a physical volume, use vgextend VG PV. This adds capacity to the pool. Existing logical volumes keep their current sizes until you extend them.

How do you identify a filesystem in /etc/fstab if its device name might change?

Use UUID= followed by the filesystem UUID in the first field. Find it with blkid or lsblk -f. Set the mount point and filesystem type in separate fields and check the table with findmnt --verify.

How do you make a prepared swap device activate again at boot?

After creating its swap signature with mkswap, add an /etc/fstab entry with type swap and mount point none. Activate it now with swapon and verify it with swapon --show.

Which commands create XFS, ext4, and VFAT filesystems?

Use mkfs.xfs, mkfs.ext4, and mkfs.vfat, respectively, on the intended empty device. Verify its identity before formatting because creating a filesystem can destroy existing data.

What does autofs do when you access a path that maps to an NFS export?

It mounts the export on demand. The master map, normally /etc/auto.master, identifies the base mount path and its map. That map points to the server export, typically written as server:/export/path.

Why might df show the old size after you extend a logical volume?

The block device grew but the filesystem inside it may still be the original size. Grow mounted XFS with xfs_growfs MOUNTPOINT or grow ext4 with resize2fs DEVICE, then verify with df.

Why can a user be denied access to a readable file inside a directory?

The user needs execute (search) permission on every parent directory to reach the file. Check the full path with namei -l /path/to/file, then inspect the applicable owner, group, and other bits.

Which scheduler fits a command that must run once tonight?

Use at for a one-time job and make sure atd is running. A crontab entry is for a recurring schedule and is handled by crond.

Which systemd unit do you enable for a calendar-scheduled job?

Enable and start the .timer unit. OnCalendar= defines the schedule, and the timer normally activates a .service unit with the same base name. Check the schedule with systemctl list-timers.

How do you start a service now and arrange for it to start at boot?

For a service that supports enabling, run systemctl enable --now NAME.service. Enable sets up future activation, and --now starts it immediately. Check both states with systemctl is-enabled and systemctl is-active.

How do you tell whether chronyd has selected an NTP source?

Run chronyc sources -v. An asterisk in the selection column marks the current source, as in ^* for a selected NTP server. Use chronyc tracking for the clock’s synchronization status.

Which tool saves a kernel argument change for future boots on RHEL?

Use grubby --update-kernel with the intended kernel entry and --args or --remove-args. Check the saved entries with grubby --info=ALL and verify the running arguments in /proc/cmdline after reboot.

Where do you set a static IP address so it survives reboots?

Set it on the NetworkManager connection profile with nmcli connection modify. Use ipv4.method manual and ipv4.addresses or the corresponding ipv6 settings, then activate the edited profile.

Which command tests host lookups through the system’s configured name service?

Run getent hosts NAME. It follows the host lookup configuration in /etc/nsswitch.conf and can resolve entries from /etc/hosts or DNS, depending on that configuration.

What makes NetworkManager bring a connection profile up automatically?

Set connection.autoconnect to yes on the profile. That makes it eligible for automatic activation when its device and other conditions are ready. Activating it once with nmcli connection up does not set that policy.

How do you explicitly create a home directory when adding a local user?

Use useradd -m USER. It creates the home directory if it does not exist and populates a new home with the skeleton files, normally from /etc/skel.

How do you add a local user to the wheel group and preserve their other memberships?

Use usermod -aG wheel USER. The -a appends membership. Wheel grants sudo access when the sudoers policy enables the wheel rule. Use visudo to check or edit that policy.

Which command shows a local user’s password aging settings?

Run chage -l USER to see dates and limits, including the last password change, maximum age, and expiration. Use chage -M DAYS USER to set the maximum password age.

How do you make a firewalld service rule take effect now and survive reboot?

Add the service to the intended zone with firewall-cmd --permanent, then run firewall-cmd --reload. A permanent-only change takes effect when the configuration is loaded. Check the zone with firewall-cmd --zone=ZONE --list-services.

What defaults does umask 027 give new regular files and directories?

For creation requests of 666 for files and 777 for directories, it yields 640 for files and 750 for directories, assuming no default ACL. The mask clears group write and all permissions for others.

Where does an SSH public key go to authorize a login to a server account?

Add the public key to ~/.ssh/authorized_keys for the target account. Keep the private key on the client. Ensure permissions and ownership on the server prevent other users from altering the account’s keys.

What is the difference between SELinux enforcing and permissive modes?

Enforcing blocks actions the policy denies. Permissive logs policy denials without blocking them. Check the current mode with getenforce. A setenforce change lasts only until reboot unless you also change the boot configuration.

How do you restore and verify a file’s default SELinux context?

Run restorecon PATH and inspect the restored file label with ls -Z. If a nonstandard path needs a custom default, register the mapping with semanage fcontext before applying restorecon. Use ps -eZ to compare the file’s context with the accessing process’s context.

Which tool assigns an SELinux port type to a non-default TCP port?

Use semanage port -a -t TYPE -p tcp PORT for a new assignment. Check existing assignments with semanage port -l. The port type governs SELinux access, while firewalld controls network traffic separately.

How do you make a change to an SELinux Boolean persist across reboot?

Use setsebool -P BOOLEAN on or off. The -P saves the change in policy. Check the current Boolean value with getsebool BOOLEAN.

Frequently Asked Questions

What is the format of the RHCSA exam?

EX200 is a practical exam on Red Hat Enterprise Linux 10. You configure and verify a live system, and the required changes must survive a reboot. Red Hat does not publish the number of tasks. The exam environment has no internet access, and outside notes and documentation are prohibited.

How long is the RHCSA exam?

Red Hat’s April 2025 individual exam schedule for Japan lists three hours for EX200. The current RHEL 10 exam page gives no duration. Check the time shown for your session when booking.

What score do I need to pass EX200?

Red Hat’s public EX200 materials give neither a numerical passing threshold nor a candidate pass rate. Your results include a pass or fail decision and a breakdown by objective area.

Can I take EX200 without employer sponsorship?

Yes. Candidates can book an individual exam. Red Hat requires candidates to be at least 18 and requires photo ID verification for individual exams. Its EX200 page lists the RH124 and RH134 courses, the RH199 rapid track, or comparable RHEL administration experience.

When can I retake EX200 if I fail?

An eligible first unsuccessful attempt on a purchased individual exam gives you one free retake. You can book once the first session closes, at least 24 hours before the new start time. Take the retake within one year of the original purchase. Red Hat limits you to one attempt at the same exam per calendar day and applies a wait after a second failure. Ask Red Hat for the current interval before buying another attempt.

How long does RHCSA stay current?

RHCSA stays current for three years from the date you earn it. To renew by retaking EX200, pass the current exam before your credential expires.

How should I use these RHCSA flashcards?

Recall the command or behavior before flipping the card. Then try it in a RHEL 10 virtual machine and verify the result. Reboot after changes that must persist, such as mounts, enabled services, and permanent firewall rules.

Same family resources

Explore More Red Hat Certifications

Continue into nearby exams from the same family. Each card keeps practice questions, study guides, flashcards, videos, and articles in one place.