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 75

Question 740

For this Linux administration lab: A service is enabled and active, but the actual application fails after boot because a required mount is not available in time. Which safety and lifecycle check best prevents the same problem returning?

  1. Choose service accounts and privileges deliberately for each recurring job.
  2. Implement bounded restart behavior and investigate recurring failure events promptly.
  3. Record both the configuration file change and observed runtime source.
  4. Test full cold-boot readiness, not just whether a unit says active.

Explanation

Correct Answer

D:

Test full cold-boot readiness, not just whether a unit says active. This guards against recurrence of: Systemd service ordering and filesystem availability are separate dependencies. Confirm the lab's final state by: After a controlled reboot, the mount is available when the service starts and the application reads its data.

Incorrect Answers

A:

Choose service accounts and privileges deliberately for each recurring job. That control is best suited to a separate scenario: A recurring cron script runs as root because it was inserted into the system crontab, while it should run as a least-privilege reporting account. It is not the best safeguard for the current mechanism: Systemd service ordering and filesystem availability are separate dependencies.

B:

Implement bounded restart behavior and investigate recurring failure events promptly. That control is best suited to a separate scenario: A service starts but restarts endlessly because `Restart=always` masks a broken configuration, filling logs. It is not the best safeguard for the current mechanism: Systemd service ordering and filesystem availability are separate dependencies.

C:

Record both the configuration file change and observed runtime source. That control is best suited to a separate scenario: A change updates `/etc/chrony.conf` but the running chronyd service continues querying the retired time source. It is not the best safeguard for the current mechanism: Systemd service ordering and filesystem availability are separate dependencies.

Question 741

A student working on a test RHEL10 instance receives this assignment: A custom service path is mislabeled and a technician repeatedly applies `chmod 777` without resolving access denials. Which answer gives the correct practical approach?

  1. Apply the explicitly approved persistent flag using `setsebool -P httpd_can_network_connect_db on` on the lab machine.
  2. Use `ls -Z`, `matchpathcon` and AVC logs to identify labeling, then correct the relevant persistent context mapping and run `restorecon`.
  3. Set `umask 077` in the sensitive workflow before creating the secret fixture.
  4. Use `getsebool httpd_can_network_connect_db`; after verifying policy, set `setsebool -P httpd_can_network_connect_db on` where supported.

Explanation

Correct Answer

B:

Use `ls -Z`, `matchpathcon` and AVC logs to identify labeling, then correct the relevant persistent context mapping and run `restorecon`. This directly addresses the lab target: A custom service path is mislabeled and a technician repeatedly applies `chmod 777` without resolving access denials. The underlying behavior is: SELinux mandatory access control cannot be fixed by making ordinary Unix permissions world writable. Verification: The service accesses the file with restrictive DAC permissions and the correct SELinux label while enforcing remains active.

Incorrect Answers

A:

Apply the explicitly approved persistent flag using `setsebool -P httpd_can_network_connect_db on` on the lab machine. This is an appropriate step for a DIFFERENT exercise, specifically: A trainee enables an SELinux Boolean with `setsebool` but loses the change after restart. It does not address the required lab state, whose mechanism is: SELinux mandatory access control cannot be fixed by making ordinary Unix permissions world writable.

C:

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: SELinux mandatory access control cannot be fixed by making ordinary Unix permissions world writable.

D:

Use `getsebool httpd_can_network_connect_db`; after verifying policy, set `setsebool -P httpd_can_network_connect_db on` where supported. This is an appropriate step for a DIFFERENT exercise, specifically: An application hosted by Apache needs outbound database connections but SELinux policy denies them even with network routing functional. It does not address the required lab state, whose mechanism is: SELinux mandatory access control cannot be fixed by making ordinary Unix permissions world writable.

Question 742

You have attempted this task on a test RHEL10 instance: A custom service path is mislabeled and a technician repeatedly applies `chmod 777` without resolving access denials. Which command output or observation best confirms its success?

  1. `semanage port -l` lists 8088 for `http_port_t` and the daemon binds without the denial.
  2. A normal new file is mode `600` or more restrictive and a new directory is mode `700` or more restrictive.
  3. The service accesses the file with restrictive DAC permissions and the correct SELinux label while enforcing remains active.
  4. A known private-key client logs in as the expected user while unauthorized keys fail.

Explanation

Correct Answer

C:

The service accesses the file with restrictive DAC permissions and the correct SELinux label while enforcing remains active. This check confirms the expected effect of: Use `ls -Z`, `matchpathcon` and AVC logs to identify labeling, then correct the relevant persistent context mapping and run `restorecon`. It distinguishes the intended result from the original failure mechanism: SELinux mandatory access control cannot be fixed by making ordinary Unix permissions world writable.

