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 79

Question 780

A student has implemented the following configuration: A junior administrator wants usage examples for a locally installed system package but searches an unrelated online version. What repeatable control best reduces regressions or unsafe changes?

  1. Verify record delimiters and test scripts against a representative sample before aggregating.
  2. Use local package docs and `rpm -q` version in the maintenance record.
  3. Document expected casing and include known positive cases when testing log filters.
  4. Use append mode for accumulation and rotate retained logs when they exceed capacity limits.

Explanation

Correct Answer

B:

Use local package docs and `rpm -q` version in the maintenance record. This guards against recurrence of: Installed package documentation may match the actual deployed version better than generic Internet notes. Confirm the lab's final state by: The displayed files belong to the installed package release and provide its appropriate local examples.

Incorrect Answers

A:

Verify record delimiters and test scripts against a representative sample before aggregating. That control is best suited to a separate scenario: A training data file lists one account per line, and the goal is counting accounts whose shells are `/bin/bash`. It is not the best safeguard for the current mechanism: Installed package documentation may match the actual deployed version better than generic Internet notes.

C:

Document expected casing and include known positive cases when testing log filters. That control is best suited to a separate scenario: An incident report contains both `ERROR` and `error`, but the investigation intentionally needs case-insensitive matching. It is not the best safeguard for the current mechanism: Installed package documentation may match the actual deployed version better than generic Internet notes.

D:

Use append mode for accumulation and rotate retained logs when they exceed capacity limits. That control is best suited to a separate scenario: An hourly shell job unintentionally overwrites yesterday's operational notes each time it records a new line. It is not the best safeguard for the current mechanism: Installed package documentation may match the actual deployed version better than generic Internet notes.

Question 781

You are responsible for a local virtualization classroom. The required hands-on outcome is: An administrator wants to grow a logical volume and its XFS filesystem together for a disposable data directory. Select the most appropriate implementation step.

  1. Use `parted -s /dev/vdb mkpart primary 1MiB 1025MiB` and then `partprobe /dev/vdb` on the disposable disk.
  2. Use `vgcreate vg_training /dev/vdb1 /dev/vdc1` after confirming both are dedicated PVs.
  3. After independently confirming `/dev/vdb` is the disposable target, run `parted -s /dev/vdb mklabel gpt`.
  4. After confirming the mounted XFS LV and free VG capacity, use `lvextend -r -L +2G /dev/vg_training/lv_data` if the supported tools are available.

Explanation

Correct Answer

D:

After confirming the mounted XFS LV and free VG capacity, use `lvextend -r -L +2G /dev/vg_training/lv_data` if the supported tools are available. This directly addresses the lab target: An administrator wants to grow a logical volume and its XFS filesystem together for a disposable data directory. The underlying behavior is: LVM `-r` invokes filesystem resize handling, unlike block-only extension. Verification: `lvs` and `df -h /srv/data` both show the expanded LV and filesystem.

Incorrect Answers

A:

Use `parted -s /dev/vdb mkpart primary 1MiB 1025MiB` and then `partprobe /dev/vdb` on the disposable disk. This is an appropriate step for a DIFFERENT exercise, specifically: A verified blank GPT training disk needs one new 1 GiB partition with appropriate alignment. It does not address the required lab state, whose mechanism is: LVM `-r` invokes filesystem resize handling, unlike block-only extension.

B:

Use `vgcreate vg_training /dev/vdb1 /dev/vdc1` after confirming both are dedicated PVs. This is an appropriate step for a DIFFERENT exercise, specifically: Two fresh disposable LVM partitions must become one storage pool for a new application. It does not address the required lab state, whose mechanism is: LVM `-r` invokes filesystem resize handling, unlike block-only extension.

C:

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: LVM `-r` invokes filesystem resize handling, unlike block-only extension.

Question 782

