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 64

Question 630

You have attempted this task on a disposable RHEL10 training node: A firewall change is tested using only a runtime rule, but an administrator assumes it will be present after restart. Which command output or observation best confirms its success?

  1. Current and configured SELinux modes converge to the intended approved state after reboot.
  2. The target zone contains the rule, the intended client connects and unrelated sources remain denied if separately restricted.
  3. `firewall-cmd --permanent --zone=public --list-services` includes HTTPS and the state survives reboot.
  4. A normal new file is mode `600` or more restrictive and a new directory is mode `700` or more restrictive.

Explanation

Correct Answer

C:

`firewall-cmd --permanent --zone=public --list-services` includes HTTPS and the state survives reboot. This check confirms the expected effect of: Use `firewall-cmd --zone=public --add-service=https --permanent` after review, followed by `firewall-cmd --reload`. It distinguishes the intended result from the original failure mechanism: Runtime and permanent firewalld configurations are separate.

Incorrect Answers

A:

Current and configured SELinux modes converge to the intended approved state after reboot. That verifies a separate lab task: An administrator changes SELinux policy mode in `/etc/selinux/config` but the runtime `getenforce` output remains unchanged until the next reboot. It does not validate the implementation required here: Use `firewall-cmd --zone=public --add-service=https --permanent` after review, followed by `firewall-cmd --reload`.

B:

The target zone contains the rule, the intended client connects and unrelated sources remain denied if separately restricted. That verifies a separate lab task: An application uses a nonstandard TCP port and a student opens it in firewalld but forgets the active zone. It does not validate the implementation required here: Use `firewall-cmd --zone=public --add-service=https --permanent` after review, followed by `firewall-cmd --reload`.

D:

A normal new file is mode `600` or more restrictive and a new directory is mode `700` or more restrictive. That verifies a separate lab task: A shell session creates files with default modes exposing group-readable secrets to unrelated users. It does not validate the implementation required here: Use `firewall-cmd --zone=public --add-service=https --permanent` after review, followed by `firewall-cmd --reload`.

Question 631

Troubleshoot the following RHEL 10 lab situation: A firewall change is tested using only a runtime rule, but an administrator assumes it will be present after restart. Identify the key Linux mechanism behind the issue.

  1. DAC permissions can be correct while SELinux type enforcement still denies access.
  2. Firewall policies are matched by zones, independently of service startup or SELinux port rights.
  3. SELinux port types control service bind permission independently of firewalld.
  4. Runtime and permanent firewalld configurations are separate.

Explanation

Correct Answer

D:

Runtime and permanent firewalld configurations are separate. This explains the task's initial state: A firewall change is tested using only a runtime rule, but an administrator assumes it will be present after restart. The supported lab action is: Use `firewall-cmd --zone=public --add-service=https --permanent` after review, followed by `firewall-cmd --reload`.

Incorrect Answers

A:

DAC permissions can be correct while SELinux type enforcement still denies access. This mechanism applies to another scenario: A web service moved to `/srv/custom-web` encounters SELinux denials because content copied from a home directory carries the wrong label. The given lab state instead requires the more specific cause in the correct choice.

B:

Firewall policies are matched by zones, independently of service startup or SELinux port rights. This mechanism applies to another scenario: An application uses a nonstandard TCP port and a student opens it in firewalld but forgets the active zone. The given lab state instead requires the more specific cause in the correct choice.

C:

SELinux port types control service bind permission independently of firewalld. This mechanism applies to another scenario: A test web daemon is configured to listen on TCP 8088 but SELinux blocks binding despite a matching firewall rule. The given lab state instead requires the more specific cause in the correct choice.

Question 632

Following lab verification, document the preventive or persistence-oriented procedure for: A firewall change is tested using only a runtime rule, but an administrator assumes it will be present after restart. Which practice is most suitable?

  1. Verify persistence and remove temporary diagnostic firewall permits.
  2. Check existing assignments before modifying SELinux port labels.
  3. Audit filesystem permissions on configuration files after each deployment.
  4. Keep a verified break-glass console path before tightening authentication methods.

Explanation

Correct Answer

A:

Verify persistence and remove temporary diagnostic firewall permits. This guards against recurrence of: Runtime and permanent firewalld configurations are separate. Confirm the lab's final state by: `firewall-cmd --permanent --zone=public --list-services` includes HTTPS and the state survives reboot.

Incorrect Answers

B:

Check existing assignments before modifying SELinux port labels. That control is best suited to a separate scenario: An existing TCP port is assigned to the wrong SELinux port type and `semanage port -a` fails because the port already exists. It is not the best safeguard for the current mechanism: Runtime and permanent firewalld configurations are separate.

C:

Audit filesystem permissions on configuration files after each deployment. That control is best suited to a separate scenario: A user accidentally gives write permission to everyone on an application's configuration file. It is not the best safeguard for the current mechanism: Runtime and permanent firewalld configurations are separate.

D:

Keep a verified break-glass console path before tightening authentication methods. That control is best suited to a separate scenario: A lab SSH account still accepts password-only access while the approved policy requires authorized public-key authentication. It is not the best safeguard for the current mechanism: Runtime and permanent firewalld configurations are separate.

Question 633

On an offline training clone, perform the following practical task: A shared tools shortcut should point across directories to an existing shell script while remaining a symbolic reference. Which action should be carried out after confirming the lab prerequisites?

  1. Create a hard link with `ln /tmp/inode-lab/record /tmp/inode-lab/record.link`.
  2. Set `chmod 600 /home/student/.ssh/id_ed25519` after verifying correct ownership.
  3. Create `ln -s /opt/labs/bin/report /usr/local/bin/lab-report` in the disposable VM.
  4. Use `tail -n 30 -f /tmp/labapp.log` to follow appended fixture events in a test terminal.

Explanation

Correct Answer

C:

Create `ln -s /opt/labs/bin/report /usr/local/bin/lab-report` in the disposable VM. This directly addresses the lab target: A shared tools shortcut should point across directories to an existing shell script while remaining a symbolic reference. The underlying behavior is: A symbolic link stores a target path; unlike a hard link it may cross filesystem boundaries. Verification: `readlink /usr/local/bin/lab-report` shows the intended target and executing the shortcut reaches it.

Incorrect Answers

A:

Create a hard link with `ln /tmp/inode-lab/record /tmp/inode-lab/record.link`. This is an appropriate step for a DIFFERENT exercise, specifically: Two paths should reference the same inode so edits through either name appear in the other, entirely on one file system. It does not address the required lab state, whose mechanism is: A symbolic link stores a target path; unlike a hard link it may cross filesystem boundaries.

B:

Set `chmod 600 /home/student/.ssh/id_ed25519` after verifying correct ownership. This is an appropriate step for a DIFFERENT exercise, specifically: A private lab key file is incorrectly world-readable and must be accessible only to its owner. It does not address the required lab state, whose mechanism is: A symbolic link stores a target path; unlike a hard link it may cross filesystem boundaries.

D:

Use `tail -n 30 -f /tmp/labapp.log` to follow appended fixture events in a test terminal. This is an appropriate step for a DIFFERENT exercise, specifically: An operator follows a live application log but accidentally reads only the first ten lines during troubleshooting. It does not address the required lab state, whose mechanism is: A symbolic link stores a target path; unlike a hard link it may cross filesystem boundaries.

Question 634

The lab examiner asks for evidence after this assignment: A shared tools shortcut should point across directories to an existing shell script while remaining a symbolic reference. What is the decisive verification step?

  1. `tar -tzf /tmp/projectA.tgz` lists the expected tree relative to `projectA/` without absolute paths.
  2. `stat -c '%i %h'` reports the same inode and an increased link count for both paths.
  3. The numeric result matches a manual sample from `/etc/passwd` and excludes strings in other fields.
  4. `readlink /usr/local/bin/lab-report` shows the intended target and executing the shortcut reaches it.

Explanation

Correct Answer

D:

`readlink /usr/local/bin/lab-report` shows the intended target and executing the shortcut reaches it. This check confirms the expected effect of: Create `ln -s /opt/labs/bin/report /usr/local/bin/lab-report` in the disposable VM. It distinguishes the intended result from the original failure mechanism: A symbolic link stores a target path; unlike a hard link it may cross filesystem boundaries.

Incorrect Answers

A:

`tar -tzf /tmp/projectA.tgz` lists the expected tree relative to `projectA/` without absolute paths. That verifies a separate lab task: A file collection must be archived with gzip while preserving its directory tree for off-host lab backup. It does not validate the implementation required here: Create `ln -s /opt/labs/bin/report /usr/local/bin/lab-report` in the disposable VM.

B:

`stat -c '%i %h'` reports the same inode and an increased link count for both paths. That verifies a separate lab task: Two paths should reference the same inode so edits through either name appear in the other, entirely on one file system. It does not validate the implementation required here: Create `ln -s /opt/labs/bin/report /usr/local/bin/lab-report` in the disposable VM.

C:

The numeric result matches a manual sample from `/etc/passwd` and excludes strings in other fields. That verifies a separate lab task: A training data file lists one account per line, and the goal is counting accounts whose shells are `/bin/bash`. It does not validate the implementation required here: Create `ln -s /opt/labs/bin/report /usr/local/bin/lab-report` in the disposable VM.

Question 635

