0% found this document useful (0 votes)
124 views7 pages

EX200

This document contains 11 questions and answers related to configuring a Red Hat system based on the Red Hat Certified System Administrator (RHCSA) exam. The questions cover topics like configuring the host name, IP address, and DNS; configuring the system time synchronization; setting up NFS and autofs services; adding a user; enabling IP forwarding for router configuration; creating backups; and more system administration tasks.

Uploaded by

shubby
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
124 views7 pages

EX200

This document contains 11 questions and answers related to configuring a Red Hat system based on the Red Hat Certified System Administrator (RHCSA) exam. The questions cover topics like configuring the host name, IP address, and DNS; configuring the system time synchronization; setting up NFS and autofs services; adding a user; enabling IP forwarding for router configuration; creating backups; and more system administration tasks.

Uploaded by

shubby
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

RedHat

EX200
Red Hat Certified System Administrator - RHCSA (8.2)
QUESTION & ANSWERS

https://www.dumpschief.com/EX200-pdf-download.html
QUESTION 1

onfigure 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

Correct Answer:
# 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)

QUESTION 2

CORRECT TEXT
Configure the system synchronous as 172.24.40.10.

Correct Answer:
Graphical Interfaces:
System-->Administration-->Date & Time
OR
# system-config-date

https://www.dumpschief.com/EX200-pdf-download.html
QUESTION 3

CORRECT TEXT
Binding to an external validation server.
System server.domain11.example.com provides a LDAP validation service, your system should bind
to this service as required:
Base DN of validation service is dc=example,dc=com
LDAP is used for providing account information and validation information Connecting and using the
certification of http://server.domain11.example.com/pub/EXAMPLE-CA-CERT to encrypt
After the correct configuration, ldapuser1 can log into your system, it does not have HOME directory
until you finish autofs questions, ldapuser1 password is password.

Correct Answer:
yum -y install sssd authconfig-gtk krb5-workstation authconfig-gtk // open
the graphical interface
Modify user account database to ldap, fill up DN and LDAP SERVER as
questions required, use TLS to
encrypt connections making tick, write
http://server.domain11.example.com/pub/EXAMPLE-CACERT to download ca,
authentication method choose ldap password.
You can test if the ldapuser is added by the following command:
Id ldapuser1
Note: user password doesn’t not need to set

QUESTION 4

CORRECT TEXT
Configure the NTP service in your system.

Correct Answer: system-config-date &

https://www.dumpschief.com/EX200-pdf-download.html
QUESTION 5

CORRECT TEXT
Configure your NFS services. Share the directory by the NFS Shared services

Correct Answer:
/etc/init.d/rpcbind start
/etc/init.d/nfslock start
/etc/init.d/nfs start
chkconfig rpcbind on
chkconfig nfslock on
chkconfig nfs on
showmount -e localhost

QUESTION 6

CORRECT TEXT

https://www.dumpschief.com/EX200-pdf-download.html
According the following requirements, configure autofs service and automatically mount to user's
home directory in the ldap domain.
- Instructor.example.com (192.168.0.254) has shared /home/guests/ldapuserX home directory to
your system by over NFS export, X is your hostname number.
- LdapuserX's home directory is exist in the instructor.example.com: /home/ guests/ldapuserX
- LdapuserX’s home directory must be able to automatically mount to /home/ guests/ldapuserX in
your system.
- Home directory have write permissions for the corresponding user.
However, you can log on to the ldapuser1 - ldapuser99 users after verification. But you can only get
your corresponding ldapuser users. If your system's hostname is server1.example.com, you can only
get ldapuser1's home directory.

Correct Answer:
mkdir –p /home/guests
cat /etc/auto.master:
/home/guests /etc/auto.ldap
cat /etc/auto.ldap:
ldapuser1 -rw instructor.example.com:/home/guests/ldapuser1
automatically mount all the user's home directory #* -rw
instructor.example.com:/home/guests/&

QUESTION 7

CORRECT TEXT
Configure a cron Task.
User natasha must configure a cron job, local time 14:23 runs and executes: */bin/echo hiya every
day.

Correct Answer:
crontab –e –u natasha
23 14/bin/echo hiya
crontab -l -u natasha // view
systemctlenable crond
systemcdlrestart crond

https://www.dumpschief.com/EX200-pdf-download.html
QUESTION 8

CORRECT TEXT
Add admin group and set gid=600

Correct Answer: # groupadd -g 600 admin

QUESTION 9

CORRECT TEXT
Your System is going to use as a Router for two networks. One Network is 192.168.0.0/24 and
Another Network is 192.168.1.0/24. Both network's IP address has assigned. How will you forward
the packets from one network to another network?

Correct Answer:
echo "1" >/proc/sys/net/ipv4/ip_forward
vi /etc/sysctl.conf
net.ipv4.ip_forward = 1
If you want to use the Linux System as a Router to make communication
between different networks,
you need enable the IP forwarding. To enable on running session just set
value 1 to
/proc/sys/net/ipv4/ip_forward. As well as automatically turn on the IP
forwarding features on next
boot set on /etc/sysctl.conf file.

QUESTION 10

CORRECT TEXT
Create a backup
Create a backup file named /root/backup.tar.bz2, contains the content of /usr/local, tar must use
bzip2 to compress.

Correct Answer:
cd /usr/local
tar –jcvf /root/backup.tar.bz2

https://www.dumpschief.com/EX200-pdf-download.html
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.

QUESTION 11

CORRECT TEXT
Create a user alex with a userid of 3400. The password for this user should be redhat.

Correct Answer:
useradd -u 3400 alex
passwd alex
su -alex

https://www.dumpschief.com/EX200-pdf-download.html

You might also like