Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
292 views5 pages

Thank You For Your Download: Redhat Ex200 Exam Question & Answers (Demo) Red Hat Certified System Administrator Exam

This document contains 5 questions and answers about configuring a Red Hat system. It asks about setting the host name and IP address, adding users and groups, creating a shared directory with group permissions, scheduling a daily cron job, and finding files owned by a specific user. The explanations provide the commands needed to complete each task, such as using vim, useradd, chown, chmod, crontab, and find.

Uploaded by

Rob Logie
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)
292 views5 pages

Thank You For Your Download: Redhat Ex200 Exam Question & Answers (Demo) Red Hat Certified System Administrator Exam

This document contains 5 questions and answers about configuring a Red Hat system. It asks about setting the host name and IP address, adding users and groups, creating a shared directory with group permissions, scheduling a daily cron job, and finding files owned by a specific user. The explanations provide the commands needed to complete each task, such as using vim, useradd, chown, chmod, crontab, and find.

Uploaded by

Rob Logie
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/ 5

Questions and Answers PDF 1/5

Thank You for your download

om
RedHat EX200 Exam Question & Answers (Demo)
Red Hat Certified System Administrator Exam

.c
ps
m
du
am
ex
id
al
.v
w
w
// w
s:
tp
ht

https://www.validexamdumps.com/EX200.html
Questions and Answers PDF 2/5

Version: 9.0

Question: 1

Configure your Host Name, IP Address, Gateway and DNS.

om
Host name: station.domain40.example.com
/etc/sysconfig/network

.c
hostname=abc.com

ps
hostname abc.com
IP Address:172.24.40.40/24

m
Gateway172.24.40.1

du
DNS:172.24.40.1
am
Answer:see
ex

explanation below.
Explanation:
id

# cd /etc/syscofig/network-scripts/
al

# ls
.v

# vim ifcfg-eth0 (Configure IP Address, Gateway and DNS) IPADDR=172.24.40.40


w

GATEWAY=172.24.40.1
DNS1=172.24.40.1
w
w

# vim /etc/sysconfig/network
//

(Configure Host Name)


s:

HOSTNAME= station.domain40.example.com
tp
ht

OR

Graphical Interfaces:
System->Preference->Network Connections (Configure IP Address, Gateway and DNS) Vim
/etc/sysconfig/network

(Configure Host Name)

Question: 2

Add 3 users: harry, natasha, tom.


The requirements: The Additional group of the two users: harry, Natasha is the admin group. The
user: tom's login shell should be non-interactive.
Questions and Answers PDF 3/5

explanation below.
Explanation:
# useradd -G admin harry
# useradd -G admin natasha
# useradd -s /sbin/nologin tom
# id harry;id Natasha (Show additional group)
# cat /etc/passwd
(Show the login shell)

OR

om
# system-config-users

.c
ps
Question: 3

m
Create a catalog under /home named admins. Its respective group is requested to be the admin

du
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.
am

Answer: see
ex

explanation below.
id

Explanation:
al

# cd /home/
.v

# mkdir admins /
w

# chown .admin admins/


# chmod 770 admins/
w

# chmod g+s admins/


// w

Question: 4
s:
tp

Configure a task: plan to run echo hello command at 14:23 every day.
ht

Answer: see
explanation below.
Explanation:
# which echo
# crontab -e
23 14 * * * /bin/echo hello
# crontab -l (Verify)

Question: 5

Find the files owned by harry, and copy it to catalog: /opt/dir


Questions and Answers PDF 4/5

explanation below.
Explanation:
# cd /opt/
# mkdir dir
# find / -user harry -exec cp -rfp {} /opt/dir/ \;

om
.c
ps
m
du
am
ex
id
al
.v
w
w
// w
s:
tp
ht
Questions and Answers PDF 5/5

Thank you for your visit.


To try more exams, please visit below link
https://www.validexamdumps.com/EX200.html

om
.c
ps
m
du
am
ex
id
al
.v
w
w
// w
s:
tp
ht

You might also like