McAfee-Secured Website

Exam Bundle

Exam Code: EX200

Exam Name Red Hat Certified System Administrator (RHCSA)

Certification Provider: RedHat

Corresponding Certification: RHCSA

RedHat EX200 Bundle $44.99

100% RedHat EX200 Guaranteed Success With Testking Training Materials

Get Real EX200 Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

  • Questions & Answers

    EX200 Questions & Answers

    111 Questions & Answers

    The ultimate exam preparation tool, Questions & Answers mirrors the actual EX200 exam while allowing you to hone and measure every aspect of your test-taking ability.

  • EX200 Video Course

    EX200 Video Course

    71 Video Lectures

    EX200 Video Course is developed by RedHat Professionals to help you pass the EX200 exam.

    Description

    This course will improve your knowledge and skills required to pass Red Hat Certified System Administrator (RHCSA) exam.
  • Study Guide

    EX200 Study Guide

    1601 PDF Pages

    Developed by industry experts, this 1601-page guide spells out in painstaking detail all of the information you need to ace EX200 exam.

Red Hat Certified System Administrator (RHCSA) (EX200) Practice Tests

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Total Cost: $194.97
Bundle Price: $149.98

Purchase Individually

  • Questions & Answers

    Questions & Answers

    111 Questions

    $124.99
  • EX200 Video Course

    Video Course

    71 Video Lectures

    $39.99
  • Study Guide

    Study Guide

    1601 PDF Pages

    $29.99

RedHat EX200 Practice Test 26

Question 250

The lab examiner asks for evidence after this assignment: A script's `if` statement tests a numeric threshold using string comparison and misorders the values 9 and 10. What is the decisive verification step?

  1. The output contains one result per unit and no unrequested service is started.
  2. The known present and missing fixture processes produce different status messages.
  3. The printed host label matches `hostname -s` without treating it as an executable.
  4. Known values 9 and 10 route to different expected branches.

Explanation

Correct Answer

D:

Known values 9 and 10 route to different expected branches. This check confirms the expected effect of: Use `if [ "$count" -ge 10 ]; then ...; fi` after validating `count` is an integer. It distinguishes the intended result from the original failure mechanism: Shell test numeric operators compare integers, while lexical string operations do not model number magnitude.

Incorrect Answers

A:

The output contains one result per unit and no unrequested service is started. That verifies a separate lab task: A service check is intended to poll five named systemd units, but the script uses only the first literal unit. It does not validate the implementation required here: Use `if [ "$count" -ge 10 ]; then ...; fi` after validating `count` is an integer.

B:

The known present and missing fixture processes produce different status messages. That verifies a separate lab task: A maintenance script must report whether a given process name exists without exiting with a misleading success status. It does not validate the implementation required here: Use `if [ "$count" -ge 10 ]; then ...; fi` after validating `count` is an integer.

C:

The printed host label matches `hostname -s` without treating it as an executable. That verifies a separate lab task: A shell script writes raw command output but needs its first line to include the current hostname from the target host. It does not validate the implementation required here: Use `if [ "$count" -ge 10 ]; then ...; fi` after validating `count` is an integer.

Question 251

A training host has this situation: A script's `if` statement tests a numeric threshold using string comparison and misorders the values 9 and 10. Which system behavior best explains the original failure or risk?

  1. Shell test numeric operators compare integers, while lexical string operations do not model number magnitude.
  2. A search command may return 1 for no matches and 2 for execution errors.
  3. Single quotes suppress shell substitutions; double-quoted variable expansion preserves values.
  4. Quoting `"$@"` preserves positional argument boundaries for safe shell iteration.

Explanation

Correct Answer

A:

Shell test numeric operators compare integers, while lexical string operations do not model number magnitude. This explains the task's initial state: A script's `if` statement tests a numeric threshold using string comparison and misorders the values 9 and 10. The supported lab action is: Use `if [ "$count" -ge 10 ]; then ...; fi` after validating `count` is an integer.

Incorrect Answers

B:

A search command may return 1 for no matches and 2 for execution errors. This mechanism applies to another scenario: A reporting script pipes `grep` through `wc` and treats a zero-match grep exit as a catastrophic error even though zero results are valid. The given lab state instead requires the more specific cause in the correct choice.

C:

Single quotes suppress shell substitutions; double-quoted variable expansion preserves values. This mechanism applies to another scenario: A script generates a timestamped training archive but literal quotes around the `date` substitution prevent expansion. The given lab state instead requires the more specific cause in the correct choice.

D:

Quoting `"$@"` preserves positional argument boundaries for safe shell iteration. This mechanism applies to another scenario: A housekeeping script must print each user-provided directory rather than always print one hard-coded value. The given lab state instead requires the more specific cause in the correct choice.

Question 252

A student has implemented the following configuration: A script's `if` statement tests a numeric threshold using string comparison and misorders the values 9 and 10. What repeatable control best reduces regressions or unsafe changes?

  1. Use literal input mode for untrusted or structured strings.
  2. Check numeric input validity before threshold decisions.
  3. Use explicit failure propagation rather than chaining dependent operations unconditionally.
  4. Use predictable timestamp formats and validate generated filenames.

Explanation

Correct Answer

B:

Check numeric input validity before threshold decisions. This guards against recurrence of: Shell test numeric operators compare integers, while lexical string operations do not model number magnitude. Confirm the lab's final state by: Known values 9 and 10 route to different expected branches.

Incorrect Answers

A:

Use literal input mode for untrusted or structured strings. That control is best suited to a separate scenario: A script asks users for a name but accidentally treats backslash sequences in the input as control codes. It is not the best safeguard for the current mechanism: Shell test numeric operators compare integers, while lexical string operations do not model number magnitude.

C:

Use explicit failure propagation rather than chaining dependent operations unconditionally. That control is best suited to a separate scenario: A script invokes two commands on one line with a semicolon and prints success even if the first fails. It is not the best safeguard for the current mechanism: Shell test numeric operators compare integers, while lexical string operations do not model number magnitude.

D:

Use predictable timestamp formats and validate generated filenames. That control is best suited to a separate scenario: A script generates a timestamped training archive but literal quotes around the `date` substitution prevent expansion. It is not the best safeguard for the current mechanism: Shell test numeric operators compare integers, while lexical string operations do not model number magnitude.

Question 253

You are responsible for a local virtualization classroom. The required hands-on outcome is: A VM has a misconfigured service and requires recovery operations in an isolated rescue target. Select the most appropriate implementation step.

  1. Compare `free -h`, `vmstat 1 5`, and the relevant process RSS instead of inferring a leak from swap alone.
  2. Run `sudo systemctl isolate multi-user.target` from a safe local console, keeping a recovery path.
  3. Run `ps -eo pid,comm,%cpu,%mem --sort=-%cpu | head` and corroborate with `top`.
  4. Use the systemd boot or supported recovery procedure to reach `rescue.target` from an authorized local VM console.

Explanation

Correct Answer

D:

Use the systemd boot or supported recovery procedure to reach `rescue.target` from an authorized local VM console. This directly addresses the lab target: A VM has a misconfigured service and requires recovery operations in an isolated rescue target. The underlying behavior is: A rescue target starts a minimal set of units, unlike a normal multi-user boot. Verification: The host presents the expected rescue environment where the affected service can be repaired.

Incorrect Answers

A:

Compare `free -h`, `vmstat 1 5`, and the relevant process RSS instead of inferring a leak from swap alone. This is an appropriate step for a DIFFERENT exercise, specifically: A running VM has adequate memory by `free -h` but swap usage spikes and the team assumes the application is leaking. It does not address the required lab state, whose mechanism is: A rescue target starts a minimal set of units, unlike a normal multi-user boot.

B:

Run `sudo systemctl isolate multi-user.target` from a safe local console, keeping a recovery path. This is an appropriate step for a DIFFERENT exercise, specifically: A technician needs to switch the currently running lab host from its GUI session to a non-graphical target without changing future boots. It does not address the required lab state, whose mechanism is: A rescue target starts a minimal set of units, unlike a normal multi-user boot.

C:

Run `ps -eo pid,comm,%cpu,%mem --sort=-%cpu | head` and corroborate with `top`. This is an appropriate step for a DIFFERENT exercise, specifically: The training server is slow, and a student wants to identify the CPU-intensive process before killing anything. It does not address the required lab state, whose mechanism is: A rescue target starts a minimal set of units, unlike a normal multi-user boot.

