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 20

Question 190

After a lab configuration change, verify: The lab interface is assigned the right IP but the host cannot reach an off-subnet gateway due to an incorrect default route. Which result most directly proves the desired system state?

  1. `ip route get 203.0.113.10` selects the correct gateway and the intended test connection succeeds.
  2. The profile reflects changed settings and existing remote management remains recoverable.
  3. An authorized client connects and the correct zone reports the service or port.
  4. After reconnect or reboot `nmcli con show` and `ip addr` still report the address.

Explanation

Correct Answer

A:

`ip route get 203.0.113.10` selects the correct gateway and the intended test connection succeeds. This check confirms the expected effect of: Review `ip route`, then set the approved NetworkManager `ipv4.gateway` and route fields on the active profile. It distinguishes the intended result from the original failure mechanism: A valid local interface address does not automatically provide off-subnet routing.

Incorrect Answers

B:

The profile reflects changed settings and existing remote management remains recoverable. That verifies a separate lab task: A new network connection profile was edited but the operator attempts an unsafe remote restart of all networking services. It does not validate the implementation required here: Review `ip route`, then set the approved NetworkManager `ipv4.gateway` and route fields on the active profile.

C:

An authorized client connects and the correct zone reports the service or port. That verifies a separate lab task: A firewall rule was added to the default zone, but the application's NIC is assigned to a different active zone. It does not validate the implementation required here: Review `ip route`, then set the approved NetworkManager `ipv4.gateway` and route fields on the active profile.

D:

After reconnect or reboot `nmcli con show` and `ip addr` still report the address. That verifies a separate lab task: A technician adds an IPv4 address with `ip addr add`, but it disappears after reboot. It does not validate the implementation required here: Review `ip route`, then set the approved NetworkManager `ipv4.gateway` and route fields on the active profile.

Question 191

In an EX200-style practice lab, this condition exists: The lab interface is assigned the right IP but the host cannot reach an off-subnet gateway due to an incorrect default route. Which explanation correctly identifies the underlying issue?

  1. The local hosts database is consulted by the name-service switch based on `/etc/nsswitch.conf`.
  2. A valid local interface address does not automatically provide off-subnet routing.
  3. Global zone-wide service allowances are broader than a source-limited access requirement.
  4. Persisted connection configuration can remain inactive when autoconnect is disabled.

Explanation

Correct Answer

B:

A valid local interface address does not automatically provide off-subnet routing. This explains the task's initial state: The lab interface is assigned the right IP but the host cannot reach an off-subnet gateway due to an incorrect default route. The supported lab action is: Review `ip route`, then set the approved NetworkManager `ipv4.gateway` and route fields on the active profile.

Incorrect Answers

A:

The local hosts database is consulted by the name-service switch based on `/etc/nsswitch.conf`. This mechanism applies to another scenario: A training host must resolve one intentionally private name without querying DNS while building a disconnected lab. The given lab state instead requires the more specific cause in the correct choice.

C:

Global zone-wide service allowances are broader than a source-limited access requirement. This mechanism applies to another scenario: The server needs HTTPS only from one lab management subnet instead of from every source in the public zone. The given lab state instead requires the more specific cause in the correct choice.

D:

Persisted connection configuration can remain inactive when autoconnect is disabled. This mechanism applies to another scenario: A NetworkManager profile is stored on disk but is not automatically activated after reboot. The given lab state instead requires the more specific cause in the correct choice.

Question 192

After completing this practical task on a test RHEL10 instance: The lab interface is assigned the right IP but the host cannot reach an off-subnet gateway due to an incorrect default route. Which operational safeguard helps keep the result correct and safe?

  1. Use tested out-of-band access and a rollback plan for remote network changes.
  2. Confirm unit enablement, listener, zone and end-to-end client response together.
  3. Verify route lookup for representative destinations during network acceptance.
  4. Prefer narrowly scoped service definitions and remove unused rules.

Explanation

Correct Answer

C:

Verify route lookup for representative destinations during network acceptance. This guards against recurrence of: A valid local interface address does not automatically provide off-subnet routing. Confirm the lab's final state by: `ip route get 203.0.113.10` selects the correct gateway and the intended test connection succeeds.

Incorrect Answers

A:

Use tested out-of-band access and a rollback plan for remote network changes. That control is best suited to a separate scenario: A new network connection profile was edited but the operator attempts an unsafe remote restart of all networking services. It is not the best safeguard for the current mechanism: A valid local interface address does not automatically provide off-subnet routing.

B:

Confirm unit enablement, listener, zone and end-to-end client response together. That control is best suited to a separate scenario: A web service must start after every reboot, but `ss -tln` shows its listener only after manual execution. It is not the best safeguard for the current mechanism: A valid local interface address does not automatically provide off-subnet routing.

D:

Prefer narrowly scoped service definitions and remove unused rules. That control is best suited to a separate scenario: A standard `http` service should be allowed through firewalld, but the operator adds a broad arbitrary port range. It is not the best safeguard for the current mechanism: A valid local interface address does not automatically provide off-subnet routing.

Question 193

Lab exercise on an isolated enterprise lab VM: A short-term external account must stop being usable on a specified end date while its password policy remains unchanged. Which proposed RHEL 10 command or configuration action most directly achieves the required lab state?

  1. Set the account expiration using `usermod -e 2027-01-31 contractor1` in the isolated training account.
  2. Create a validated rule using `visudo -f /etc/sudoers.d/lab-restart` for the exact command and user/group.
  3. Use appropriate `useradd -r -u <approved-uid> -s /sbin/nologin svc_labs` with validated numeric availability.
  4. Use `usermod -l correctedname oldname` and separately migrate home path if required after ensuring no active sessions.

Explanation

Correct Answer

A:

Set the account expiration using `usermod -e 2027-01-31 contractor1` in the isolated training account. This directly addresses the lab target: A short-term external account must stop being usable on a specified end date while its password policy remains unchanged. The underlying behavior is: Account expiration is separate from password expiration or maximum password age. Verification: `chage -l contractor1` shows the intended account expiration date.

Incorrect Answers

B:

Create a validated rule using `visudo -f /etc/sudoers.d/lab-restart` for the exact command and user/group. This is an appropriate step for a DIFFERENT exercise, specifically: An admin must grant a named technician narrowly scoped restart rights for a lab service without adding them to full wheel privileges. It does not address the required lab state, whose mechanism is: Account expiration is separate from password expiration or maximum password age.

C:

Use appropriate `useradd -r -u <approved-uid> -s /sbin/nologin svc_labs` with validated numeric availability. This is an appropriate step for a DIFFERENT exercise, specifically: A service account must have a fixed UID and noninteractive shell for an isolated application, not a general human login. It does not address the required lab state, whose mechanism is: Account expiration is separate from password expiration or maximum password age.

D:

Use `usermod -l correctedname oldname` and separately migrate home path if required after ensuring no active sessions. This is an appropriate step for a DIFFERENT exercise, specifically: A user account has a misspelled login name but should keep its existing UID and home ownership. It does not address the required lab state, whose mechanism is: Account expiration is separate from password expiration or maximum password age.

Question 194

In a hands-on RHCSA practice VM, the assigned outcome was: A short-term external account must stop being usable on a specified end date while its password policy remains unchanged. What specific verification would demonstrate the target state?

  1. `getent passwd trainee1` shows the expected shell and `/home/trainee1` exists.
  2. `chage -l contractor1` shows the intended account expiration date.
  3. The password-change status succeeds and the user can authenticate with the approved new secret.
  4. `getent passwd svc_labs` shows the selected UID and nonlogin shell.

Explanation

Correct Answer

B:

`chage -l contractor1` shows the intended account expiration date. This check confirms the expected effect of: Set the account expiration using `usermod -e 2027-01-31 contractor1` in the isolated training account. It distinguishes the intended result from the original failure mechanism: Account expiration is separate from password expiration or maximum password age.

Incorrect Answers

A:

`getent passwd trainee1` shows the expected shell and `/home/trainee1` exists. That verifies a separate lab task: A new lab operator needs a local account with a home directory and normal login shell. It does not validate the implementation required here: Set the account expiration using `usermod -e 2027-01-31 contractor1` in the isolated training account.

C:

The password-change status succeeds and the user can authenticate with the approved new secret. That verifies a separate lab task: A training account needs its password reset by an authorized administrator without printing the new secret in a shell command. It does not validate the implementation required here: Set the account expiration using `usermod -e 2027-01-31 contractor1` in the isolated training account.

D:

`getent passwd svc_labs` shows the selected UID and nonlogin shell. That verifies a separate lab task: A service account must have a fixed UID and noninteractive shell for an isolated application, not a general human login. It does not validate the implementation required here: Set the account expiration using `usermod -e 2027-01-31 contractor1` in the isolated training account.

Question 195

A trainee is diagnosing: A short-term external account must stop being usable on a specified end date while its password policy remains unchanged. Which root cause should they recognize before changing the system?

  1. A process inherits its group credentials when its session begins and may not pick up group changes dynamically.
  2. Primary group and supplementary group settings have different semantics.
  3. Account expiration is separate from password expiration or maximum password age.
  4. Sudoers controls command-specific privilege escalation and its syntax is security-sensitive.

Explanation

Correct Answer

C:

Account expiration is separate from password expiration or maximum password age. This explains the task's initial state: A short-term external account must stop being usable on a specified end date while its password policy remains unchanged. The supported lab action is: Set the account expiration using `usermod -e 2027-01-31 contractor1` in the isolated training account.

