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 50

Question 490

The lab examiner asks for evidence after this assignment: A script generates a timestamped training archive but literal quotes around the `date` substitution prevent expansion. What is the decisive verification step?

  1. Known values 9 and 10 route to different expected branches.
  2. The file `/tmp/lab reports/status.txt` receives the line and no extra files are created.
  3. In a fixture where the first command exits 1, the second command does not run.
  4. The resulting filename contains the current date digits and `tar -tzf` lists expected members.

Explanation

Correct Answer

D:

The resulting filename contains the current date digits and `tar -tzf` lists expected members. This check confirms the expected effect of: Use `stamp=$(date +%Y%m%d)` and `tar -czf "/tmp/archive-$stamp.tgz" -C /srv/labs projectA`. It distinguishes the intended result from the original failure mechanism: Single quotes suppress shell substitutions; double-quoted variable expansion preserves values.

Incorrect Answers

A:

Known values 9 and 10 route to different expected branches. That verifies a separate lab task: A script's `if` statement tests a numeric threshold using string comparison and misorders the values 9 and 10. It does not validate the implementation required here: Use `stamp=$(date +%Y%m%d)` and `tar -czf "/tmp/archive-$stamp.tgz" -C /srv/labs projectA`.

B:

The file `/tmp/lab reports/status.txt` receives the line and no extra files are created. That verifies a separate lab task: A training script appends to a log whose path includes spaces and breaks because the variable is expanded unquoted. It does not validate the implementation required here: Use `stamp=$(date +%Y%m%d)` and `tar -czf "/tmp/archive-$stamp.tgz" -C /srv/labs projectA`.

C:

In a fixture where the first command exits 1, the second command does not run. That verifies a separate lab task: A script invokes two commands on one line with a semicolon and prints success even if the first fails. It does not validate the implementation required here: Use `stamp=$(date +%Y%m%d)` and `tar -czf "/tmp/archive-$stamp.tgz" -C /srv/labs projectA`.

Question 491

A training host has this situation: A script generates a timestamped training archive but literal quotes around the `date` substitution prevent expansion. Which system behavior best explains the original failure or risk?

  1. Single quotes suppress shell substitutions; double-quoted variable expansion preserves values.
  2. Positional parameters may be absent or contain spaces, requiring validation and quoting.
  3. Shell test numeric operators compare integers, while lexical string operations do not model number magnitude.
  4. Unquoted shell variable expansion performs splitting and pathname expansion.

Explanation

Correct Answer

A:

Single quotes suppress shell substitutions; double-quoted variable expansion preserves values. This explains the task's initial state: A script generates a timestamped training archive but literal quotes around the `date` substitution prevent expansion. The supported lab action is: Use `stamp=$(date +%Y%m%d)` and `tar -czf "/tmp/archive-$stamp.tgz" -C /srv/labs projectA`.

Incorrect Answers

B:

Positional parameters may be absent or contain spaces, requiring validation and quoting. This mechanism applies to another scenario: A shell script receives `source` and `destination` as positional parameters and currently copies an empty path when arguments are missing. The given lab state instead requires the more specific cause in the correct choice.

C:

Shell test numeric operators compare integers, while lexical string operations do not model number magnitude. This mechanism applies to another scenario: A script's `if` statement tests a numeric threshold using string comparison and misorders the values 9 and 10. The given lab state instead requires the more specific cause in the correct choice.

D:

Unquoted shell variable expansion performs splitting and pathname expansion. This mechanism applies to another scenario: A training script appends to a log whose path includes spaces and breaks because the variable is expanded unquoted. The given lab state instead requires the more specific cause in the correct choice.

Question 492

A student has implemented the following configuration: A script generates a timestamped training archive but literal quotes around the `date` substitution prevent expansion. What repeatable control best reduces regressions or unsafe changes?

  1. Quote substituted variables and test outputs when constructing paths or configuration.
  2. Use predictable timestamp formats and validate generated filenames.
  3. Quote variables unless deliberate splitting is required and tested.
  4. Declare runtime prerequisites, command paths and required environment variables in scheduled scripts.

