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 32

Question 310

You have attempted this task on a test RHEL10 instance: A training host must resolve one intentionally private name without querying DNS while building a disconnected lab. Which command output or observation best confirms its success?

  1. `ip -6 addr show` lists the address and a local IPv6 connectivity test succeeds.
  2. `firewall-cmd --zone=public --list-services` contains `http` and only the required service is exposed.
  3. `getent hosts db150.lab` resolves the intended IP with DNS disconnected.
  4. After reconnect or reboot `nmcli con show` and `ip addr` still report the address.

Explanation

Correct Answer

C:

`getent hosts db150.lab` resolves the intended IP with DNS disconnected. This check confirms the expected effect of: Add a reviewed entry such as `192.0.2.11 db150.lab` to `/etc/hosts` on the test VM. It distinguishes the intended result from the original failure mechanism: The local hosts database is consulted by the name-service switch based on `/etc/nsswitch.conf`.

Incorrect Answers

A:

`ip -6 addr show` lists the address and a local IPv6 connectivity test succeeds. That verifies a separate lab task: An IPv6-only lab application cannot listen because the host connection has no configured static IPv6 address. It does not validate the implementation required here: Add a reviewed entry such as `192.0.2.11 db150.lab` to `/etc/hosts` on the test VM.

B:

`firewall-cmd --zone=public --list-services` contains `http` and only the required service is exposed. That verifies a separate lab task: A standard `http` service should be allowed through firewalld, but the operator adds a broad arbitrary port range. It does not validate the implementation required here: Add a reviewed entry such as `192.0.2.11 db150.lab` to `/etc/hosts` on the test VM.

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: Add a reviewed entry such as `192.0.2.11 db150.lab` to `/etc/hosts` on the test VM.

Question 311

Troubleshoot the following RHEL 10 lab situation: A training host must resolve one intentionally private name without querying DNS while building a disconnected lab. Identify the key Linux mechanism behind the issue.

  1. Firewall policy is evaluated in the context of the active interface or source zone, not an assumed default.
  2. IP address assignment and resolver configuration are independent network settings.
  3. Disabling the firewall replaces one narrow authorization issue with broad exposure.
  4. The local hosts database is consulted by the name-service switch based on `/etc/nsswitch.conf`.

Explanation

Correct Answer

D:

The local hosts database is consulted by the name-service switch based on `/etc/nsswitch.conf`. This explains the task's initial state: A training host must resolve one intentionally private name without querying DNS while building a disconnected lab. The supported lab action is: Add a reviewed entry such as `192.0.2.11 db150.lab` to `/etc/hosts` on the test VM.

Incorrect Answers

A:

Firewall policy is evaluated in the context of the active interface or source zone, not an assumed default. This mechanism applies to another scenario: A firewall rule was added to the default zone, but the application's NIC is assigned to a different active zone. The given lab state instead requires the more specific cause in the correct choice.

B:

IP address assignment and resolver configuration are independent network settings. This mechanism applies to another scenario: A host resolves internal names through an obsolete DNS server even though its IPv4 address is correct. The given lab state instead requires the more specific cause in the correct choice.

C:

Disabling the firewall replaces one narrow authorization issue with broad exposure. This mechanism applies to another scenario: A firewall service was accidentally removed from the active zone, and an operator proposes disabling firewalld entirely. The given lab state instead requires the more specific cause in the correct choice.

Question 312

Following lab verification, document the preventive or persistence-oriented procedure for: A training host must resolve one intentionally private name without querying DNS while building a disconnected lab. Which practice is most suitable?

  1. Record temporary host overrides and remove stale entries when DNS becomes authoritative.
  2. Confirm exact profile/interface names and console recovery before editing remote IP settings.
  3. Document IPv6 RA policy and test unintended default-route acceptance.
  4. Audit both DNS source and search domains when moving between networks.

Explanation

Correct Answer

A:

Record temporary host overrides and remove stale entries when DNS becomes authoritative. This guards against recurrence of: The local hosts database is consulted by the name-service switch based on `/etc/nsswitch.conf`. Confirm the lab's final state by: `getent hosts db150.lab` resolves the intended IP with DNS disconnected.

Incorrect Answers

B:

Confirm exact profile/interface names and console recovery before editing remote IP settings. That control is best suited to a separate scenario: 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 is not the best safeguard for the current mechanism: The local hosts database is consulted by the name-service switch based on `/etc/nsswitch.conf`.

C:

