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 43

Question 420

For this Linux administration lab: A test operator removed a block LV without first unmounting it, risking a busy-device error or data loss. Which safety and lifecycle check best prevents the same problem returning?

  1. Check `vgs` free extents before provisioning and keep names consistent with service inventory.
  2. Plan allocations with PV placement requirements as well as aggregate capacity.
  3. Perform non-destructive detection before initializing any storage metadata.
  4. Require unmount, backup and dependency review before LV retirement.

Explanation

Correct Answer

D:

Require unmount, backup and dependency review before LV retirement. This guards against recurrence of: LVM deletion removes logical block storage and must not occur while live mounts depend on it. Confirm the lab's final state by: `lvs vg_training` no longer lists the retired LV and unrelated LVs remain.

Incorrect Answers

A:

Check `vgs` free extents before provisioning and keep names consistent with service inventory. That control is best suited to a separate scenario: An LVM volume group `vg_training` exists and a test database requires a new 2 GiB logical volume. It is not the best safeguard for the current mechanism: LVM deletion removes logical block storage and must not occur while live mounts depend on it.

B:

Plan allocations with PV placement requirements as well as aggregate capacity. That control is best suited to a separate scenario: A training PV reports little free space while its VG appears to have ample total capacity across a second PV. It is not the best safeguard for the current mechanism: LVM deletion removes logical block storage and must not occur while live mounts depend on it.

C:

Perform non-destructive detection before initializing any storage metadata. That control is best suited to a separate scenario: A newly attached block device is not visible to LVM because it is not yet recognized by the kernel. It is not the best safeguard for the current mechanism: LVM deletion removes logical block storage and must not occur while live mounts depend on it.

Question 421

A student working on a local virtualization classroom receives this assignment: A new autofs indirect map was edited but clients keep using the previous exported path. Which answer gives the correct practical approach?

  1. Configure `/etc/auto.master.d/lab.autofs` to reference an approved indirect map and add entries for the lab home exports.
  2. Run `automount -m` to inspect effective maps and restart `autofs` safely after correcting `/etc/auto.*` entries.
  3. Do not shrink the XFS filesystem; instead plan a supported backup, create a smaller replacement filesystem, restore and switch mounts.
  4. Use `resize2fs /dev/vg_training/lv_ext4` after the block-device increase and confirm supported online/offline state.

Explanation

Correct Answer

B:

Run `automount -m` to inspect effective maps and restart `autofs` safely after correcting `/etc/auto.*` entries. This directly addresses the lab target: A new autofs indirect map was edited but clients keep using the previous exported path. The underlying behavior is: Autofs configuration changes may need the map service to reload before affecting new mounts. Verification: A request to the mapped directory resolves the updated server export without reusing the stale path.

Incorrect Answers

A:

Configure `/etc/auto.master.d/lab.autofs` to reference an approved indirect map and add entries for the lab home exports. This is an appropriate step for a DIFFERENT exercise, specifically: A large remote home-directory NFS tree should mount on demand rather than all at login. It does not address the required lab state, whose mechanism is: Autofs configuration changes may need the map service to reload before affecting new mounts.

C:

Do not shrink the XFS filesystem; instead plan a supported backup, create a smaller replacement filesystem, restore and switch mounts. This is an appropriate step for a DIFFERENT exercise, specifically: A junior admin proposes shrinking a mounted XFS filesystem to make room for another LV. It does not address the required lab state, whose mechanism is: Autofs configuration changes may need the map service to reload before affecting new mounts.

D:

Use `resize2fs /dev/vg_training/lv_ext4` after the block-device increase and confirm supported online/offline state. This is an appropriate step for a DIFFERENT exercise, specifically: An ext4 training LV was expanded but file capacity remains unchanged. It does not address the required lab state, whose mechanism is: Autofs configuration changes may need the map service to reload before affecting new mounts.

Question 422