After a lab configuration change, verify: An administrator wants to grow a logical volume and its XFS filesystem together for a disposable data directory. Which result most directly proves the desired system state?

  1. `lvs` and `df -h /srv/data` both show the expanded LV and filesystem.
  2. The report accurately explains why a constrained allocation on the first PV differs from total VG capacity.
  3. `swapon --show` lists the LV after controlled reboot and `findmnt --verify` finds no fstab error.
  4. `pvs /dev/vdb1` shows a physical volume and no other disk was initialized.

Explanation

Correct Answer

A:

`lvs` and `df -h /srv/data` both show the expanded LV and filesystem. This check confirms the expected effect of: After confirming the mounted XFS LV and free VG capacity, use `lvextend -r -L +2G /dev/vg_training/lv_data` if the supported tools are available. It distinguishes the intended result from the original failure mechanism: LVM `-r` invokes filesystem resize handling, unlike block-only extension.

Incorrect Answers

B:

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: After confirming the mounted XFS LV and free VG capacity, use `lvextend -r -L +2G /dev/vg_training/lv_data` if the supported tools are available.

C:

`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: After confirming the mounted XFS LV and free VG capacity, use `lvextend -r -L +2G /dev/vg_training/lv_data` if the supported tools are available.

D:

`pvs /dev/vdb1` shows a physical volume and no other disk was initialized. That verifies a separate lab task: A blank LVM lab partition `/dev/vdb1` exists but cannot be added to a volume group until initialized. It does not validate the implementation required here: After confirming the mounted XFS LV and free VG capacity, use `lvextend -r -L +2G /dev/vg_training/lv_data` if the supported tools are available.

Question 783

In an EX200-style practice lab, this condition exists: An administrator wants to grow a logical volume and its XFS filesystem together for a disposable data directory. Which explanation correctly identifies the underlying issue?

  1. A logical volume is not active swap until formatted with swap metadata and enabled.
  2. LVM `-r` invokes filesystem resize handling, unlike block-only extension.
  3. A volume group with existing required LVs cannot be treated as an empty pool.
  4. LVM volume names hide physical extent mapping that matters during disk replacement.

Explanation

Correct Answer

B:

LVM `-r` invokes filesystem resize handling, unlike block-only extension. This explains the task's initial state: An administrator wants to grow a logical volume and its XFS filesystem together for a disposable data directory. The supported lab action is: After confirming the mounted XFS LV and free VG capacity, use `lvextend -r -L +2G /dev/vg_training/lv_data` if the supported tools are available.

Incorrect Answers

A:

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.

C:

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.

D:

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.

Question 784

After completing this practical task on a local virtualization classroom: An administrator wants to grow a logical volume and its XFS filesystem together for a disposable data directory. Which operational safeguard helps keep the result correct and safe?

  1. Record persistent swap configuration separately so availability survives reboot.
  2. Track approved PV additions in capacity records and test before growing filesystems.
  3. Verify final filesystem size and document that XFS supports growth but not shrink.
  4. Monitor free-extents capacity and set thresholds before service expansion.

Explanation

Correct Answer

C:

Verify final filesystem size and document that XFS supports growth but not shrink. This guards against recurrence of: LVM `-r` invokes filesystem resize handling, unlike block-only extension. Confirm the lab's final state by: `lvs` and `df -h /srv/data` both show the expanded LV and filesystem.

Incorrect Answers

A:

Record persistent swap configuration separately so availability survives reboot. That control is best suited to a separate scenario: A small swap logical volume on a training host is inactive after it has been created. It is not the best safeguard for the current mechanism: LVM `-r` invokes filesystem resize handling, unlike block-only extension.

B:

Track approved PV additions in capacity records and test before growing filesystems. That control is best suited to a separate scenario: An existing volume group needs more capacity, and a new dedicated blank PV has been attached. It is not the best safeguard for the current mechanism: LVM `-r` invokes filesystem resize handling, unlike block-only extension.

D:

Monitor free-extents capacity and set thresholds before service expansion. That control is best suited to a separate scenario: An LV from a disposable VG has no free extents to grow, and the operator repeatedly retries `lvextend`. It is not the best safeguard for the current mechanism: LVM `-r` invokes filesystem resize handling, unlike block-only extension.

Question 785

Lab exercise on a nonproduction Linux administration sandbox: A shell script is supposed to process every `.conf` file, but its wildcard is quoted as a single literal. Which proposed RHEL 10 command or configuration action most directly achieves the required lab state?

  1. Use unquoted glob expansion only for the intended directory, e.g. `for f in /tmp/lab-conf/*.conf; do ...; done`, with a no-match guard.
  2. Run `pwd`, then `cd /srv/labs/projectA` after checking it exists; use absolute paths for the target edit.
  3. Run `grep -in 'error' /var/log/labapp.log` against the prepared fixture.
  4. Run `chown student:analysts /srv/labs/summary.txt` on the training file and review its mode.

Explanation

Correct Answer

A:

Use unquoted glob expansion only for the intended directory, e.g. `for f in /tmp/lab-conf/*.conf; do ...; done`, with a no-match guard. This directly addresses the lab target: A shell script is supposed to process every `.conf` file, but its wildcard is quoted as a single literal. The underlying behavior is: Quoting the entire wildcard prevents pathname expansion; unmatched globs can also remain literal. Verification: A fixture with three matching files results in three distinct loop iterations and no literal asterisk filename.

Incorrect Answers

B:

Run `pwd`, then `cd /srv/labs/projectA` after checking it exists; use absolute paths for the target edit. This is an appropriate step for a DIFFERENT exercise, specifically: On a disposable RHEL 10 training host, an operator enters a nested work directory but later edits the wrong file because the current path was assumed. It does not address the required lab state, whose mechanism is: Quoting the entire wildcard prevents pathname expansion; unmatched globs can also remain literal.

C:

Run `grep -in 'error' /var/log/labapp.log` against the prepared fixture. This is an appropriate step for a DIFFERENT exercise, specifically: An incident report contains both `ERROR` and `error`, but the investigation intentionally needs case-insensitive matching. It does not address the required lab state, whose mechanism is: Quoting the entire wildcard prevents pathname expansion; unmatched globs can also remain literal.

D:

Run `chown student:analysts /srv/labs/summary.txt` on the training file and review its mode. This is an appropriate step for a DIFFERENT exercise, specifically: A text report was created by root, preventing the intended nonprivileged analyst from editing it. It does not address the required lab state, whose mechanism is: Quoting the entire wildcard prevents pathname expansion; unmatched globs can also remain literal.

Question 786

In a hands-on RHCSA practice VM, the assigned outcome was: A shell script is supposed to process every `.conf` file, but its wildcard is quoted as a single literal. What specific verification would demonstrate the target state?

  1. The extracted files match `tar -tjf` listing and reside under the lab restore directory.
  2. A fixture with three matching files results in three distinct loop iterations and no literal asterisk filename.
  3. `pwd` reports `/srv/labs/projectA` and `realpath ./notes.txt` resolves inside that directory.
  4. A successful SSH session connects to the expected lab host and `ss -tln` shows the listener on 2222.

Explanation

Correct Answer

B:

A fixture with three matching files results in three distinct loop iterations and no literal asterisk filename. This check confirms the expected effect of: Use unquoted glob expansion only for the intended directory, e.g. `for f in /tmp/lab-conf/*.conf; do ...; done`, with a no-match guard. It distinguishes the intended result from the original failure mechanism: Quoting the entire wildcard prevents pathname expansion; unmatched globs can also remain literal.

Incorrect Answers

A:

The extracted files match `tar -tjf` listing and reside under the lab restore directory. That verifies a separate lab task: A restore workflow is given a `.tar.bz2` training archive and a previous attempt used gzip extraction flags. It does not validate the implementation required here: Use unquoted glob expansion only for the intended directory, e.g. `for f in /tmp/lab-conf/*.conf; do ...; done`, with a no-match guard.

C:

`pwd` reports `/srv/labs/projectA` and `realpath ./notes.txt` resolves inside that directory. That verifies a separate lab task: On a disposable RHEL 10 training host, an operator enters a nested work directory but later edits the wrong file because the current path was assumed. It does not validate the implementation required here: Use unquoted glob expansion only for the intended directory, e.g. `for f in /tmp/lab-conf/*.conf; do ...; done`, with a no-match guard.

D:

A successful SSH session connects to the expected lab host and `ss -tln` shows the listener on 2222. That verifies a separate lab task: An SSH lab service listens on a deliberately nonstandard port 2222, but a tester keeps connecting to the default port. It does not validate the implementation required here: Use unquoted glob expansion only for the intended directory, e.g. `for f in /tmp/lab-conf/*.conf; do ...; done`, with a no-match guard.

Question 787

A trainee is diagnosing: A shell script is supposed to process every `.conf` file, but its wildcard is quoted as a single literal. Which root cause should they recognize before changing the system?

  1. Standard output is descriptor 1, while diagnostic errors are descriptor 2, requiring different redirection targets.
  2. Colon-separated account records require field-aware matching rather than substring searches.
  3. Quoting the entire wildcard prevents pathname expansion; unmatched globs can also remain literal.
  4. Using `-C` sets a stable archive root and gzip is selected using `-z`.

Explanation

Correct Answer

C:

Quoting the entire wildcard prevents pathname expansion; unmatched globs can also remain literal. This explains the task's initial state: A shell script is supposed to process every `.conf` file, but its wildcard is quoted as a single literal. The supported lab action is: Use unquoted glob expansion only for the intended directory, e.g. `for f in /tmp/lab-conf/*.conf; do ...; done`, with a no-match guard.

Incorrect Answers

A:

Standard output is descriptor 1, while diagnostic errors are descriptor 2, requiring different redirection targets. This mechanism applies to another scenario: An audit command prints successful results and permission-denied errors; the exercise requires separate normal and error logs. The given lab state instead requires the more specific cause in the correct choice.

B:

Colon-separated account records require field-aware matching rather than substring searches. This mechanism applies to another scenario: A training data file lists one account per line, and the goal is counting accounts whose shells are `/bin/bash`. The given lab state instead requires the more specific cause in the correct choice.

D:

Using `-C` sets a stable archive root and gzip is selected using `-z`. This mechanism applies to another scenario: A file collection must be archived with gzip while preserving its directory tree for off-host lab backup. The given lab state instead requires the more specific cause in the correct choice.

Question 788

For this Linux administration lab: A shell script is supposed to process every `.conf` file, but its wildcard is quoted as a single literal. Which safety and lifecycle check best prevents the same problem returning?

  1. Check installed manual pages and package documentation before writing production commands.
  2. Record host, port and expected key fingerprint in managed SSH client configuration.
  3. Require a dry-run match review before removing files in scripted maintenance jobs.
  4. Constrain glob paths and check match existence before iterating over files.

Explanation

Correct Answer

D:

Constrain glob paths and check match existence before iterating over files. This guards against recurrence of: Quoting the entire wildcard prevents pathname expansion; unmatched globs can also remain literal. Confirm the lab's final state by: A fixture with three matching files results in three distinct loop iterations and no literal asterisk filename.

Incorrect Answers

A:

Check installed manual pages and package documentation before writing production commands. That control is best suited to a separate scenario: The team needs the documented purpose and arguments of `systemctl` without accessing the Internet during training. It is not the best safeguard for the current mechanism: Quoting the entire wildcard prevents pathname expansion; unmatched globs can also remain literal.

B:

Record host, port and expected key fingerprint in managed SSH client configuration. That control is best suited to a separate scenario: An SSH lab service listens on a deliberately nonstandard port 2222, but a tester keeps connecting to the default port. It is not the best safeguard for the current mechanism: Quoting the entire wildcard prevents pathname expansion; unmatched globs can also remain literal.

C:

Require a dry-run match review before removing files in scripted maintenance jobs. That control is best suited to a separate scenario: A cleanup task targets temporary build artifacts, but a wildcard could accidentally match production data. It is not the best safeguard for the current mechanism: Quoting the entire wildcard prevents pathname expansion; unmatched globs can also remain literal.

Question 789

A student working on a test RHEL10 instance receives this assignment: An operator follows a live application log but accidentally reads only the first ten lines during troubleshooting. Which answer gives the correct practical approach?

  1. Run `pwd`, then `cd /srv/labs/projectA` after checking it exists; use absolute paths for the target edit.
  2. Use `tail -n 30 -f /tmp/labapp.log` to follow appended fixture events in a test terminal.
  3. Verify the server host-key fingerprint using an out-of-band lab inventory before accepting the key.
  4. Use `su -` (authorized lab credentials) or `sudo -i` to start an appropriate login environment.

Explanation

Correct Answer

B:

Use `tail -n 30 -f /tmp/labapp.log` to follow appended fixture events in a test terminal. This directly addresses the lab target: An operator follows a live application log but accidentally reads only the first ten lines during troubleshooting. The underlying behavior is: `tail -f` follows appended file content rather than providing only a static initial snapshot. Verification: A newly appended training event appears immediately without rerunning the command.

Incorrect Answers

A:

Run `pwd`, then `cd /srv/labs/projectA` after checking it exists; use absolute paths for the target edit. This is an appropriate step for a DIFFERENT exercise, specifically: On a disposable RHEL 10 training host, an operator enters a nested work directory but later edits the wrong file because the current path was assumed. It does not address the required lab state, whose mechanism is: `tail -f` follows appended file content rather than providing only a static initial snapshot.

C:

Verify the server host-key fingerprint using an out-of-band lab inventory before accepting the key. This is an appropriate step for a DIFFERENT exercise, specifically: A first SSH connection warns that the server identity is unknown, and a student proposes disabling host key checks globally. It does not address the required lab state, whose mechanism is: `tail -f` follows appended file content rather than providing only a static initial snapshot.

D:

Use `su -` (authorized lab credentials) or `sudo -i` to start an appropriate login environment. This is an appropriate step for a DIFFERENT exercise, specifically: A student becomes root with `su` but finds the previous user's PATH and working directory still active during an administrative test. It does not address the required lab state, whose mechanism is: `tail -f` follows appended file content rather than providing only a static initial snapshot.

Question 790

You have attempted this task on a test RHEL10 instance: An operator follows a live application log but accidentally reads only the first ten lines during troubleshooting. Which command output or observation best confirms its success?

  1. `id -un`, `pwd`, and `printf '%s\n' "$HOME"` reflect the privileged login context.
  2. The operator identifies documented syntax for `enable --now` and `is-enabled` from local manual pages.
  3. A newly appended training event appears immediately without rerunning the command.
  4. `ssh -o BatchMode=yes student@hostB true` succeeds using an authorized key on the isolated lab.

Explanation

Correct Answer

C:

A newly appended training event appears immediately without rerunning the command. This check confirms the expected effect of: Use `tail -n 30 -f /tmp/labapp.log` to follow appended fixture events in a test terminal. It distinguishes the intended result from the original failure mechanism: `tail -f` follows appended file content rather than providing only a static initial snapshot.

Incorrect Answers

A:

`id -un`, `pwd`, and `printf '%s\n' "$HOME"` reflect the privileged login context. That verifies a separate lab task: A student becomes root with `su` but finds the previous user's PATH and working directory still active during an administrative test. It does not validate the implementation required here: Use `tail -n 30 -f /tmp/labapp.log` to follow appended fixture events in a test terminal.

B:

The operator identifies documented syntax for `enable --now` and `is-enabled` from local manual pages. That verifies a separate lab task: The team needs the documented purpose and arguments of `systemctl` without accessing the Internet during training. It does not validate the implementation required here: Use `tail -n 30 -f /tmp/labapp.log` to follow appended fixture events in a test terminal.

D:

`ssh -o BatchMode=yes student@hostB true` succeeds using an authorized key on the isolated lab. That verifies a separate lab task: Two lab hosts need noninteractive operator access and password prompts interrupt file-copy automation. It does not validate the implementation required here: Use `tail -n 30 -f /tmp/labapp.log` to follow appended fixture events in a test terminal.