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 36

Question 350

After a lab configuration change, verify: A service listens on port 8443 but clients are blocked by the active public firewalld zone. Which result most directly proves the desired system state?

  1. `firewall-cmd --zone=public --list-ports` contains 8443/tcp and a tested authorized client connects.
  2. `nmcli -g IP4.ADDRESS,IP4.GATEWAY con show --active lablan` and `ip -4 addr` show the intended address and gateway.
  3. After reconnect or reboot `nmcli con show` and `ip addr` still report the address.
  4. The port remains listed in permanent configuration and works after a controlled reboot.

Explanation

Correct Answer

A:

`firewall-cmd --zone=public --list-ports` contains 8443/tcp and a tested authorized client connects. This check confirms the expected effect of: Use `firewall-cmd --get-active-zones`, then `firewall-cmd --zone=public --add-port=8443/tcp --permanent` and reload the firewall. It distinguishes the intended result from the original failure mechanism: Firewalld rules are zone-specific and require persistence for reboot safety.

Incorrect Answers

B:

`nmcli -g IP4.ADDRESS,IP4.GATEWAY con show --active lablan` and `ip -4 addr` show the intended address and gateway. That verifies a separate lab task: A training host has DHCP IPv4 but requires a fixed address `192.0.2.50/24` and gateway `192.0.2.1` for a private lab subnet. It does not validate the implementation required here: Use `firewall-cmd --get-active-zones`, then `firewall-cmd --zone=public --add-port=8443/tcp --permanent` and reload the firewall.

C:

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: Use `firewall-cmd --get-active-zones`, then `firewall-cmd --zone=public --add-port=8443/tcp --permanent` and reload the firewall.

D:

The port remains listed in permanent configuration and works after a controlled reboot. That verifies a separate lab task: An operator opens an authorized lab TCP port using only the runtime firewalld command, so access disappears after reboot. It does not validate the implementation required here: Use `firewall-cmd --get-active-zones`, then `firewall-cmd --zone=public --add-port=8443/tcp --permanent` and reload the firewall.

Question 351

In an EX200-style practice lab, this condition exists: A service listens on port 8443 but clients are blocked by the active public firewalld zone. 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. Firewalld rules are zone-specific and require persistence for reboot safety.
  3. Firewalld permissions do not start application daemons or guarantee boot persistence.
  4. Named firewalld services encode documented port/protocol mappings more precisely than broad ranges.

Explanation

Correct Answer

B:

Firewalld rules are zone-specific and require persistence for reboot safety. This explains the task's initial state: A service listens on port 8443 but clients are blocked by the active public firewalld zone. The supported lab action is: Use `firewall-cmd --get-active-zones`, then `firewall-cmd --zone=public --add-port=8443/tcp --permanent` and reload the firewall.

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:

Firewalld permissions do not start application daemons or guarantee boot persistence. This mechanism applies to another scenario: A web service must start after every reboot, but `ss -tln` shows its listener only after manual execution. The given lab state instead requires the more specific cause in the correct choice.

D:

Named firewalld services encode documented port/protocol mappings more precisely than broad ranges. This mechanism applies to another scenario: A standard `http` service should be allowed through firewalld, but the operator adds a broad arbitrary port range. The given lab state instead requires the more specific cause in the correct choice.

Question 352

After completing this practical task on a local virtualization classroom: A service listens on port 8443 but clients are blocked by the active public firewalld zone. Which operational safeguard helps keep the result correct and safe?

  1. Make durable host addressing changes in the managed profile and test persistence.
  2. Verify route lookup for representative destinations during network acceptance.
  3. Limit firewall exposure to named service requirements and verify correct active zone.
  4. Record temporary host overrides and remove stale entries when DNS becomes authoritative.

Explanation

Correct Answer

C:

Limit firewall exposure to named service requirements and verify correct active zone. This guards against recurrence of: Firewalld rules are zone-specific and require persistence for reboot safety. Confirm the lab's final state by: `firewall-cmd --zone=public --list-ports` contains 8443/tcp and a tested authorized client connects.

Incorrect Answers

A:

Make durable host addressing changes in the managed profile and test persistence. That control is best suited to a separate scenario: A technician adds an IPv4 address with `ip addr add`, but it disappears after reboot. It is not the best safeguard for the current mechanism: Firewalld rules are zone-specific and require persistence for reboot safety.

B:

Verify route lookup for representative destinations during network acceptance. That control is best suited to a separate scenario: The lab interface is assigned the right IP but the host cannot reach an off-subnet gateway due to an incorrect default route. It is not the best safeguard for the current mechanism: Firewalld rules are zone-specific and require persistence for reboot safety.