Incorrect Answers

A:

`semanage port -l` lists 8088 for `http_port_t` and the daemon binds without the denial. That verifies a separate lab task: A test web daemon is configured to listen on TCP 8088 but SELinux blocks binding despite a matching firewall rule. It does not validate the implementation required here: Use `ls -Z`, `matchpathcon` and AVC logs to identify labeling, then correct the relevant persistent context mapping and run `restorecon`.

B:

A normal new file is mode `600` or more restrictive and a new directory is mode `700` or more restrictive. That verifies a separate lab task: A shell session creates files with default modes exposing group-readable secrets to unrelated users. It does not validate the implementation required here: Use `ls -Z`, `matchpathcon` and AVC logs to identify labeling, then correct the relevant persistent context mapping and run `restorecon`.

D:

A known private-key client logs in as the expected user while unauthorized keys fail. That verifies a separate lab task: A server's `sshd` service is enabled but remote login fails because host key authentication was never established for the test user. It does not validate the implementation required here: Use `ls -Z`, `matchpathcon` and AVC logs to identify labeling, then correct the relevant persistent context mapping and run `restorecon`.

Question 743

Troubleshoot the following RHEL 10 lab situation: A custom service path is mislabeled and a technician repeatedly applies `chmod 777` without resolving access denials. Identify the key Linux mechanism behind the issue.

  1. SELinux Booleans can authorize specific service behavior without disabling the entire MAC policy.
  2. DAC mode bits can allow unauthorized modification even if service function appears correct.
  3. `setenforce` changes runtime state while SELinux's configured boot mode is separate.
  4. SELinux mandatory access control cannot be fixed by making ordinary Unix permissions world writable.

Explanation

Correct Answer

D:

SELinux mandatory access control cannot be fixed by making ordinary Unix permissions world writable. This explains the task's initial state: A custom service path is mislabeled and a technician repeatedly applies `chmod 777` without resolving access denials. The supported lab action is: Use `ls -Z`, `matchpathcon` and AVC logs to identify labeling, then correct the relevant persistent context mapping and run `restorecon`.

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.

B:

DAC mode bits can allow unauthorized modification even if service function appears correct. This mechanism applies to another scenario: A user accidentally gives write permission to everyone on an application's configuration file. The given lab state instead requires the more specific cause in the correct choice.

C:

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

Question 744

Following lab verification, document the preventive or persistence-oriented procedure for: A custom service path is mislabeled and a technician repeatedly applies `chmod 777` without resolving access denials. Which practice is most suitable?

  1. Diagnose DAC and SELinux separately, keeping both minimum necessary permissions and labels.
  2. Persist custom path mapping in SELinux fcontext policy, not one-off `chcon` changes.
  3. Reapply default file contexts after moving service data into standard labeled directories.
  4. Audit filesystem permissions on configuration files after each deployment.

Explanation

Correct Answer

A:

Diagnose DAC and SELinux separately, keeping both minimum necessary permissions and labels. This guards against recurrence of: SELinux mandatory access control cannot be fixed by making ordinary Unix permissions world writable. Confirm the lab's final state by: The service accesses the file with restrictive DAC permissions and the correct SELinux label while enforcing remains active.

Incorrect Answers

B:

Persist custom path mapping in SELinux fcontext policy, not one-off `chcon` changes. That control is best suited to a separate scenario: A web service moved to `/srv/custom-web` encounters SELinux denials because content copied from a home directory carries the wrong label. It is not the best safeguard for the current mechanism: SELinux mandatory access control cannot be fixed by making ordinary Unix permissions world writable.

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: SELinux mandatory access control cannot be fixed by making ordinary Unix permissions world writable.

D:

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 mandatory access control cannot be fixed by making ordinary Unix permissions world writable.

Question 745

On an isolated enterprise lab VM, perform the following practical task: A large fixture tree has many similarly named files; an operator must find only files updated during the last day. Which action should be carried out after confirming the lab prerequisites?

  1. Create a hard link with `ln /tmp/inode-lab/record /tmp/inode-lab/record.link`.
  2. Install the operator's public key in the target user's `~/.ssh/authorized_keys` with restrictive directory and file permissions.
  3. Run `find /srv/labs -type f -mtime -1 -print` and examine the returned paths.
  4. Set `chmod 600 /home/student/.ssh/id_ed25519` after verifying correct ownership.

Explanation

Correct Answer

C:

Run `find /srv/labs -type f -mtime -1 -print` and examine the returned paths. This directly addresses the lab target: A large fixture tree has many similarly named files; an operator must find only files updated during the last day. The underlying behavior is: `find` age predicates filter by file metadata and differ from filename searches. Verification: Known recently modified fixture files appear while older files are excluded according to the host clock.

