2026 Correct Practice Tests of EX200 Dumps with Practice Exam [Q39-Q56]

Share

2026 Correct Practice Tests of EX200 Dumps with Practice Exam

Certification Sample Questions of EX200 Dumps With 100% Exam Passing Guarantee


Obtaining the RedHat EX200 certification is an excellent way to demonstrate your expertise in Linux system administration and increase your career opportunities. With the increasing demand for Linux system administrators in the IT industry, having a Red Hat certification can provide a significant advantage when seeking employment or advancing your career.


RedHat EX200 certification exam is an essential step for system administrators who want to become proficient in managing RHEL systems. EX200 exam is designed to evaluate an individual's ability to perform essential system administration tasks and is conducted in a laboratory environment. The RHCSA certification is widely recognized in the IT industry and is highly valued by employers. Passing the EX200 exam demonstrates a commitment to excellence and a dedication to professional development.


RedHat RHCSA EX200 Practice Test Questions, RedHat RHCSA EX200 Exam Practice Test Questions

Red Hat EX200 is a prerequisite exam associated with the Red Hat Certified System Administrator (RHCSA) certification that you need to pass if you want to become an accredited specialist who is able to perform the core system administration tasks. These individuals should know which processes are required in the Red Hat Enterprise Linux environments and what to do with them.

 

NEW QUESTION # 39
Part 1 (on Node1 Server)
Task 5 [Controlling Access to Files with ACLs]
Copy the file /etc/fstab to /var/tmp. Configure the following permissions on /var/tmp/fstab.
The file /var/tmp/fstab is owned by root user
The file /var/tmp/fstab is belongs to the root group
The file /var/tmp/fstab should be executable by anyone
The user harry is able to read and write on /var/tmp/fstab
The user natasha can neither read or write on /var/tmp/fstab
All other users (Current or future) have the ability to read /var/tmp/fstab

Answer:

Explanation:
* [root@node1 ~]# cp -p /etc/fstab /var/tmp/
[root@node1 ~]# ls -lrt /etc/fstab
[root@node1 ~]# ls -lrt /var/tmp/fstab
[root@node1 ~]# chmod a+x /var/tmp/fstab
[root@node1 ~]# getfacl /var/tmp/fstab
[root@node1 ~]# setfacl -m u:harry:rw- /var/tmp/fstab
[root@node1 ~]# setfacl -m u:natasha:--- /var/tmp/fstab
[root@node1 ~]# getfacl /var/tmp/fstab
getfacl: Removing leading '/' from absolute path names
# file: var/tmp/fstab
# owner: root
# group: root
user::rwx
user:harry:rw-
user:natasha:---
group::r-x
mask::rwx
other::r-x
* [root@node1 ~]# su - natasha
[natasha@node1 ~]$ cat /var/tmp/fstab
cat: /var/tmp/fstab: Permission denied


NEW QUESTION # 40
Create a backup
Create a backup file named /root/backup.tar.bz2, contains the content of /usr/local, tar must use bzip2 to compress.

Answer:

Explanation:
see explanation below.
Explanation
cd /usr/local
tar -jcvf /root/backup.tar.bz2
mkdir /test
tar -jxvf /root/backup.tar.bz2 -C /test// Decompression to check the content is the same as the /usr/loca after If the questions require to use gzip to compress. change -j to -z.


NEW QUESTION # 41
Configure the FTP service in your system, allow remote access to anonymous login and download the program by this service. Service is still running after system rebooting.

Answer:

Explanation:
yum install vsftpd
/etc/init.d/vsftpd start
chkconfig vsftpd on


NEW QUESTION # 42
Which Ansible keyword is used in a playbook to store the result (i.e. return code) of a task in a variable?

  • A. output
  • B. result
  • C. set_fact
  • D. register
  • E. return

Answer: D

Explanation:
Explanation/Reference:
Reference https://docs.ansible.com/ansible/2.5/user_guide/playbooks_conditionals.html


NEW QUESTION # 43
Configure your Host Name, IP Address, Gateway and DNS.
Host name: station.domain40.example.com
/etc/sysconfig/network
hostname=abc.com
hostname abc.com
IP Address:172.24.40.40/24
Gateway172.24.40.1
DNS:172.24.40.1