Explanation

Correct Answer

B:

Use predictable timestamp formats and validate generated filenames. This guards against recurrence of: Single quotes suppress shell substitutions; double-quoted variable expansion preserves values. Confirm the lab's final state by: The resulting filename contains the current date digits and `tar -tzf` lists expected members.

Incorrect Answers

A:

Quote substituted variables and test outputs when constructing paths or configuration. That control is best suited to a separate scenario: A shell script writes raw command output but needs its first line to include the current hostname from the target host. It is not the best safeguard for the current mechanism: Single quotes suppress shell substitutions; double-quoted variable expansion preserves values.

C:

Quote variables unless deliberate splitting is required and tested. That control is best suited to a separate scenario: A training script appends to a log whose path includes spaces and breaks because the variable is expanded unquoted. It is not the best safeguard for the current mechanism: Single quotes suppress shell substitutions; double-quoted variable expansion preserves values.

D:

Declare runtime prerequisites, command paths and required environment variables in scheduled scripts. That control is best suited to a separate scenario: A cron-invoked script prints `command not found` for a utility present in the interactive user's shell. It is not the best safeguard for the current mechanism: Single quotes suppress shell substitutions; double-quoted variable expansion preserves values.

Question 493

You are responsible for a local virtualization classroom. The required hands-on outcome is: The team wants a consistent throughput-oriented system tuning profile during a disposable performance experiment. Select the most appropriate implementation step.

  1. Run `sudo systemctl daemon-reload` after saving the reviewed unit file, then restart the unit if necessary.
  2. Use `renice +10 -p <verified-pid>` with appropriate privileges and permissions.
  3. Use `ss -tlnp` to confirm actual bind address and port, then correlate with an authorized local client test.
  4. Run `sudo tuned-adm list`, select an installed suitable profile using `sudo tuned-adm profile throughput-performance`.

Explanation

Correct Answer

D:

Run `sudo tuned-adm list`, select an installed suitable profile using `sudo tuned-adm profile throughput-performance`. This directly addresses the lab target: The team wants a consistent throughput-oriented system tuning profile during a disposable performance experiment. The underlying behavior is: Tuned applies a named set of system tuning policies rather than one ad hoc kernel setting. Verification: `tuned-adm active` reports the profile and the performance test uses its documented settings.

Incorrect Answers

A:

Run `sudo systemctl daemon-reload` after saving the reviewed unit file, then restart the unit if necessary. This is an appropriate step for a DIFFERENT exercise, specifically: A unit file for a custom service is edited directly under `/etc/systemd/system`, but systemd continues using the old unit definition. It does not address the required lab state, whose mechanism is: Tuned applies a named set of system tuning policies rather than one ad hoc kernel setting.

B:

Use `renice +10 -p <verified-pid>` with appropriate privileges and permissions. This is an appropriate step for a DIFFERENT exercise, specifically: A batch reporting program interferes with interactive tasks, and the goal is to reduce its scheduling priority while it remains active. It does not address the required lab state, whose mechanism is: Tuned applies a named set of system tuning policies rather than one ad hoc kernel setting.

C:

Use `ss -tlnp` to confirm actual bind address and port, then correlate with an authorized local client test. This is an appropriate step for a DIFFERENT exercise, specifically: A listening service appears healthy but clients cannot connect, and the administrator must distinguish service binding from firewall failures. It does not address the required lab state, whose mechanism is: Tuned applies a named set of system tuning policies rather than one ad hoc kernel setting.

Question 494

After a lab configuration change, verify: The team wants a consistent throughput-oriented system tuning profile during a disposable performance experiment. Which result most directly proves the desired system state?

  1. `tuned-adm active` reports the profile and the performance test uses its documented settings.
  2. `ps -o pid,ni,comm -p <verified-pid>` displays the updated positive nice value.
  3. After recovery, an authorized local login succeeds and SELinux file labels are corrected if the procedure required it.
  4. `systemctl cat labworker.service` shows the updated directive and a controlled start honors it.