Incorrect Answers

A:

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: `find` age predicates filter by file metadata and differ from filename searches.

B:

Install the operator's public key in the target user's `~/.ssh/authorized_keys` with restrictive directory and file permissions. This is an appropriate step for a DIFFERENT exercise, specifically: Two lab hosts need noninteractive operator access and password prompts interrupt file-copy automation. It does not address the required lab state, whose mechanism is: `find` age predicates filter by file metadata and differ from filename searches.

D:

Set `chmod 600 /home/student/.ssh/id_ed25519` after verifying correct ownership. This is an appropriate step for a DIFFERENT exercise, specifically: A private lab key file is incorrectly world-readable and must be accessible only to its owner. It does not address the required lab state, whose mechanism is: `find` age predicates filter by file metadata and differ from filename searches.

Question 746

The lab examiner asks for evidence after this assignment: A large fixture tree has many similarly named files; an operator must find only files updated during the last day. What is the decisive verification step?

  1. Only anchored service account lines with the expected prefix, letters and numeric suffix appear.
  2. `stat -c '%U:%G %a' /srv/labs/summary.txt` shows the target owner and group, and the analyst can edit under allowed group bits.
  3. The prior entries remain and the newly written line appears at the end of the log.
  4. Known recently modified fixture files appear while older files are excluded according to the host clock.

Explanation

Correct Answer

D:

Known recently modified fixture files appear while older files are excluded according to the host clock. This check confirms the expected effect of: Run `find /srv/labs -type f -mtime -1 -print` and examine the returned paths. It distinguishes the intended result from the original failure mechanism: `find` age predicates filter by file metadata and differ from filename searches.

Incorrect Answers

A:

Only anchored service account lines with the expected prefix, letters and numeric suffix appear. That verifies a separate lab task: A text filter should identify accounts that start with `svc-` and end in a number but a simple substring rule admits unrelated names. It does not validate the implementation required here: Run `find /srv/labs -type f -mtime -1 -print` and examine the returned paths.

B:

`stat -c '%U:%G %a' /srv/labs/summary.txt` shows the target owner and group, and the analyst can edit under allowed group bits. That verifies a separate lab task: A text report was created by root, preventing the intended nonprivileged analyst from editing it. It does not validate the implementation required here: Run `find /srv/labs -type f -mtime -1 -print` and examine the returned paths.

C:

The prior entries remain and the newly written line appears at the end of the log. That verifies a separate lab task: An hourly shell job unintentionally overwrites yesterday's operational notes each time it records a new line. It does not validate the implementation required here: Run `find /srv/labs -type f -mtime -1 -print` and examine the returned paths.

Question 747

A training host has this situation: A large fixture tree has many similarly named files; an operator must find only files updated during the last day. Which system behavior best explains the original failure or risk?

  1. `find` age predicates filter by file metadata and differ from filename searches.
  2. Replacing the whole file for a one-line change risks losing required settings.
  3. Quoting the entire wildcard prevents pathname expansion; unmatched globs can also remain literal.
  4. Standard output is descriptor 1, while diagnostic errors are descriptor 2, requiring different redirection targets.

Explanation

Correct Answer

A:

`find` age predicates filter by file metadata and differ from filename searches. This explains the task's initial state: A large fixture tree has many similarly named files; an operator must find only files updated during the last day. The supported lab action is: Run `find /srv/labs -type f -mtime -1 -print` and examine the returned paths.

Incorrect Answers

B:

Replacing the whole file for a one-line change risks losing required settings. This mechanism applies to another scenario: An operator needs to change a configuration line without deleting other settings in a small text file. The given lab state instead requires the more specific cause in the correct choice.

C:

Quoting the entire wildcard prevents pathname expansion; unmatched globs can also remain literal. This mechanism applies to another scenario: A shell script is supposed to process every `.conf` file, but its wildcard is quoted as a single literal. The given lab state instead requires the more specific cause in the correct choice.

D:

Standard output is descriptor 1, while diagnostic errors are descriptor 2, requiring different redirection targets. This mechanism applies to another scenario: An audit command prints successful results and permission-denied errors; the exercise requires separate normal and error logs. The given lab state instead requires the more specific cause in the correct choice.

Question 748

A student has implemented the following configuration: A large fixture tree has many similarly named files; an operator must find only files updated during the last day. What repeatable control best reduces regressions or unsafe changes?

  1. Verify record delimiters and test scripts against a representative sample before aggregating.
  2. Specify desired age semantics and verify test timestamps before automating maintenance.
  3. Inspect archive member names and use isolated staging for untrusted or unfamiliar archives.
  4. Make reviewed minimal edits and keep a backup or version-controlled copy of lab configuration.

Explanation

Correct Answer