Document IPv6 RA policy and test unintended default-route acceptance. That control is best suited to a separate scenario: An IPv6 connection receives a default route from router advertisements when policy requires the test host to use only a specified local IPv6 subnet. It is not the best safeguard for the current mechanism: The local hosts database is consulted by the name-service switch based on `/etc/nsswitch.conf`.

D:

Audit both DNS source and search domains when moving between networks. That control is best suited to a separate scenario: A host resolves internal names through an obsolete DNS server even though its IPv4 address is correct. It is not the best safeguard for the current mechanism: The local hosts database is consulted by the name-service switch based on `/etc/nsswitch.conf`.

Question 313

On an isolated enterprise lab VM, perform the following practical task: A trainee is no longer authorized for the `analysts` supplemental group, but should retain their primary group. Which action should be carried out after confirming the lab prerequisites?

  1. Use `usermod -aG analysts trainee1` and have the user start a new login session.
  2. Use `usermod -L contractor1` and set an appropriate nonlogin shell or expiration according to the organization's access policy.
  3. Use `gpasswd -d trainee1 analysts` after confirming group and account identity.
  4. Remove the unintended supplementary `wheel` membership with `gpasswd -d contractor1 wheel` after verifying access.

Explanation

Correct Answer

C:

Use `gpasswd -d trainee1 analysts` after confirming group and account identity. This directly addresses the lab target: A trainee is no longer authorized for the `analysts` supplemental group, but should retain their primary group. The underlying behavior is: Supplementary membership and primary group assignment are distinct account properties. Verification: `id trainee1` no longer includes `analysts`, while the primary GID remains unchanged.

Incorrect Answers

A:

Use `usermod -aG analysts trainee1` and have the user start a new login session. This is an appropriate step for a DIFFERENT exercise, specifically: A user must join the `analysts` group without losing their existing supplementary groups. It does not address the required lab state, whose mechanism is: Supplementary membership and primary group assignment are distinct account properties.

B:

Use `usermod -L contractor1` and set an appropriate nonlogin shell or expiration according to the organization's access policy. This is an appropriate step for a DIFFERENT exercise, specifically: A contractor account exists but should no longer permit interactive login after an engagement ends, while audit files must remain. It does not address the required lab state, whose mechanism is: Supplementary membership and primary group assignment are distinct account properties.

D:

Remove the unintended supplementary `wheel` membership with `gpasswd -d contractor1 wheel` after verifying access. This is an appropriate step for a DIFFERENT exercise, specifically: A contractor has been added to `wheel` by mistake and can run arbitrary privileged commands. It does not address the required lab state, whose mechanism is: Supplementary membership and primary group assignment are distinct account properties.

Question 314

The lab examiner asks for evidence after this assignment: A trainee is no longer authorized for the `analysts` supplemental group, but should retain their primary group. What is the decisive verification step?

  1. `visudo -c` reports syntax OK and approved sudo operations work.
  2. The password-change status succeeds and the user can authenticate with the approved new secret.
  3. `getent passwd trainee1` ends with `/bin/bash` and an authorized test session starts.
  4. `id trainee1` no longer includes `analysts`, while the primary GID remains unchanged.

Explanation

Correct Answer

D:

`id trainee1` no longer includes `analysts`, while the primary GID remains unchanged. This check confirms the expected effect of: Use `gpasswd -d trainee1 analysts` after confirming group and account identity. It distinguishes the intended result from the original failure mechanism: Supplementary membership and primary group assignment are distinct account properties.

Incorrect Answers

A:

`visudo -c` reports syntax OK and approved sudo operations work. That verifies a separate lab task: An operator edits `/etc/sudoers` using an ordinary editor and introduces invalid syntax, breaking privilege escalation. It does not validate the implementation required here: Use `gpasswd -d trainee1 analysts` after confirming group and account identity.

B:

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: Use `gpasswd -d trainee1 analysts` after confirming group and account identity.

C:

`getent passwd trainee1` ends with `/bin/bash` and an authorized test session starts. That verifies a separate lab task: A lab user was mistakenly assigned `/bin/false` as login shell and cannot open an authorized interactive session. It does not validate the implementation required here: Use `gpasswd -d trainee1 analysts` after confirming group and account identity.

Question 315

