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 56

Question 550

You have attempted this task on a test RHEL10 instance: A new network connection profile was edited but the operator attempts an unsafe remote restart of all networking services. Which command output or observation best confirms its success?

  1. `nmcli dev show` and `getent hosts server.lab` show the approved DNS servers and expected name resolution.
  2. The listener remains available after a controlled reboot and `systemctl is-enabled httpd` reports enabled.
  3. The profile reflects changed settings and existing remote management remains recoverable.
  4. The port remains listed in permanent configuration and works after a controlled reboot.

Explanation

Correct Answer

C:

The profile reflects changed settings and existing remote management remains recoverable. This check confirms the expected effect of: Use a supported `nmcli connection up lablan` or `nmcli device reapply <interface>` procedure after confirming console access and change scope. It distinguishes the intended result from the original failure mechanism: NetworkManager applies connection profile changes; restarting the entire stack is rarely necessary.

Incorrect Answers

A:

`nmcli dev show` and `getent hosts server.lab` show the approved DNS servers and expected name resolution. That verifies a separate lab task: A host resolves internal names through an obsolete DNS server even though its IPv4 address is correct. It does not validate the implementation required here: Use a supported `nmcli connection up lablan` or `nmcli device reapply <interface>` procedure after confirming console access and change scope.

B:

The listener remains available after a controlled reboot and `systemctl is-enabled httpd` reports enabled. That verifies a separate lab task: A web service must start after every reboot, but `ss -tln` shows its listener only after manual execution. It does not validate the implementation required here: Use a supported `nmcli connection up lablan` or `nmcli device reapply <interface>` procedure after confirming console access and change scope.

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 a supported `nmcli connection up lablan` or `nmcli device reapply <interface>` procedure after confirming console access and change scope.

Question 551

Troubleshoot the following RHEL 10 lab situation: A new network connection profile was edited but the operator attempts an unsafe remote restart of all networking services. Identify the key Linux mechanism behind the issue.

  1. Persisted connection configuration can remain inactive when autoconnect is disabled.
  2. Router advertisements can populate routes independently of static interface addresses.
  3. `ip` runtime configuration alone does not update NetworkManager's stored connection profile.
  4. NetworkManager applies connection profile changes; restarting the entire stack is rarely necessary.

Explanation

Correct Answer

D:

NetworkManager applies connection profile changes; restarting the entire stack is rarely necessary. This explains the task's initial state: A new network connection profile was edited but the operator attempts an unsafe remote restart of all networking services. The supported lab action is: Use a supported `nmcli connection up lablan` or `nmcli device reapply <interface>` procedure after confirming console access and change scope.

Incorrect Answers

A:

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.

B:

Router advertisements can populate routes independently of static interface addresses. This mechanism applies to another 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. The given lab state instead requires the more specific cause in the correct choice.

C:

`ip` runtime configuration alone does not update NetworkManager's stored connection profile. This mechanism applies to another scenario: A technician adds an IPv4 address with `ip addr add`, but it disappears after reboot. The given lab state instead requires the more specific cause in the correct choice.

Question 552

Following lab verification, document the preventive or persistence-oriented procedure for: A new network connection profile was edited but the operator attempts an unsafe remote restart of all networking services. Which practice is most suitable?

  1. Use tested out-of-band access and a rollback plan for remote network changes.
  2. Check autoconnect and active link state on every server network profile.
  3. Document IPv6 RA policy and test unintended default-route acceptance.
  4. Set the static hostname and confirm it is resolvable under the site's DNS plan.

Explanation

Correct Answer

A:

Use tested out-of-band access and a rollback plan for remote network changes. This guards against recurrence of: NetworkManager applies connection profile changes; restarting the entire stack is rarely necessary. Confirm the lab's final state by: The profile reflects changed settings and existing remote management remains recoverable.

Incorrect Answers

B:

Check autoconnect and active link state on every server network profile. That control is best suited to a separate scenario: A NetworkManager profile is stored on disk but is not automatically activated after reboot. It is not the best safeguard for the current mechanism: NetworkManager applies connection profile changes; restarting the entire stack is rarely necessary.

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: NetworkManager applies connection profile changes; restarting the entire stack is rarely necessary.

D:

Set the static hostname and confirm it is resolvable under the site's DNS plan. That control is best suited to a separate scenario: A hostname change is applied only with the `hostname` runtime command and resets after restart. It is not the best safeguard for the current mechanism: NetworkManager applies connection profile changes; restarting the entire stack is rarely necessary.

Question 553

On an isolated enterprise lab VM, perform the following practical task: An operator edits `/etc/sudoers` using an ordinary editor and introduces invalid syntax, breaking privilege escalation. Which action should be carried out after confirming the lab prerequisites?

  1. Use `usermod -s /bin/bash trainee1` after confirming the shell is installed and valid under `/etc/shells` when applicable.
  2. After archival and confirmation of the disposable identity, use `userdel -r trainee_retired` while preserving any required external data.
  3. Repair the file through `visudo` or `visudo -f /etc/sudoers.d/<file>` from an authorized recovery session.
  4. Use the interactive `passwd trainee1` tool with a protected channel and appropriate permission.

Explanation

Correct Answer

C:

Repair the file through `visudo` or `visudo -f /etc/sudoers.d/<file>` from an authorized recovery session. This directly addresses the lab target: An operator edits `/etc/sudoers` using an ordinary editor and introduces invalid syntax, breaking privilege escalation. The underlying behavior is: An invalid sudoers grammar can deny administrative access unexpectedly. Verification: `visudo -c` reports syntax OK and approved sudo operations work.

Incorrect Answers

A:

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: An invalid sudoers grammar can deny administrative access unexpectedly.

B:

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: An invalid sudoers grammar can deny administrative access unexpectedly.

D:

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: An invalid sudoers grammar can deny administrative access unexpectedly.

Question 554

The lab examiner asks for evidence after this assignment: An operator edits `/etc/sudoers` using an ordinary editor and introduces invalid syntax, breaking privilege escalation. What is the decisive verification step?

  1. `getent passwd svc_labs` shows the selected UID and nonlogin shell.
  2. `chage -l contractor1` shows the intended account expiration date.
  3. `getent passwd trainee_retired` finds no account and its disposable home is removed.
  4. `visudo -c` reports syntax OK and approved sudo operations work.

Explanation

Correct Answer

D:

`visudo -c` reports syntax OK and approved sudo operations work. This check confirms the expected effect of: Repair the file through `visudo` or `visudo -f /etc/sudoers.d/<file>` from an authorized recovery session. It distinguishes the intended result from the original failure mechanism: An invalid sudoers grammar can deny administrative access unexpectedly.

Incorrect Answers

A:

`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: Repair the file through `visudo` or `visudo -f /etc/sudoers.d/<file>` from an authorized recovery session.

B:

`chage -l contractor1` shows the intended account expiration date. That verifies a separate lab task: A short-term external account must stop being usable on a specified end date while its password policy remains unchanged. It does not validate the implementation required here: Repair the file through `visudo` or `visudo -f /etc/sudoers.d/<file>` from an authorized recovery session.

C:

`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: Repair the file through `visudo` or `visudo -f /etc/sudoers.d/<file>` from an authorized recovery session.

Question 555

A training host has this situation: An operator edits `/etc/sudoers` using an ordinary editor and introduces invalid syntax, breaking privilege escalation. Which system behavior best explains the original failure or risk?

  1. An invalid sudoers grammar can deny administrative access unexpectedly.
  2. Deleting a local account and its home is destructive and distinct from locking it.
  3. The shell field controls the program started at login and can intentionally block interactive access.
  4. Group membership may authorize privileged sudo actions through existing policy.

Explanation

Correct Answer

A:

An invalid sudoers grammar can deny administrative access unexpectedly. This explains the task's initial state: An operator edits `/etc/sudoers` using an ordinary editor and introduces invalid syntax, breaking privilege escalation. The supported lab action is: Repair the file through `visudo` or `visudo -f /etc/sudoers.d/<file>` from an authorized recovery session.

Incorrect Answers

B:

Deleting a local account and its home is destructive and distinct from locking it. This mechanism applies to another scenario: An account remains in `/etc/passwd` after project completion and the lab task explicitly authorizes permanent removal with its home. 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:

Group membership may authorize privileged sudo actions through existing policy. This mechanism applies to another scenario: A contractor has been added to `wheel` by mistake and can run arbitrary privileged commands. The given lab state instead requires the more specific cause in the correct choice.

Question 556

A student has implemented the following configuration: An operator edits `/etc/sudoers` using an ordinary editor and introduces invalid syntax, breaking privilege escalation. What repeatable control best reduces regressions or unsafe changes?

  1. Review administrative group memberships on every role transfer.
  2. Always validate sudoers changes with `visudo -c` before ending the recovery session.
  3. Avoid interactive shells and shared credentials for application identities.
  4. Review file ownership and service permissions after primary GID changes.

Explanation

Correct Answer

B:

Always validate sudoers changes with `visudo -c` before ending the recovery session. This guards against recurrence of: An invalid sudoers grammar can deny administrative access unexpectedly. Confirm the lab's final state by: `visudo -c` reports syntax OK and approved sudo operations work.

Incorrect Answers

A:

Review administrative group memberships on every role transfer. That control is best suited to a separate scenario: A contractor has been added to `wheel` by mistake and can run arbitrary privileged commands. It is not the best safeguard for the current mechanism: An invalid sudoers grammar can deny administrative access unexpectedly.

C:

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: An invalid sudoers grammar can deny administrative access unexpectedly.

D:

Review file ownership and service permissions after primary GID changes. That control is best suited to a separate scenario: A team requires a default primary group different from the user-private group created with the account. It is not the best safeguard for the current mechanism: An invalid sudoers grammar can deny administrative access unexpectedly.

Question 557

You are responsible for a disposable RHEL10 training node. The required hands-on outcome is: A shell session creates files with default modes exposing group-readable secrets to unrelated users. Select the most appropriate implementation step.

  1. Restore `httpd_sys_content_t` for read-only content and narrowly set approved writable label on the upload subtree.
  2. Use `firewall-cmd --zone=public --add-service=https --permanent` after review, followed by `firewall-cmd --reload`.
  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. Set `umask 077` in the sensitive workflow before creating the secret fixture.

Explanation

Correct Answer

D:

Set `umask 077` in the sensitive workflow before creating the secret fixture. This directly addresses the lab target: A shell session creates files with default modes exposing group-readable secrets to unrelated users. The underlying behavior is: A umask subtracts permission bits from default requested modes at object creation. Verification: A normal new file is mode `600` or more restrictive and a new directory is mode `700` or more restrictive.

Incorrect Answers

A:

Restore `httpd_sys_content_t` for read-only content and narrowly set approved writable label on the upload subtree. This is an appropriate step for a DIFFERENT exercise, specifically: A web application's content directory is assigned `httpd_sys_rw_content_t` everywhere even though only a small upload path requires writes. It does not address the required lab state, whose mechanism is: A umask subtracts permission bits from default requested modes at object creation.

B:

Use `firewall-cmd --zone=public --add-service=https --permanent` after review, followed by `firewall-cmd --reload`. This is an appropriate step for a DIFFERENT exercise, specifically: A firewall change is tested using only a runtime rule, but an administrator assumes it will be present after restart. It does not address the required lab state, whose mechanism is: A umask subtracts permission bits from default requested modes at object creation.

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: A umask subtracts permission bits from default requested modes at object creation.

Question 558

