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 67

Question 660

For this Linux administration lab: A team requires a default primary group different from the user-private group created with the account. Which safety and lifecycle check best prevents the same problem returning?

  1. Apply secure home defaults and review them at account creation.
  2. Audit membership before and after group changes and use `-aG` for additive grants.
  3. Always validate sudoers changes with `visudo -c` before ending the recovery session.
  4. Review file ownership and service permissions after primary GID changes.

Explanation

Correct Answer

D:

Review file ownership and service permissions after primary GID changes. This guards against recurrence of: Primary group and supplementary group settings have different semantics. Confirm the lab's final state by: `id -gn svc_labs` reports `appops` and application file permissions remain appropriate.

Incorrect Answers

A:

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: Primary group and supplementary group settings have different semantics.

B:

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: Primary group and supplementary group settings have different semantics.

C:

Always validate sudoers changes with `visudo -c` before ending the recovery session. That control is best suited to a separate scenario: An operator edits `/etc/sudoers` using an ordinary editor and introduces invalid syntax, breaking privilege escalation. It is not the best safeguard for the current mechanism: Primary group and supplementary group settings have different semantics.

Question 661

A student working on a local virtualization classroom receives this assignment: A server's `sshd` service is enabled but remote login fails because host key authentication was never established for the test user. 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. Set up the intended user's `authorized_keys` and directory ownership, then verify `sshd -t` and the configured authentication policy.
  3. Define the appropriate persistent fcontext mapping with `semanage fcontext` and reapply it using `restorecon`.
  4. Check `semanage port -l | grep http_port_t`; if 8088 is unassigned, use `semanage port -a -t http_port_t -p tcp 8088`.

Explanation

Correct Answer

B:

Set up the intended user's `authorized_keys` and directory ownership, then verify `sshd -t` and the configured authentication policy. This directly addresses the lab target: A server's `sshd` service is enabled but remote login fails because host key authentication was never established for the test user. The underlying behavior is: A running SSH daemon does not imply any given user/key is authorized. Verification: A known private-key client logs in as the expected user while unauthorized keys fail.

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: A running SSH daemon does not imply any given user/key is authorized.

C:

Define the appropriate persistent fcontext mapping with `semanage fcontext` and reapply it using `restorecon`. This is an appropriate step for a DIFFERENT exercise, specifically: A temporary `chcon` label change makes a lab web file work, but `restorecon` later reverts it and the outage returns. It does not address the required lab state, whose mechanism is: A running SSH daemon does not imply any given user/key is authorized.

D:

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 running SSH daemon does not imply any given user/key is authorized.

Question 662

You have attempted this task on a local virtualization classroom: A server's `sshd` service is enabled but remote login fails because host key authentication was never established for the test user. Which command output or observation best confirms its success?

  1. An AVC entry identifies the source domain, target type and denied operation for the fixture.
  2. `ls -Z` shows suitable web content labels and Apache accesses the files under the approved mode.
  3. A known private-key client logs in as the expected user while unauthorized keys fail.
  4. The Boolean remains on after reboot and `getsebool` confirms the value.

Explanation

Correct Answer

C:

A known private-key client logs in as the expected user while unauthorized keys fail. This check confirms the expected effect of: Set up the intended user's `authorized_keys` and directory ownership, then verify `sshd -t` and the configured authentication policy. It distinguishes the intended result from the original failure mechanism: A running SSH daemon does not imply any given user/key is authorized.

Incorrect Answers

A:

An AVC entry identifies the source domain, target type and denied operation for the fixture. That verifies a separate lab task: A lab administrator disables SELinux to stop web errors without checking whether a label denial caused them. It does not validate the implementation required here: Set up the intended user's `authorized_keys` and directory ownership, then verify `sshd -t` and the configured authentication policy.

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 up the intended user's `authorized_keys` and directory ownership, then verify `sshd -t` and the configured authentication policy.

D:

The Boolean remains on after reboot and `getsebool` confirms the value. That verifies a separate lab task: A trainee enables an SELinux Boolean with `setsebool` but loses the change after restart. It does not validate the implementation required here: Set up the intended user's `authorized_keys` and directory ownership, then verify `sshd -t` and the configured authentication policy.

Question 663