D:

Record temporary host overrides and remove stale entries when DNS becomes authoritative. That control is best suited to a separate scenario: A training host must resolve one intentionally private name without querying DNS while building a disconnected lab. It is not the best safeguard for the current mechanism: Firewalld rules are zone-specific and require persistence for reboot safety.

Question 353

Lab exercise on a nonproduction Linux administration sandbox: A service account must have a fixed UID and noninteractive shell for an isolated application, not a general human login. Which proposed RHEL 10 command or configuration action most directly achieves the required lab state?

  1. Use appropriate `useradd -r -u <approved-uid> -s /sbin/nologin svc_labs` with validated numeric availability.
  2. Use `usermod -s /bin/bash trainee1` after confirming the shell is installed and valid under `/etc/shells` when applicable.
  3. Use the interactive `passwd trainee1` tool with a protected channel and appropriate permission.
  4. After archival and confirmation of the disposable identity, use `userdel -r trainee_retired` while preserving any required external data.

Explanation

Correct Answer

A:

Use appropriate `useradd -r -u <approved-uid> -s /sbin/nologin svc_labs` with validated numeric availability. This directly addresses the lab target: A service account must have a fixed UID and noninteractive shell for an isolated application, not a general human login. The underlying behavior is: Service account identity and login capability should be explicitly configured. Verification: `getent passwd svc_labs` shows the selected UID and nonlogin shell.

Incorrect Answers

B:

Use `usermod -s /bin/bash trainee1` after confirming the shell is installed and valid under `/etc/shells` when applicable. This is an appropriate step for a DIFFERENT exercise, specifically: A lab user was mistakenly assigned `/bin/false` as login shell and cannot open an authorized interactive session. It does not address the required lab state, whose mechanism is: Service account identity and login capability should be explicitly configured.

C:

Use the interactive `passwd trainee1` tool with a protected channel and appropriate permission. This is an appropriate step for a DIFFERENT exercise, specifically: A training account needs its password reset by an authorized administrator without printing the new secret in a shell command. It does not address the required lab state, whose mechanism is: Service account identity and login capability should be explicitly configured.

D:

After archival and confirmation of the disposable identity, use `userdel -r trainee_retired` while preserving any required external data. This is an appropriate step for a DIFFERENT exercise, specifically: An account remains in `/etc/passwd` after project completion and the lab task explicitly authorizes permanent removal with its home. It does not address the required lab state, whose mechanism is: Service account identity and login capability should be explicitly configured.

Question 354

In a hands-on RHCSA practice VM, the assigned outcome was: A service account must have a fixed UID and noninteractive shell for an isolated application, not a general human login. What specific verification would demonstrate the target state?

  1. `passwd -S contractor1` indicates locked credentials and preserved home files remain readable to authorized auditors.
  2. `getent passwd svc_labs` shows the selected UID and nonlogin shell.
  3. The new session reflects the updated group list and can access the permitted lab directory.
  4. `getent passwd trainee_retired` finds no account and its disposable home is removed.

Explanation

Correct Answer

B:

`getent passwd svc_labs` shows the selected UID and nonlogin shell. This check confirms the expected effect of: Use appropriate `useradd -r -u <approved-uid> -s /sbin/nologin svc_labs` with validated numeric availability. It distinguishes the intended result from the original failure mechanism: Service account identity and login capability should be explicitly configured.

Incorrect Answers

A:

`passwd -S contractor1` indicates locked credentials and preserved home files remain readable to authorized auditors. That verifies a separate lab task: A contractor account exists but should no longer permit interactive login after an engagement ends, while audit files must remain. It does not validate the implementation required here: Use appropriate `useradd -r -u <approved-uid> -s /sbin/nologin svc_labs` with validated numeric availability.

C:

The new session reflects the updated group list and can access the permitted lab directory. That verifies a separate lab task: 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. It does not validate the implementation required here: Use appropriate `useradd -r -u <approved-uid> -s /sbin/nologin svc_labs` with validated numeric availability.

D:

`getent passwd trainee_retired` finds no account and its disposable home is removed. That verifies a separate lab task: An account remains in `/etc/passwd` after project completion and the lab task explicitly authorizes permanent removal with its home. It does not validate the implementation required here: Use appropriate `useradd -r -u <approved-uid> -s /sbin/nologin svc_labs` with validated numeric availability.

Question 355