Explanation

Correct Answer

A:

`tuned-adm active` reports the profile and the performance test uses its documented settings. This check confirms the expected effect of: Run `sudo tuned-adm list`, select an installed suitable profile using `sudo tuned-adm profile throughput-performance`. It distinguishes the intended result from the original failure mechanism: Tuned applies a named set of system tuning policies rather than one ad hoc kernel setting.

Incorrect Answers

B:

`ps -o pid,ni,comm -p <verified-pid>` displays the updated positive nice value. That verifies a separate lab task: A batch reporting program interferes with interactive tasks, and the goal is to reduce its scheduling priority while it remains active. It does not validate the implementation required here: Run `sudo tuned-adm list`, select an installed suitable profile using `sudo tuned-adm profile throughput-performance`.

C:

After recovery, an authorized local login succeeds and SELinux file labels are corrected if the procedure required it. That verifies a separate lab task: An administrator forgot an isolated training VM's root password and is asked to restore authorized console access. It does not validate the implementation required here: Run `sudo tuned-adm list`, select an installed suitable profile using `sudo tuned-adm profile throughput-performance`.

D:

`systemctl cat labworker.service` shows the updated directive and a controlled start honors it. That verifies a separate lab task: A unit file for a custom service is edited directly under `/etc/systemd/system`, but systemd continues using the old unit definition. It does not validate the implementation required here: Run `sudo tuned-adm list`, select an installed suitable profile using `sudo tuned-adm profile throughput-performance`.

Question 495

In an EX200-style practice lab, this condition exists: The team wants a consistent throughput-oriented system tuning profile during a disposable performance experiment. Which explanation correctly identifies the underlying issue?

  1. `nice` sets priority when creating a process; `renice` adjusts an already running PID.
  2. Tuned applies a named set of system tuning policies rather than one ad hoc kernel setting.
  3. Process metrics identify resource consumers; a performance problem is not proof that the process should be terminated.
  4. A stopped systemd unit does not begin accepting network connections even if firewall access is permitted.

Explanation

Correct Answer

B:

Tuned applies a named set of system tuning policies rather than one ad hoc kernel setting. This explains the task's initial state: The team wants a consistent throughput-oriented system tuning profile during a disposable performance experiment. The supported lab action is: Run `sudo tuned-adm list`, select an installed suitable profile using `sudo tuned-adm profile throughput-performance`.

Incorrect Answers

A:

`nice` sets priority when creating a process; `renice` adjusts an already running PID. This mechanism applies to another scenario: A background indexing job should start with a lower CPU scheduling priority from its first instruction. The given lab state instead requires the more specific cause in the correct choice.

C:

Process metrics identify resource consumers; a performance problem is not proof that the process should be terminated. This mechanism applies to another scenario: The training server is slow, and a student wants to identify the CPU-intensive process before killing anything. The given lab state instead requires the more specific cause in the correct choice.

D:

A stopped systemd unit does not begin accepting network connections even if firewall access is permitted. This mechanism applies to another scenario: A training SSH service was stopped for maintenance, and an operator mistakenly attempts to fix it by editing unrelated firewall rules. The given lab state instead requires the more specific cause in the correct choice.

Question 496

After completing this practical task on a local virtualization classroom: The team wants a consistent throughput-oriented system tuning profile during a disposable performance experiment. Which operational safeguard helps keep the result correct and safe?

  1. Document reboot windows and verify core services after startup.
  2. Collect evidence and identify process ownership before choosing a corrective signal.
  3. Record the original profile and restore it after the controlled benchmark.
  4. Schedule batch tasks with appropriate priority and monitor the impact rather than stopping critical processes.

Explanation

Correct Answer

C:

Record the original profile and restore it after the controlled benchmark. This guards against recurrence of: Tuned applies a named set of system tuning policies rather than one ad hoc kernel setting. Confirm the lab's final state by: `tuned-adm active` reports the profile and the performance test uses its documented settings.

