Exam Information
Free practice questions with explanations
RedHat EX200 Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 15
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Configure local storage
A financial reporting server runs RHEL 9 and has a new 4 TB disk that must hold a single partition spanning the entire disk. The storage team requires that the partition table support more than four primary partitions without using extended partitions, and that the disk remain usable beyond the 2 TB addressing limit. The administrator must also avoid destroying the existing data on a second disk already in use. Which partitioning action meets these requirements for the new disk?
Correct Answer: BExplanationA GPT label is required because MBR cannot address beyond 2 TB and supports only four primary partitions. Labelling the new disk with GPT using parted and creating a single partition across the full disk satisfies both constraints without touching the other disk. The MBR options fail the addressing requirement, and the extended-partition approach is unnecessary when GPT removes the four-partition limit. Alignment settings do not change the partition table format.
-
2 Question 2 Order list Create and configure file systems
A logical volume named lv_logs in volume group vg_app on a RHEL 9 host holds an xfs file system mounted at /var/log/app, and it is nearly full. The volume group has free extents, and the application must remain running throughout the change with no data loss. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Check the file system for consistency by unmounting it and running xfs_repair
- Confirm the new size of the mounted file system with df -h /var/log/app
- Verify free extents in vg_app with vgs and confirm the volume group has space
- Extend the logical volume with lvextend using the --resizefs option
Correct Answer:- Verify free extents in vg_app with vgs and confirm the volume group has space
- Extend the logical volume with lvextend using the --resizefs option
- Confirm the new size of the mounted file system with df -h /var/log/app
- Check the file system for consistency by unmounting it and running xfs_repair
ExplanationThe safest sequence first confirms that the volume group actually has free space, then extends the logical volume and its file system in one operation using lvextend with --resizefs, which calls the appropriate grow tool for xfs. The result is verified with df. Running xfs_repair is wrong because xfs file systems cannot be checked while mounted and the step is unnecessary for a grow; the application also must stay online, so unmounting is not the expected path.
-
3 Question 3 Single choice Manage basic networking
A RHEL 9 application server in a branch office has a static IPv4 configuration managed by NetworkManager on the connection named eth0. The site now must also answer on the IPv6 address 2001:db8:10::25/64 with gateway 2001:db8:10::1, without disturbing the existing IPv4 settings, and the change must persist across reboots. Which action accomplishes this with the least risk?
Correct Answer: CExplanationOn RHEL 9, NetworkManager owns the connection profile, so persistent IPv6 settings belong in the connection itself, set with nmcli using ipv6.method manual, ipv6.addresses and ipv6.gateway, followed by reactivation. The ip command changes only the running state and is lost at reboot. Editing ifcfg files directly is not the supported path on RHEL 9, and disabling IPv6 contradicts the requirement.
-
4 Question 4 Drag and drop Manage containers
A developer on a RHEL 9 workstation needs to work with a container deployment. Each requirement must be matched to the tool that fulfils it without requiring a running container daemon. Match each requirement to the tool that meets it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Generate a systemd unit file for an existing running container so it starts at bootStart a container that persists its database files in a host directory across restartsCopy an image from one registry to a local directory archive without pulling it into local container storageView the labels and environment variables defined in an image before running itsystemctl enable container-runtimeskopeo inspectskopeo copydocker compose uppodman run with a bind mountpodman generate systemdCorrect Answer:- Copy an image from one registry to a local directory archive without pulling it into local container storage → skopeo copy
- View the labels and environment variables defined in an image before running it → skopeo inspect
- Start a container that persists its database files in a host directory across restarts → podman run with a bind mount
- Generate a systemd unit file for an existing running container so it starts at boot → podman generate systemd
ExplanationSkopeo operates on images directly, copying between transports and inspecting metadata without a daemon or local container storage, which is why it fits the copy and inspect tasks. Podman run with a bind mount attaches persistent host storage, and podman generate systemd produces a unit file for a container. Docker compose requires a Docker daemon and is not a RHEL-supported tool here, and enabling a generic runtime service does not define a container's unit.
-
5 Question 5 Single choice Manage security
A shared web content directory /srv/site on a RHEL 9 server uses SELinux in enforcing mode. An administrator copied an updated HTML file into /srv/site from a home directory on the same system, and Apache now returns 403 errors for that file while the file permissions are correct. The administrator must restore the proper labelling without changing ownership or moving the file, and the fix must survive a full relabel of the filesystem. Which action is correct?
Correct Answer: EExplanationA file copied from a home directory keeps the user_home_t context, and the persistent fix is a file context rule added with semanage fcontext followed by restorecon, which survives relabeling. The chcon change is temporary and lost on relabel, boolean changes do not relabel content, and switching to permissive mode disables enforcement entirely, violating the security requirement.
-
6 Question 6 Dropdown Manage users and groups
A security team wants a local account named auditor to be required to change its password every 60 days, with a warning starting 7 days before expiry, and the account must not be able to change its password again within 1 day. The administrator must apply these settings with chage on a RHEL 9 host. Complete the command by selecting the correct value for each blank.
Choose the correct value for each blank.
chage -M -W -m auditorCorrect Answer:chage -M 60 -W 7 -m 1 auditor
ExplanationThe -M option sets the maximum password age, so 60 matches the 60-day rotation. The -W option sets the warning period, and 7 gives the requested warning window. The -m option sets the minimum days between password changes, so 1 prevents changes within a day. The other values correspond to different requirements and do not match the stated policy.
-
7 Question 7 Single choice Operate running systems
A RHEL 9 database server shows intermittent latency, and an operator suspects a background batch process is consuming excessive CPU. The batch process belongs to the user etl and must keep running, but its scheduling priority should be lowered so interactive database queries are served first. The change must be applied to the already running process without restarting it. Which command achieves this?
Correct Answer: BExplanationThe renice command changes the nice value of a process that is already running, which is exactly what the requirement describes. The nice command only launches new commands with an adjusted priority and cannot modify an existing process. Sending stop and continue signals pauses the batch job rather than adjusting its priority, and a tuning profile is applied system-wide and does not reprioritize one user's process.
-
8 Question 8 Multiple choice Deploy, configure, and maintain systems
A RHEL 9 build server must run a nightly compilation job at 02:30 every weekday for the user build, and the job must not run if the server is powered off at 02:30 and should instead be retried once the system is back up. The schedule must be managed as a system-wide definition and not by the build user's crontab. Which TWO actions together meet these requirements? (Choose two.)
Correct Answer: C, DExplanationA file in /etc/cron.d is a system-wide cron definition that includes an explicit user field, meeting the system-wide requirement for the weekday schedule. A systemd timer with Persistent=true runs a missed activation as soon as the system is back up, which addresses the power-off case. A per-user crontab is the wrong scope, at does not repeat or handle weekday recurrence, and Restart=always on a service does not implement a scheduled run.
-
9 Question 9 Single choice Understand and use essential tools
An administrator on a RHEL 9 host needs to find all lines in /var/log/app/app.log that report an error code of the form ERR-followed by exactly four digits, and save the matching lines to a file named errors.txt without losing the file's existing contents if it already exists. Which command meets these requirements?
Correct Answer: AExplanationUsing grep -E enables extended regular expressions, so the {4} quantifier matches exactly four digits, and the append redirection >> preserves any existing content in errors.txt. The first option overwrites the file, which the requirement forbids. The second option uses basic syntax where the brace expression is not interpreted as a quantifier. The fourth option pipes into a command named errors.txt, which does not exist as a writer.
-
10 Question 10 Single choice Manage basic networking
A RHEL 9 host hosts an internal web service on port 8443 and must accept connections only from the 10.20.0.0/16 network, while the public zone remains in use for other services. The change must persist across reboots and must not open the port to any other source. Which firewalld configuration is correct?
Correct Answer: BExplanationA rich rule restricts acceptance of tcp 8443 to the 10.20.0.0/16 source inside the public zone, and it must be made permanent to survive reboots, which the runtime-to-permanent step handles. Adding the port without a source opens it to everyone, moving the network to the trusted zone grants full access to that zone, and a runtime-only rule is lost on reboot.
-
11 Question 11 Drag and drop Configure local storage
A RHEL 9 storage administrator prepares a host where several disks must be made available for different purposes without disrupting the existing volumes. Each goal must be matched to the command that accomplishes it. Match each requirement to the command that meets it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Remove an unused physical volume from its volume group without deleting the data on other volumesShow the UUID of a newly formatted filesystem so /etc/fstab can reference itMake a new partition on /dev/sdc into a physical volume for later use in LVMAdd an existing physical volume /dev/sdd1 into the volume group vg_datavgreduce vg_data /dev/sde1blkid /dev/vg_data/lv_homepvcreate /dev/sdc1lvreduce -L 0 /dev/vg_data/lv_homepartprobe /dev/sdcvgextend vg_data /dev/sdd1Correct Answer:- Make a new partition on /dev/sdc into a physical volume for later use in LVM → pvcreate /dev/sdc1
- Add an existing physical volume /dev/sdd1 into the volume group vg_data → vgextend vg_data /dev/sdd1
- Show the UUID of a newly formatted filesystem so /etc/fstab can reference it → blkid /dev/vg_data/lv_home
- Remove an unused physical volume from its volume group without deleting the data on other volumes → vgreduce vg_data /dev/sde1
Explanationpvcreate initializes a block device as an LVM physical volume, vgextend adds a physical volume to an existing volume group, and blkid reports the UUID that fstab should reference. vgreduce removes an unused physical volume from its group. lvreduce to zero would destroy the logical volume data, and partprobe only refreshes the kernel partition table without any LVM role.
-
12 Question 12 Single choice Create and configure file systems
A RHEL 9 server hosts a project directory /srv/teamdata that must be shared among members of the group analysts. New files created in the directory must belong to the analysts group automatically, and the directory must not allow users to delete each other's files. The owner of the directory will remain root. Which set of commands meets these requirements?
Correct Answer: DExplanationSetting the group to analysts and applying the setgid bit with 2775 makes new files inherit the analysts group, and the sticky bit (value 1 in the leading digit, giving 3775) prevents users from removing files they do not own. The 2775 option lacks the sticky bit, so users could delete each other's files, and the other options either fail to set group ownership or grant world-write access.
-
13 Question 13 Single choice Understand and use essential tools
A junior administrator on a RHEL 9 server needs to create a symbolic link named /usr/local/bin/tool that points to /opt/vendor/tool-2.1/bin/tool, and must ensure that the link still resolves after the directory /opt/vendor/tool-2.1 is renamed to /opt/vendor/tool-current. The administrator uses ln and must choose the correct form. Which command is appropriate for this requirement?
Correct Answer: AExplanationA symbolic link created with ln -s stores the target path and resolves it on each access, so renaming the parent directory would break it, making the stem's constraint a trap for absolute paths. The -r option creates a relative link that still breaks after a directory rename. Hard links cannot span to a different directory tree under the same filesystem requirement and do not behave as a rename-tolerant pointer, and the reversed symbolic link option points the wrong way. The correct choice is the absolute symbolic link, which matches the link behaviour the administrator asked for.
-
14 Question 14 Single choice Configure local storage
A data-processing server runs RHEL 8 and has a 2 TB data disk currently initialised with an MBR partition table, which limits usable addressing and cannot hold a partition larger than 2 TB. The team must create a single 2.5 TB partition on this disk without destroying the existing 400 GB partition holding production data. The disk is in use and downtime is not permitted. Which action is the BEST approach?
Correct Answer: AExplanationA disk with an MBR label cannot address partitions beyond 2 TB, and changing the label on a disk that already holds partitions destroys the partition table, so the data must be backed up before the label is rewritten with GPT and the partitions recreated. Converting in place with mklabel gpt would wipe the existing partition table entries and is not a non-destructive procedure. Using fdisk on MBR does not overcome the 2 TB limit. Logical volumes cannot be created on raw free space without a partition or device to back them, and the stem requires a partition of that size.
-
15 Question 15 Multiple choice Create and configure file systems
A design team on a RHEL 9 server shares the directory /srv/projects. All members of the group designers must be able to create files in the directory, and every new file must automatically belong to the group designers so that other members can edit it. Other users must have no access. Which TWO actions meet these requirements? (Choose two.)
Correct Answer: B, CExplanationSetting the set-GID bit on a directory causes new files and subdirectories to inherit the directory's group rather than the creator's primary group, so chmod g+s or the numeric form 2770 provides collaboration. Assigning the group designers to the directory and removing other permissions gives the required access. Option A combines the correct group ownership and mode, and option B achieves the same by setting the setgid bit and removing other access, making both correct. The sticky bit in option C restricts deletion rather than inheriting group ownership. Option D leaves the group as the directory's existing owner group, which may not be designers. Option E lacks setgid, so new files would not inherit the group.
These are 15 of the 136 questions in the full EX200 pack.
Get All 136 QuestionsGet all 136 questions & answers
Full access options for RedHat EX200
Self-study
PDF Version
- 136 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 136 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 136 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the EX200 Exam (Red Hat Certified System Administrator) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.