Incorrect Answers

A:

A process inherits its group credentials when its session begins and may not pick up group changes dynamically. This mechanism applies to another scenario: A Unix access test fails because a group was added in `/etc/group`, but a long-running user session still reports an old group set. The given lab state instead requires the more specific cause in the correct choice.

B:

Primary group and supplementary group settings have different semantics. This mechanism applies to another scenario: A team requires a default primary group different from the user-private group created with the account. The given lab state instead requires the more specific cause in the correct choice.

D:

Sudoers controls command-specific privilege escalation and its syntax is security-sensitive. This mechanism applies to another scenario: An admin must grant a named technician narrowly scoped restart rights for a lab service without adding them to full wheel privileges. The given lab state instead requires the more specific cause in the correct choice.

Question 196

For this Linux administration lab: A short-term external account must stop being usable on a specified end date while its password policy remains unchanged. Which safety and lifecycle check best prevents the same problem returning?

  1. Use least-privilege rules, syntax checking and specific command paths.
  2. Avoid interactive shells and shared credentials for application identities.
  3. Revalidate group grants during user role changes and offboarding.
  4. Include end dates in contractor onboarding and remove access at offboarding.

Explanation

Correct Answer

D:

Include end dates in contractor onboarding and remove access at offboarding. This guards against recurrence of: Account expiration is separate from password expiration or maximum password age. Confirm the lab's final state by: `chage -l contractor1` shows the intended account expiration date.

Incorrect Answers

A:

Use least-privilege rules, syntax checking and specific command paths. That control is best suited to a separate scenario: An admin must grant a named technician narrowly scoped restart rights for a lab service without adding them to full wheel privileges. It is not the best safeguard for the current mechanism: Account expiration is separate from password expiration or maximum password age.

B:

Avoid interactive shells and shared credentials for application identities. That control is best suited to a separate scenario: A service account must have a fixed UID and noninteractive shell for an isolated application, not a general human login. It is not the best safeguard for the current mechanism: Account expiration is separate from password expiration or maximum password age.

C:

Revalidate group grants during user role changes and offboarding. That control is best suited to a separate scenario: A trainee is no longer authorized for the `analysts` supplemental group, but should retain their primary group. It is not the best safeguard for the current mechanism: Account expiration is separate from password expiration or maximum password age.

Question 197

A student working on a disposable RHEL10 training node receives this assignment: A test web daemon is configured to listen on TCP 8088 but SELinux blocks binding despite a matching firewall rule. Which answer gives the correct practical approach?

  1. Use `setenforce 0` only as a time-bounded authorized lab diagnostic, inspect `getenforce`, and restore enforcing with `setenforce 1`.
  2. Check `semanage port -l | grep http_port_t`; if 8088 is unassigned, use `semanage port -a -t http_port_t -p tcp 8088`.
  3. Use `sestatus` to compare current and configured modes, then follow approved immediate `setenforce` and reboot procedures as needed.
  4. Use `getsebool httpd_can_network_connect_db`; after verifying policy, set `setsebool -P httpd_can_network_connect_db on` where supported.

Explanation

Correct Answer

B:

Check `semanage port -l | grep http_port_t`; if 8088 is unassigned, use `semanage port -a -t http_port_t -p tcp 8088`. This directly addresses the lab target: A test web daemon is configured to listen on TCP 8088 but SELinux blocks binding despite a matching firewall rule. The underlying behavior is: SELinux port types control service bind permission independently of firewalld. Verification: `semanage port -l` lists 8088 for `http_port_t` and the daemon binds without the denial.

Incorrect Answers

A:

Use `setenforce 0` only as a time-bounded authorized lab diagnostic, inspect `getenforce`, and restore enforcing with `setenforce 1`. This is an appropriate step for a DIFFERENT exercise, specifically: An administrator temporarily changes SELinux to permissive mode for diagnostics and believes it will remain so after reboot. It does not address the required lab state, whose mechanism is: SELinux port types control service bind permission independently of firewalld.

C:

Use `sestatus` to compare current and configured modes, then follow approved immediate `setenforce` and reboot procedures as needed. This is an appropriate step for a DIFFERENT exercise, specifically: An administrator changes SELinux policy mode in `/etc/selinux/config` but the runtime `getenforce` output remains unchanged until the next reboot. It does not address the required lab state, whose mechanism is: SELinux port types control service bind permission independently of firewalld.

D:

Use `getsebool httpd_can_network_connect_db`; after verifying policy, set `setsebool -P httpd_can_network_connect_db on` where supported. This is an appropriate step for a DIFFERENT exercise, specifically: An application hosted by Apache needs outbound database connections but SELinux policy denies them even with network routing functional. It does not address the required lab state, whose mechanism is: SELinux port types control service bind permission independently of firewalld.

Question 198