Question 254

After a lab configuration change, verify: A VM has a misconfigured service and requires recovery operations in an isolated rescue target. Which result most directly proves the desired system state?

  1. The host presents the expected rescue environment where the affected service can be repaired.
  2. `systemctl is-active sshd` reports active and the intended local port is listening.
  3. `systemctl get-default` reports `multi-user.target`, including after reboot.
  4. `systemctl list-units --type=target --state=active` shows multi-user operation, while `get-default` remains unchanged.

Explanation

Correct Answer

A:

The host presents the expected rescue environment where the affected service can be repaired. This check confirms the expected effect of: Use the systemd boot or supported recovery procedure to reach `rescue.target` from an authorized local VM console. It distinguishes the intended result from the original failure mechanism: A rescue target starts a minimal set of units, unlike a normal multi-user boot.

Incorrect Answers

B:

`systemctl is-active sshd` reports active and the intended local port is listening. That verifies a separate lab task: A training SSH service was stopped for maintenance, and an operator mistakenly attempts to fix it by editing unrelated firewall rules. It does not validate the implementation required here: Use the systemd boot or supported recovery procedure to reach `rescue.target` from an authorized local VM console.

C:

`systemctl get-default` reports `multi-user.target`, including after reboot. That verifies a separate lab task: A multi-user server is configured to boot into a graphical session, while the training task requires a command-line default. It does not validate the implementation required here: Use the systemd boot or supported recovery procedure to reach `rescue.target` from an authorized local VM console.

D:

`systemctl list-units --type=target --state=active` shows multi-user operation, while `get-default` remains unchanged. That verifies a separate lab task: A technician needs to switch the currently running lab host from its GUI session to a non-graphical target without changing future boots. It does not validate the implementation required here: Use the systemd boot or supported recovery procedure to reach `rescue.target` from an authorized local VM console.

Question 255

In an EX200-style practice lab, this condition exists: A VM has a misconfigured service and requires recovery operations in an isolated rescue target. Which explanation correctly identifies the underlying issue?

  1. Editing a configuration file does not necessarily reload a running process.
  2. A rescue target starts a minimal set of units, unlike a normal multi-user boot.
  3. Volatile journaling stored only in runtime memory may disappear on restart.
  4. Secure copy uses the SSH transport, unlike an unprotected network transfer.

Explanation

Correct Answer

B:

A rescue target starts a minimal set of units, unlike a normal multi-user boot. This explains the task's initial state: A VM has a misconfigured service and requires recovery operations in an isolated rescue target. The supported lab action is: Use the systemd boot or supported recovery procedure to reach `rescue.target` from an authorized local VM console.

Incorrect Answers

A:

Editing a configuration file does not necessarily reload a running process. This mechanism applies to another scenario: An application configuration was changed on disk, but the running daemon still uses the previous settings. The given lab state instead requires the more specific cause in the correct choice.

C:

Volatile journaling stored only in runtime memory may disappear on restart. This mechanism applies to another scenario: A lab incident must be reconstructed after reboot but `journalctl -b -1` has no previous-boot records due to volatile journaling. The given lab state instead requires the more specific cause in the correct choice.

D:

Secure copy uses the SSH transport, unlike an unprotected network transfer. This mechanism applies to another scenario: A lab workstation must copy a sensitive diagnostic bundle to a remote node without exposing it to an insecure plain-text transfer. The given lab state instead requires the more specific cause in the correct choice.

Question 256

After completing this practical task on a local virtualization classroom: A VM has a misconfigured service and requires recovery operations in an isolated rescue target. Which operational safeguard helps keep the result correct and safe?

  1. Include interface-specific listener verification in network service acceptance tests.
  2. Schedule batch tasks with appropriate priority and monitor the impact rather than stopping critical processes.
  3. Keep tested console recovery access and backup before rescue-target maintenance.
  4. Use precise filters in incident collection to retain reproducible evidence.

Explanation

Correct Answer

C:

Keep tested console recovery access and backup before rescue-target maintenance. This guards against recurrence of: A rescue target starts a minimal set of units, unlike a normal multi-user boot. Confirm the lab's final state by: The host presents the expected rescue environment where the affected service can be repaired.

Incorrect Answers

A:

Include interface-specific listener verification in network service acceptance tests. That control is best suited to a separate scenario: A listening service appears healthy but clients cannot connect, and the administrator must distinguish service binding from firewall failures. It is not the best safeguard for the current mechanism: A rescue target starts a minimal set of units, unlike a normal multi-user boot.

B:

Schedule batch tasks with appropriate priority and monitor the impact rather than stopping critical processes. That control is best suited to a separate scenario: A batch reporting program interferes with interactive tasks, and the goal is to reduce its scheduling priority while it remains active. It is not the best safeguard for the current mechanism: A rescue target starts a minimal set of units, unlike a normal multi-user boot.

D:

Use precise filters in incident collection to retain reproducible evidence. That control is best suited to a separate scenario: A system journal contains many warnings and the student must isolate kernel-related messages for the current boot. It is not the best safeguard for the current mechanism: A rescue target starts a minimal set of units, unlike a normal multi-user boot.

Question 257

Lab exercise on a nonproduction Linux administration sandbox: An LVM volume group `vg_training` exists and a test database requires a new 2 GiB logical volume. Which proposed RHEL 10 command or configuration action most directly achieves the required lab state?

  1. Run `lvcreate -L 2G -n lv_db vg_training` with sufficient free space.
  2. Find its UUID with `blkid`, then add a reviewed `UUID=<uuid> none swap defaults 0 0` entry to `/etc/fstab`.
  3. Run `lvextend -L +1G /dev/vg_training/lv_db` after verifying free extents and the intended LV.
  4. Use `blkid` to identify the filesystem UUID and update the relevant fstab line to `UUID=<value>` with an unchanged mountpoint.

Explanation

Correct Answer

A:

Run `lvcreate -L 2G -n lv_db vg_training` with sufficient free space. This directly addresses the lab target: An LVM volume group `vg_training` exists and a test database requires a new 2 GiB logical volume. The underlying behavior is: An LVM logical volume is a block device until it is formatted and mounted separately. Verification: `lvs /dev/vg_training/lv_db` reports the requested LV and does not show a filesystem automatically.

Incorrect Answers

B:

Find its UUID with `blkid`, then add a reviewed `UUID=<uuid> none swap defaults 0 0` entry to `/etc/fstab`. This is an appropriate step for a DIFFERENT exercise, specifically: A previously working swap LV disappears after restart because no persistent swap entry was configured. It does not address the required lab state, whose mechanism is: An LVM logical volume is a block device until it is formatted and mounted separately.

C:

Run `lvextend -L +1G /dev/vg_training/lv_db` after verifying free extents and the intended LV. This is an appropriate step for a DIFFERENT exercise, specifically: An online lab volume needs another 1 GiB of block capacity but its administrator attempts to grow the filesystem without changing the LV. It does not address the required lab state, whose mechanism is: An LVM logical volume is a block device until it is formatted and mounted separately.

D:

Use `blkid` to identify the filesystem UUID and update the relevant fstab line to `UUID=<value>` with an unchanged mountpoint. This is an appropriate step for a DIFFERENT exercise, specifically: A server has an approved lab LV mounted through `/dev/vdb1` and the device name changes after adding another disk. It does not address the required lab state, whose mechanism is: An LVM logical volume is a block device until it is formatted and mounted separately.

Question 258

In a hands-on RHCSA practice VM, the assigned outcome was: An LVM volume group `vg_training` exists and a test database requires a new 2 GiB logical volume. What specific verification would demonstrate the target state?

  1. `lsblk /dev/vdb` shows the expected roughly 1-GiB partition with no neighboring devices altered.
  2. `lvs /dev/vg_training/lv_db` reports the requested LV and does not show a filesystem automatically.
  3. The report accurately explains why a constrained allocation on the first PV differs from total VG capacity.
  4. The resulting mapping identifies filesystem to LV to VG to PV without changing data.

Explanation

Correct Answer

B:

`lvs /dev/vg_training/lv_db` reports the requested LV and does not show a filesystem automatically. This check confirms the expected effect of: Run `lvcreate -L 2G -n lv_db vg_training` with sufficient free space. It distinguishes the intended result from the original failure mechanism: An LVM logical volume is a block device until it is formatted and mounted separately.

Incorrect Answers