Troubleshoot the following RHEL 10 lab situation: A server's `sshd` service is enabled but remote login fails because host key authentication was never established for the test user. Identify the key Linux mechanism behind the issue.

  1. SELinux access denials have specific type or policy causes that global disablement obscures.
  2. `setenforce` changes runtime state while SELinux's configured boot mode is separate.
  3. DAC permissions can be correct while SELinux type enforcement still denies access.
  4. A running SSH daemon does not imply any given user/key is authorized.

Explanation

Correct Answer

D:

A running SSH daemon does not imply any given user/key is authorized. This explains the task's initial state: A server's `sshd` service is enabled but remote login fails because host key authentication was never established for the test user. The supported lab action is: Set up the intended user's `authorized_keys` and directory ownership, then verify `sshd -t` and the configured authentication policy.

Incorrect Answers

A:

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.

B:

`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.

C:

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.

Question 664

Following lab verification, document the preventive or persistence-oriented procedure for: A server's `sshd` service is enabled but remote login fails because host key authentication was never established for the test user. Which practice is most suitable?

  1. Test positive and negative access after SSH authorization changes.
  2. Keep a verified break-glass console path before tightening authentication methods.
  3. Reapply default file contexts after moving service data into standard labeled directories.
  4. Use audited AVC evidence and type-appropriate remedies, keeping enforcing mode active.

Explanation

Correct Answer

A:

Test positive and negative access after SSH authorization changes. This guards against recurrence of: A running SSH daemon does not imply any given user/key is authorized. Confirm the lab's final state by: A known private-key client logs in as the expected user while unauthorized keys fail.

Incorrect Answers

B:

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: A running SSH daemon does not imply any given user/key is authorized.

C:

Reapply default file contexts after moving service data into standard labeled directories. That control is best suited to a separate scenario: A protected lab directory was copied from `/home` and now has inappropriate user-home SELinux contexts under `/var/www/html`. It is not the best safeguard for the current mechanism: A running SSH daemon does not imply any given user/key is authorized.

D:

Use audited AVC evidence and type-appropriate remedies, keeping enforcing mode active. That control is best suited to a separate scenario: A lab administrator disables SELinux to stop web errors without checking whether a label denial caused them. It is not the best safeguard for the current mechanism: A running SSH daemon does not imply any given user/key is authorized.

Question 665

On a nonproduction Linux administration sandbox, perform the following practical task: A private lab key file is incorrectly world-readable and must be accessible only to its owner. Which action should be carried out after confirming the lab prerequisites?

  1. Use a text editor such as `vi /tmp/lab.conf`, change the named setting, and save after checking the file's original contents.
  2. Create a hard link with `ln /tmp/inode-lab/record /tmp/inode-lab/record.link`.
  3. Set `chmod 600 /home/student/.ssh/id_ed25519` after verifying correct ownership.
  4. Run `find /srv/labs -type f -mtime -1 -print` and examine the returned paths.

Explanation

Correct Answer

C:

Set `chmod 600 /home/student/.ssh/id_ed25519` after verifying correct ownership. This directly addresses the lab target: A private lab key file is incorrectly world-readable and must be accessible only to its owner. The underlying behavior is: Unix ugo/rwx permission bits control who may read or modify ordinary files. Verification: `stat -c '%a %U'` shows `600` and the intended user, and `test -r` succeeds for that owner.

Incorrect Answers

A:

Use a text editor such as `vi /tmp/lab.conf`, change the named setting, and save after checking the file's original contents. This is an appropriate step for a DIFFERENT exercise, specifically: An operator needs to change a configuration line without deleting other settings in a small text file. It does not address the required lab state, whose mechanism is: Unix ugo/rwx permission bits control who may read or modify ordinary files.

B:

Create a hard link with `ln /tmp/inode-lab/record /tmp/inode-lab/record.link`. This is an appropriate step for a DIFFERENT exercise, specifically: Two paths should reference the same inode so edits through either name appear in the other, entirely on one file system. It does not address the required lab state, whose mechanism is: Unix ugo/rwx permission bits control who may read or modify ordinary files.

D:

Run `find /srv/labs -type f -mtime -1 -print` and examine the returned paths. This is an appropriate step for a DIFFERENT exercise, specifically: A large fixture tree has many similarly named files; an operator must find only files updated during the last day. It does not address the required lab state, whose mechanism is: Unix ugo/rwx permission bits control who may read or modify ordinary files.

Question 666

The lab examiner asks for evidence after this assignment: A private lab key file is incorrectly world-readable and must be accessible only to its owner. What is the decisive verification step?

  1. The displayed files belong to the installed package release and provide its appropriate local examples.
  2. The preflight output shows only designated `.tmp` files and unrelated files remain after any approved deletion.
  3. The numeric result matches a manual sample from `/etc/passwd` and excludes strings in other fields.
  4. `stat -c '%a %U'` shows `600` and the intended user, and `test -r` succeeds for that owner.

Explanation

Correct Answer

D:

`stat -c '%a %U'` shows `600` and the intended user, and `test -r` succeeds for that owner. This check confirms the expected effect of: Set `chmod 600 /home/student/.ssh/id_ed25519` after verifying correct ownership. It distinguishes the intended result from the original failure mechanism: Unix ugo/rwx permission bits control who may read or modify ordinary files.

Incorrect Answers

A:

The displayed files belong to the installed package release and provide its appropriate local examples. That verifies a separate lab task: A junior administrator wants usage examples for a locally installed system package but searches an unrelated online version. It does not validate the implementation required here: Set `chmod 600 /home/student/.ssh/id_ed25519` after verifying correct ownership.

B:

The preflight output shows only designated `.tmp` files and unrelated files remain after any approved deletion. That verifies a separate lab task: A cleanup task targets temporary build artifacts, but a wildcard could accidentally match production data. It does not validate the implementation required here: Set `chmod 600 /home/student/.ssh/id_ed25519` after verifying correct ownership.

C:

The numeric result matches a manual sample from `/etc/passwd` and excludes strings in other fields. That verifies a separate lab task: A training data file lists one account per line, and the goal is counting accounts whose shells are `/bin/bash`. It does not validate the implementation required here: Set `chmod 600 /home/student/.ssh/id_ed25519` after verifying correct ownership.

Question 667

A training host has this situation: A private lab key file is incorrectly world-readable and must be accessible only to its owner. Which system behavior best explains the original failure or risk?

  1. Unix ugo/rwx permission bits control who may read or modify ordinary files.
  2. An SSH client defaults to port 22 when no port override or host configuration is supplied.
  3. Installed package documentation may match the actual deployed version better than generic Internet notes.
  4. `tail -f` follows appended file content rather than providing only a static initial snapshot.

Explanation

Correct Answer

A:

Unix ugo/rwx permission bits control who may read or modify ordinary files. This explains the task's initial state: A private lab key file is incorrectly world-readable and must be accessible only to its owner. The supported lab action is: Set `chmod 600 /home/student/.ssh/id_ed25519` after verifying correct ownership.

Incorrect Answers

B:

An SSH client defaults to port 22 when no port override or host configuration is supplied. This mechanism applies to another scenario: An SSH lab service listens on a deliberately nonstandard port 2222, but a tester keeps connecting to the default port. The given lab state instead requires the more specific cause in the correct choice.

C:

Installed package documentation may match the actual deployed version better than generic Internet notes. This mechanism applies to another scenario: A junior administrator wants usage examples for a locally installed system package but searches an unrelated online version. The given lab state instead requires the more specific cause in the correct choice.

D:

`tail -f` follows appended file content rather than providing only a static initial snapshot. This mechanism applies to another scenario: An operator follows a live application log but accidentally reads only the first ten lines during troubleshooting. The given lab state instead requires the more specific cause in the correct choice.

Question 668

A student has implemented the following configuration: A private lab key file is incorrectly world-readable and must be accessible only to its owner. What repeatable control best reduces regressions or unsafe changes?

  1. Use local package docs and `rpm -q` version in the maintenance record.
  2. Provision private keys with restrictive mode and audit them during credential rotation.
  3. Write separate stream files for scheduled inventory commands and review their exit status.
  4. Record host, port and expected key fingerprint in managed SSH client configuration.

Explanation

Correct Answer

B:

Provision private keys with restrictive mode and audit them during credential rotation. This guards against recurrence of: Unix ugo/rwx permission bits control who may read or modify ordinary files. Confirm the lab's final state by: `stat -c '%a %U'` shows `600` and the intended user, and `test -r` succeeds for that owner.

Incorrect Answers

A:

Use local package docs and `rpm -q` version in the maintenance record. That control is best suited to a separate scenario: A junior administrator wants usage examples for a locally installed system package but searches an unrelated online version. It is not the best safeguard for the current mechanism: Unix ugo/rwx permission bits control who may read or modify ordinary files.

C:

Write separate stream files for scheduled inventory commands and review their exit status. That control is best suited to a separate scenario: An audit command prints successful results and permission-denied errors; the exercise requires separate normal and error logs. It is not the best safeguard for the current mechanism: Unix ugo/rwx permission bits control who may read or modify ordinary files.

D:

Record host, port and expected key fingerprint in managed SSH client configuration. That control is best suited to a separate scenario: An SSH lab service listens on a deliberately nonstandard port 2222, but a tester keeps connecting to the default port. It is not the best safeguard for the current mechanism: Unix ugo/rwx permission bits control who may read or modify ordinary files.

Question 669

You are responsible for a test RHEL10 instance. The required hands-on outcome is: A lab system needs a controlled reboot after updates but the operator plans to unplug the virtual power without syncing writes. Select the most appropriate implementation step.

  1. Use the systemd boot or supported recovery procedure to reach `rescue.target` from an authorized local VM console.
  2. Run `journalctl -k -b -p warning --no-pager` on the sample host.
  3. Use `sudo systemctl set-default multi-user.target` on the disposable training VM.
  4. Use `sudo systemctl reboot` after closing applications and checking there are no pending critical writes.

Explanation

Correct Answer

D:

Use `sudo systemctl reboot` after closing applications and checking there are no pending critical writes. This directly addresses the lab target: A lab system needs a controlled reboot after updates but the operator plans to unplug the virtual power without syncing writes. The underlying behavior is: An orderly reboot coordinates service shutdown and filesystem synchronization. Verification: The host restarts cleanly, and journal boot IDs show the new boot.

Incorrect Answers

A:

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

B:

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

C:

Use `sudo systemctl set-default multi-user.target` on the disposable training VM. This is an appropriate step for a DIFFERENT exercise, specifically: A multi-user server is configured to boot into a graphical session, while the training task requires a command-line default. It does not address the required lab state, whose mechanism is: An orderly reboot coordinates service shutdown and filesystem synchronization.

Question 670

After a lab configuration change, verify: A lab system needs a controlled reboot after updates but the operator plans to unplug the virtual power without syncing writes. Which result most directly proves the desired system state?

  1. The host restarts cleanly, and journal boot IDs show the new boot.
  2. The VM reaches its powered-off state rather than returning to login after restart.
  3. After generating and rebooting the fixture, `journalctl --list-boots` shows earlier boot entries.
  4. `systemctl get-default` reports `multi-user.target`, including after reboot.

Explanation

Correct Answer

A:

The host restarts cleanly, and journal boot IDs show the new boot. This check confirms the expected effect of: Use `sudo systemctl reboot` after closing applications and checking there are no pending critical writes. It distinguishes the intended result from the original failure mechanism: An orderly reboot coordinates service shutdown and filesystem synchronization.

Incorrect Answers

B:

The VM reaches its powered-off state rather than returning to login after restart. That verifies a separate lab task: A team is shutting down a disposable server immediately but an operator issues `reboot` instead of a power-off. It does not validate the implementation required here: Use `sudo systemctl reboot` after closing applications and checking there are no pending critical writes.

C:

After generating and rebooting the fixture, `journalctl --list-boots` shows earlier boot entries. That verifies a separate lab task: A lab incident must be reconstructed after reboot but `journalctl -b -1` has no previous-boot records due to volatile journaling. It does not validate the implementation required here: Use `sudo systemctl reboot` after closing applications and checking there are no pending critical writes.

D:

`systemctl get-default` reports `multi-user.target`, including after reboot. That verifies a separate lab task: A multi-user server is configured to boot into a graphical session, while the training task requires a command-line default. It does not validate the implementation required here: Use `sudo systemctl reboot` after closing applications and checking there are no pending critical writes.