A training host has this situation: A shared tools shortcut should point across directories to an existing shell script while remaining a symbolic reference. Which system behavior best explains the original failure or risk?

  1. A symbolic link stores a target path; unlike a hard link it may cross filesystem boundaries.
  2. SSH host-key validation helps prevent connecting to an impersonated endpoint.
  3. Plain copy operations may produce destination metadata based on defaults rather than preserving source attributes.
  4. Default `grep` matching is case-sensitive unless an ignore-case option is selected.

Explanation

Correct Answer

A:

A symbolic link stores a target path; unlike a hard link it may cross filesystem boundaries. This explains the task's initial state: A shared tools shortcut should point across directories to an existing shell script while remaining a symbolic reference. The supported lab action is: Create `ln -s /opt/labs/bin/report /usr/local/bin/lab-report` in the disposable VM.

Incorrect Answers

B:

SSH host-key validation helps prevent connecting to an impersonated endpoint. This mechanism applies to another scenario: A first SSH connection warns that the server identity is unknown, and a student proposes disabling host key checks globally. The given lab state instead requires the more specific cause in the correct choice.

C:

Plain copy operations may produce destination metadata based on defaults rather than preserving source attributes. This mechanism applies to another scenario: A student copies a permission-sensitive fixture and unexpectedly changes its timestamp and permission bits. The given lab state instead requires the more specific cause in the correct choice.

D:

Default `grep` matching is case-sensitive unless an ignore-case option is selected. This mechanism applies to another scenario: An incident report contains both `ERROR` and `error`, but the investigation intentionally needs case-insensitive matching. The given lab state instead requires the more specific cause in the correct choice.

Question 636

A student has implemented the following configuration: A shared tools shortcut should point across directories to an existing shell script while remaining a symbolic reference. What repeatable control best reduces regressions or unsafe changes?

  1. Manage known host fingerprints and investigate unexpected key changes instead of setting StrictHostKeyChecking=no.
  2. Check link targets during deployment and avoid silent broken symlinks after directory moves.
  3. Check effective identity and environment before privileged operations, then return to a normal account.
  4. Confirm archive format and review paths before extracting trusted training bundles.

Explanation

Correct Answer

B:

Check link targets during deployment and avoid silent broken symlinks after directory moves. This guards against recurrence of: A symbolic link stores a target path; unlike a hard link it may cross filesystem boundaries. Confirm the lab's final state by: `readlink /usr/local/bin/lab-report` shows the intended target and executing the shortcut reaches it.

Incorrect Answers

A:

Manage known host fingerprints and investigate unexpected key changes instead of setting StrictHostKeyChecking=no. That control is best suited to a separate scenario: A first SSH connection warns that the server identity is unknown, and a student proposes disabling host key checks globally. It is not the best safeguard for the current mechanism: A symbolic link stores a target path; unlike a hard link it may cross filesystem boundaries.

C:

Check effective identity and environment before privileged operations, then return to a normal account. That control is best suited to a separate scenario: A student becomes root with `su` but finds the previous user's PATH and working directory still active during an administrative test. It is not the best safeguard for the current mechanism: A symbolic link stores a target path; unlike a hard link it may cross filesystem boundaries.

D:

Confirm archive format and review paths before extracting trusted training bundles. That control is best suited to a separate scenario: A restore workflow is given a `.tar.bz2` training archive and a previous attempt used gzip extraction flags. It is not the best safeguard for the current mechanism: A symbolic link stores a target path; unlike a hard link it may cross filesystem boundaries.

Question 637

You are responsible for a local virtualization classroom. The required hands-on outcome is: A team is shutting down a disposable server immediately but an operator issues `reboot` instead of a power-off. Select the most appropriate implementation step.

  1. Run `journalctl -k -b -p warning --no-pager` on the sample host.
  2. Use the systemd boot or supported recovery procedure to reach `rescue.target` from an authorized local VM console.
  3. Run `sudo systemctl isolate multi-user.target` from a safe local console, keeping a recovery path.
  4. Use `sudo systemctl poweroff` after confirming the host and notifying the local lab.

Explanation

Correct Answer

D:

Use `sudo systemctl poweroff` after confirming the host and notifying the local lab. This directly addresses the lab target: A team is shutting down a disposable server immediately but an operator issues `reboot` instead of a power-off. The underlying behavior is: Poweroff and reboot invoke different system state transitions. Verification: The VM reaches its powered-off state rather than returning to login after restart.

Incorrect Answers

A:

Run `journalctl -k -b -p warning --no-pager` on the sample host. This is an appropriate step for a DIFFERENT exercise, specifically: A system journal contains many warnings and the student must isolate kernel-related messages for the current boot. It does not address the required lab state, whose mechanism is: Poweroff and reboot invoke different system state transitions.

B:

Use the systemd boot or supported recovery procedure to reach `rescue.target` from an authorized local VM console. This is an appropriate step for a DIFFERENT exercise, specifically: A VM has a misconfigured service and requires recovery operations in an isolated rescue target. It does not address the required lab state, whose mechanism is: Poweroff and reboot invoke different system state transitions.

C:

Run `sudo systemctl isolate multi-user.target` from a safe local console, keeping a recovery path. This is an appropriate step for a DIFFERENT exercise, specifically: A technician needs to switch the currently running lab host from its GUI session to a non-graphical target without changing future boots. It does not address the required lab state, whose mechanism is: Poweroff and reboot invoke different system state transitions.

Question 638

After a lab configuration change, verify: A team is shutting down a disposable server immediately but an operator issues `reboot` instead of a power-off. Which result most directly proves the desired system state?

  1. The VM reaches its powered-off state rather than returning to login after restart.
  2. The host restarts cleanly, and journal boot IDs show the new boot.
  3. `ps -o pid,ni,comm -p <verified-pid>` displays the updated positive nice value.
  4. `systemctl is-enabled httpd` reports enabled and `systemctl is-active httpd` reports active after a safe reboot.

Explanation

Correct Answer

A:

The VM reaches its powered-off state rather than returning to login after restart. This check confirms the expected effect of: Use `sudo systemctl poweroff` after confirming the host and notifying the local lab. It distinguishes the intended result from the original failure mechanism: Poweroff and reboot invoke different system state transitions.

Incorrect Answers

B:

The host restarts cleanly, and journal boot IDs show the new boot. That verifies a separate lab task: A lab system needs a controlled reboot after updates but the operator plans to unplug the virtual power without syncing writes. It does not validate the implementation required here: Use `sudo systemctl poweroff` after confirming the host and notifying the local lab.

C:

`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: Use `sudo systemctl poweroff` after confirming the host and notifying the local lab.

D:

`systemctl is-enabled httpd` reports enabled and `systemctl is-active httpd` reports active after a safe reboot. That verifies a separate lab task: The lab web service starts manually but is inactive after every VM restart, even though the package is installed. It does not validate the implementation required here: Use `sudo systemctl poweroff` after confirming the host and notifying the local lab.

Question 639

In an EX200-style practice lab, this condition exists: A team is shutting down a disposable server immediately but an operator issues `reboot` instead of a power-off. Which explanation correctly identifies the underlying issue?

  1. A rescue target starts a minimal set of units, unlike a normal multi-user boot.
  2. Poweroff and reboot invoke different system state transitions.
  3. The default systemd target controls the system's boot state and persists independently of the current target.
  4. Starting a systemd service affects the current boot while enabling creates persistent startup dependencies.

Explanation

Correct Answer

B:

Poweroff and reboot invoke different system state transitions. This explains the task's initial state: A team is shutting down a disposable server immediately but an operator issues `reboot` instead of a power-off. The supported lab action is: Use `sudo systemctl poweroff` after confirming the host and notifying the local lab.

Incorrect Answers

A:

A rescue target starts a minimal set of units, unlike a normal multi-user boot. This mechanism applies to another scenario: A VM has a misconfigured service and requires recovery operations in an isolated rescue target. The given lab state instead requires the more specific cause in the correct choice.

C:

The default systemd target controls the system's boot state and persists independently of the current target. This mechanism applies to another scenario: A multi-user server is configured to boot into a graphical session, while the training task requires a command-line default. The given lab state instead requires the more specific cause in the correct choice.

D:

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 640

After completing this practical task on a local virtualization classroom: A team is shutting down a disposable server immediately but an operator issues `reboot` instead of a power-off. Which operational safeguard helps keep the result correct and safe?

  1. Trend memory and paging activity together under representative workload.
  2. Use precise filters in incident collection to retain reproducible evidence.
  3. Include explicit action and target hostname in approved shutdown runbooks.
  4. Include validation, supported reload or restart, and functional checks in deployment procedures.

Explanation

Correct Answer

C:

Include explicit action and target hostname in approved shutdown runbooks. This guards against recurrence of: Poweroff and reboot invoke different system state transitions. Confirm the lab's final state by: The VM reaches its powered-off state rather than returning to login after restart.

Incorrect Answers

A:

Trend memory and paging activity together under representative workload. That control is best suited to a separate scenario: A running VM has adequate memory by `free -h` but swap usage spikes and the team assumes the application is leaking. It is not the best safeguard for the current mechanism: Poweroff and reboot invoke different system state transitions.

B:

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: Poweroff and reboot invoke different system state transitions.

D:

Include validation, supported reload or restart, and functional checks in deployment procedures. That control is best suited to a separate scenario: An application configuration was changed on disk, but the running daemon still uses the previous settings. It is not the best safeguard for the current mechanism: Poweroff and reboot invoke different system state transitions.