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 22

Question 210

In a hands-on RHCSA practice VM, the assigned outcome was: A service check is intended to poll five named systemd units, but the script uses only the first literal unit. What specific verification would demonstrate the target state?

  1. A normal VM prints `present`; a fixture with a missing file returns a nonzero exit.
  2. The output contains one result per unit and no unrequested service is started.
  3. Known values 9 and 10 route to different expected branches.
  4. `head -n 1 script` shows the interpreter and direct execution uses the expected Bash features.

Explanation

Correct Answer

B:

The output contains one result per unit and no unrequested service is started. This check confirms the expected effect of: Use `for unit in sshd crond chronyd firewalld NetworkManager; do systemctl is-active "$unit"; done`. It distinguishes the intended result from the original failure mechanism: A `for` loop explicitly processes each named input rather than repeating one static check.

Incorrect Answers

A:

A normal VM prints `present`; a fixture with a missing file returns a nonzero exit. That verifies a separate lab task: A lab script must exit successfully only when `/etc/hosts` exists, but an unguarded command reports success in both cases. It does not validate the implementation required here: Use `for unit in sshd crond chronyd firewalld NetworkManager; do systemctl is-active "$unit"; done`.

C:

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 `for unit in sshd crond chronyd firewalld NetworkManager; do systemctl is-active "$unit"; done`.

D:

`head -n 1 script` shows the interpreter and direct execution uses the expected Bash features. That verifies a separate lab task: A shell helper is executed with `/bin/sh` but contains Bash-only syntax and fails on an alternate POSIX shell. It does not validate the implementation required here: Use `for unit in sshd crond chronyd firewalld NetworkManager; do systemctl is-active "$unit"; done`.

Question 211

A trainee is diagnosing: A service check is intended to poll five named systemd units, but the script uses only the first literal unit. Which root cause should they recognize before changing the system?

  1. Noninteractive jobs do not necessarily inherit an interactive user's PATH and shell initialization.
  2. A search command may return 1 for no matches and 2 for execution errors.
  3. A `for` loop explicitly processes each named input rather than repeating one static check.
  4. A nonzero command status must be checked when later actions depend on it.

Explanation

Correct Answer

C:

A `for` loop explicitly processes each named input rather than repeating one static check. This explains the task's initial state: A service check is intended to poll five named systemd units, but the script uses only the first literal unit. The supported lab action is: Use `for unit in sshd crond chronyd firewalld NetworkManager; do systemctl is-active "$unit"; done`.

Incorrect Answers

A:

Noninteractive jobs do not necessarily inherit an interactive user's PATH and shell initialization. This mechanism applies to another scenario: A cron-invoked script prints `command not found` for a utility present in the interactive user's shell. The given lab state instead requires the more specific cause in the correct choice.

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.

D:

A nonzero command status must be checked when later actions depend on it. This mechanism applies to another scenario: A backup script runs even when its destination directory cannot be created, silently losing its output. The given lab state instead requires the more specific cause in the correct choice.

Question 212

For this Linux administration lab: A service check is intended to poll five named systemd units, but the script uses only the first literal unit. Which safety and lifecycle check best prevents the same problem returning?

  1. Quote substituted variables and test outputs when constructing paths or configuration.
  2. Declare interpreter requirements and run shell syntax checks before deployment.
  3. Use explicit failure propagation rather than chaining dependent operations unconditionally.
  4. Log unit names with their status and flag any inactive required service.

Explanation

Correct Answer

D:

Log unit names with their status and flag any inactive required service. This guards against recurrence of: A `for` loop explicitly processes each named input rather than repeating one static check. Confirm the lab's final state by: The output contains one result per unit and no unrequested service is started.

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: A `for` loop explicitly processes each named input rather than repeating one static check.

B:

Declare interpreter requirements and run shell syntax checks before deployment. That control is best suited to a separate scenario: A shell helper is executed with `/bin/sh` but contains Bash-only syntax and fails on an alternate POSIX shell. It is not the best safeguard for the current mechanism: A `for` loop explicitly processes each named input rather than repeating one static check.

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: A `for` loop explicitly processes each named input rather than repeating one static check.

Question 213

A student working on a test RHEL10 instance receives this assignment: A technician needs to switch the currently running lab host from its GUI session to a non-graphical target without changing future boots. Which answer gives the correct practical approach?

  1. Run `sudo tuned-adm list`, select an installed suitable profile using `sudo tuned-adm profile throughput-performance`.
  2. Run `sudo systemctl isolate multi-user.target` from a safe local console, keeping a recovery path.
  3. Enable supported persistent systemd journal storage, such as creating `/var/log/journal` with correct ownership and restarting `systemd-journald` as documented.
  4. Use `scp -p /tmp/diagnostics.tgz student@labhost:/home/student/` with an authenticated host key.

Explanation

Correct Answer

B:

Run `sudo systemctl isolate multi-user.target` from a safe local console, keeping a recovery path. This directly addresses the lab target: A technician needs to switch the currently running lab host from its GUI session to a non-graphical target without changing future boots. The underlying behavior is: `isolate` changes current target state rather than the saved default target. Verification: `systemctl list-units --type=target --state=active` shows multi-user operation, while `get-default` remains unchanged.

Incorrect Answers

A:

Run `sudo tuned-adm list`, select an installed suitable profile using `sudo tuned-adm profile throughput-performance`. This is an appropriate step for a DIFFERENT exercise, specifically: The team wants a consistent throughput-oriented system tuning profile during a disposable performance experiment. It does not address the required lab state, whose mechanism is: `isolate` changes current target state rather than the saved default target.

C:

Enable supported persistent systemd journal storage, such as creating `/var/log/journal` with correct ownership and restarting `systemd-journald` as documented. This is an appropriate step for a DIFFERENT exercise, specifically: A lab incident must be reconstructed after reboot but `journalctl -b -1` has no previous-boot records due to volatile journaling. It does not address the required lab state, whose mechanism is: `isolate` changes current target state rather than the saved default target.

D:

Use `scp -p /tmp/diagnostics.tgz student@labhost:/home/student/` with an authenticated host key. This is an appropriate step for a DIFFERENT exercise, specifically: A lab workstation must copy a sensitive diagnostic bundle to a remote node without exposing it to an insecure plain-text transfer. It does not address the required lab state, whose mechanism is: `isolate` changes current target state rather than the saved default target.

Question 214

You have attempted this task on a test RHEL10 instance: A technician needs to switch the currently running lab host from its GUI session to a non-graphical target without changing future boots. Which command output or observation best confirms its success?

  1. `ps -o pid,ni,comm -p <verified-pid>` displays the updated positive nice value.
  2. `tuned-adm active` reports the profile and the performance test uses its documented settings.
  3. `systemctl list-units --type=target --state=active` shows multi-user operation, while `get-default` remains unchanged.
  4. The destination file exists with expected checksum and SSH encrypted transport.

Explanation

Correct Answer

C:

`systemctl list-units --type=target --state=active` shows multi-user operation, while `get-default` remains unchanged. This check confirms the expected effect of: Run `sudo systemctl isolate multi-user.target` from a safe local console, keeping a recovery path. It distinguishes the intended result from the original failure mechanism: `isolate` changes current target state rather than the saved default target.

Incorrect Answers

A:

`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 systemctl isolate multi-user.target` from a safe local console, keeping a recovery path.

B:

`tuned-adm active` reports the profile and the performance test uses its documented settings. That verifies a separate lab task: The team wants a consistent throughput-oriented system tuning profile during a disposable performance experiment. It does not validate the implementation required here: Run `sudo systemctl isolate multi-user.target` from a safe local console, keeping a recovery path.

D:

The destination file exists with expected checksum and SSH encrypted transport. That verifies a separate lab task: A lab workstation must copy a sensitive diagnostic bundle to a remote node without exposing it to an insecure plain-text transfer. It does not validate the implementation required here: Run `sudo systemctl isolate multi-user.target` from a safe local console, keeping a recovery path.

Question 215

Troubleshoot the following RHEL 10 lab situation: A technician needs to switch the currently running lab host from its GUI session to a non-graphical target without changing future boots. Identify the key Linux mechanism behind the issue.

  1. Tuned applies a named set of system tuning policies rather than one ad hoc kernel setting.
  2. Volatile journaling stored only in runtime memory may disappear on restart.
  3. Starting a systemd service affects the current boot while enabling creates persistent startup dependencies.
  4. `isolate` changes current target state rather than the saved default target.

Explanation

Correct Answer

D:

`isolate` changes current target state rather than the saved default target. This explains the task's initial state: A technician needs to switch the currently running lab host from its GUI session to a non-graphical target without changing future boots. The supported lab action is: Run `sudo systemctl isolate multi-user.target` from a safe local console, keeping a recovery path.

Incorrect Answers

A:

Tuned applies a named set of system tuning policies rather than one ad hoc kernel setting. This mechanism applies to another scenario: The team wants a consistent throughput-oriented system tuning profile during a disposable performance experiment. The given lab state instead requires the more specific cause in the correct choice.

B:

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.

C:

Starting a systemd service affects the current boot while enabling creates persistent startup dependencies. This mechanism applies to another scenario: The lab web service starts manually but is inactive after every VM restart, even though the package is installed. The given lab state instead requires the more specific cause in the correct choice.

Question 216

Following lab verification, document the preventive or persistence-oriented procedure for: A technician needs to switch the currently running lab host from its GUI session to a non-graphical target without changing future boots. Which practice is most suitable?

  1. Choose `set-default` or `isolate` deliberately and avoid losing the only remote access channel.
  2. Include interface-specific listener verification in network service acceptance tests.
  3. Include explicit action and target hostname in approved shutdown runbooks.
  4. Protect physical/virtual console access and document emergency recovery approvals.

Explanation

Correct Answer

A:

Choose `set-default` or `isolate` deliberately and avoid losing the only remote access channel. This guards against recurrence of: `isolate` changes current target state rather than the saved default target. Confirm the lab's final state by: `systemctl list-units --type=target --state=active` shows multi-user operation, while `get-default` remains unchanged.

Incorrect Answers

B:

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: `isolate` changes current target state rather than the saved default target.

C:

Include explicit action and target hostname in approved shutdown runbooks. That control is best suited to a separate scenario: A team is shutting down a disposable server immediately but an operator issues `reboot` instead of a power-off. It is not the best safeguard for the current mechanism: `isolate` changes current target state rather than the saved default target.

D:

Protect physical/virtual console access and document emergency recovery approvals. That control is best suited to a separate scenario: An administrator forgot an isolated training VM's root password and is asked to restore authorized console access. It is not the best safeguard for the current mechanism: `isolate` changes current target state rather than the saved default target.

Question 217

On an isolated enterprise lab VM, perform the following practical task: Two fresh disposable LVM partitions must become one storage pool for a new application. Which action should be carried out after confirming the lab prerequisites?

  1. After backup and unmount verification, remove only the group’s authorized disposable LVs, then `vgremove vg_disposable`.
  2. Initialize the verified new PV and run `vgextend vg_training /dev/vdd1`.
  3. Use `vgcreate vg_training /dev/vdb1 /dev/vdc1` after confirming both are dedicated PVs.
  4. Unmount the disposable LV's filesystem, verify `findmnt` and active holders, then use `lvremove /dev/vg_training/lv_tmp` with review.

Explanation

Correct Answer

C:

Use `vgcreate vg_training /dev/vdb1 /dev/vdc1` after confirming both are dedicated PVs. This directly addresses the lab target: Two fresh disposable LVM partitions must become one storage pool for a new application. The underlying behavior is: A volume group aggregates free extents from one or more physical volumes. Verification: `vgs vg_training` displays the total size and `pvs` maps both PVs to the group.

Incorrect Answers

A:

After backup and unmount verification, remove only the group’s authorized disposable LVs, then `vgremove vg_disposable`. This is an appropriate step for a DIFFERENT exercise, specifically: A volume group is to be retired in a disposable lab, but it still contains active LVs and the student tries `vgremove` immediately. It does not address the required lab state, whose mechanism is: A volume group aggregates free extents from one or more physical volumes.

B:

Initialize the verified new PV and run `vgextend vg_training /dev/vdd1`. This is an appropriate step for a DIFFERENT exercise, specifically: An existing volume group needs more capacity, and a new dedicated blank PV has been attached. It does not address the required lab state, whose mechanism is: A volume group aggregates free extents from one or more physical volumes.

D:

Unmount the disposable LV's filesystem, verify `findmnt` and active holders, then use `lvremove /dev/vg_training/lv_tmp` with review. This is an appropriate step for a DIFFERENT exercise, specifically: A test operator removed a block LV without first unmounting it, risking a busy-device error or data loss. It does not address the required lab state, whose mechanism is: A volume group aggregates free extents from one or more physical volumes.

Question 218

The lab examiner asks for evidence after this assignment: Two fresh disposable LVM partitions must become one storage pool for a new application. What is the decisive verification step?

  1. `swapon --show` lists the LV after controlled reboot and `findmnt --verify` finds no fstab error.
  2. `vgs vg_training` reports increased free space and `pvs` shows the new member assigned.
  3. `swapon --show` lists the intended swap device and `free -h` reflects its capacity.
  4. `vgs vg_training` displays the total size and `pvs` maps both PVs to the group.

Explanation

Correct Answer

D:

`vgs vg_training` displays the total size and `pvs` maps both PVs to the group. This check confirms the expected effect of: Use `vgcreate vg_training /dev/vdb1 /dev/vdc1` after confirming both are dedicated PVs. It distinguishes the intended result from the original failure mechanism: A volume group aggregates free extents from one or more physical volumes.

Incorrect Answers

A:

`swapon --show` lists the LV after controlled reboot and `findmnt --verify` finds no fstab error. That verifies a separate lab task: A previously working swap LV disappears after restart because no persistent swap entry was configured. It does not validate the implementation required here: Use `vgcreate vg_training /dev/vdb1 /dev/vdc1` after confirming both are dedicated PVs.

B:

`vgs vg_training` reports increased free space and `pvs` shows the new member assigned. That verifies a separate lab task: An existing volume group needs more capacity, and a new dedicated blank PV has been attached. It does not validate the implementation required here: Use `vgcreate vg_training /dev/vdb1 /dev/vdc1` after confirming both are dedicated PVs.

C:

`swapon --show` lists the intended swap device and `free -h` reflects its capacity. That verifies a separate lab task: A small swap logical volume on a training host is inactive after it has been created. It does not validate the implementation required here: Use `vgcreate vg_training /dev/vdb1 /dev/vdc1` after confirming both are dedicated PVs.

Question 219

A training host has this situation: Two fresh disposable LVM partitions must become one storage pool for a new application. Which system behavior best explains the original failure or risk?

  1. A volume group aggregates free extents from one or more physical volumes.
  2. `-l` allocates extents and supports percentage modifiers, unlike the size option `-L`.
  3. Swap can reside on a partition or LV but still needs swap metadata and activation.
  4. A GPT partition requires explicit start/end boundaries; unsafe offsets can overlap or misalign data.

Explanation

Correct Answer

A:

A volume group aggregates free extents from one or more physical volumes. This explains the task's initial state: Two fresh disposable LVM partitions must become one storage pool for a new application. The supported lab action is: Use `vgcreate vg_training /dev/vdb1 /dev/vdc1` after confirming both are dedicated PVs.

Incorrect Answers

B:

`-l` allocates extents and supports percentage modifiers, unlike the size option `-L`. This mechanism applies to another scenario: An LV should consume precisely 20% of remaining free extents for a training scratch workload. The given lab state instead requires the more specific cause in the correct choice.

C:

Swap can reside on a partition or LV but still needs swap metadata and activation. This mechanism applies to another scenario: A VM needs a dedicated 1 GiB swap partition on an explicitly empty GPT training disk instead of an LVM swap LV. The given lab state instead requires the more specific cause in the correct choice.

D:

A GPT partition requires explicit start/end boundaries; unsafe offsets can overlap or misalign data. This mechanism applies to another scenario: A verified blank GPT training disk needs one new 1 GiB partition with appropriate alignment. The given lab state instead requires the more specific cause in the correct choice.

Question 220

A student has implemented the following configuration: Two fresh disposable LVM partitions must become one storage pool for a new application. What repeatable control best reduces regressions or unsafe changes?

  1. Include a full storage dependency diagram in change requests.
  2. Use descriptive VG names and verify physical member lists before changes.
  3. Check `vgs` free extents before provisioning and keep names consistent with service inventory.
  4. Plan LV resizing and compatible filesystem growth as separate verified steps.

Explanation

Correct Answer

B:

Use descriptive VG names and verify physical member lists before changes. This guards against recurrence of: A volume group aggregates free extents from one or more physical volumes. Confirm the lab's final state by: `vgs vg_training` displays the total size and `pvs` maps both PVs to the group.

Incorrect Answers

A:

Include a full storage dependency diagram in change requests. That control is best suited to a separate scenario: An operator confuses a partition number with an LVM logical volume name when looking for a mounted database. It is not the best safeguard for the current mechanism: A volume group aggregates free extents from one or more physical volumes.

C:

Check `vgs` free extents before provisioning and keep names consistent with service inventory. That control is best suited to a separate scenario: An LVM volume group `vg_training` exists and a test database requires a new 2 GiB logical volume. It is not the best safeguard for the current mechanism: A volume group aggregates free extents from one or more physical volumes.

D:

Plan LV resizing and compatible filesystem growth as separate verified steps. That control is best suited to a separate scenario: An online lab volume needs another 1 GiB of block capacity but its administrator attempts to grow the filesystem without changing the LV. It is not the best safeguard for the current mechanism: A volume group aggregates free extents from one or more physical volumes.