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 59

Question 580

For this Linux administration lab: A team creates an NFS mount locally but cannot write files despite apparently open Unix mode bits. Which safety and lifecycle check best prevents the same problem returning?

  1. Test boot and reconnect behavior with the NFS server intentionally offline in the lab.
  2. Never format before confirming the exact blank lab device and backup status.
  3. Inspect mount users and coordinate termination before maintenance unmounts.
  4. Use consistent UID/GID mapping and least-privilege export settings.

Explanation

Correct Answer

D:

Use consistent UID/GID mapping and least-privilege export settings. This guards against recurrence of: NFS access depends on remote export policy and identity mapping in addition to client-side mode bits. Confirm the lab's final state by: A permitted test user writes successfully without using insecure world-writable modes.

Incorrect Answers

A:

Test boot and reconnect behavior with the NFS server intentionally offline in the lab. That control is best suited to a separate scenario: A network share configured in fstab causes a lab host to stall when its NFS server is unavailable during boot. It is not the best safeguard for the current mechanism: NFS access depends on remote export policy and identity mapping in addition to client-side mode bits.

B:

Never format before confirming the exact blank lab device and backup status. That control is best suited to a separate scenario: A fresh disposable LV is unformatted and must hold an XFS file system for a lab data directory. It is not the best safeguard for the current mechanism: NFS access depends on remote export policy and identity mapping in addition to client-side mode bits.

C:

Inspect mount users and coordinate termination before maintenance unmounts. That control is best suited to a separate scenario: A student tries to unmount an NFS training mount while another process has its current directory inside it. It is not the best safeguard for the current mechanism: NFS access depends on remote export policy and identity mapping in addition to client-side mode bits.

Question 581

A student working on a disposable RHEL10 training node receives this assignment: A service starts but restarts endlessly because `Restart=always` masks a broken configuration, filling logs. Which answer gives the correct practical approach?

  1. Inspect `grubby --info=ALL` and set the approved kernel default using the supported `grubby --set-default` method.
  2. Fix the underlying application failure, review the restart policy, and use `systemctl reset-failed` after validation.
  3. Use `systemctl set-default multi-user.target` and test the new default with `systemctl get-default`.
  4. Run `systemctl daemon-reload` and then `systemctl enable --now lab-cleanup.timer` on the lab system.

Explanation

Correct Answer

B:

Fix the underlying application failure, review the restart policy, and use `systemctl reset-failed` after validation. This directly addresses the lab target: A service starts but restarts endlessly because `Restart=always` masks a broken configuration, filling logs. The underlying behavior is: Service restart policy cannot repair an invalid executable or configuration on its own. Verification: The service becomes stable and the journal no longer shows a rapid restart loop.

Incorrect Answers

A:

Inspect `grubby --info=ALL` and set the approved kernel default using the supported `grubby --set-default` method. This is an appropriate step for a DIFFERENT exercise, specifically: After an authorized kernel update, a lab VM boots the wrong kernel because the default boot entry points to an older release. It does not address the required lab state, whose mechanism is: Service restart policy cannot repair an invalid executable or configuration on its own.

C:

Use `systemctl set-default multi-user.target` and test the new default with `systemctl get-default`. This is an appropriate step for a DIFFERENT exercise, specifically: A lab machine must boot into `multi-user.target` but an operator only isolates that target for the current session. It does not address the required lab state, whose mechanism is: Service restart policy cannot repair an invalid executable or configuration on its own.

D:

Run `systemctl daemon-reload` and then `systemctl enable --now lab-cleanup.timer` on the lab system. This is an appropriate step for a DIFFERENT exercise, specifically: A timer has been created under `/etc/systemd/system`, but it shows inactive and the intended job never runs. It does not address the required lab state, whose mechanism is: Service restart policy cannot repair an invalid executable or configuration on its own.

Question 582

You have attempted this task on a disposable RHEL10 training node: A service starts but restarts endlessly because `Restart=always` masks a broken configuration, filling logs. Which command output or observation best confirms its success?

  1. `rpm -q packagename` shows the intended version and services are functionally checked after any required restart.
  2. `systemctl is-enabled chronyd` and `systemctl is-active chronyd` report enabled/active, also after reboot.
  3. The service becomes stable and the journal no longer shows a rapid restart loop.
  4. `rpm -q lab-package` reports tracked installation and required dependencies.

Explanation

Correct Answer

C:

The service becomes stable and the journal no longer shows a rapid restart loop. This check confirms the expected effect of: Fix the underlying application failure, review the restart policy, and use `systemctl reset-failed` after validation. It distinguishes the intended result from the original failure mechanism: Service restart policy cannot repair an invalid executable or configuration on its own.

Incorrect Answers

A:

`rpm -q packagename` shows the intended version and services are functionally checked after any required restart. That verifies a separate lab task: An RPM package on a training node is stale; the administrator needs to apply approved security updates without reinstalling everything. It does not validate the implementation required here: Fix the underlying application failure, review the restart policy, and use `systemctl reset-failed` after validation.

B:

`systemctl is-enabled chronyd` and `systemctl is-active chronyd` report enabled/active, also after reboot. That verifies a separate lab task: A daemon is started manually after package installation but must be reliably available after reboots. It does not validate the implementation required here: Fix the underlying application failure, review the restart policy, and use `systemctl reset-failed` after validation.

D:

`rpm -q lab-package` reports tracked installation and required dependencies. That verifies a separate lab task: A local RPM file exists in the build directory, but a student tries to import its extracted binaries directly into `/usr/bin`. It does not validate the implementation required here: Fix the underlying application failure, review the restart policy, and use `systemctl reset-failed` after validation.

Question 583

Troubleshoot the following RHEL 10 lab situation: A service starts but restarts endlessly because `Restart=always` masks a broken configuration, filling logs. Identify the key Linux mechanism behind the issue.

  1. DNF update resolves and records package lifecycle changes through configured repositories.
  2. An `at` job is one-shot, unlike a recurring cron schedule.
  3. A running time daemon without valid reachable sources cannot synchronize clocks.
  4. Service restart policy cannot repair an invalid executable or configuration on its own.

Explanation

Correct Answer

D:

Service restart policy cannot repair an invalid executable or configuration on its own. This explains the task's initial state: A service starts but restarts endlessly because `Restart=always` masks a broken configuration, filling logs. The supported lab action is: Fix the underlying application failure, review the restart policy, and use `systemctl reset-failed` after validation.

Incorrect Answers

A:

DNF update resolves and records package lifecycle changes through configured repositories. This mechanism applies to another scenario: An RPM package on a training node is stale; the administrator needs to apply approved security updates without reinstalling everything. The given lab state instead requires the more specific cause in the correct choice.

B:

An `at` job is one-shot, unlike a recurring cron schedule. This mechanism applies to another scenario: A disposable RHEL system must execute a one-time administrative script at 19:15 today rather than repeatedly. The given lab state instead requires the more specific cause in the correct choice.

C:

A running time daemon without valid reachable sources cannot synchronize clocks. This mechanism applies to another scenario: NTP clients show clock drift because the time service package is installed but not configured to use the training network's time source. The given lab state instead requires the more specific cause in the correct choice.

Question 584

Following lab verification, document the preventive or persistence-oriented procedure for: A service starts but restarts endlessly because `Restart=always` masks a broken configuration, filling logs. Which practice is most suitable?

  1. Implement bounded restart behavior and investigate recurring failure events promptly.
  2. Document persistent default target configuration separately from runtime target switching.
  3. Choose service accounts and privileges deliberately for each recurring job.
  4. Review executable paths and file ownership as part of service deployment testing.

Explanation

Correct Answer

A:

Implement bounded restart behavior and investigate recurring failure events promptly. This guards against recurrence of: Service restart policy cannot repair an invalid executable or configuration on its own. Confirm the lab's final state by: The service becomes stable and the journal no longer shows a rapid restart loop.

Incorrect Answers

B:

Document persistent default target configuration separately from runtime target switching. That control is best suited to a separate scenario: A lab machine must boot into `multi-user.target` but an operator only isolates that target for the current session. It is not the best safeguard for the current mechanism: Service restart policy cannot repair an invalid executable or configuration on its own.

C:

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: Service restart policy cannot repair an invalid executable or configuration on its own.

D:

Review executable paths and file ownership as part of service deployment testing. That control is best suited to a separate scenario: A new custom service has an `ExecStart` path that no longer exists after the application was moved. It is not the best safeguard for the current mechanism: Service restart policy cannot repair an invalid executable or configuration on its own.

Question 585

On an offline training clone, perform the following practical task: An IPv6 connection receives a default route from router advertisements when policy requires the test host to use only a specified local IPv6 subnet. Which action should be carried out after confirming the lab prerequisites?

  1. Identify its NetworkManager profile, then `nmcli con mod lablan ipv4.method manual ipv4.addresses 192.0.2.50/24 ipv4.gateway 192.0.2.1` in the isolated lab.
  2. Configure the desired resolver addresses using `nmcli con mod lablan ipv4.dns '192.0.2.53 192.0.2.54'` and review `ipv4.ignore-auto-dns`.
  3. Review the `ipv6.method`, RA and gateway settings on the correct NetworkManager profile, and apply the approved configuration.
  4. Set `nmcli connection modify lablan connection.autoconnect yes` and activate it when safe.

Explanation

Correct Answer

C:

Review the `ipv6.method`, RA and gateway settings on the correct NetworkManager profile, and apply the approved configuration. This directly addresses the lab target: 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 underlying behavior is: Router advertisements can populate routes independently of static interface addresses. Verification: `ip -6 route` shows only the intended routes and a local subnet test succeeds.

Incorrect Answers

A:

Identify its NetworkManager profile, then `nmcli con mod lablan ipv4.method manual ipv4.addresses 192.0.2.50/24 ipv4.gateway 192.0.2.1` in the isolated lab. This is an appropriate step for a DIFFERENT exercise, specifically: A training host has DHCP IPv4 but requires a fixed address `192.0.2.50/24` and gateway `192.0.2.1` for a private lab subnet. It does not address the required lab state, whose mechanism is: Router advertisements can populate routes independently of static interface addresses.

B:

Configure the desired resolver addresses using `nmcli con mod lablan ipv4.dns '192.0.2.53 192.0.2.54'` and review `ipv4.ignore-auto-dns`. This is an appropriate step for a DIFFERENT exercise, specifically: A host resolves internal names through an obsolete DNS server even though its IPv4 address is correct. It does not address the required lab state, whose mechanism is: Router advertisements can populate routes independently of static interface addresses.

D:

Set `nmcli connection modify lablan connection.autoconnect yes` and activate it when safe. This is an appropriate step for a DIFFERENT exercise, specifically: A NetworkManager profile is stored on disk but is not automatically activated after reboot. It does not address the required lab state, whose mechanism is: Router advertisements can populate routes independently of static interface addresses.

Question 586

The lab examiner asks for evidence after this assignment: An IPv6 connection receives a default route from router advertisements when policy requires the test host to use only a specified local IPv6 subnet. What is the decisive verification step?

  1. `nmcli dev show` and `getent hosts server.lab` show the approved DNS servers and expected name resolution.
  2. `nmcli -g connection.autoconnect connection show lablan` returns yes and `nmcli connection show --active` lists it after reboot.
  3. After reconnect or reboot `nmcli con show` and `ip addr` still report the address.
  4. `ip -6 route` shows only the intended routes and a local subnet test succeeds.

Explanation

Correct Answer

D:

`ip -6 route` shows only the intended routes and a local subnet test succeeds. This check confirms the expected effect of: Review the `ipv6.method`, RA and gateway settings on the correct NetworkManager profile, and apply the approved configuration. It distinguishes the intended result from the original failure mechanism: Router advertisements can populate routes independently of static interface addresses.

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: Review the `ipv6.method`, RA and gateway settings on the correct NetworkManager profile, and apply the approved configuration.

B:

`nmcli -g connection.autoconnect connection show lablan` returns yes and `nmcli connection show --active` lists it after reboot. That verifies a separate lab task: A NetworkManager profile is stored on disk but is not automatically activated after reboot. It does not validate the implementation required here: Review the `ipv6.method`, RA and gateway settings on the correct NetworkManager profile, and apply the approved configuration.

C:

After reconnect or reboot `nmcli con show` and `ip addr` still report the address. That verifies a separate lab task: A technician adds an IPv4 address with `ip addr add`, but it disappears after reboot. It does not validate the implementation required here: Review the `ipv6.method`, RA and gateway settings on the correct NetworkManager profile, and apply the approved configuration.

Question 587

A training host has this situation: An IPv6 connection receives a default route from router advertisements when policy requires the test host to use only a specified local IPv6 subnet. Which system behavior best explains the original failure or risk?

  1. Router advertisements can populate routes independently of static interface addresses.
  2. Disabling the firewall replaces one narrow authorization issue with broad exposure.
  3. IPv4 and IPv6 address families require their own connection settings.
  4. Global zone-wide service allowances are broader than a source-limited access requirement.

Explanation

Correct Answer

A:

Router advertisements can populate routes independently of static interface addresses. This explains the task's initial state: 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 supported lab action is: Review the `ipv6.method`, RA and gateway settings on the correct NetworkManager profile, and apply the approved configuration.

Incorrect Answers

B:

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.

C:

IPv4 and IPv6 address families require their own connection settings. This mechanism applies to another scenario: An IPv6-only lab application cannot listen because the host connection has no configured static IPv6 address. The given lab state instead requires the more specific cause in the correct choice.

D:

Global zone-wide service allowances are broader than a source-limited access requirement. This mechanism applies to another scenario: The server needs HTTPS only from one lab management subnet instead of from every source in the public zone. The given lab state instead requires the more specific cause in the correct choice.

Question 588

A student has implemented the following configuration: An IPv6 connection receives a default route from router advertisements when policy requires the test host to use only a specified local IPv6 subnet. What repeatable control best reduces regressions or unsafe changes?

  1. Use tested out-of-band access and a rollback plan for remote network changes.
  2. Document IPv6 RA policy and test unintended default-route acceptance.
  3. Verify both address families and DNS behavior after connection changes.
  4. Verify route lookup for representative destinations during network acceptance.

Explanation

Correct Answer

B:

Document IPv6 RA policy and test unintended default-route acceptance. This guards against recurrence of: Router advertisements can populate routes independently of static interface addresses. Confirm the lab's final state by: `ip -6 route` shows only the intended routes and a local subnet test succeeds.

Incorrect Answers

A:

Use tested out-of-band access and a rollback plan for remote network changes. That control is best suited to a separate scenario: A new network connection profile was edited but the operator attempts an unsafe remote restart of all networking services. It is not the best safeguard for the current mechanism: Router advertisements can populate routes independently of static interface addresses.

C:

Verify both address families and DNS behavior after connection changes. That control is best suited to a separate scenario: An IPv6-only lab application cannot listen because the host connection has no configured static IPv6 address. It is not the best safeguard for the current mechanism: Router advertisements can populate routes independently of static interface addresses.

D:

Verify route lookup for representative destinations during network acceptance. That control is best suited to a separate scenario: The lab interface is assigned the right IP but the host cannot reach an off-subnet gateway due to an incorrect default route. It is not the best safeguard for the current mechanism: Router advertisements can populate routes independently of static interface addresses.

Question 589

You are responsible for a local virtualization classroom. The required hands-on outcome is: A new user must have a private home directory rather than inherited group-read access. Select the most appropriate implementation step.

  1. Start a new login session or use `newgrp analysts` under approved conditions and verify with `id`.
  2. Use appropriate `useradd -r -u <approved-uid> -s /sbin/nologin svc_labs` with validated numeric availability.
  3. Use `usermod -g appops svc_labs` after ensuring the target group exists and reviewing owned files.
  4. Ensure `/home/trainee1` ownership is `trainee1:trainee1` and set an approved restrictive mode such as `chmod 700 /home/trainee1`.

Explanation

Correct Answer

D:

Ensure `/home/trainee1` ownership is `trainee1:trainee1` and set an approved restrictive mode such as `chmod 700 /home/trainee1`. This directly addresses the lab target: A new user must have a private home directory rather than inherited group-read access. The underlying behavior is: Directory traversal and ownership control privacy of files below the home directory. Verification: `stat -c '%a %U:%G'` reports the expected properties and a different test user cannot traverse the home.

Incorrect Answers

A:

Start a new login session or use `newgrp analysts` under approved conditions and verify with `id`. This is an appropriate step for a DIFFERENT exercise, specifically: A Unix access test fails because a group was added in `/etc/group`, but a long-running user session still reports an old group set. It does not address the required lab state, whose mechanism is: Directory traversal and ownership control privacy of files below the home directory.

B:

Use appropriate `useradd -r -u <approved-uid> -s /sbin/nologin svc_labs` with validated numeric availability. This is an appropriate step for a DIFFERENT exercise, specifically: A service account must have a fixed UID and noninteractive shell for an isolated application, not a general human login. It does not address the required lab state, whose mechanism is: Directory traversal and ownership control privacy of files below the home directory.

C:

Use `usermod -g appops svc_labs` after ensuring the target group exists and reviewing owned files. This is an appropriate step for a DIFFERENT exercise, specifically: A team requires a default primary group different from the user-private group created with the account. It does not address the required lab state, whose mechanism is: Directory traversal and ownership control privacy of files below the home directory.

Question 590

After a lab configuration change, verify: A new user must have a private home directory rather than inherited group-read access. Which result most directly proves the desired system state?

  1. `stat -c '%a %U:%G'` reports the expected properties and a different test user cannot traverse the home.
  2. `id trainee1` includes `analysts` and the prior supplementary groups remain.
  3. `passwd -S contractor1` indicates locked credentials and preserved home files remain readable to authorized auditors.
  4. `chage -l contractor1` shows the intended account expiration date.

Explanation

Correct Answer

A:

`stat -c '%a %U:%G'` reports the expected properties and a different test user cannot traverse the home. This check confirms the expected effect of: Ensure `/home/trainee1` ownership is `trainee1:trainee1` and set an approved restrictive mode such as `chmod 700 /home/trainee1`. It distinguishes the intended result from the original failure mechanism: Directory traversal and ownership control privacy of files below the home directory.

Incorrect Answers

B:

`id trainee1` includes `analysts` and the prior supplementary groups remain. That verifies a separate lab task: A user must join the `analysts` group without losing their existing supplementary groups. It does not validate the implementation required here: Ensure `/home/trainee1` ownership is `trainee1:trainee1` and set an approved restrictive mode such as `chmod 700 /home/trainee1`.

C:

`passwd -S contractor1` indicates locked credentials and preserved home files remain readable to authorized auditors. That verifies a separate lab task: A contractor account exists but should no longer permit interactive login after an engagement ends, while audit files must remain. It does not validate the implementation required here: Ensure `/home/trainee1` ownership is `trainee1:trainee1` and set an approved restrictive mode such as `chmod 700 /home/trainee1`.

D:

`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: Ensure `/home/trainee1` ownership is `trainee1:trainee1` and set an approved restrictive mode such as `chmod 700 /home/trainee1`.