EX200 Dumps

EX200 Free Practice Test

Red-Hat EX200: EX200 Red Hat Certified System Administrator (RHCSA) Exam

QUESTION 6

CORRECT TEXT
SELinux must be running in the Enforcing mode.
Solution:
getenforce // Check the current mode of SELinux // SELinux runs in enforcing mode // Check
getenforce 1
getenforce
vim /etc/selinux/config selinux=enforcing // To temporarily enable SELinux
wg
sestatus

Does this meet the goal?

Correct Answer: A

QUESTION 7

CORRECT TEXT
Create a swap space, set the size is 600 MB, and make it be mounted automatically after rebooting the system (permanent mount).
Solution:
✑ if=/dev/zero of=/swapfile bs=1M count=600 mkswap /swapfile
/etc/fstab:
/swapfile swap swap defaults 0 0 mount -a

Does this meet the goal?

Correct Answer: A

QUESTION 8

CORRECT TEXT
Part 1 (on Node1 Server)
Task 9 [Managing Files from the Command Line]
Search the string nologin in the /etc/passwd file and save the output in /root/strings
Solution:
*
[root@node1 ~]# cat /etc/passwd | grep nologin > /root/strings
[root@node1 ~]# cat /root/strings
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin lp:x:4:7:
lp:/var/spool/lpd:/sbin/nologin
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin

Does this meet the goal?

Correct Answer: A

QUESTION 9

CORRECT TEXT
There is a local logical volumes in your system, named with shrink and belong to VGSRV volume group, mount to the /shrink directory. The definition of size is 320 MB.
Requirement:
Reduce the logical volume to 220 MB without any loss of data. The size is allowed between 200-260 MB after reducing.
Solution:
cd;umount /shrink
e2fsck -f /dev/mapper/vgsrv-shrink
resize2fs /dev/mapper/vgsrv-shrink 220M
lvreduce -L 220M /dev/mapper/vgsrv-shrink
mount -a

Does this meet the goal?

Correct Answer: A

QUESTION 10

CORRECT TEXT
Add users: user2, user3.
The Additional group of the two users: user2, user3 is the admin group Password: redhat
Solution:
# useradd -G admin user2
# useradd -G admin user3
# passwd user2
redhat
# passwd user3
redhat

Does this meet the goal?

Correct Answer: A