You have attempted this task on a disposable RHEL10 training node: A test web daemon is configured to listen on TCP 8088 but SELinux blocks binding despite a matching firewall rule. Which command output or observation best confirms its success?

  1. Current and configured SELinux modes converge to the intended approved state after reboot.
  2. A normal new file is mode `600` or more restrictive and a new directory is mode `700` or more restrictive.
  3. `semanage port -l` lists 8088 for `http_port_t` and the daemon binds without the denial.
  4. A known private-key client logs in as the expected user while unauthorized keys fail.

Explanation

Correct Answer

C:

`semanage port -l` lists 8088 for `http_port_t` and the daemon binds without the denial. This check confirms the expected effect of: Check `semanage port -l | grep http_port_t`; if 8088 is unassigned, use `semanage port -a -t http_port_t -p tcp 8088`. It distinguishes the intended result from the original failure mechanism: SELinux port types control service bind permission independently of firewalld.

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: Check `semanage port -l | grep http_port_t`; if 8088 is unassigned, use `semanage port -a -t http_port_t -p tcp 8088`.

B:

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: Check `semanage port -l | grep http_port_t`; if 8088 is unassigned, use `semanage port -a -t http_port_t -p tcp 8088`.

D:

A known private-key client logs in as the expected user while unauthorized keys fail. That verifies a separate lab task: A server's `sshd` service is enabled but remote login fails because host key authentication was never established for the test user. It does not validate the implementation required here: Check `semanage port -l | grep http_port_t`; if 8088 is unassigned, use `semanage port -a -t http_port_t -p tcp 8088`.

Question 199

Troubleshoot the following RHEL 10 lab situation: A test web daemon is configured to listen on TCP 8088 but SELinux blocks binding despite a matching firewall rule. Identify the key Linux mechanism behind the issue.

  1. Overly broad writable SELinux types increase the service's available write surface.
  2. Copy operations may preserve source SELinux labels that are incorrect for the destination path.
  3. SELinux access denials have specific type or policy causes that global disablement obscures.
  4. SELinux port types control service bind permission independently of firewalld.

Explanation

Correct Answer

D:

SELinux port types control service bind permission independently of firewalld. This explains the task's initial state: A test web daemon is configured to listen on TCP 8088 but SELinux blocks binding despite a matching firewall rule. The supported lab action is: Check `semanage port -l | grep http_port_t`; if 8088 is unassigned, use `semanage port -a -t http_port_t -p tcp 8088`.

Incorrect Answers

A:

Overly broad writable SELinux types increase the service's available write surface. This mechanism applies to another scenario: A web application's content directory is assigned `httpd_sys_rw_content_t` everywhere even though only a small upload path requires writes. The given lab state instead requires the more specific cause in the correct choice.

B:

Copy operations may preserve source SELinux labels that are incorrect for the destination path. This mechanism applies to another scenario: A protected lab directory was copied from `/home` and now has inappropriate user-home SELinux contexts under `/var/www/html`. The given lab state instead requires the more specific cause in the correct choice.

C:

SELinux access denials have specific type or policy causes that global disablement obscures. This mechanism applies to another scenario: A lab administrator disables SELinux to stop web errors without checking whether a label denial caused them. The given lab state instead requires the more specific cause in the correct choice.

Question 200

Following lab verification, document the preventive or persistence-oriented procedure for: A test web daemon is configured to listen on TCP 8088 but SELinux blocks binding despite a matching firewall rule. Which practice is most suitable?

  1. Verify port-label assignment and firewall exposure separately for nonstandard listener ports.
  2. Provision and rotate private keys under managed mode and ownership controls.
  3. Check active zone, SELinux port permission and service listener together.
  4. Verify persistence and remove temporary diagnostic firewall permits.

Explanation

Correct Answer

A:

Verify port-label assignment and firewall exposure separately for nonstandard listener ports. This guards against recurrence of: SELinux port types control service bind permission independently of firewalld. Confirm the lab's final state by: `semanage port -l` lists 8088 for `http_port_t` and the daemon binds without the denial.

Incorrect Answers

B:

Provision and rotate private keys under managed mode and ownership controls. That control is best suited to a separate scenario: A private SSH key is world-readable, causing security risk and sometimes authentication refusal. It is not the best safeguard for the current mechanism: SELinux port types control service bind permission independently of firewalld.

C:

Check active zone, SELinux port permission and service listener together. That control is best suited to a separate scenario: An application uses a nonstandard TCP port and a student opens it in firewalld but forgets the active zone. It is not the best safeguard for the current mechanism: SELinux port types control service bind permission independently of firewalld.

D:

Verify persistence and remove temporary diagnostic firewall permits. That control is best suited to a separate scenario: A firewall change is tested using only a runtime rule, but an administrator assumes it will be present after restart. It is not the best safeguard for the current mechanism: SELinux port types control service bind permission independently of firewalld.