After a lab configuration change, verify: A shell session creates files with default modes exposing group-readable secrets to unrelated users. Which result most directly proves the desired system state?

  1. A normal new file is mode `600` or more restrictive and a new directory is mode `700` or more restrictive.
  2. `ls -Z` shows suitable web content labels and Apache accesses the files under the approved mode.
  3. `getenforce` shows permissive during the test, then enforcing after restoration without assuming persistence.
  4. `stat -c '%a %U:%G'` displays the restricted mode and an unrelated user cannot modify it.

Explanation

Correct Answer

A:

A normal new file is mode `600` or more restrictive and a new directory is mode `700` or more restrictive. This check confirms the expected effect of: Set `umask 077` in the sensitive workflow before creating the secret fixture. It distinguishes the intended result from the original failure mechanism: A umask subtracts permission bits from default requested modes at object creation.

Incorrect Answers

B:

`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: Set `umask 077` in the sensitive workflow before creating the secret fixture.

C:

`getenforce` shows permissive during the test, then enforcing after restoration without assuming persistence. That verifies a separate lab task: An administrator temporarily changes SELinux to permissive mode for diagnostics and believes it will remain so after reboot. It does not validate the implementation required here: Set `umask 077` in the sensitive workflow before creating the secret fixture.

D:

`stat -c '%a %U:%G'` displays the restricted mode and an unrelated user cannot modify it. That verifies a separate lab task: A user accidentally gives write permission to everyone on an application's configuration file. It does not validate the implementation required here: Set `umask 077` in the sensitive workflow before creating the secret fixture.

Question 559

In an EX200-style practice lab, this condition exists: A shell session creates files with default modes exposing group-readable secrets to unrelated users. Which explanation correctly identifies the underlying issue?

  1. `chcon` changes an inode label temporarily without updating the default file context database.
  2. A umask subtracts permission bits from default requested modes at object creation.
  3. Firewall policies are matched by zones, independently of service startup or SELinux port rights.
  4. `setsebool` without `-P` changes runtime policy only.

Explanation

Correct Answer

B:

A umask subtracts permission bits from default requested modes at object creation. This explains the task's initial state: A shell session creates files with default modes exposing group-readable secrets to unrelated users. The supported lab action is: Set `umask 077` in the sensitive workflow before creating the secret fixture.

Incorrect Answers

A:

`chcon` changes an inode label temporarily without updating the default file context database. This mechanism applies to another scenario: A temporary `chcon` label change makes a lab web file work, but `restorecon` later reverts it and the outage returns. The given lab state instead requires the more specific cause in the correct choice.

C:

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.

D:

`setsebool` without `-P` changes runtime policy only. This mechanism applies to another scenario: A trainee enables an SELinux Boolean with `setsebool` but loses the change after restart. The given lab state instead requires the more specific cause in the correct choice.

Question 560

After completing this practical task on a disposable RHEL10 training node: A shell session creates files with default modes exposing group-readable secrets to unrelated users. Which operational safeguard helps keep the result correct and safe?

  1. Use narrowly timed diagnostics and restore enforcing mode after analyzing denial logs.
  2. Check runtime and configured SELinux modes after policy changes.
  3. Set a restrictive umask in service startup or trusted shell policy for secret handling.
  4. Provision and rotate private keys under managed mode and ownership controls.

Explanation

Correct Answer

C:

Set a restrictive umask in service startup or trusted shell policy for secret handling. This guards against recurrence of: A umask subtracts permission bits from default requested modes at object creation. Confirm the lab's final state by: A normal new file is mode `600` or more restrictive and a new directory is mode `700` or more restrictive.

Incorrect Answers

A:

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: A umask subtracts permission bits from default requested modes at object creation.

B:

Check runtime and configured SELinux modes after policy changes. That control is best suited to a separate scenario: A training VM must boot with SELinux enforcing but `/etc/selinux/config` is set to permissive. It is not the best safeguard for the current mechanism: A umask subtracts permission bits from default requested modes at object creation.

D:

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: A umask subtracts permission bits from default requested modes at object creation.