A trainee is diagnosing: A service account must have a fixed UID and noninteractive shell for an isolated application, not a general human login. Which root cause should they recognize before changing the system?

  1. Supplementary membership and primary group assignment are distinct account properties.
  2. Linux group creation establishes a named group but does not automatically add users or set file ownership.
  3. Service account identity and login capability should be explicitly configured.
  4. Using `-G` without the append option can replace the user's supplementary group list.

Explanation

Correct Answer

C:

Service account identity and login capability should be explicitly configured. This explains the task's initial state: A service account must have a fixed UID and noninteractive shell for an isolated application, not a general human login. The supported lab action is: Use appropriate `useradd -r -u <approved-uid> -s /sbin/nologin svc_labs` with validated numeric availability.

Incorrect Answers

A:

Supplementary membership and primary group assignment are distinct account properties. This mechanism applies to another scenario: A trainee is no longer authorized for the `analysts` supplemental group, but should retain their primary group. The given lab state instead requires the more specific cause in the correct choice.

B:

Linux group creation establishes a named group but does not automatically add users or set file ownership. This mechanism applies to another scenario: A project team needs a new local group `analysts` to own shared reports. The given lab state instead requires the more specific cause in the correct choice.

D:

Using `-G` without the append option can replace the user's supplementary group list. This mechanism applies to another scenario: A user must join the `analysts` group without losing their existing supplementary groups. The given lab state instead requires the more specific cause in the correct choice.

Question 356

For this Linux administration lab: A service account must have a fixed UID and noninteractive shell for an isolated application, not a general human login. Which safety and lifecycle check best prevents the same problem returning?

  1. Revalidate group grants during user role changes and offboarding.
  2. Follow approved account naming and home provisioning standards.
  3. Apply secure home defaults and review them at account creation.
  4. Avoid interactive shells and shared credentials for application identities.

Explanation

Correct Answer

D:

Avoid interactive shells and shared credentials for application identities. This guards against recurrence of: Service account identity and login capability should be explicitly configured. Confirm the lab's final state by: `getent passwd svc_labs` shows the selected UID and nonlogin shell.

Incorrect Answers

A:

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: Service account identity and login capability should be explicitly configured.

B:

Follow approved account naming and home provisioning standards. That control is best suited to a separate scenario: A new lab operator needs a local account with a home directory and normal login shell. It is not the best safeguard for the current mechanism: Service account identity and login capability should be explicitly configured.

C:

Apply secure home defaults and review them at account creation. That control is best suited to a separate scenario: A new user must have a private home directory rather than inherited group-read access. It is not the best safeguard for the current mechanism: Service account identity and login capability should be explicitly configured.

Question 357

A student working on a test RHEL10 instance receives this assignment: A lab administrator disables SELinux to stop web errors without checking whether a label denial caused them. Which answer gives the correct practical approach?

  1. Set `chmod 640 /etc/labapp.conf` with approved root ownership and a designated service group.
  2. Inspect `ausearch -m AVC -ts recent` and `ls -Z` or `journalctl` before changing SELinux mode.
  3. Check `semanage port -l | grep http_port_t`; if 8088 is unassigned, use `semanage port -a -t http_port_t -p tcp 8088`.
  4. Use `sestatus` to compare current and configured modes, then follow approved immediate `setenforce` and reboot procedures as needed.

Explanation

Correct Answer

B:

Inspect `ausearch -m AVC -ts recent` and `ls -Z` or `journalctl` before changing SELinux mode. This directly addresses the lab target: A lab administrator disables SELinux to stop web errors without checking whether a label denial caused them. The underlying behavior is: SELinux access denials have specific type or policy causes that global disablement obscures. Verification: An AVC entry identifies the source domain, target type and denied operation for the fixture.

Incorrect Answers

A:

Set `chmod 640 /etc/labapp.conf` with approved root ownership and a designated service group. This is an appropriate step for a DIFFERENT exercise, specifically: A user accidentally gives write permission to everyone on an application's configuration file. It does not address the required lab state, whose mechanism is: SELinux access denials have specific type or policy causes that global disablement obscures.

C:

Check `semanage port -l | grep http_port_t`; if 8088 is unassigned, use `semanage port -a -t http_port_t -p tcp 8088`. This is an appropriate step for a DIFFERENT exercise, specifically: A test web daemon is configured to listen on TCP 8088 but SELinux blocks binding despite a matching firewall rule. It does not address the required lab state, whose mechanism is: SELinux access denials have specific type or policy causes that global disablement obscures.

D:

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 access denials have specific type or policy causes that global disablement obscures.

Question 358