A training host has this situation: A trainee is no longer authorized for the `analysts` supplemental group, but should retain their primary group. Which system behavior best explains the original failure or risk?

  1. Supplementary membership and primary group assignment are distinct account properties.
  2. Service account identity and login capability should be explicitly configured.
  3. The shell field controls the program started at login and can intentionally block interactive access.
  4. Directory traversal and ownership control privacy of files below the home directory.

Explanation

Correct Answer

A:

Supplementary membership and primary group assignment are distinct account properties. This explains the task's initial state: A trainee is no longer authorized for the `analysts` supplemental group, but should retain their primary group. The supported lab action is: Use `gpasswd -d trainee1 analysts` after confirming group and account identity.

Incorrect Answers

B:

Service account identity and login capability should be explicitly configured. This mechanism applies to another scenario: A service account must have a fixed UID and noninteractive shell for an isolated application, not a general human login. The given lab state instead requires the more specific cause in the correct choice.

C:

The shell field controls the program started at login and can intentionally block interactive access. This mechanism applies to another scenario: A lab user was mistakenly assigned `/bin/false` as login shell and cannot open an authorized interactive session. The given lab state instead requires the more specific cause in the correct choice.

D:

Directory traversal and ownership control privacy of files below the home directory. This mechanism applies to another scenario: A new user must have a private home directory rather than inherited group-read access. The given lab state instead requires the more specific cause in the correct choice.

Question 316

A student has implemented the following configuration: A trainee is no longer authorized for the `analysts` supplemental group, but should retain their primary group. What repeatable control best reduces regressions or unsafe changes?

  1. Plan login, home, file ownership and scheduled-task references as a single account migration.
  2. Revalidate group grants during user role changes and offboarding.
  3. Audit password aging properties on account creation and renewal.
  4. Audit membership before and after group changes and use `-aG` for additive grants.

Explanation

Correct Answer

B:

Revalidate group grants during user role changes and offboarding. This guards against recurrence of: Supplementary membership and primary group assignment are distinct account properties. Confirm the lab's final state by: `id trainee1` no longer includes `analysts`, while the primary GID remains unchanged.

Incorrect Answers

A:

Plan login, home, file ownership and scheduled-task references as a single account migration. That control is best suited to a separate scenario: A user account has a misspelled login name but should keep its existing UID and home ownership. It is not the best safeguard for the current mechanism: Supplementary membership and primary group assignment are distinct account properties.

C:

Audit password aging properties on account creation and renewal. That control is best suited to a separate scenario: A temporary user's password must expire after 30 days, but a student assumes changing it once enforces the rule. It is not the best safeguard for the current mechanism: Supplementary membership and primary group assignment are distinct account properties.

D:

Audit membership before and after group changes and use `-aG` for additive grants. That control is best suited to a separate scenario: A user must join the `analysts` group without losing their existing supplementary groups. It is not the best safeguard for the current mechanism: Supplementary membership and primary group assignment are distinct account properties.

Question 317

You are responsible for a disposable RHEL10 training node. The required hands-on outcome is: A trainee enables an SELinux Boolean with `setsebool` but loses the change after restart. Select the most appropriate implementation step.

  1. Set `umask 077` in the sensitive workflow before creating the secret fixture.
  2. Use `sestatus` to compare current and configured modes, then follow approved immediate `setenforce` and reboot procedures as needed.
  3. Install an approved public key in `authorized_keys`, test batch SSH, then adjust the reviewed `sshd_config` policy to disable passwords for the intended population.
  4. Apply the explicitly approved persistent flag using `setsebool -P httpd_can_network_connect_db on` on the lab machine.

Explanation

Correct Answer

D:

Apply the explicitly approved persistent flag using `setsebool -P httpd_can_network_connect_db on` on the lab machine. This directly addresses the lab target: A trainee enables an SELinux Boolean with `setsebool` but loses the change after restart. The underlying behavior is: `setsebool` without `-P` changes runtime policy only. Verification: The Boolean remains on after reboot and `getsebool` confirms the value.

Incorrect Answers

A:

Set `umask 077` in the sensitive workflow before creating the secret fixture. This is an appropriate step for a DIFFERENT exercise, specifically: A shell session creates files with default modes exposing group-readable secrets to unrelated users. It does not address the required lab state, whose mechanism is: `setsebool` without `-P` changes runtime policy only.

B:

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: `setsebool` without `-P` changes runtime policy only.

C:

Install an approved public key in `authorized_keys`, test batch SSH, then adjust the reviewed `sshd_config` policy to disable passwords for the intended population. This is an appropriate step for a DIFFERENT exercise, specifically: A lab SSH account still accepts password-only access while the approved policy requires authorized public-key authentication. It does not address the required lab state, whose mechanism is: `setsebool` without `-P` changes runtime policy only.

