EX200 Online Practice Questions

Home / Red Hat / EX200

Latest EX200 Exam Practice Questions

The practice questions for EX200 exam was last updated on 2025-06-03 .

Viewing page 1 out of 9 pages.

Viewing questions 1 out of 49 questions.

Question#1

CORRECT TEXT
Configure iptables, there are two domains in the network, the address of local domain is 172.24.0.0/16 other domain is 172.25.0.0/16, now refuse domain 172.25.0.0/16 to access the server.

A. below
✑ iptables -F
✑ service iptables save
✑ iptables -A INPUT -s 172.25.0.0/16 -j REJECT ✑ service iptables save
✑ service iptables restart

Question#2

CORRECT TEXT
Part 1 (on Node1 Server)
Task 1 [Managing Networking]
Please create new network connection with existing interface (enp1s0) using provided values:
IPv4: 172.25.X.10/255.255.255.0 (where X is your domain number: Domain15)
Gateway: 172.25.X.2
DNS server: 172.25.X.2
Add the following secondary IP addresses statically to your current running connection. Do this in a way that does not compromise your existing settings:
IPv4: 10.0.0.5/24 and set the hostname node1.domain15.example.com

A. *
[root@node1 ~]# nmcli connection show
[root@node1 ~]# nmcli connection add con-name static ifname enp1s0 type ethernet ipv4.addresses 172.25.15.10/24 ipv4.gateway 172.25.15.2 ipv4.dns 172.25.15.2 [root@node1 ~]# nmcli connection modify static ipv4.method manual connection.autoconnect yes
[root@node1 ~]# nmcli connection modify static +ipv4.addresses 10.0.0.5/24 [root@node1 ~]# nmcli connection up static [root@node1 ~]# nmcli connection show
[root@node1 ~]# hostnamectl set-hostname node1.domain15.example.com [root@node1 ~]# hostnamectl status
[root@node1 ~]# nmcli connection down static *
[root@node1 ~]# nmcli connection up static
[root@node1 ~]# ip addr show
[root@node1 ~]# reboot
### For checking ###
[root@node1 ~]# ip addr show
[root@node1 ~]# netstat -nr
[root@node1 ~]# cat /etc/resolv.conf

Question#3

CORRECT TEXT
Create the user named eric and deny to interactive login.

A. ✑ useradd eric ✑ passwd eric ✑ vi /etc/passwd
✑ eric:x:505:505::/home/eric:/sbin/nologin
Which shell or program should start at login time is specified in /etc/passwd file? By default, Redhat Enterprise Linux assigns the /bin/bash shell to the users. To deny the interactive login, you should write /sbin/nologin or /bin/ false instead of login shell.

Question#4

CORRECT TEXT
Find all lines in the file /usr/share/dict/words that contain the string seismic. Put a copy of all these lines in their original order in the file /root/wordlist. /root/wordlist should contain no empty lines and all lines must be exact copies of the original lines in /usr/share/dict/words.

A. grep seismic /usr/share/dict/words> /root/wordlist

Question#5

CORRECT TEXT
Create a Shared Directory.
Create a shared directory /home/admins, make it has the following characteristics:
/home/admins belongs to group adminuser
This directory can be read and written by members of group adminuser Any files created in /home/ admin, group automatically set as adminuser.

A. mkdir /home/admins
chgrp -R adminuser /home/admins
chmodg+w /home/admins
chmodg+s /home/admins

Exam Code: EX200Q & A: 144 Q&AsUpdated:  2025-06-03

 Get All EX200 Q&As