You have attempted this task on a test RHEL10 instance: A lab administrator disables SELinux to stop web errors without checking whether a label denial caused them. Which command output or observation best confirms its success?

  1. Current and configured SELinux modes converge to the intended approved state after reboot.
  2. Key-based login succeeds while a controlled password-only attempt fails without locking out the authorized admin.
  3. An AVC entry identifies the source domain, target type and denied operation for the fixture.
  4. `ls -Z` shows suitable web content labels and Apache accesses the files under the approved mode.

Explanation

Correct Answer

C:

An AVC entry identifies the source domain, target type and denied operation for the fixture. This check confirms the expected effect of: Inspect `ausearch -m AVC -ts recent` and `ls -Z` or `journalctl` before changing SELinux mode. It distinguishes the intended result from the original failure mechanism: SELinux access denials have specific type or policy causes that global disablement obscures.

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: Inspect `ausearch -m AVC -ts recent` and `ls -Z` or `journalctl` before changing SELinux mode.

B:

Key-based login succeeds while a controlled password-only attempt fails without locking out the authorized admin. That verifies a separate lab task: A lab SSH account still accepts password-only access while the approved policy requires authorized public-key authentication. It does not validate the implementation required here: Inspect `ausearch -m AVC -ts recent` and `ls -Z` or `journalctl` before changing SELinux mode.

D:

`ls -Z` shows suitable web content labels and Apache accesses the files under the approved mode. That verifies a separate lab task: A protected lab directory was copied from `/home` and now has inappropriate user-home SELinux contexts under `/var/www/html`. It does not validate the implementation required here: Inspect `ausearch -m AVC -ts recent` and `ls -Z` or `journalctl` before changing SELinux mode.

Question 359

Troubleshoot the following RHEL 10 lab situation: A lab administrator disables SELinux to stop web errors without checking whether a label denial caused them. Identify the key Linux mechanism behind the issue.

  1. `setenforce` changes runtime state while SELinux's configured boot mode is separate.
  2. DAC permissions can be correct while SELinux type enforcement still denies access.
  3. Persistent SELinux policy mode comes from boot configuration, not just `setenforce`.
  4. SELinux access denials have specific type or policy causes that global disablement obscures.

Explanation

Correct Answer

D:

SELinux access denials have specific type or policy causes that global disablement obscures. This explains the task's initial state: A lab administrator disables SELinux to stop web errors without checking whether a label denial caused them. The supported lab action is: Inspect `ausearch -m AVC -ts recent` and `ls -Z` or `journalctl` before changing SELinux mode.

Incorrect Answers

A:

`setenforce` changes runtime state while SELinux's configured boot mode is separate. This mechanism applies to another scenario: An administrator temporarily changes SELinux to permissive mode for diagnostics and believes it will remain so after reboot. The given lab state instead requires the more specific cause in the correct choice.

B:

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.

C:

Persistent SELinux policy mode comes from boot configuration, not just `setenforce`. This mechanism applies to another scenario: A training VM must boot with SELinux enforcing but `/etc/selinux/config` is set to permissive. The given lab state instead requires the more specific cause in the correct choice.

Question 360

Following lab verification, document the preventive or persistence-oriented procedure for: A lab administrator disables SELinux to stop web errors without checking whether a label denial caused them. Which practice is most suitable?

  1. Use audited AVC evidence and type-appropriate remedies, keeping enforcing mode active.
  2. Audit filesystem permissions on configuration files after each deployment.
  3. Diagnose DAC and SELinux separately, keeping both minimum necessary permissions and labels.
  4. Use narrowly timed diagnostics and restore enforcing mode after analyzing denial logs.

Explanation

Correct Answer

A:

Use audited AVC evidence and type-appropriate remedies, keeping enforcing mode active. This guards against recurrence of: SELinux access denials have specific type or policy causes that global disablement obscures. Confirm the lab's final state by: An AVC entry identifies the source domain, target type and denied operation for the fixture.

Incorrect Answers

B:

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: SELinux access denials have specific type or policy causes that global disablement obscures.

C:

Diagnose DAC and SELinux separately, keeping both minimum necessary permissions and labels. That control is best suited to a separate scenario: A custom service path is mislabeled and a technician repeatedly applies `chmod 777` without resolving access denials. It is not the best safeguard for the current mechanism: SELinux access denials have specific type or policy causes that global disablement obscures.

D:

Use narrowly timed diagnostics and restore enforcing mode after analyzing denial logs. That control is best suited to a separate scenario: An administrator temporarily changes SELinux to permissive mode for diagnostics and believes it will remain so after reboot. It is not the best safeguard for the current mechanism: SELinux access denials have specific type or policy causes that global disablement obscures.