Study guide · Flashcards and memory notes

RHCSA Flashcards

40 recall cards for the commands and files on the current EX200 study points: the shell, software, storage, networking, users, and SELinux.

EX200 · RHEL 104 decks · 40 cardsNo sign-up required

How to use these cards: Say the answer out loud before you flip the card, and mark it honestly. Revisit the cards you missed tomorrow rather than rereading them right away. Progress is kept only while this page is open. For the full explanations, see the core notes.

Study mode

Choose a deck, flip each card, and mark what you already know.

All flashcards

Select a question to reveal its answer.

Deck 1 · Shell, files, and software

Redirection, links, DNF, and Flatpak.

10 cards
1.1Which redirection sends standard error to a file?

2>. A single > is standard output. | connects two commands.

1.2What does a hard link share with the original name?

The inode, on the same filesystem. ln -s stores a path and can dangle.

1.3Which tar flags create a gzip archive?

-czf. x extracts. j selects bzip2.

1.4What access does mode 640 give a regular file?

Owner read and write, group read, no access for others. On a directory, execute is required to traverse.

1.5Where does a DNF repository file go?

A .repo file under /etc/yum.repos.d/. dnf repolist shows the enabled set.

1.6Which command installs an application from the Flatpak remote named rhel?

flatpak install rhel application-id. dnf install handles RPM packages. The current study points do not list a containers section.

1.7Which parameter is the first script argument, and which is the count?

$1 is the first argument. $# is the count. $0 is the script name.

1.8Which test is true for a regular file?

[ -f path ]. -d is a directory. Quote "$1" when the argument may be empty.

1.9What does $(command) do inside a script?

It captures the command output. [ ] is a test. It does not capture output.

1.10Which command starts a login shell as another account?

su - user. The essential-tools objective includes switching users in a multi-user target.

Deck 2 · Boot, processes, and storage

Targets, journals, GPT, and LVM.

10 cards
2.1Which command switches targets now, and which stores the next boot target?

systemctl isolate switches now. systemctl set-default stores the next boot.

2.2After an rd.break password reset, why touch /.autorelabel?

The next boot restores SELinux contexts on files the recovery touched.

Memory note: Do this only on a system you are allowed to recover.

2.3Which command changes the priority of a process that is already running?

renice. nice applies when the process starts.

2.4How do you keep the systemd journal across reboot?

Create /var/log/journal, or set Storage=persistent. A journal under /run is volatile.

2.5Which parted command writes a GPT disk label?

mklabel gpt. It replaces the old label. The current study points name GPT disks.

2.6What is the order for a new logical volume?

Partition, pvcreate, vgcreate, lvcreate, then mkfs.

2.7Which identifier belongs in fstab when a device name may change?

UUID= or LABEL= from blkid. Reformatting creates a new UUID.

2.8How do you add swap without destroying mounted volumes?

Create a new logical volume, mkswap, swapon, and an fstab line. Do not run mklabel on a disk you need to keep.

2.9lvextend finished and df still shows the old XFS size. What is missing?

xfs_growfs, or lvextend -r. XFS can grow and cannot shrink.

2.10Which tool copies a file to another host over SSH?

scp or sftp. cp does not take a user@host path.

Deck 3 · Filesystems, time, and boot

NFS, autofs, timers, and grubby.

10 cards
3.1Which commands create VFAT, ext4, and XFS?

mkfs.vfat, mkfs.ext4, and mkfs.xfs. mkswap is a swap signature, not one of those three.

3.2Which file points an autofs directory at its map?

/etc/auto.master. The map lists the key and the NFS export. autofs mounts on access.

3.3A directory is mode 644 and cd fails. What is missing?

Execute permission. On a directory, x is the traverse bit.

3.4Which scheduler runs a job once?

at. cron and a systemd timer repeat. crond must be enabled for crontab entries.

3.5What do you enable so a systemd timer survives reboot?

The .timer unit. OnCalendar sets the schedule. The paired service does the work.

3.6Which command starts httpd now and on the next boot?

systemctl enable --now httpd. start alone does not enable the unit.

3.7Which command turns on the NTP client?

timedatectl set-ntp true. chronyc sources shows the sources. date -s does not keep sync.

3.8Which tool stores a kernel command-line change for the next boot?

grubby. A one-time GRUB edit lasts for that boot only.

3.9Which command shows the active tuning profile?

tuned-adm active. tuned-adm profile selects a different one.

3.10umount says the filesystem is busy. What do you look up?

The process still using it, with lsof or fuser. Leave that directory or stop the process before you unmount.

Deck 4 · Network, users, and SELinux

nmcli, firewalld, sudo, and policy.

10 cards
4.1Where does a persistent NetworkManager address live on RHEL 10?