Incorrect Answers

A:

Document reboot windows and verify core services after startup. That control is best suited to a separate scenario: A lab system needs a controlled reboot after updates but the operator plans to unplug the virtual power without syncing writes. It is not the best safeguard for the current mechanism: Tuned applies a named set of system tuning policies rather than one ad hoc kernel setting.

B:

Collect evidence and identify process ownership before choosing a corrective signal. That control is best suited to a separate scenario: The training server is slow, and a student wants to identify the CPU-intensive process before killing anything. It is not the best safeguard for the current mechanism: Tuned applies a named set of system tuning policies rather than one ad hoc kernel setting.

D:

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: Tuned applies a named set of system tuning policies rather than one ad hoc kernel setting.

Question 497

Lab exercise on a nonproduction Linux administration sandbox: A small swap logical volume on a training host is inactive after it has been created. Which proposed RHEL 10 command or configuration action most directly achieves the required lab state?

  1. Run `mkswap /dev/vg_training/lv_swap` on the dedicated empty swap LV followed by `swapon /dev/vg_training/lv_swap`.
  2. After independently confirming `/dev/vdb` is the disposable target, run `parted -s /dev/vdb mklabel gpt`.
  3. Use `lsblk -f` plus `lvs` and `findmnt` to resolve which block layer currently backs `/srv/db`.
  4. After verified free space, create a GPT Linux swap partition, use `mkswap` on that dedicated new partition and activate with `swapon`.

Explanation

Correct Answer

A:

Run `mkswap /dev/vg_training/lv_swap` on the dedicated empty swap LV followed by `swapon /dev/vg_training/lv_swap`. This directly addresses the lab target: A small swap logical volume on a training host is inactive after it has been created. The underlying behavior is: A logical volume is not active swap until formatted with swap metadata and enabled. Verification: `swapon --show` lists the intended swap device and `free -h` reflects its capacity.

Incorrect Answers

B:

After independently confirming `/dev/vdb` is the disposable target, run `parted -s /dev/vdb mklabel gpt`. This is an appropriate step for a DIFFERENT exercise, specifically: The disposable blank `/dev/vdb` has no partition table, but the lab task needs a GPT disk layout. It does not address the required lab state, whose mechanism is: A logical volume is not active swap until formatted with swap metadata and enabled.

C:

Use `lsblk -f` plus `lvs` and `findmnt` to resolve which block layer currently backs `/srv/db`. This is an appropriate step for a DIFFERENT exercise, specifically: An operator confuses a partition number with an LVM logical volume name when looking for a mounted database. It does not address the required lab state, whose mechanism is: A logical volume is not active swap until formatted with swap metadata and enabled.

D:

After verified free space, create a GPT Linux swap partition, use `mkswap` on that dedicated new partition and activate with `swapon`. This is an appropriate step for a DIFFERENT exercise, specifically: A VM needs a dedicated 1 GiB swap partition on an explicitly empty GPT training disk instead of an LVM swap LV. It does not address the required lab state, whose mechanism is: A logical volume is not active swap until formatted with swap metadata and enabled.

Question 498

In a hands-on RHCSA practice VM, the assigned outcome was: A small swap logical volume on a training host is inactive after it has been created. What specific verification would demonstrate the target state?

  1. After reboot `findmnt` resolves the same filesystem despite the changed volatile device name.
  2. `swapon --show` lists the intended swap device and `free -h` reflects its capacity.
  3. `parted -s /dev/vdb print` no longer lists partition 2 and remaining partition metadata is intact.
  4. The report accurately explains why a constrained allocation on the first PV differs from total VG capacity.

Explanation

Correct Answer

B:

`swapon --show` lists the intended swap device and `free -h` reflects its capacity. This check confirms the expected effect of: Run `mkswap /dev/vg_training/lv_swap` on the dedicated empty swap LV followed by `swapon /dev/vg_training/lv_swap`. It distinguishes the intended result from the original failure mechanism: A logical volume is not active swap until formatted with swap metadata and enabled.