Question 318

After a lab configuration change, verify: A trainee enables an SELinux Boolean with `setsebool` but loses the change after restart. Which result most directly proves the desired system state?

  1. The Boolean remains on after reboot and `getsebool` confirms the value.
  2. `getsebool` reports on after reboot and the documented DB connection test succeeds.
  3. Key-based login succeeds while a controlled password-only attempt fails without locking out the authorized admin.
  4. `firewall-cmd --permanent --zone=public --list-services` includes HTTPS and the state survives reboot.

Explanation

Correct Answer

A:

The Boolean remains on after reboot and `getsebool` confirms the value. This check confirms the expected effect of: Apply the explicitly approved persistent flag using `setsebool -P httpd_can_network_connect_db on` on the lab machine. It distinguishes the intended result from the original failure mechanism: `setsebool` without `-P` changes runtime policy only.

Incorrect Answers

B:

`getsebool` reports on after reboot and the documented DB connection test succeeds. That verifies a separate lab task: An application hosted by Apache needs outbound database connections but SELinux policy denies them even with network routing functional. It does not validate the implementation required here: Apply the explicitly approved persistent flag using `setsebool -P httpd_can_network_connect_db on` on the lab machine.

C:

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: Apply the explicitly approved persistent flag using `setsebool -P httpd_can_network_connect_db on` on the lab machine.

D:

`firewall-cmd --permanent --zone=public --list-services` includes HTTPS and the state survives reboot. That verifies a separate lab task: A firewall change is tested using only a runtime rule, but an administrator assumes it will be present after restart. It does not validate the implementation required here: Apply the explicitly approved persistent flag using `setsebool -P httpd_can_network_connect_db on` on the lab machine.

Question 319

In an EX200-style practice lab, this condition exists: A trainee enables an SELinux Boolean with `setsebool` but loses the change after restart. Which explanation correctly identifies the underlying issue?

  1. SELinux Booleans can authorize specific service behavior without disabling the entire MAC policy.
  2. `setsebool` without `-P` changes runtime policy only.
  3. SSH authentication methods are enforced by sshd configuration and authorized key material.
  4. Persistent SELinux policy mode comes from boot configuration, not just `setenforce`.

Explanation

Correct Answer

B:

`setsebool` without `-P` changes runtime policy only. This explains the task's initial state: A trainee enables an SELinux Boolean with `setsebool` but loses the change after restart. The supported lab action is: Apply the explicitly approved persistent flag using `setsebool -P httpd_can_network_connect_db on` on the lab machine.

Incorrect Answers

A:

SELinux Booleans can authorize specific service behavior without disabling the entire MAC policy. This mechanism applies to another scenario: An application hosted by Apache needs outbound database connections but SELinux policy denies them even with network routing functional. The given lab state instead requires the more specific cause in the correct choice.

C:

SSH authentication methods are enforced by sshd configuration and authorized key material. This mechanism applies to another scenario: A lab SSH account still accepts password-only access while the approved policy requires authorized public-key authentication. The given lab state instead requires the more specific cause in the correct choice.

D:

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 320

After completing this practical task on a disposable RHEL10 training node: A trainee enables an SELinux Boolean with `setsebool` but loses the change after restart. Which operational safeguard helps keep the result correct and safe?

  1. Verify port-label assignment and firewall exposure separately for nonstandard listener ports.
  2. Check existing assignments before modifying SELinux port labels.
  3. Use persistent Boolean changes only when justified and test their effects after restart.
  4. Keep a verified break-glass console path before tightening authentication methods.

Explanation

Correct Answer

C:

Use persistent Boolean changes only when justified and test their effects after restart. This guards against recurrence of: `setsebool` without `-P` changes runtime policy only. Confirm the lab's final state by: The Boolean remains on after reboot and `getsebool` confirms the value.

Incorrect Answers

A:

Verify port-label assignment and firewall exposure separately for nonstandard listener ports. That control is best suited to a separate scenario: A test web daemon is configured to listen on TCP 8088 but SELinux blocks binding despite a matching firewall rule. It is not the best safeguard for the current mechanism: `setsebool` without `-P` changes runtime policy only.

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: `setsebool` without `-P` changes runtime policy only.

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: `setsebool` without `-P` changes runtime policy only.