B:

Specify desired age semantics and verify test timestamps before automating maintenance. This guards against recurrence of: `find` age predicates filter by file metadata and differ from filename searches. Confirm the lab's final state by: Known recently modified fixture files appear while older files are excluded according to the host clock.

Incorrect Answers

A:

Verify record delimiters and test scripts against a representative sample before aggregating. That control is best suited to a separate scenario: A training data file lists one account per line, and the goal is counting accounts whose shells are `/bin/bash`. It is not the best safeguard for the current mechanism: `find` age predicates filter by file metadata and differ from filename searches.

C:

Inspect archive member names and use isolated staging for untrusted or unfamiliar archives. That control is best suited to a separate scenario: A prebuilt archive contains paths the student has not inspected; extracting it as root into `/` would be risky. It is not the best safeguard for the current mechanism: `find` age predicates filter by file metadata and differ from filename searches.

D:

Make reviewed minimal edits and keep a backup or version-controlled copy of lab configuration. That control is best suited to a separate scenario: An operator needs to change a configuration line without deleting other settings in a small text file. It is not the best safeguard for the current mechanism: `find` age predicates filter by file metadata and differ from filename searches.

Question 749

You are responsible for a disposable RHEL10 training node. The required hands-on outcome is: A running VM has adequate memory by `free -h` but swap usage spikes and the team assumes the application is leaking. Select the most appropriate implementation step.

  1. Enable supported persistent systemd journal storage, such as creating `/var/log/journal` with correct ownership and restarting `systemd-journald` as documented.
  2. Run `sudo systemctl daemon-reload` after saving the reviewed unit file, then restart the unit if necessary.
  3. Run `journalctl -k -b -p warning --no-pager` on the sample host.
  4. Compare `free -h`, `vmstat 1 5`, and the relevant process RSS instead of inferring a leak from swap alone.

Explanation

Correct Answer

D:

Compare `free -h`, `vmstat 1 5`, and the relevant process RSS instead of inferring a leak from swap alone. This directly addresses the lab target: A running VM has adequate memory by `free -h` but swap usage spikes and the team assumes the application is leaking. The underlying behavior is: Allocated swap usage is not by itself proof of active memory exhaustion or a leak. Verification: The recorded swap-in/out rates and memory pressure indicate whether active thrashing is occurring.

Incorrect Answers

A:

Enable supported persistent systemd journal storage, such as creating `/var/log/journal` with correct ownership and restarting `systemd-journald` as documented. This is an appropriate step for a DIFFERENT exercise, specifically: A lab incident must be reconstructed after reboot but `journalctl -b -1` has no previous-boot records due to volatile journaling. It does not address the required lab state, whose mechanism is: Allocated swap usage is not by itself proof of active memory exhaustion or a leak.

B:

Run `sudo systemctl daemon-reload` after saving the reviewed unit file, then restart the unit if necessary. This is an appropriate step for a DIFFERENT exercise, specifically: A unit file for a custom service is edited directly under `/etc/systemd/system`, but systemd continues using the old unit definition. It does not address the required lab state, whose mechanism is: Allocated swap usage is not by itself proof of active memory exhaustion or a leak.

C:

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: Allocated swap usage is not by itself proof of active memory exhaustion or a leak.

Question 750

After a lab configuration change, verify: A running VM has adequate memory by `free -h` but swap usage spikes and the team assumes the application is leaking. Which result most directly proves the desired system state?

  1. The recorded swap-in/out rates and memory pressure indicate whether active thrashing is occurring.
  2. After generating and rebooting the fixture, `journalctl --list-boots` shows earlier boot entries.
  3. `systemctl get-default` reports `multi-user.target`, including after reboot.
  4. Only warning-or-higher kernel messages from the current boot are returned.

Explanation

Correct Answer

A:

The recorded swap-in/out rates and memory pressure indicate whether active thrashing is occurring. This check confirms the expected effect of: Compare `free -h`, `vmstat 1 5`, and the relevant process RSS instead of inferring a leak from swap alone. It distinguishes the intended result from the original failure mechanism: Allocated swap usage is not by itself proof of active memory exhaustion or a leak.

Incorrect Answers

B:

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: Compare `free -h`, `vmstat 1 5`, and the relevant process RSS instead of inferring a leak from swap alone.

C:

`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: Compare `free -h`, `vmstat 1 5`, and the relevant process RSS instead of inferring a leak from swap alone.

D:

Only warning-or-higher kernel messages from the current boot are returned. That verifies a separate lab task: A system journal contains many warnings and the student must isolate kernel-related messages for the current boot. It does not validate the implementation required here: Compare `free -h`, `vmstat 1 5`, and the relevant process RSS instead of inferring a leak from swap alone.