You have attempted this task on a local virtualization classroom: A new autofs indirect map was edited but clients keep using the previous exported path. Which command output or observation best confirms its success?

  1. Accessing `/home/remote/student` triggers the expected mount and `automount -m` shows the map.
  2. A permitted test user writes successfully without using insecure world-writable modes.
  3. A request to the mapped directory resolves the updated server export without reusing the stale path.
  4. `blkid /dev/vdd1` identifies `TYPE="vfat"` and the intended test host mounts it successfully.

Explanation

Correct Answer

C:

A request to the mapped directory resolves the updated server export without reusing the stale path. This check confirms the expected effect of: Run `automount -m` to inspect effective maps and restart `autofs` safely after correcting `/etc/auto.*` entries. It distinguishes the intended result from the original failure mechanism: Autofs configuration changes may need the map service to reload before affecting new mounts.

Incorrect Answers

A:

Accessing `/home/remote/student` triggers the expected mount and `automount -m` shows the map. That verifies a separate lab task: A large remote home-directory NFS tree should mount on demand rather than all at login. It does not validate the implementation required here: Run `automount -m` to inspect effective maps and restart `autofs` safely after correcting `/etc/auto.*` entries.

B:

A permitted test user writes successfully without using insecure world-writable modes. That verifies a separate lab task: A team creates an NFS mount locally but cannot write files despite apparently open Unix mode bits. It does not validate the implementation required here: Run `automount -m` to inspect effective maps and restart `autofs` safely after correcting `/etc/auto.*` entries.

D:

`blkid /dev/vdd1` identifies `TYPE="vfat"` and the intended test host mounts it successfully. That verifies a separate lab task: A USB-compatible training partition must use the VFAT filesystem, but the operator formats it as XFS instead. It does not validate the implementation required here: Run `automount -m` to inspect effective maps and restart `autofs` safely after correcting `/etc/auto.*` entries.

Question 423

Troubleshoot the following RHEL 10 lab situation: A new autofs indirect map was edited but clients keep using the previous exported path. Identify the key Linux mechanism behind the issue.

  1. NFS mounting uses a server export path and a compatible network client rather than local disk formatting.
  2. XFS on RHEL 10 supports growth but does not support shrinking.
  3. Increasing block-device capacity does not automatically grow the filesystem metadata.
  4. Autofs configuration changes may need the map service to reload before affecting new mounts.

Explanation

Correct Answer

D:

Autofs configuration changes may need the map service to reload before affecting new mounts. This explains the task's initial state: A new autofs indirect map was edited but clients keep using the previous exported path. The supported lab action is: Run `automount -m` to inspect effective maps and restart `autofs` safely after correcting `/etc/auto.*` entries.

Incorrect Answers

A:

NFS mounting uses a server export path and a compatible network client rather than local disk formatting. This mechanism applies to another scenario: A lab NFS server exports `/exports/team` and a client needs it under `/mnt/team` during the current session. The given lab state instead requires the more specific cause in the correct choice.

B:

XFS on RHEL 10 supports growth but does not support shrinking. This mechanism applies to another scenario: A junior admin proposes shrinking a mounted XFS filesystem to make room for another LV. The given lab state instead requires the more specific cause in the correct choice.

C:

Increasing block-device capacity does not automatically grow the filesystem metadata. This mechanism applies to another scenario: An XFS filesystem is nearly full even though its LV has been extended by 2 GiB. The given lab state instead requires the more specific cause in the correct choice.

Question 424

Following lab verification, document the preventive or persistence-oriented procedure for: A new autofs indirect map was edited but clients keep using the previous exported path. Which practice is most suitable?

  1. Include map checks and a fresh access test after changing network home directories.
  2. Match filesystem selection to task requirements and verify before mounting.
  3. Validate map syntax and restart/enable autofs after controlled changes.
  4. Verify resolved mount source during network filesystem migrations.

Explanation

Correct Answer

A:

Include map checks and a fresh access test after changing network home directories. This guards against recurrence of: Autofs configuration changes may need the map service to reload before affecting new mounts. Confirm the lab's final state by: A request to the mapped directory resolves the updated server export without reusing the stale path.

