Browse all practice questions for the Red Hat Certified Systems Admin (RHCSA) EX200 Practice Exam. Search by topic, open any question and review its full explanation, then test yourself in the practice quiz.

Red Hat Certified Systems Admin (RHCSA) EX200 Practice Exam course image
More practice questions

These questions are part of the practice quiz. Start practicing

  • Which command redirects standard error to a file, overwriting existing content?
  • Which command shows the status of system time synchronization?
  • Which command shows all service unit files and their enabled/disabled state?
  • Which sequence creates an XFS filesystem on /dev/sdXn and mounts it with noatime, updating /etc/fstab?
  • Which chmod command sets owner read/write/execute and group/others read/execute on a file named secret.txt?
  • Which pair of commands is used to manage access control lists on a file?
  • Which command lists all yum repositories, including both enabled and disabled?
  • Which command creates a new volume group using a physical volume?
  • Which command initially prepares a disk to be used by LVM by creating a new physical volume on /dev/sdb1?
  • How do you create a symbolic link named latest to a file /var/log/app/2024-01.log?
  • Which command lists processes owned by a given user with their PIDs and names?
  • Which command sequence creates a new user with a home directory and adds it to the wheel group, then prompts to set a password?
  • Which syntax redirects both standard output and standard error to a file, leaving no output on screen?
  • Which command is used to recursively grant the group read and write permissions and also execute permissions on directories when using the -R option?
  • Which command adds the Fedora EPEL repository for yum?
  • Which commands would you use to examine boot logs and identify boot failures, and which command helps check a failed service?
  • What is the maximum number of primary partitions supported by MBR?
  • How do you display all SELinux context for a file and restore default contexts if needed?
  • Which command installs virtualization related groups using yum groupinstall with multiple group names?
  • Which command adds a new group to the system?
  • Which file is edited to configure automatic mounting of filesystems at boot?
  • To support SMB/CIFS networking between servers on Red Hat 7, which package group is commonly installed?
  • Which command can be used to display information about kernel packages, including installed and available kernels?
  • Which command lists all failed service units?
  • Which command would force a system to reboot into rescue mode from a non-graphical environment?
  • Which method is described for gaining access to a system by bypassing normal login via the boot process?
  • Which command would you use to verify if a service is enabled to start at boot?
  • Which command prints a long listing showing both file permissions and ownership?
  • Which statement best describes how cron access is controlled on a Linux system?
  • Which form redirects both standard output and standard error to the same file in a Bash shell?
  • What information does the w command display?
  • Which command is used to verify the integrity of an installed package and its files against the package database?
  • Which command initialises /dev/sdb1 as a physical volume for LVM?
  • Which of the following is the correct pause-resume signal pair for a stopped process?
  • Which pair of signals correspond to immediate termination and graceful shutdown respectively?
  • Which command lists all service unit files and shows whether they are enabled or disabled?
  • Which command creates a new volume group named vg_data using the device /dev/sdb1?
  • Which command isolates the system into rescue mode?
  • Which command lists dependencies for the network target?
  • Which file exposes CPU information in Linux?
  • How would you ensure a non-root user can log in via SSH using key-based authentication, and disable password authentication?
  • Which command isolates the system into the graphical.target?
  • You’ve increased the size of the /dev/battlestar/galactica LVM volume. It is mounted at /mnt/mydir; which command would you issue for OS and FS to recognize the increase?
  • Which command creates a hard link named linkname to a file named file?
  • What is the purpose of the updatedb command?
  • Which statement about cp and ACL rules is true?
  • Which sequence correctly describes creating a new logical volume on new disks using LVM, including preparing disks, PVs, VG, LV, and filesystem, then mounting?
  • Which command sets the sticky bit on a directory such as /shared?
  • To view the full set of coreutils commands, which command should you use?
  • What is the purpose of the command 'yum repolist all'?
  • In yum output, what does a dash '-' symbol indicate about a package?
  • Which command updates the locate database used by the locate utility?
  • In virt-install, which option makes the VM display headless (no GUI)?
  • Which command downloads the nano package as an RPM using yumdownloader?
  • Which command checks if httpd is configured to start automatically on boot?
  • What are the three load-average time intervals shown by uptime?
  • Which command identifies which package provides a given file, with example /bin/ls?
  • How can you verify that the httpd package is installed on the system using yum?
  • Which command shows the LABEL and UUID for a block device?
  • Which command creates a symbolic link named linkname pointing to target?
  • Which command sequence lists all repositories (enabled and disabled) and installs a package with a repository disabled for that operation?
  • Which commands will temporarily set SELinux to permissive mode and verify the current mode?
  • What is the correct order to remove a logical volume and its physical volumes?
  • Which command changes the niceness (priority) of a running process?
  • Which command deletes a user and their home directory?
  • Which file is primarily edited to configure sudo privileges when using visudo?
  • In tar, what does the -v option do when used with -c to create an archive?
  • Which command would you use to create a GPT partition label on a disk?
  • Which command shows that the nano package is installed by querying installed packages and filtering for nano?
  • Which command shows a manual page for a command?
  • Which statement correctly describes the purpose of 'setfacl --remove-default dir1'?
  • Which sequence of commands would verify that the root partition is mounted with the correct options and remove its entry from /etc/fstab?
  • Which service is typically required to support RPC-based access for mounting NFS shares on a Red Hat 7 system?
  • Which command shows the current default firewall zone?
  • After editing the /etc/chrony.conf, which command applies the changes?
  • Where are standard documentation files typically stored on a Linux system?
  • Which command sequence creates a new LVM physical volume on /dev/sdb1 and then creates a volume group named vg_data using that PV?
  • To enable NFS client networking on Red Hat 7, which packages should be installed?
  • Which pair of commands pauses and resumes a background job respectively?
  • Which file-system attribute prevents deletion of files in a directory that is world-writable?
  • Which command forces the kernel to reread partition tables after disk changes?
  • What is the effect of the sticky bit on a directory in terms of deletion rights?
  • What is the maximum number of primary partitions supported by a GPT partition table?
  • Which command displays available systemd unit types?
  • What does the command pkill -t pts/0 do?
  • Which sequence correctly creates an XFS filesystem on /dev/battlestar/galactica, creates the mount point, and mounts it at /mnt/mydir?
  • Which command lists the contents of a tar archive?
  • Which statement about SFTP best describes its functionality?
  • Which command locates all files with the setuid bit set on a Linux system?
  • Which file contains the list of users allowed to run cron jobs on a Linux system?
  • Where are the anacron job configurations typically located?
  • Which command lists the boot-time impact of each service in order of time spent?
  • Which command would you use to extend a logical volume by 5G?
  • Which redirection sends standard error to standard output so both streams share the same destination?
  • Which command shows the currently mounted filesystems including their mount points?
  • Which command creates a new user with the comment field 'Sam Brown' and username sbrow?
  • Which command permanently enables an SELinux boolean to allow httpd to read user content?
  • Which tool provides a real-time, text-based view of system resource usage and processes in Linux?
  • Which command extends the logical volume /dev/battlestar/galactica by +20G?
  • Which command is used to assign a swap signature to a device?
  • Which command would restart the SSH daemon to apply configuration changes?
  • In fstab, which option disables the update of file access times?
  • In tar, what is the meaning of the options -c -v -f?
  • Which command displays the current kernel version?
  • Which command can be used to reboot the system?
  • Which command removes all permissions for others on a file named file1?
  • Which command initializes a device as a new physical volume for LVM?
  • To check whether a service is configured to start automatically at boot (enabled) without starting it, which command would you use?
  • Where are systemd unit files typically located?
  • Which command prints the kernel version, suitable for scripting?
  • Which command shows swap devices currently enabled on the system?
  • Which command lists the active state of all loaded service unit configuration files?
  • Which command lists all currently loaded service units?
  • Which statement best describes a local file system?
  • What do scp and sftp refer to?
  • What is the correct order of tasks for creating an LVM for the first time?
  • Which command reveals detailed information about the kernel package in yum?
  • In the permission expression g+rwX, what does the capital X signify?
  • Which command would set a user's password to expire in 90 days and warn 7 days before expiration?
  • Which approach extends an existing logical volume lv_home by 20G and then grows the filesystem accordingly, depending on the filesystem type?
  • Which statement correctly describes a hard link?
  • Which command displays information about a swap device?
  • Which grub boot option is used to drop into an initramfs debug shell during recovery?
  • What is SFTP and what is a common command to retrieve a file from a remote server?
  • Which command removes all ACL entries from a file named file1?
  • In Red Hat firewall-cmd, which sequence of commands would enable the http service in the public zone and apply the changes permanently?
  • Which command shows the chrony sources used by the NTP service and helps verify configuration changes?
  • Which statement about the apropos command is accurate?
  • What is the purpose of the SIGCONT signal?
  • Which option prints lines that do not match the given pattern?
  • Which commands display disk I/O statistics and help identify top I/O wait processes (assuming iotop is installed)?
  • Which command lists all available time zones on the system?
  • Which tool(s) would you use to manage GPT-based partitions?
  • You are extending a logical volume. To do this, you have to add the /dev/xvdj device to the volume group "battlestar". Which command would you issue to accomplish this task?
  • Which command lists the active state of all loaded service units?
  • In package management output, what does the dash '-' symbol indicate?
  • Which command would search for the string 'error' in all log files under /var/log and show matching lines with context?
  • Which of the following repository contents correctly adds a local repo at /etc/yum.repos.d/myrepo.repo with baseurl http://repo.example/pub?
  • Which command would terminate all SSH sessions for a given user?
  • Which command changes the group ownership of a file or directory recursively?
  • Which utility is used to modify Access Control List entries on Linux files?
  • Which manual page describes unit configuration files and their locations?
  • How would you mount a new filesystem entry from /dev/vg_data/lv_backups to /mnt/backups and ensure it mounts at boot?
  • Default ACL permissions are mainly used for what purpose?
  • Which commands reconfigure SELinux to enforcing mode and verify the current mode?
  • In regular expressions, what does the ? quantifier indicate?
  • Which approach enables a user to run any command without a password in sudo?
  • After expanding the underlying block device, which command grows the XFS filesystem mounted at /mnt/mydir?
  • Which command starts the at daemon on a systemd-based Linux system?
  • Which systemd-based command powers off the system?
  • In an Access Control List (ACL) enabled file, which component defines the maximum effective permissions that can be granted to all entries?
  • Which NMCLI command creates a Ethernet connection named eth0 with IP 192.168.1.50/24, gateway 192.168.1.1, and sets the DNS server to 8.8.8.8, then brings the connection up?
  • Which path would you read to obtain CPU information from the proc filesystem?
  • Which command sets the default boot target?
  • Which command sets an ACL that gives user alice read permission on a file currently with 644 permissions?
  • In the chage command, what do the -M and -W options control?
  • Which command would you use to check the size of a mounted filesystem after resizing?
  • Which statement best describes SCP?
  • Which command creates a file named testfile containing 20 data blocks of 1024 kilobytes each from /dev/urandom?
  • Which file system is best used with LVM volumes?
  • As the root user, which command lists all processes running as root and displays their names?
  • Which systemd target represents the graphical user interface environment?
  • Which filesystem is the default in Red Hat installations?
  • How do you configure a systemd timer to run a job every day at 2am?
  • Which package provides the locate command on most systems?
  • How do you set a system-wide umask for all users?
  • Where is the file that lists all groups on a Linux system?
  • Which command sequence installs the latest available package and updates the system to satisfy dependencies on RHEL 8/9?
  • Which virt-install command creates a KVM virtual machine with a headless display and a 2GB RAM allocation, 20GB disk, and a CD-ROM OS image?
  • Which command helps locate the binary, source, and manual page locations for a given command?
  • Which command permanently sets an SELinux boolean value?
  • Which command creates a new physical volume suitable for LVM on a disk such as /dev/xvdf1?
  • Which command pattern would select lines that do not start with the letters l, i, n, u, or x?
  • Which command would accurately create a 19 G logical volume named galactica in the battlestar volume group using /dev/xvdf1?
  • Which approach configures log rotation to run daily and keep 14 rotated logs?
  • Which command searches for the string 'error' recursively under /var/log with case-insensitive matching and line numbers?
  • What is the function of the ACL mask during permission evaluation?
  • Which command ensures new files created in a directory inherit the directory's group ownership by setting the setgid bit?
  • Which command shows current active swap spaces?
  • Which of the following describes the command find / -mtime -3?
  • Which command would update the kernel about newly added partitions without rebooting?
  • Which command adds an existing user to a specified group?
  • Which command lists hidden Yum groups?
  • Which yum command, when given the proper argument, displays all packages installed by yum on the system?
  • Which command would search for a file named motd under the /etc directory?
  • Which chrony command shows the currently tracked sources and their statuses?
  • Which command sets the default target for system at boot?
  • Which redirection appends standard error to an existing file?
  • Which command sets the hostname permanently to a new value?
  • What is the primary purpose of the iostat command in Linux?
  • Which command shows the current ACLs on a file?
  • Which command configures a new host to use NTP for time synchronization?
  • Which numeric value represents SIGHUP when using kill commands?
  • Which command searches a repository for files provided by a specific package?
  • How do you freeze a cron job for maintenance and re-enable after the maintenance window?
  • Which command verifies the integrity of a package and its dependencies on an RPM-based system?
  • Which pgrep flag inverts the match, showing processes that do not match the pattern?
  • What command enables httpd to start on boot?
  • Which commands generate and view a filesystem label and UUID for a block device?
  • Which command removes the default ACL entries from a directory named dir1?
  • What is the maximum disk size for a GPT-based partition?
  • After adding a service to a firewall, which command reloads the firewall to apply changes?
  • Which command configures the system to boot directly into a graphical target by default?
  • Which command kills all of the processes associated with the terminal pts/0?
  • Which systemd command lists boot-time details per service?
  • Which file contains information about partitions the OS is reading?
  • Which commands retrieve a network interface's IP address and its default gateway using iproute2?
  • Which DNF command removes packages that are no longer required by any installed package?
  • What does tar -xzvf do?
  • Which redirection appends standard error messages to an existing file?
  • To permit root login over SSH by editing sshd_config and reloading SSH, which actions are performed?
  • Which command enables a service to start at boot and also starts it immediately, and then allows you to verify its enabled state and status?
  • Which commands verify disk space usage and identify directories consuming the most space?
  • In regular expressions, what does the + quantifier indicate?
  • Which command shows all available target unit files on the system?
  • What does the command (while true; do echo -n 'Infinite Loop' >> ~/output.file; sleep 1; done) & do?
  • Which command filters the system journal for a specific service and shows entries from the last hour?
  • Which command would you use to verify if httpd will start automatically on boot?
  • Which sequence creates a new partition on a disk with a GPT label and a 1 GiB ext4 partition, then formats the partition as ext4?
  • Which command creates a volume group named battlestar from the physical volumes /dev/xvdf1 and /dev/xvdg1?
  • Which command locks a user account without deleting it?
  • In pkill, which option targets processes based on the owning user?
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy