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 10

Question 90

The lab examiner asks for evidence after this assignment: A housekeeping script must print each user-provided directory rather than always print one hard-coded value. What is the decisive verification step?

  1. The file `/tmp/lab reports/status.txt` receives the line and no extra files are created.
  2. Known values 9 and 10 route to different expected branches.
  3. The printed host label matches `hostname -s` without treating it as an executable.
  4. Arguments containing spaces are printed as single intended entries and the loop count matches input count.

Explanation

Correct Answer

D:

Arguments containing spaces are printed as single intended entries and the loop count matches input count. This check confirms the expected effect of: Use `for dir in "$@"; do printf '%s\n' "$dir"; done` with arguments supplied at invocation. It distinguishes the intended result from the original failure mechanism: Quoting `"$@"` preserves positional argument boundaries for safe shell iteration.

Incorrect Answers

A:

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 `for dir in "$@"; do printf '%s\n' "$dir"; done` with arguments supplied at invocation.

B:

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 dir in "$@"; do printf '%s\n' "$dir"; done` with arguments supplied at invocation.

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 `for dir in "$@"; do printf '%s\n' "$dir"; done` with arguments supplied at invocation.

Question 91

A training host has this situation: A housekeeping script must print each user-provided directory rather than always print one hard-coded value. Which system behavior best explains the original failure or risk?

  1. Quoting `"$@"` preserves positional argument boundaries for safe shell iteration.
  2. Noninteractive jobs do not necessarily inherit an interactive user's PATH and shell initialization.
  3. Command substitution captures a command's standard output as data.
  4. A shell condition requires an explicit test and controlled success/failure branches.

Explanation

Correct Answer

A:

Quoting `"$@"` preserves positional argument boundaries for safe shell iteration. This explains the task's initial state: A housekeeping script must print each user-provided directory rather than always print one hard-coded value. The supported lab action is: Use `for dir in "$@"; do printf '%s\n' "$dir"; done` with arguments supplied at invocation.

Incorrect Answers

B:

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.

C:

Command substitution captures a command's standard output as data. This mechanism applies to another scenario: A shell script writes raw command output but needs its first line to include the current hostname from the target host. The given lab state instead requires the more specific cause in the correct choice.

D:

A shell condition requires an explicit test and controlled success/failure branches. This mechanism applies to another scenario: A lab script must exit successfully only when `/etc/hosts` exists, but an unguarded command reports success in both cases. The given lab state instead requires the more specific cause in the correct choice.

Question 92

A student has implemented the following configuration: A housekeeping script must print each user-provided directory rather than always print one hard-coded value. What repeatable control best reduces regressions or unsafe changes?

  1. Check numeric input validity before threshold decisions.
  2. Check input count and quote expanded paths in every filesystem loop.
  3. Test mixed file-and-directory fixtures before relying on loops.
  4. Choose exact process selectors and check for ambiguous multiple matches.

Explanation

Correct Answer

B:

Check input count and quote expanded paths in every filesystem loop. This guards against recurrence of: Quoting `"$@"` preserves positional argument boundaries for safe shell iteration. Confirm the lab's final state by: Arguments containing spaces are printed as single intended entries and the loop count matches input count.

Incorrect Answers

A:

Check numeric input validity before threshold decisions. That control is best suited to a separate scenario: A script's `if` statement tests a numeric threshold using string comparison and misorders the values 9 and 10. It is not the best safeguard for the current mechanism: Quoting `"$@"` preserves positional argument boundaries for safe shell iteration.

C:

Test mixed file-and-directory fixtures before relying on loops. That control is best suited to a separate scenario: A daily job must print only directories under a sample tree but currently loops through both files and directories. It is not the best safeguard for the current mechanism: Quoting `"$@"` preserves positional argument boundaries for safe shell iteration.

D:

Choose exact process selectors and check for ambiguous multiple matches. That control is best suited to a separate scenario: A maintenance script must report whether a given process name exists without exiting with a misleading success status. It is not the best safeguard for the current mechanism: Quoting `"$@"` preserves positional argument boundaries for safe shell iteration.

Question 93

You are responsible for a test RHEL10 instance. The required hands-on outcome is: An application configuration was changed on disk, but the running daemon still uses the previous settings. Select the most appropriate implementation step.

  1. Send `kill -TERM <verified-pid>`, check graceful exit, and only escalate to `kill -KILL` for that confirmed PID if necessary.
  2. Use `renice +10 -p <verified-pid>` with appropriate privileges and permissions.
  3. Use `sudo systemctl poweroff` after confirming the host and notifying the local lab.
  4. Validate the new configuration and execute `sudo systemctl restart lab-daemon.service` where a restart is the supported reload mechanism.

Explanation

Correct Answer

D:

Validate the new configuration and execute `sudo systemctl restart lab-daemon.service` where a restart is the supported reload mechanism. This directly addresses the lab target: An application configuration was changed on disk, but the running daemon still uses the previous settings. The underlying behavior is: Editing a configuration file does not necessarily reload a running process. Verification: `systemctl show -p ActiveState lab-daemon.service` is healthy and an end-to-end test reflects the updated setting.

Incorrect Answers

A:

Send `kill -TERM <verified-pid>`, check graceful exit, and only escalate to `kill -KILL` for that confirmed PID if necessary. This is an appropriate step for a DIFFERENT exercise, specifically: A noncritical lab job ignores a termination request, but its process remains and an admin proposes killing all similarly named jobs. It does not address the required lab state, whose mechanism is: Editing a configuration file does not necessarily reload a running process.

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: Editing a configuration file does not necessarily reload a running process.

C:

Use `sudo systemctl poweroff` after confirming the host and notifying the local lab. This is an appropriate step for a DIFFERENT exercise, specifically: A team is shutting down a disposable server immediately but an operator issues `reboot` instead of a power-off. It does not address the required lab state, whose mechanism is: Editing a configuration file does not necessarily reload a running process.

Question 94

After a lab configuration change, verify: An application configuration was changed on disk, but the running daemon still uses the previous settings. Which result most directly proves the desired system state?

  1. `systemctl show -p ActiveState lab-daemon.service` is healthy and an end-to-end test reflects the updated setting.
  2. `ps -o pid,ni,comm -p <verified-pid>` displays the updated positive nice value.
  3. `systemctl list-units --type=target --state=active` shows multi-user operation, while `get-default` remains unchanged.
  4. `tuned-adm active` reports the profile and the performance test uses its documented settings.

Explanation

Correct Answer

A:

`systemctl show -p ActiveState lab-daemon.service` is healthy and an end-to-end test reflects the updated setting. This check confirms the expected effect of: Validate the new configuration and execute `sudo systemctl restart lab-daemon.service` where a restart is the supported reload mechanism. It distinguishes the intended result from the original failure mechanism: Editing a configuration file does not necessarily reload a running process.

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: Validate the new configuration and execute `sudo systemctl restart lab-daemon.service` where a restart is the supported reload mechanism.

C:

`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: Validate the new configuration and execute `sudo systemctl restart lab-daemon.service` where a restart is the supported reload mechanism.

D:

`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: Validate the new configuration and execute `sudo systemctl restart lab-daemon.service` where a restart is the supported reload mechanism.

Question 95

In an EX200-style practice lab, this condition exists: An application configuration was changed on disk, but the running daemon still uses the previous settings. Which explanation correctly identifies the underlying issue?

  1. Service enablement controls boot dependencies; it does not establish successful execution.
  2. Editing a configuration file does not necessarily reload a running process.
  3. An orderly reboot coordinates service shutdown and filesystem synchronization.
  4. A stopped systemd unit does not begin accepting network connections even if firewall access is permitted.

Explanation

Correct Answer

B:

Editing a configuration file does not necessarily reload a running process. This explains the task's initial state: An application configuration was changed on disk, but the running daemon still uses the previous settings. The supported lab action is: Validate the new configuration and execute `sudo systemctl restart lab-daemon.service` where a restart is the supported reload mechanism.

Incorrect Answers

A:

Service enablement controls boot dependencies; it does not establish successful execution. This mechanism applies to another scenario: An application service fails to start but an administrator looks only at its unit's enabled state. The given lab state instead requires the more specific cause in the correct choice.

C:

An orderly reboot coordinates service shutdown and filesystem synchronization. This mechanism applies to another scenario: A lab system needs a controlled reboot after updates but the operator plans to unplug the virtual power without syncing writes. 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 96

After completing this practical task on a test RHEL10 instance: An application configuration was changed on disk, but the running daemon still uses the previous settings. Which operational safeguard helps keep the result correct and safe?

  1. Use precise filters in incident collection to retain reproducible evidence.
  2. Define process priority in managed service or scheduling configuration when permanence matters.
  3. Include validation, supported reload or restart, and functional checks in deployment procedures.
  4. Maintain documented persistent journal storage and retention limits for troubleshooting.

Explanation

Correct Answer

C:

Include validation, supported reload or restart, and functional checks in deployment procedures. This guards against recurrence of: Editing a configuration file does not necessarily reload a running process. Confirm the lab's final state by: `systemctl show -p ActiveState lab-daemon.service` is healthy and an end-to-end test reflects the updated setting.

Incorrect Answers

A:

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: Editing a configuration file does not necessarily reload a running process.

B:

Define process priority in managed service or scheduling configuration when permanence matters. That control is best suited to a separate scenario: A background indexing job should start with a lower CPU scheduling priority from its first instruction. It is not the best safeguard for the current mechanism: Editing a configuration file does not necessarily reload a running process.

D:

Maintain documented persistent journal storage and retention limits for troubleshooting. That control is best suited to a separate scenario: A lab incident must be reconstructed after reboot but `journalctl -b -1` has no previous-boot records due to volatile journaling. It is not the best safeguard for the current mechanism: Editing a configuration file does not necessarily reload a running process.

Question 97

Lab exercise on an isolated enterprise lab VM: A verified blank GPT training disk needs one new 1 GiB partition with appropriate alignment. Which proposed RHEL 10 command or configuration action most directly achieves the required lab state?

  1. Use `parted -s /dev/vdb mkpart primary 1MiB 1025MiB` and then `partprobe /dev/vdb` on the disposable disk.
  2. Run `lvextend -L +1G /dev/vg_training/lv_db` after verifying free extents and the intended LV.
  3. After verified free space, create a GPT Linux swap partition, use `mkswap` on that dedicated new partition and activate with `swapon`.
  4. Identify the unused partition number, verify no mounts, then use `parted -s /dev/vdb rm 2` on the training disk.

Explanation

Correct Answer

A:

Use `parted -s /dev/vdb mkpart primary 1MiB 1025MiB` and then `partprobe /dev/vdb` on the disposable disk. This directly addresses the lab target: A verified blank GPT training disk needs one new 1 GiB partition with appropriate alignment. The underlying behavior is: A GPT partition requires explicit start/end boundaries; unsafe offsets can overlap or misalign data. Verification: `lsblk /dev/vdb` shows the expected roughly 1-GiB partition with no neighboring devices altered.

Incorrect Answers

B:

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: A GPT partition requires explicit start/end boundaries; unsafe offsets can overlap or misalign data.

C:

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 GPT partition requires explicit start/end boundaries; unsafe offsets can overlap or misalign data.

D:

Identify the unused partition number, verify no mounts, then use `parted -s /dev/vdb rm 2` on the training disk. This is an appropriate step for a DIFFERENT exercise, specifically: A trainee needs to delete one unused partition on a disposable GPT disk but proposes erasing the whole disk. It does not address the required lab state, whose mechanism is: A GPT partition requires explicit start/end boundaries; unsafe offsets can overlap or misalign data.

Question 98

In a hands-on RHCSA practice VM, the assigned outcome was: A verified blank GPT training disk needs one new 1 GiB partition with appropriate alignment. What specific verification would demonstrate the target state?

  1. `vgs vg_training` displays the total size and `pvs` maps both PVs to the group.
  2. `lsblk /dev/vdb` shows the expected roughly 1-GiB partition with no neighboring devices altered.
  3. The volume group reports sufficient free extents before the successful resize.
  4. The resulting mapping identifies filesystem to LV to VG to PV without changing data.

Explanation

Correct Answer

B:

`lsblk /dev/vdb` shows the expected roughly 1-GiB partition with no neighboring devices altered. This check confirms the expected effect of: Use `parted -s /dev/vdb mkpart primary 1MiB 1025MiB` and then `partprobe /dev/vdb` on the disposable disk. It distinguishes the intended result from the original failure mechanism: A GPT partition requires explicit start/end boundaries; unsafe offsets can overlap or misalign data.

Incorrect Answers

A:

`vgs vg_training` displays the total size and `pvs` maps both PVs to the group. That verifies a separate lab task: Two fresh disposable LVM partitions must become one storage pool for a new application. It does not validate the implementation required here: Use `parted -s /dev/vdb mkpart primary 1MiB 1025MiB` and then `partprobe /dev/vdb` on the disposable disk.

C:

The volume group reports sufficient free extents before the successful resize. That verifies a separate lab task: An LV from a disposable VG has no free extents to grow, and the operator repeatedly retries `lvextend`. It does not validate the implementation required here: Use `parted -s /dev/vdb mkpart primary 1MiB 1025MiB` and then `partprobe /dev/vdb` on the disposable disk.

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: Use `parted -s /dev/vdb mkpart primary 1MiB 1025MiB` and then `partprobe /dev/vdb` on the disposable disk.

Question 99

A trainee is diagnosing: A verified blank GPT training disk needs one new 1 GiB partition with appropriate alignment. Which root cause should they recognize before changing the system?

  1. A volume group with existing required LVs cannot be treated as an empty pool.
  2. Logical volume capacity and filesystem capacity are distinct layers.
  3. A GPT partition requires explicit start/end boundaries; unsafe offsets can overlap or misalign data.
  4. Swap can reside on a partition or LV but still needs swap metadata and activation.

Explanation

Correct Answer

C:

A GPT partition requires explicit start/end boundaries; unsafe offsets can overlap or misalign data. This explains the task's initial state: A verified blank GPT training disk needs one new 1 GiB partition with appropriate alignment. The supported lab action is: Use `parted -s /dev/vdb mkpart primary 1MiB 1025MiB` and then `partprobe /dev/vdb` on the disposable disk.

Incorrect Answers

A:

A volume group with existing required LVs cannot be treated as an empty pool. This mechanism applies to another scenario: A volume group is to be retired in a disposable lab, but it still contains active LVs and the student tries `vgremove` immediately. The given lab state instead requires the more specific cause in the correct choice.

B:

Logical volume capacity and filesystem capacity are distinct layers. This mechanism applies to another scenario: An online lab volume needs another 1 GiB of block capacity but its administrator attempts to grow the filesystem without changing the LV. The given lab state instead requires the more specific cause in the correct choice.

D:

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.

Question 100

For this Linux administration lab: A verified blank GPT training disk needs one new 1 GiB partition with appropriate alignment. Which safety and lifecycle check best prevents the same problem returning?

  1. Inspect device signatures and mount holders before PV creation.
  2. Confirm exact partition number, holders and backups before partition deletion.
  3. Include a full storage dependency diagram in change requests.
  4. Check free space and partition start/end positions before and after a partition operation.

Explanation

Correct Answer

D:

Check free space and partition start/end positions before and after a partition operation. This guards against recurrence of: A GPT partition requires explicit start/end boundaries; unsafe offsets can overlap or misalign data. Confirm the lab's final state by: `lsblk /dev/vdb` shows the expected roughly 1-GiB partition with no neighboring devices altered.

Incorrect Answers

A:

Inspect device signatures and mount holders before PV creation. That control is best suited to a separate scenario: A blank LVM lab partition `/dev/vdb1` exists but cannot be added to a volume group until initialized. It is not the best safeguard for the current mechanism: A GPT partition requires explicit start/end boundaries; unsafe offsets can overlap or misalign data.

B:

Confirm exact partition number, holders and backups before partition deletion. That control is best suited to a separate scenario: A trainee needs to delete one unused partition on a disposable GPT disk but proposes erasing the whole disk. It is not the best safeguard for the current mechanism: A GPT partition requires explicit start/end boundaries; unsafe offsets can overlap or misalign data.

C:

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 GPT partition requires explicit start/end boundaries; unsafe offsets can overlap or misalign data.