Answer:

Explanation:
see explanation below.
Explanation
# cd /etc/syscofig/network-scripts/
# ls
# vim ifcfg-eth0 (Configure IP Address, Gateway and DNS) IPADDR=172.24.40.40 GATEWAY=172.24.40.1 DNS1=172.24.40.1
# vim /etc/sysconfig/network
(Configure Host Name)
HOSTNAME= station.domain40.example.com
OR
Graphical Interfaces:
System->Preference->Network Connections (Configure IP Address, Gateway and DNS) Vim
/etc/sysconfig/network
(Configure Host Name)


NEW QUESTION # 44
Configure Container as a Service
As the user "wallah," configure a systemd service for the container:
- Container name: ascii2pdf
- Use the image named pdf created earlier.
- Service name: container-ascii2pdf
- Automatically start the service on system reboot without manual intervention.
- Configure the service to automatically mount /opt/file to /dir1 and /opt/progress to /dir2 in the container upon startup.

Answer:

Explanation:
# Note: Perform the following operations by SSHing into localhost as the user "wallah"
[root@node1 ~]# ssh wallah@localhost
# Prepare the relevant mapping directories
[wallah@node1 ~]$ sudo mkdir /opt/{file,progress}
[wallah@node1 ~]$ sudo chown wallah:wallah /opt/{file,progress}
# Start the container and map directories
# :Z changes the SELinux security context of the directory to allow container access.
[wallah@node1 ~]$ podman run -d --name ascii2pdf -v /opt/file:/dir1:Z -v /opt/progress:/dir2:Z pdf
[wallah@node1 ~]$ podman ps -a
# Create systemd service file
[wallah@node1 ~]$ mkdir -p ~/.config/systemd/user
[wallah@node1 ~]$ cd ~/.config/systemd/user/
[wallah@node1 ~]$ podman generate systemd -n ascii2pdf -f --new
[wallah@node1 user]$ ll
total 4
-rw-r--r--. 1 wallah wallah 770 Dec 13 01:07 container-ascii2pdf.service
# Stop and remove the existing ascii2pdf container
[wallah@node1 ~]$ podman stop ascii2pdf
[wallah@node1 ~]$ podman rm ascii2pdf
[wallah@node1 ~]$ podman ps -a
# Enable and start the container-ascii2pdf service
[wallah@node1 ~]$ systemctl --user daemon-reload
[wallah@node1 ~]$ systemctl --user enable --now container-ascii2pdf
# Check container status
[wallah@node1 ~]$ systemctl --user status container-ascii2pdf
[wallah@node1 ~]$ podman ps
# On node1, switch to the root user to perform the following operations
# Ensure that the services for the wallah user start automatically at system boot
[root@node1 ~]# loginctl enable-linger
[root@node1 ~]# loginctl show-user wallah
# Check to ensure the container starts on boot (mandatory operation)
[root@node1 ~]# reboot
[root@node1 ~]# ssh wallah@node1
[wallah@node1 ~]# podman ps


NEW QUESTION # 45
Which of the following sections must exist in a Packer template?

  • A. post-processsors
  • B. builders
  • C. variables
  • D. provisioners
  • E. images

Answer: D

Explanation:
Explanation/Reference:


NEW QUESTION # 46
One Package named zsh is dump on ftp://server1.example.com under /pub/updates directory and your FTP server is 192.168.0.254. Install the package zsh.

Answer:

Explanation:
see explanation below.
Explanation
* rpm -ivh ftp://server1/example.com/pub/updates/zsh-*
or
* Login to ftp server : ftp ftp://server1.example.com using anonymous user.
* Change the directory: cd pub and cd updates
* Download the package: mget zsh-*
* Quit from the ftp prompt : bye
* Install the package
* rpm -ivh zsh-*
* Verify either package is installed or not : rpm -q zsh