A:

`lsblk /dev/vdb` shows the expected roughly 1-GiB partition with no neighboring devices altered. That verifies a separate lab task: A verified blank GPT training disk needs one new 1 GiB partition with appropriate alignment. It does not validate the implementation required here: Run `lvcreate -L 2G -n lv_db vg_training` with sufficient free space.

C:

The report accurately explains why a constrained allocation on the first PV differs from total VG capacity. That verifies a separate lab task: A training PV reports little free space while its VG appears to have ample total capacity across a second PV. It does not validate the implementation required here: Run `lvcreate -L 2G -n lv_db vg_training` with sufficient free space.

D:

The resulting mapping identifies filesystem to LV to VG to PV without changing data. That verifies a separate lab task: An operator confuses a partition number with an LVM logical volume name when looking for a mounted database. It does not validate the implementation required here: Run `lvcreate -L 2G -n lv_db vg_training` with sufficient free space.

Question 259

A trainee is diagnosing: An LVM volume group `vg_training` exists and a test database requires a new 2 GiB logical volume. Which root cause should they recognize before changing the system?

  1. LVM volume names hide physical extent mapping that matters during disk replacement.
  2. Kernel-assigned block device names may shift, whereas filesystem UUIDs identify the intended volume.
  3. An LVM logical volume is a block device until it is formatted and mounted separately.
  4. A logical volume is not active swap until formatted with swap metadata and enabled.

Explanation

Correct Answer

C:

An LVM logical volume is a block device until it is formatted and mounted separately. This explains the task's initial state: An LVM volume group `vg_training` exists and a test database requires a new 2 GiB logical volume. The supported lab action is: Run `lvcreate -L 2G -n lv_db vg_training` with sufficient free space.

Incorrect Answers

A:

LVM volume names hide physical extent mapping that matters during disk replacement. This mechanism applies to another scenario: An administrator needs to identify the data-bearing PVs behind an LV without relying on its friendly name. The given lab state instead requires the more specific cause in the correct choice.

B:

Kernel-assigned block device names may shift, whereas filesystem UUIDs identify the intended volume. This mechanism applies to another scenario: A server has an approved lab LV mounted through `/dev/vdb1` and the device name changes after adding another disk. The given lab state instead requires the more specific cause in the correct choice.

D:

A logical volume is not active swap until formatted with swap metadata and enabled. This mechanism applies to another scenario: A small swap logical volume on a training host is inactive after it has been created. The given lab state instead requires the more specific cause in the correct choice.

Question 260

For this Linux administration lab: An LVM volume group `vg_training` exists and a test database requires a new 2 GiB logical volume. Which safety and lifecycle check best prevents the same problem returning?

  1. Use stable UUID or labels for persistent mounts and run `findmnt --verify` before reboot.
  2. Verify final filesystem size and document that XFS supports growth but not shrink.
  3. Verify extent allocation and redundancy before any VG reduction.
  4. Check `vgs` free extents before provisioning and keep names consistent with service inventory.

Explanation

Correct Answer

D:

Check `vgs` free extents before provisioning and keep names consistent with service inventory. This guards against recurrence of: An LVM logical volume is a block device until it is formatted and mounted separately. Confirm the lab's final state by: `lvs /dev/vg_training/lv_db` reports the requested LV and does not show a filesystem automatically.

Incorrect Answers

A:

Use stable UUID or labels for persistent mounts and run `findmnt --verify` before reboot. That control is best suited to a separate scenario: A server has an approved lab LV mounted through `/dev/vdb1` and the device name changes after adding another disk. It is not the best safeguard for the current mechanism: An LVM logical volume is a block device until it is formatted and mounted separately.

B:

Verify final filesystem size and document that XFS supports growth but not shrink. That control is best suited to a separate scenario: An administrator wants to grow a logical volume and its XFS filesystem together for a disposable data directory. It is not the best safeguard for the current mechanism: An LVM logical volume is a block device until it is formatted and mounted separately.

C:

Verify extent allocation and redundancy before any VG reduction. That control is best suited to a separate scenario: A dedicated LVM physical volume is no longer used by any allocated extents but remains listed in a training VG. It is not the best safeguard for the current mechanism: An LVM logical volume is a block device until it is formatted and mounted separately.