Incorrect Answers

A:

After reboot `findmnt` resolves the same filesystem despite the changed volatile device name. That verifies a separate lab task: A server has an approved lab LV mounted through `/dev/vdb1` and the device name changes after adding another disk. It does not validate the implementation required here: Run `mkswap /dev/vg_training/lv_swap` on the dedicated empty swap LV followed by `swapon /dev/vg_training/lv_swap`.

C:

`parted -s /dev/vdb print` no longer lists partition 2 and remaining partition metadata is intact. That verifies a separate lab task: A trainee needs to delete one unused partition on a disposable GPT disk but proposes erasing the whole disk. It does not validate the implementation required here: Run `mkswap /dev/vg_training/lv_swap` on the dedicated empty swap LV followed by `swapon /dev/vg_training/lv_swap`.

D:

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 `mkswap /dev/vg_training/lv_swap` on the dedicated empty swap LV followed by `swapon /dev/vg_training/lv_swap`.

Question 499

A trainee is diagnosing: A small swap logical volume on a training host is inactive after it has been created. Which root cause should they recognize before changing the system?

  1. A PV cannot be safely removed from a VG while it still contains required extents.
  2. LVM can have uneven free extent distribution across physical members.
  3. A logical volume is not active swap until formatted with swap metadata and enabled.
  4. Removing one GPT partition differs from overwriting the entire partition table.

Explanation

Correct Answer

C:

A logical volume is not active swap until formatted with swap metadata and enabled. This explains the task's initial state: A small swap logical volume on a training host is inactive after it has been created. The supported lab action is: Run `mkswap /dev/vg_training/lv_swap` on the dedicated empty swap LV followed by `swapon /dev/vg_training/lv_swap`.

Incorrect Answers

A:

A PV cannot be safely removed from a VG while it still contains required extents. This mechanism applies to another scenario: A dedicated LVM physical volume is no longer used by any allocated extents but remains listed in a training VG. The given lab state instead requires the more specific cause in the correct choice.

B:

LVM can have uneven free extent distribution across physical members. This mechanism applies to another scenario: A training PV reports little free space while its VG appears to have ample total capacity across a second PV. The given lab state instead requires the more specific cause in the correct choice.

D:

Removing one GPT partition differs from overwriting the entire partition table. This mechanism applies to another scenario: A trainee needs to delete one unused partition on a disposable GPT disk but proposes erasing the whole disk. The given lab state instead requires the more specific cause in the correct choice.

Question 500

For this Linux administration lab: A small swap logical volume on a training host is inactive after it has been created. Which safety and lifecycle check best prevents the same problem returning?

  1. Perform non-destructive detection before initializing any storage metadata.
  2. Record PV mapping before hardware maintenance and always verify device identification.
  3. Audit swap entries and device UUIDs after storage migrations.
  4. Record persistent swap configuration separately so availability survives reboot.

Explanation

Correct Answer

D:

Record persistent swap configuration separately so availability survives reboot. This guards against recurrence of: A logical volume is not active swap until formatted with swap metadata and enabled. Confirm the lab's final state by: `swapon --show` lists the intended swap device and `free -h` reflects its capacity.

Incorrect Answers

A:

Perform non-destructive detection before initializing any storage metadata. That control is best suited to a separate scenario: A newly attached block device is not visible to LVM because it is not yet recognized by the kernel. It is not the best safeguard for the current mechanism: A logical volume is not active swap until formatted with swap metadata and enabled.

B:

Record PV mapping before hardware maintenance and always verify device identification. That control is best suited to a separate scenario: An administrator needs to identify the data-bearing PVs behind an LV without relying on its friendly name. It is not the best safeguard for the current mechanism: A logical volume is not active swap until formatted with swap metadata and enabled.

C:

Audit swap entries and device UUIDs after storage migrations. That control is best suited to a separate scenario: A previously working swap LV disappears after restart because no persistent swap entry was configured. It is not the best safeguard for the current mechanism: A logical volume is not active swap until formatted with swap metadata and enabled.