NEW QUESTION # 47
SIMULATION
A YUM repository has been provided at http://server.domain11.example.com/pub/x86_64/Server.
Configure your system to use this location as a default repository.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation: vim/etc/yum.repos/base.repo
[base]
name=base
baseurl= http://server.domain11.example.com/pub/x86_64/Server
gpgcheck=0
enable=1
Save and Exit
Use yum list for validation, the configuration is correct if list the package information. If the Yum configuration is not correct then maybe cannot answer the following questions.


NEW QUESTION # 48
CORRECT TEXT
Create a catalog under /home named admins. Its respective group is requested to be the admin
group. The group users could read and write, while other users are not allowed to access it. The
files created by users from the same group should also be the admin group.

Answer:

Explanation:
# cd /home/
# mkdir admins /
# chown .admin admins/
# chmod 770 admins/
# chmod g+s admins/


NEW QUESTION # 49
The file index.php, which is being maintained in a git repository, was changed locally and contains an error. If
the error has not been committed to the repository yet, which of the following gitcommands reverts the local
copy of index.phpto the latest committed version in the current branch?

  • A. git clean - index.php
  • B. git repair - index.php
  • C. git revert - index.php
  • D. git lastver - index.php
  • E. git checkout - index.php

Answer: C

Explanation:
Explanation/Reference:
Reference https://git-scm.com/docs/git-revert


NEW QUESTION # 50
Make on /archive directory that only the user owner and group owner member can fully access.

Answer:

Explanation:
see explanation below.
Explanation
* chmod 770 /archive
* Verify using : ls -ld /archive Preview should be like:
drwxrwx--- 2 root sysuser 4096 Mar 16 18:08 /archive
To change the permission on directory we use the chmod command. According to the question that only the owner user (root) and group member (sysuser) can fully access the directory so: chmod 770 /archive


NEW QUESTION # 51
How is cloud-init integrated with a managed system image?

  • A. cloud-init provides the cloud-init-workercommand which has to be invoked periodically within the
    running instance.
  • B. cloud-init provides the cloud-init-daemonservice which is launched during startup and keeps the
    instance in sync with the desired configuration.
  • C. cloud-init provides systemd units which must be included in several stages of the booting process of the
    instance.
  • D. cloud-init provides its own startup mechanism which replaces the instance's original init system, such as
    systemd.
  • E. cloud-init provides a Linux kernel module that must be included and loaded in the instance's initramfs.

Answer: E


NEW QUESTION # 52
You are a System administrator. Using Log files very easy to monitor the system. Now there are 50 servers running as Mail, Web, Proxy, DNS services etc. You want to centralize the logs from all servers into on LOG Server. How will you configure the LOG Server to accept logs from remote host?

Answer:

Explanation:
see explanation below.
Explanation
By default, system accept the logs only generated from local host. To accept the Log from other host configure:
vi /etc/sysconfig/syslog SYSLOGD_OPTIONS="-m 0 -r"
Where
-m 0 disables 'MARK' messages.
-r enables logging from remote machines
-x disables DNS lookups on messages received with -r
service syslog restart


NEW QUESTION # 53
SIMULATION
Configure the FTP service in your system, allow remote access to anonymous login and download the program by this service. Service is still running after system rebooting.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation: yum install vsftpd
/etc/init.d/vsftpd start
chkconfig vsftpd on


NEW QUESTION # 54
SIMULATION
Download the document from ftp://instructor.example.com/pub/testfile, find all lines containing [abcde] and redirect to /MNT/answer document, then rearrange the order according the original content.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation: Download the file to /tmp first
grep [abcde] /tmp/testfile > /mnt/answer


NEW QUESTION # 55
SIMULATION
Add a swap partition.
Adding an extra 500M swap partition to your system, this swap partition should mount automatically when the system starts up. Don't remove and modify the existing swap partitions on your system.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation:
fdisk -cu /dev/vda// in the way of expanding the partition, don't make main partition partx -a /dev/vda mkswap /dev/vdax swapon /dev/vdax swapon -s vi /etc/fstab
/dev/vdaxswapswapdefaults0 0
mount -a


NEW QUESTION # 56
......

EX200 Sample Practice Exam Questions 2026 Updated Verified: https://selftestengine.testkingit.com/RedHat/latest-EX200-exam-dumps.html