In the connection profile, edited with nmcli. ip addr add is gone when the connection restarts. ifcfg support was removed.

Memory note: Set ipv4.method manual and connection.autoconnect yes.

4.2Which firewall-cmd sequence still allows http after reboot?

--permanent --add-service=http, then --reload. A runtime-only change is lost. Permanent without reload is not yet the running ruleset.

4.3Which file resolves a name on this host without DNS?

/etc/hosts. hostnamectl set-hostname sets the system hostname. It does not publish DNS.

4.4What is the difference between usermod -aG and usermod -G?

-aG appends. -G alone replaces the supplementary groups. The current shell keeps the old groups until a new login.

4.5Which chage option forces a password change at the next login?

chage -d 0 user. chage -l only displays the policy.

4.6How is a group named in sudoers?

With a percent sign, as in %wheel. Edit the file with visudo.

4.7What do setenforce 0 and the config file each control?

setenforce 0 is permissive until reboot. SELINUX= in /etc/selinux/config is the boot mode.

4.8Which command restores a file SELinux context from policy?

restorecon. chcon can set a label that a later relabel replaces. ls -Z shows the context.

4.9Which command gives httpd a new TCP port label that survives reboot?

semanage port -a -t http_port_t -p tcp 8080. Use -m if the port already has a type. firewalld does not set this label.

4.10What modes does umask 027 produce for a new file and a new directory?

640 for the file and 750 for the directory. Put the umask in the login startup file so the next login uses it.

Memory note: A boolean needs setsebool -P to survive reboot. A firewall opening and an SELinux label are separate steps.

How to turn RHCSA flashcards into lab skill

A flashcard is useful when it helps you recall a command at the moment you need it. EX200 asks you to leave a working Red Hat Enterprise Linux 10 system, so treat each answer here as the beginning of a small lab rather than the end of a study session. Before revealing an answer, say the command, its important flags, the file it changes, and how you would verify the result. If you remember only the command name, mark the card for review. The option or persistence step may be the part that matters on a real system.

Make every card a prediction

For a storage card, predict what lsblk, blkid, lvs, and df will show before and after the action. For a network card, predict what a new login or a reboot will show. For a security card, separate the running setting from the saved setting. This habit forces you to think about final state. It also catches familiar mistakes: a logical volume grew but its filesystem did not, a firewall rule was saved but not loaded, or a temporary SELinux mode was mistaken for the boot mode.

Use short sessions across all four decks

Start with ten cards from one deck. Flip each card only after you have tried to answer. Mark a card known when you can explain both the command and its verification step without looking. Review uncertain cards the next day, then mix decks. Shell, packages, storage, services, networking, users, and SELinux can interact in the same practical task; mixed review helps you choose among them. Avoid memorizing a command in isolation when a neighboring command has a similar name but a different effect, such as systemctl start versus systemctl enable.

Follow recall with a disposable RHEL 10 exercise

Use a virtual machine or other system you are authorized to change. Keep a clean snapshot and a second disk for destructive storage exercises. After a card on fstab, create a mount by UUID, test it with mount -a, reboot, and inspect the mount. After a card on NetworkManager, modify a connection profile with nmcli, reconnect, and confirm the address and resolver. After a card on SELinux, check the context with ls -Z before and after restorecon. In every case, record the state you expected and the state you observed. If they differ, consult the RHEL 10 manual page and repeat the task from the snapshot.

Know the limits of a recall score

The cards cover selected commands and files from the published objective groups; forty prompts cannot represent every possible system state. Recognizing an answer on a webpage is easier than locating a fault on a live system. Progress on this page lasts only while it is open, and an easy deck is a cue to try a harder exercise, not proof of exam readiness. Use the exam overview for the current scope, the core notes for context, and the practice questions to find concepts worth rehearsing. Check Red Hat's live EX200 page before booking because published study points can change.

Continue the RHCSA study path

Test what you have learned with a timed practice exam.

RHCSA hub →
Available

Overview

Exam format, the RHEL 10 study points, and a lab plan.

Available

Core Notes

Reference notes for storage, networking, users, firewalld, and SELinux.

Available · You are here

Flashcards & Memory Notes

40 recall cards in four decks, plus memory notes for fstab, firewalld, and SELinux.

Available

Practice Exams

300 original questions with custom exams, explanations, and a practice percentage.

Official exam sources

Use the EX200 study points to check every command and file on these cards. The same page says the exam is based on Red Hat Enterprise Linux 10. These cards are independent recall prompts, not official exam tasks.

LPIC-2

Compare a vendor-neutral advanced Linux exam with this RHEL performance exam.

CompTIA Server+

Review server hardware, storage, and recovery alongside RHEL administration.

Apply concepts in the Scenario Workshop →