Incorrect Answers

B:

Match filesystem selection to task requirements and verify before mounting. That control is best suited to a separate scenario: A disposable training volume is required to use ext4 so filesystem behavior can be compared with XFS. It is not the best safeguard for the current mechanism: Autofs configuration changes may need the map service to reload before affecting new mounts.

C:

Validate map syntax and restart/enable autofs after controlled changes. That control is best suited to a separate scenario: A large remote home-directory NFS tree should mount on demand rather than all at login. It is not the best safeguard for the current mechanism: Autofs configuration changes may need the map service to reload before affecting new mounts.

D:

Verify resolved mount source during network filesystem migrations. That control is best suited to a separate scenario: An NFS path is visible under `/mnt/team` but the mount unexpectedly uses an old server export after a migration. It is not the best safeguard for the current mechanism: Autofs configuration changes may need the map service to reload before affecting new mounts.

Question 425

On a nonproduction Linux administration sandbox, perform the following practical task: An RPM package on a training node is stale; the administrator needs to apply approved security updates without reinstalling everything. Which action should be carried out after confirming the lab prerequisites?

  1. Install an approved crontab entry `30 2 * * * /usr/local/bin/lab-report` for the correct account.
  2. Use Red Hat's supported GRUB configuration procedure and regenerate the correct boot config for the installed firmware mode, rather than editing transient generated files blindly.
  3. Use `dnf check-update` followed by a reviewed `dnf update packagename` transaction from trusted repositories.
  4. Use `systemctl set-default multi-user.target` and test the new default with `systemctl get-default`.

Explanation

Correct Answer

C:

Use `dnf check-update` followed by a reviewed `dnf update packagename` transaction from trusted repositories. This directly addresses the lab target: An RPM package on a training node is stale; the administrator needs to apply approved security updates without reinstalling everything. The underlying behavior is: DNF update resolves and records package lifecycle changes through configured repositories. Verification: `rpm -q packagename` shows the intended version and services are functionally checked after any required restart.

Incorrect Answers

A:

Install an approved crontab entry `30 2 * * * /usr/local/bin/lab-report` for the correct account. This is an appropriate step for a DIFFERENT exercise, specifically: An analyst needs a recurring report at 02:30 every day, but a manually started shell script runs only once. It does not address the required lab state, whose mechanism is: DNF update resolves and records package lifecycle changes through configured repositories.

B:

Use Red Hat's supported GRUB configuration procedure and regenerate the correct boot config for the installed firmware mode, rather than editing transient generated files blindly. This is an appropriate step for a DIFFERENT exercise, specifically: A VM's bootloader menu timeout is too short for approved maintenance diagnostics. It does not address the required lab state, whose mechanism is: DNF update resolves and records package lifecycle changes through configured repositories.

D:

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: DNF update resolves and records package lifecycle changes through configured repositories.

Question 426

The lab examiner asks for evidence after this assignment: An RPM package on a training node is stale; the administrator needs to apply approved security updates without reinstalling everything. What is the decisive verification step?

  1. `systemctl is-enabled chronyd` and `systemctl is-active chronyd` report enabled/active, also after reboot.
  2. `crontab -l` shows the entry and lab logs confirm recurring executions with controlled environment.
  3. Current time becomes accurate while the configured local timezone remains unchanged.
  4. `rpm -q packagename` shows the intended version and services are functionally checked after any required restart.

Explanation

Correct Answer

D:

`rpm -q packagename` shows the intended version and services are functionally checked after any required restart. This check confirms the expected effect of: Use `dnf check-update` followed by a reviewed `dnf update packagename` transaction from trusted repositories. It distinguishes the intended result from the original failure mechanism: DNF update resolves and records package lifecycle changes through configured repositories.

Incorrect Answers

A:

`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: Use `dnf check-update` followed by a reviewed `dnf update packagename` transaction from trusted repositories.

B:

`crontab -l` shows the entry and lab logs confirm recurring executions with controlled environment. That verifies a separate lab task: An analyst needs a recurring report at 02:30 every day, but a manually started shell script runs only once. It does not validate the implementation required here: Use `dnf check-update` followed by a reviewed `dnf update packagename` transaction from trusted repositories.

C:

Current time becomes accurate while the configured local timezone remains unchanged. That verifies a separate lab task: The system clock is wrong but the troubleshooting script changes the timezone instead of fixing time synchronization. It does not validate the implementation required here: Use `dnf check-update` followed by a reviewed `dnf update packagename` transaction from trusted repositories.

Question 427

A training host has this situation: An RPM package on a training node is stale; the administrator needs to apply approved security updates without reinstalling everything. Which system behavior best explains the original failure or risk?

  1. DNF update resolves and records package lifecycle changes through configured repositories.
  2. Service restart policy cannot repair an invalid executable or configuration on its own.
  3. Writing unit files alone does not start or enable a new timer.
  4. Systemd service ordering and filesystem availability are separate dependencies.

Explanation

Correct Answer

A:

DNF update resolves and records package lifecycle changes through configured repositories. This explains the task's initial state: An RPM package on a training node is stale; the administrator needs to apply approved security updates without reinstalling everything. The supported lab action is: Use `dnf check-update` followed by a reviewed `dnf update packagename` transaction from trusted repositories.

Incorrect Answers

B:

Service restart policy cannot repair an invalid executable or configuration on its own. This mechanism applies to another scenario: A service starts but restarts endlessly because `Restart=always` masks a broken configuration, filling logs. The given lab state instead requires the more specific cause in the correct choice.

C:

Writing unit files alone does not start or enable a new timer. This mechanism applies to another scenario: A timer has been created under `/etc/systemd/system`, but it shows inactive and the intended job never runs. The given lab state instead requires the more specific cause in the correct choice.

D:

Systemd service ordering and filesystem availability are separate dependencies. This mechanism applies to another scenario: A service is enabled and active, but the actual application fails after boot because a required mount is not available in time. The given lab state instead requires the more specific cause in the correct choice.

Question 428

A student has implemented the following configuration: An RPM package on a training node is stale; the administrator needs to apply approved security updates without reinstalling everything. What repeatable control best reduces regressions or unsafe changes?

  1. Review package source provenance before modifying repository trust policies.
  2. Use update logs, change windows and service verification rather than unreviewed broad upgrades.
  3. Verify the queue and remove obsolete tasks with `atrm` before the execution time.
  4. Audit time source and timezone independently in host acceptance tests.

Explanation

Correct Answer

B:

Use update logs, change windows and service verification rather than unreviewed broad upgrades. This guards against recurrence of: DNF update resolves and records package lifecycle changes through configured repositories. Confirm the lab's final state by: `rpm -q packagename` shows the intended version and services are functionally checked after any required restart.

Incorrect Answers

A:

Review package source provenance before modifying repository trust policies. That control is best suited to a separate scenario: A host is subscribed to Red Hat content but its custom repo definition incorrectly overrides the needed package source. It is not the best safeguard for the current mechanism: DNF update resolves and records package lifecycle changes through configured repositories.

C:

Verify the queue and remove obsolete tasks with `atrm` before the execution time. That control is best suited to a separate scenario: A disposable RHEL system must execute a one-time administrative script at 19:15 today rather than repeatedly. It is not the best safeguard for the current mechanism: DNF update resolves and records package lifecycle changes through configured repositories.

D:

Audit time source and timezone independently in host acceptance tests. That control is best suited to a separate scenario: The system clock is wrong but the troubleshooting script changes the timezone instead of fixing time synchronization. It is not the best safeguard for the current mechanism: DNF update resolves and records package lifecycle changes through configured repositories.

Question 429

You are responsible for a test RHEL10 instance. The required hands-on outcome is: A standard `http` service should be allowed through firewalld, but the operator adds a broad arbitrary port range. Select the most appropriate implementation step.

  1. Use `hostnamectl set-hostname node150.lab` on the disposable host.
  2. Review the `ipv6.method`, RA and gateway settings on the correct NetworkManager profile, and apply the approved configuration.
  3. Add a reviewed entry such as `192.0.2.11 db150.lab` to `/etc/hosts` on the test VM.
  4. Use `firewall-cmd --zone=public --add-service=http --permanent` and reload after verifying intended interface zone.

Explanation

Correct Answer

D:

Use `firewall-cmd --zone=public --add-service=http --permanent` and reload after verifying intended interface zone. This directly addresses the lab target: A standard `http` service should be allowed through firewalld, but the operator adds a broad arbitrary port range. The underlying behavior is: Named firewalld services encode documented port/protocol mappings more precisely than broad ranges. Verification: `firewall-cmd --zone=public --list-services` contains `http` and only the required service is exposed.

Incorrect Answers

A:

Use `hostnamectl set-hostname node150.lab` on the disposable host. This is an appropriate step for a DIFFERENT exercise, specifically: A hostname change is applied only with the `hostname` runtime command and resets after restart. It does not address the required lab state, whose mechanism is: Named firewalld services encode documented port/protocol mappings more precisely than broad ranges.

B:

Review the `ipv6.method`, RA and gateway settings on the correct NetworkManager profile, and apply the approved configuration. This is an appropriate step for a DIFFERENT exercise, specifically: 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 does not address the required lab state, whose mechanism is: Named firewalld services encode documented port/protocol mappings more precisely than broad ranges.

C:

Add a reviewed entry such as `192.0.2.11 db150.lab` to `/etc/hosts` on the test VM. This is an appropriate step for a DIFFERENT exercise, specifically: A training host must resolve one intentionally private name without querying DNS while building a disconnected lab. It does not address the required lab state, whose mechanism is: Named firewalld services encode documented port/protocol mappings more precisely than broad ranges.

Question 430

After a lab configuration change, verify: A standard `http` service should be allowed through firewalld, but the operator adds a broad arbitrary port range. Which result most directly proves the desired system state?

  1. `firewall-cmd --zone=public --list-services` contains `http` and only the required service is exposed.
  2. `ip -6 addr show` lists the address and a local IPv6 connectivity test succeeds.
  3. `firewall-cmd --zone=public --list-services` contains SSH and firewalld remains running and enabled.
  4. After reconnect or reboot `nmcli con show` and `ip addr` still report the address.

Explanation

Correct Answer

A:

`firewall-cmd --zone=public --list-services` contains `http` and only the required service is exposed. This check confirms the expected effect of: Use `firewall-cmd --zone=public --add-service=http --permanent` and reload after verifying intended interface zone. It distinguishes the intended result from the original failure mechanism: Named firewalld services encode documented port/protocol mappings more precisely than broad ranges.

Incorrect Answers

B:

`ip -6 addr show` lists the address and a local IPv6 connectivity test succeeds. That verifies a separate lab task: An IPv6-only lab application cannot listen because the host connection has no configured static IPv6 address. It does not validate the implementation required here: Use `firewall-cmd --zone=public --add-service=http --permanent` and reload after verifying intended interface zone.

C:

`firewall-cmd --zone=public --list-services` contains SSH and firewalld remains running and enabled. That verifies a separate lab task: A firewall service was accidentally removed from the active zone, and an operator proposes disabling firewalld entirely. It does not validate the implementation required here: Use `firewall-cmd --zone=public --add-service=http --permanent` and reload after verifying intended interface zone.

D:

After reconnect or reboot `nmcli con show` and `ip addr` still report the address. That verifies a separate lab task: A technician adds an IPv4 address with `ip addr add`, but it disappears after reboot. It does not validate the implementation required here: Use `firewall-cmd --zone=public --add-service=http --permanent` and reload after verifying intended interface zone.