RedHat EX200 Exam Questions
Red Hat Certified System Administrator (RHCSA) Exam (Page 3 )

Updated On: 9-Mar-2026

SIMULATION
Find the rows that contain abcde from file /etc/testfile, and write it to the file/tmp/testfile, and the sequence is requested as the same as /etc/testfile.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

# cat /etc/testfile | while read line;
do
echo $line | grep abcde | tee -a /tmp/testfile
done

OR

grep `abcde' /etc/testfile > /tmp/testfile



SIMULATION
Create a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

# fdisk /dev/sda
p
(check Partition table)
n
(create new partition: press e to create extended partition, press p to create the main partition, and the extended partition is further divided into logical partitions) Enter
+2G
t
l
W
partx -a /dev/sda
partprobe
mkswap /dev/sda8
Copy UUID
swapon -a
vim /etc/fstab
UUID=XXXXX swap swap defaults 0 0
(swapon -s)



SIMULATION
Create a user named alex, and the user id should be 1234, and the password should be alex111.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

# useradd -u 1234 alex
# passwd alex
alex111
alex111

OR

echo alex111|passwd -stdin alex



SIMULATION
Install a FTP server, and request to anonymous download from /var/ftp/pub catalog. (it needs you to configure yum direct to the already existing file server.)

  1. See Explanation section for answer.

Answer(s): A

Explanation:

# cd /etc/yum.repos.d
# vim local.repo
[local]
name=local.repo
baseurl=file:///mnt
enabled=1
gpgcheck=0
# yum makecache
# yum install -y vsftpd
# service vsftpd restart
# chkconfig vsftpd on
# chkconfig --list vsftpd
# vim /etc/vsftpd/vsftpd.conf
anonymous_enable=YES



SIMULATION
Configure a HTTP server, which can be accessed through http://station.domain40.example.com. Please download the released page from http://ip/dir/example.html.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

# yum install -y httpd
# chkconfig httpd on
# cd /var/www/html
# wget http://ip/dir/example.html
# cp example.com index.html
# vim /etc/httpd/conf/httpd.conf
NameVirtualHost 192.168.0.254:80
<VirtualHost 192.168.0.254:80>
DocumentRoot /var/www/html/
ServerName station.domain40.example.com
</VirtualHost>



Viewing page 3 of 29
Viewing questions 11 - 15 out of 136 questions



Post your Comments and Discuss RedHat EX200 exam dumps with other Community members:

EX200 Exam Discussions & Posts

AI Tutor