0% found this document useful (0 votes)
39 views17 pages

Red-Hat Transcender EX200 Vce V2019-Jun-03 by Antonio 83q Vce

This document provides questions and answers related to Red Hat EX200 certification exam. It discusses topics like network configuration, package and file management, user and permission management and system services configuration.

Uploaded by

m.greco
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)
39 views17 pages

Red-Hat Transcender EX200 Vce V2019-Jun-03 by Antonio 83q Vce

This document provides questions and answers related to Red Hat EX200 certification exam. It discusses topics like network configuration, package and file management, user and permission management and system services configuration.

Uploaded by

m.greco
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/ 17

Certshared now are offering 100% pass ensure EX200 dumps!

https://www.certshared.com/exam/EX200/ (111 Q&As)

Red Hat
Exam Questions EX200
EX200 Red Hat Certified System Administrator (RHCSA) Exam

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure EX200 dumps!
https://www.certshared.com/exam/EX200/ (111 Q&As)

NEW QUESTION 1
There are two different networks 192.168.0.0/24 and 192.168.1.0/24. Where 192.168.0.254 and 192.168.1.254 IP Address are assigned on Server. Verify your
network settings by pinging 192.168.1.0/24
Network's Host.

Answer:

Explanation:
vi /etc/sysconfing/network NETWORKING=yes HOSTNAME=station?.example.com GATEWAY=192.168.0.254
service network restart
2.vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 ONBOOT=yes
BOOTPROTO=static IPADDR=X.X.X.X NETMASK=X.X.X.X GATEWAY=192.168.0.254
ifdown eth0 ifup eth0

NEW QUESTION 2
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.)

Answer:

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

NEW QUESTION 3
Create a 512M partition, make it as ext4 file system, mounted automatically under /mnt/data and which take effect automatically at boot-start.

Answer:

Explanation: # fdisk /dev/vda


n
+512M
w
# partprobe /dev/vda
# mkfs -t ext4 /dev/vda5
# mkdir -p /data
# vim /etc/fstab
/dev/vda5 /data ext4 defaults 0 0
# mount -a

NEW QUESTION 4
Configure the FTP service in your system, allow remote access to anonymous login and download the program by this service. Service is still running after system
rebooting.

Answer:

Explanation: yum install vsftpd


/etc/init.d/vsftpd start
chkconfig vsftpd on

NEW QUESTION 5
One Package named zsh is dump on ftp://server1.example.com under /pub/updates directory and your FTP server is 192.168.0.254. Install the package zsh.

Answer:

Explanation:
rpm -ivh ftp://server1/example.com/pub/updates/zsh-* or
Login to ftp server : ftp ftp://server1.example.com using anonymous user.

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure EX200 dumps!
https://www.certshared.com/exam/EX200/ (111 Q&As)

Change the directory: cd pub and cd updates


Download the package: mget zsh-*
Quit from the ftp prompt : bye
Install the package
rpm -ivh zsh-*
Verify either package is installed or not : rpm -q zsh

NEW QUESTION 6
Configure the verification mode of your host account and the password as LDAP. And it can login successfully through ldapuser40. The password is set as
"password".
And the certificate can be downloaded from http://ip/dir/ldap.crt. After the user logs on the user has no host directory unless you configure the autofs in the
following questions.

Answer:

Explanation: system-config-authentication
LDAP Server: ldap//instructor.example.com (In domain form, not write IP)
OR
# yum groupinstall directory-client (1.krb5-workstation 2.pam-krb5 3.sssd)
# system-config-authentication
1.User Account Database: LDAP
2. LDAP Search Base DN: dc=example,dc=com
3. LDAP Server: ldap://instructor.example.com (In domain form, not write IP)
4. Download CA Certificate
5. Authentication Method: LDAP password
6. Apply
getent passwd ldapuser40

NEW QUESTION 7
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?

Answer:

Explanation:
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.

NEW QUESTION 8
Configure 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

Answer:

Explanation: # 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)

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure EX200 dumps!
https://www.certshared.com/exam/EX200/ (111 Q&As)

NEW QUESTION 9
Configure autofs to make sure after login successfully, it has the home directory autofs, which is shared as /rhome/ldapuser40 at the ip: 172.24.40.10. and it also
requires that, other ldap users can use the home directory normally.

Answer:

Explanation: # chkconfig autofs on


# cd /etc/
# vim /etc/auto.master
/rhome /etc/auto.ldap
# cp auto.misc auto.ldap
# vim auto.ladp
ldapuser40 -rw,soft,intr 172.24.40.10:/rhome/ldapuser40
* -rw,soft,intr 172.16.40.10:/rhome/&
# service autofs stop
# server autofs start
# showmount -e 172.24.40.10
# su - ladpuser40

NEW QUESTION 10
User mary must configure a task.
Requirement: The local time at 14:23 every day echo "Hello World.".

Answer:

Explanation: crontab -u mary -e


23 14 * * * echo "Hello World."

NEW QUESTION 10
A YUM repository has been provided at http://server.domain11.example.com/pub/x86_64/Server. Configure your system to use this location as a default
repository.

Answer:

Explanation:
vim/etc/yum.repos/base.repo
[base]
name=base
baseurl= http://server.domain11.example.com/pub/x86_64/Server
gpgcheck=0
enable=1
Save and Exit
Use yum list for validation, the configuration is correct if list the package information. If the Yum configuration is not correct then maybe cannot answer the
following questions.

NEW QUESTION 15
Download the document from ftp://instructor.example.com/pub/testfile, find all lines containing [abcde] and redirect to /MNT/answer document, then rearrange the
order according the original content.

Answer:

Explanation: Download the file to /tmp first


grep [abcde] /tmp/testfile > /mnt/answer

NEW QUESTION 19
Create a backup file named /root/backup.tar.bz2, which contains the contents of /usr/local, bar must use the bzip2 compression.

Answer:

Explanation: cd /usr/local
tar -jcvf /root/backup.tar.bz2*
mkdir /test
tar -jxvf /root/backup.tar.bz2 -C /test/

NEW QUESTION 23
Successfully resolve to server1.example.com where your DNS server is 172.24.254.254.

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure EX200 dumps!
https://www.certshared.com/exam/EX200/ (111 Q&As)

Answer:

Explanation:
vi /etc/resolv.conf
nameserver 172.24.254.254
host server1.example.com
On every clients, DNS server is specified in /etc/resolv.conf. When you request by name it tries to resolv from DNS server.

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

Answer:

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

NEW QUESTION 30
Configure autofs.
Configure the autofs automatically mount to the home directory of LDAP, as required: server.domain11.example.com use NFS to share the home to your system.
This file system contains a pre configured home directory of user ldapuserX.
Home directory of ldapuserX is: server.domain11.example.com /home/guests/ldapuser
Home directory of ldapuserX should automatically mount to the ldapuserX of the local /home/guests Home directory’s write permissions must be available for
users ldapuser1’s password is password

Answer:

Explanation: yum install -y autofs mkdir /home/rehome


/etc/auto.master
/home/rehome/etc/auto.ldap
Keep then exit
cp /etc/auto.misc /etc/auto.ldap
/etc/auto.ldap
ldapuserX -fstype=nfs,rw server.domain11.example.com:/home/guests/
Keep then exit
systemctl start autofs
systemctl enable autofs
su - ldapuserX// test
If the above solutions cannot create files or the command prompt is -bash-4.2$, it maybe exist multi-level directory, this needs to change the
server.domain11.example.com:/home/guests/ to server.domain11.example.com:/home/guests/ldapuserX. What is multi-level directory? It means there is a
directory of ldapuserX under the /home/guests/ldapuserX in the questions. This directory is the real directory.

NEW QUESTION 31
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.

Answer:

Explanation: # cat /etc/testfile | while read line;


do
echo $line | grep abcde | tee -a /tmp/testfile
done
OR
grep `abcde' /etc/testfile > /tmp/testfile

NEW QUESTION 35
Create a logical volume
Create a new logical volume as required:
Name the logical volume as database, belongs to datastore of the volume group, size is 50 PE. Expansion size of each volume in volume group datastore is
16MB.
Use ext3 to format this new logical volume, this logical volume should automatically mount to /mnt/database

Answer:

Explanation: fdisk -cu /dev/vda// Create a 1G partition, modified when needed


partx –a /dev/vda
pvcreate /dev/vdax
vgcreate datastore /dev/vdax –s 16M
lvcreate– l 50 –n database datastore
mkfs.ext3 /dev/datastore/database

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure EX200 dumps!
https://www.certshared.com/exam/EX200/ (111 Q&As)

mkdir /mnt/database
mount /dev/datastore/database /mnt/database/ df –Th
vi /etc/fstab
/dev/datastore /database /mnt/database/ ext3 defaults 0 0 mount –a
Restart and check all the questions requirements.

NEW QUESTION 40
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.

Answer:

Explanation: below
iptables -F
service iptables save
iptables -A INPUT -s 172.25.0.0/16 -j REJECT
service iptables save
service iptables restart

NEW QUESTION 45
Configure your web services, download from http://instructor.example.com/pub/serverX.html And the services must be still running after system rebooting.

Answer:

Explanation:
cd /var/www/html
wget
http://instructor.example.com/pub/serverX.html mv serverX.html index.html /etc/init.d/httpd restart chkconfig httpd on

NEW QUESTION 49
Please open the ip_forward, and take effect permanently.

Answer:

Explanation:
vim /etc/sysctl.conf net.ipv4.ip_forward = 1
sysctl –w (takes effect immediately)
If no “sysctl.conf” option, use these commands:
sysctl –a |grep net.ipv4
sysctl –P net.ipv4.ip_forward = 1
sysctl -w

NEW QUESTION 50
Make on data that only the user owner and group owner member can fully access.

Answer:

Explanation:
chmod 770 /data
Verify using : ls -ld /data Preview should be like: drwxrwx--- 2 root sysadmin 4096 Mar 16 18:08 /data
To change the permission on directory we use the chmod command.
According to the question that only the owner user (root) and group member (sysadmin) can fully access the directory so: chmod 770 /data

NEW QUESTION 51
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.

Answer:

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure EX200 dumps!
https://www.certshared.com/exam/EX200/ (111 Q&As)

Explanation: (1)find /etc -size 10k -exec cp {} /tmp/findfiles \;


(2)find / -user lucy -exec cp -a {} /tmp/findfiles \;
Note: If find users and permissions, you need to use cp - a options, to keep file permissions and user attributes etc.

NEW QUESTION 52
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.

Answer:

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
# system-config-users

NEW QUESTION 54
Notes:
NFS NFS instructor.example.com:/var/ftp/pub/rhel6/dvd

Answer:

Explanation: YUM
http://instructor.example.com/pub/rhel6/dvd
ldap http//instructor.example.com/pub/EXAMPLE-CA-CERT Install dialog package.
yum install dialog

NEW QUESTION 56
You have a domain named www.rhce.com associated IP address is 192.100.0.2. Configure the Apache web server by implementing the SSL for encryption
communication.

Answer:

Explanation:
vi /etc/httpd/conf.d/ssl.conf <VirtualHost 192.100.0.2> ServerName www.rhce.com DocumentRoot
/var/www/rhce DirectoryIndex index.html index.htm ServerAdmin [email protected] SSLEngine on SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile
/etc/httpd/conf/ssl.key/server.key </VirtualHost>
cd /etc/httpd/conf 3 make testcert
Create the directory and index page on specified path. (Index page can download from ftp://server1.example.com at exam time)
service httpd start|restart
chkconfig httpd on
Apache can provide encrypted communications using SSL (Secure Socket Layer). To make use of encrypted communication, a client must request to https
protocol, which is uses port 443. For HTTPS protocol required the certificate file and key file.

NEW QUESTION 59
According the following requirements to create a local directory /common/admin.
This directory has admin group.
This directory has read, write and execute permissions for all admin group members.
Other groups and users don’t have any permissions.
All the documents or directories created in the/common/admin are automatically inherit the admin group.

Answer:

Explanation: mkdir -p /common/admin


chgrp admin /common/admin
chmod 2770 /common/admin

NEW QUESTION 63
Create a swap space, set the size is 600 MB, and make it be mounted automatically after rebooting the system (permanent mount).

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure EX200 dumps!
https://www.certshared.com/exam/EX200/ (111 Q&As)

Answer:

Explanation:
if=/dev/zero of=/swapfile bs=1M count=600 mkswap /swapfile
/etc/fstab:
/swapfile swap swap defaults 0 0 mount -a

NEW QUESTION 67
Upgrading the kernel as 2.6.36.7.1, and configure the system to Start the default kernel, keep the old kernel available.

Answer:

Explanation: # cat /etc/grub.conf


# cd /boot
# lftp it
# get dr/dom/kernel-xxxx.rpm
# rpm -ivh kernel-xxxx.rpm
# vim /etc/grub.conf default=0

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

Answer:

Explanation: # which echo


# crontab -e
23 14 * * * /bin/echo hello
# crontab -l (Verify)

NEW QUESTION 72
There are two different networks, 192.168.0.0/24 and 192.168.1.0/24. Your System is in 192.168.0.0/24 Network. One RHEL6 Installed System is going to use as
a Router. All required configuration is already done on Linux Server. Where 192.168.0.254 and 192.168.1.254 IP Address are assigned on that Server. How will
make successfully ping to 192.168.1.0/24 Network's Host?

Answer:

Explanation:
vi /etc/sysconfig/network GATEWAY=192.168.0.254
OR
vi /etc/sysconf/network-scripts/ifcfg-eth0 DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.0.?
NETMASK=255.255.255.0
GATEWAY=192.168.0.254
service network restart
Gateway defines the way to exit the packets. According to question System working as a router for two networks have IP Address 192.168.0.254 and
192.168.1.254.

NEW QUESTION 77
Create the following users, groups, and group memberships: A group named adminuser.
A user natasha who belongs to adminuser as a secondary group A user harry who also belongs to adminuser as a secondary group.
A user sarah who does not have access to an interactive shell on the system, and who is not a member of adminuser, natasha, harry, and sarah should all have
the password of redhat.

Answer:

Explanation:
groupadd sysmgrs
useradd -G sysmgrs Natasha
We can verify the newly created user by cat /etc/passwd)
# useradd -G sysmgrs harry
# useradd -s /sbin/nologin sarrh
# passwd Natasha
# passwd harry
# passwd sarrah

NEW QUESTION 81

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure EX200 dumps!
https://www.certshared.com/exam/EX200/ (111 Q&As)

Install the appropriate kernel update from http://server.domain11.example.com/pub/updates. The following criteria must also be met:
The updated kernel is the default kernel when the system is rebooted
The original kernel remains available and bootable on the system

Answer:

Explanation: see explanation below.


ftp server.domain11.example.com Anonymous login
ftp> cd /pub/updates ftp> ls
ftp> mget kernel* ftp> bye
rpm -ivh kernel*
vim /etc/grub.conf
Check the updatted kernel is the first kernel and the orginal kernel remains available. set default=0 wq!

NEW QUESTION 84
Update the kernel from ftp://instructor.example.com/pub/updates. According the following requirements:
The updated kernel must exist as default kernel after rebooting the system.
The original kernel still exists and is available in the system.

Answer:

Explanation: rpm -ivh kernel-firm…


rpm -ivh kernel...

NEW QUESTION 85
Configure a task: plan to run echo "file" command at 14:23 every day.

Answer:

Explanation: (a) Created as administrator


# crontab -u natasha -e
23 14 * * * /bin/echo "file"
(b)Created as natasha
# su - natasha
$ crontab -e
23 14 * * * /bin/echo "file"

NEW QUESTION 86
Configure autofs to automount the home directories of LDAP users as follows: host.domain11.example.com NFS-exports /home to your system.
This filesystem contains a pre-configured home directory for the user ldapuser11 ldapuser11's home directory is host.domain11.example.com /rhome/ldapuser11
ldapuser11's home directory should be automounted locally beneath /rhome as /rhome/ldapuser11
Home directories must be writable by their users ldapuser11's password is 'password'.

Answer:

Explanation:
vim /etc/auto.master /rhome /etc/auto.misc
wq!
# vim /etc/auto.misc
ldapuser11 --rw,sync host.domain11.example.com:/rhome/ldpauser11 :wq!
#service autofs restart
service autofs reload
chkconfig autofs on
su -ldapuser11
Login ldapuser with home directory
# exit

NEW QUESTION 90
In the system, mounted the iso image /root/examine.iso to/mnt/iso directory. And enable automatically mount (permanent mount) after restart system.

Answer:

Explanation: mkdir -p /mnt/iso


/etc/fstab:
/root/examine.iso /mnt/iso iso9660 loop 0 0 mount -a

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure EX200 dumps!
https://www.certshared.com/exam/EX200/ (111 Q&As)

mount | grep examine

NEW QUESTION 93
Make on /archive directory that only the user owner and group owner member can fully access.

Answer:

Explanation:
chmod 770 /archive
Verify using : ls -ld /archive Preview should be like:
drwxrwx--- 2 root sysuser 4096 Mar 16 18:08 /archive
To change the permission on directory we use the chmod command. According to the question that only the owner user (root) and group member (sysuser) can
fully access the directory so: chmod 770 /archive

NEW QUESTION 98
Locate all the files owned by ira and copy them to the / root/findresults directory.

Answer:

Explanation: # find / -user ira > /root/findresults (if /root/findfiles is a file)


# mkdir -p /root/findresults
# find / -user ira -exec cp -a {} /root/findresults\; [ if /root/findfiles is a directory] ls /root/findresults

NEW QUESTION 103


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

Answer:

Explanation: cd /usr/local
tar –jcvf /root/backup.tar.bz2
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.

NEW QUESTION 107


Configure the NTP service in your system.

Answer:

Explanation: see explanation below. Explanation: system-config-date &

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure EX200 dumps!
https://www.certshared.com/exam/EX200/ (111 Q&As)

NEW QUESTION 110


Who ever creates the files/directories on archive group owner should be automatically should be the same group owner of archive.

Answer:

Explanation:
chmod g+s /archive
Verify using: ls -ld /archive Permission should be like:
drwxrws--- 2 root sysuser 4096 Mar 16 18:08 /archive
If SGID bit is set on directory then who every users creates the files on directory group owner automatically
the owner of parent directory.
To set the SGID bit: chmod g+s directory
To Remove the SGID bit: chmod g-s directory

NEW QUESTION 111


Download ftp://192.168.0.254/pub/boot.iso to /root, and mounted automatically under /media/cdrom and which take effect automatically at boot-start.

Answer:

Explanation: # cd /root; wget ftp://192.168.0.254/pub/boot.iso


# mkdir -p /media/cdrom
# vim /etc/fstab
/root/boot.iso /media/cdrom iso9660 defaults,loop 0 0
# mount -a
mount [-t vfstype] [-o options] device dir

NEW QUESTION 112


Create a volume group, and set the size is 500M, the size of single PE is 16M. Create logical volume named lv0 in this volume group, set size is 20 PE, make it as
ext3 file system, and mounted automatically under data.

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure EX200 dumps!
https://www.certshared.com/exam/EX200/ (111 Q&As)

Answer:

Explanation:
fdisk /dev/vda
pvcreate /dev/vda3
vgcreate –s 16M vg0 /dev/vda3
lvcreate –n lv0 –l 20 vg0
mkfs.ext3 /dev/mapper/vg0-lv0
mkdir /data
/etc/fstab:
/dev/mapper/vg0-lv0 /data ext3 defaults 0 0
mount –a
mount | grep data

NEW QUESTION 114


The firewall must be open.

Answer:

Explanation: /etc/init.d/iptables start


iptables -F
iptables -X
iptables -Z
/etc/init.d/iptables save
chkconfig iptables on

NEW QUESTION 117


Create a catalog under /home named admins. Its respective group is requested to be the admin 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.

Answer:

Explanation: # cd /home/
# mkdir admins /
# chown .admin admins/
# chmod 770 admins/
# chmod g+s admins/

NEW QUESTION 122


Create one partitions having size 100MB and mount it on data.

Answer:

Explanation: 1. Use fdisk /dev/hda to create new partition.


2. Type n For New partitions.
3. It will ask for Logical or Primary Partitions. Press l for logical.
4. It will ask for the Starting Cylinder: Use the Default by pressing Enter Key.
5. Type the Size: +100M you can specify either Last cylinder of size here.
6. Press P to verify the partitions lists and remember the partitions name.
7. Press w to write on partitions table.
8. Either Reboot or use partprobe command.
9. Use mkfs -t ext3 /dev/hda?
OR
mke2fs -j /dev/hda? To create ext3 filesystem.
vi /etc/fstab
Write:
/dev/hda? /data ext3 defaults 1 2
Verify by mounting on current Sessions also: mount /dev/hda? /data

NEW QUESTION 127


Resize the logical volume vo and its filesystem to 290 MB. Make sure that the filesystem contents remain intact.
Note: Partitions are seldom exactly the same size requested, so a size within the range of 260 MB to 320 MiB is acceptable.

Answer:

Explanation: df -hT
lvextend -L +100M /dev/vg0/vo
lvscan
xfs_growfs /home/ // home is LVM mounted directory
Note: This step is only need to do in our practice environment, you do not need to do in the real exam resize2fs /dev/vg0/vo // Use this comand to update in the

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure EX200 dumps!
https://www.certshared.com/exam/EX200/ (111 Q&As)

real exam df -hT


OR
e2fsck -f/dev/vg0/vo
umount /home
resize2fs /dev/vg0/vo required partition capacity such as 100M lvreduce -l 100M /dev/vg0/vo mount
/dev/vg0/vo /home
df –Ht

NEW QUESTION 128


Configure the permissions of /var/tmp/fstab
Copy the file /etc/fstab to /var/tmp/fstab. Configure the permissions of /var/tmp/fstab so that:
the file /var/tmp/fstab is owned by the root user.
the file /var/tmp/fstab belongs to the group root.
the file /var/tmp/fstab should not be executable by anyone.
the user natasha is able to read and write /var/tmp/fstab.
the user harry can neither write nor read /var/tmp/fstab.
all other users (current or future) have the ability to read /var/tmp/fstab.

Answer:

Explanation:
cp -a /etc/fstab /var/tmp
cd /var/tmp
ls -l
getfacl /var/tmp/fstab
chmod ugo-x /var/tmp/fstab
[ No need to do this, there won't be execute permission for the file by default]
# setfacl -m u:natasha:rw /var/tmp/fstab # setfacl -m u:harry:0 /var/tmp/fstab(zero)
[Read permission will be there for all the users, by default. Check it using ls -l /var/tmp/fstab] Verify by [ ls -la /var/tmp/fstab]

NEW QUESTION 133


Copy /etc/fstab document to /var/TMP directory. According the following requirements to configure the permission of this document.
The owner of this document must be root.
This document belongs to root group.
User mary have read and write permissions for this document.
User alice have read and execute permissions for this document.
Create user named bob, set uid is 1000. Bob have read and write permissions for this document.
All users has read permission for this document in the system.

Answer:

Explanation: cp /etc/fstab /var/tmp


chown root:root /var/tmp/fstab
chmod a-x /var/tmp/fstab
setfacl –m u:mary:rw /var/tmp/fstab
setfacl –m u:alice:rx /var/tmp/fstab
useradd –u 1000 bob

NEW QUESTION 137


Make a swap partition having 100MB. Make Automatically Usable at System Boot Time.

Answer:

Explanation: see explanation below.


Use fdisk /dev/hda ->To create new partition.
Type n-> For New partition
It will ask for Logical or Primary Partitions. Press l for logical.
It will ask for the Starting Cylinder: Use the Default by pressing Enter Key.
Type the Size: +100M ->You can Specify either Last cylinder of Size here.
Press P to verify the partitions lists and remember the partitions name. Default System ID is 83 that means Linux Native.
Type t to change the System ID of partition.
Type Partition Number
Type 82 that means Linux Swap.

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure EX200 dumps!
https://www.certshared.com/exam/EX200/ (111 Q&As)

Press w to write on partitions table.


Either Reboot or use partprobe command.
mkswap /dev/hda? ->To create Swap File system on partition.
swapon /dev/hda? ->To enable the Swap space from partition.
free -m ->Verify Either Swap is enabled or not.
vi /etc/fstab/dev/hda? swap swap defaults 0 0
Reboot the System and verify that swap is automatically enabled or not.

NEW QUESTION 138


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.

Answer:

Explanation:
cd;umount /shrink
e2fsck -f /dev/mapper/vgsrv-shrink
resize2fs /dev/mapper/vgsrv-shrink 220M
lvreduce -L 220M /dev/mapper/vgsrv-shrink
mount -a

NEW QUESTION 143


Upgrade the kernel, start the new kernel by default. kernel download from this address: ftp://server1.domain10.example.com/pub/update/new.kernel

Answer:

Explanation: Download the new kernel file and then install it.
[root@desktop8 Desktop]# ls
kernel-2.6.32-71.7.1.el6.x86_64.rpm
kernel-firmware-2.6.32-71.7.1.el6.noarch.rpm
[root@desktop8 Desktop]# rpm -ivh kernel-*
Preparing... ###########################################
[100%]
1:kernel-firmware
########################################### [ 50%]
2:kernel
########################################### [100%]
Verify the grub.conf file, whether use the new kernel as the default boot. [root@desktop8 Desktop]# cat
/boot/grub/grub.conf default=0
title Red Hat Enterprise Linux Server (2.6.32-71.7.1.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-71.7.1.el6.x86_64 ro root=/dev/mapper/vol0-root rd_LVM_LV=vol0/root rd_NO_LUKS rd_NO_MD
rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet
initrd /initramfs-2.6.32-71.7.1.el6.x86_64.img

NEW QUESTION 144


Add users: user2, user3.
The Additional group of the two users: user2, user3 is the admin group Password: redhat

Answer:

Explanation: # useradd -G admin user2


# useradd -G admin user3
# passwd user2
redhat
# passwd user3
redhat

NEW QUESTION 149


There is a server having 172.24.254.254 and 172.25.254.254. Your System lies on 172.24.0.0/16. Make successfully ping to 172.25.254.254 by Assigning
following IP: 172.24.0.x where x is your station number.

Answer:

Explanation:

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure EX200 dumps!
https://www.certshared.com/exam/EX200/ (111 Q&As)

Use netconfig command


Enter the IP Address as given station number by your examiner: example: 172.24.0.1
Enter Subnet Mask
Enter Default Gateway and primary name server
press on ok
ifdown eth0
ifup eth0
verify using ifconfig
In the lab server is playing the role of router, IP forwarding is enabled. Just set the Correct IP and gateway, you can ping to 172.25.254.254.

NEW QUESTION 153


SELinux must be running in the Enforcing mode.

Answer:

Explanation: 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

NEW QUESTION 154


Copy /etc/fstab to /var/tmp name admin, the user1 could read, write and modify it, while user2 without any permission.

Answer:

Explanation: # cp /etc/fstab /var/tmp/


# chgrp admin /var/tmp/fstab
# setfacl -m u:user1:rwx /var/tmp/fstab
# setfacl -m u:user2:--- /var/tmp/fstab
# ls -l
-rw-rw-r--+ 1 root admin 685 Nov 10 15:29 /var/tmp/fstab

NEW QUESTION 158


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.

Answer:

Explanation: 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-CA-CERT 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

NEW QUESTION 162


Create User Account.
Create the following user, group and group membership:
Adminuser group
User natasha, using adminuser as a sub group
User Harry, also using adminuser as a sub group
User sarah, can not access the SHELL which is interactive in the system, and is not a member of adminuser, natashaharrysarah password is redhat.

Answer:

Explanation:
groupadd adminuser
useradd natasha -G adminuser
useradd haryy -G adminuser

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure EX200 dumps!
https://www.certshared.com/exam/EX200/ (111 Q&As)

useradd sarah -s /sbin/nologin


Passwd user name // to modify password or echo redhat | passwd --stdin user name id natasha // to view user group.

NEW QUESTION 167


One Domain RHCE is configured in your lab, your domain server is server1.example.com. nisuser2001, nisuser2002, nisuser2003 user are created on your server
192.168.0.254:/rhome/stationx/nisuser2001. Make sure that when NIS user login in your system automatically mount the home directory. Home directory is
separately shared on server /rhome/stationx/ where x is your Station number.

Answer:

Explanation:
use the authconfig --nisserver=<NIS SERVER> --nisdomain=<NIS DOMAIN> -- update
Example: authconfig --niserver=192.168.0.254 --nisdomain=RHCE --update or system-config-authentication
Click on Enable NIS
Type the NIS Domain: RHCE
Type Server 192.168.0.254 then click on next and ok
You will get a ok message.
Create a Directory /rhome/stationx where x is your station number.
vi /etc/auto.master and write at the end of file /rhome/stationx /etc/auto.home --timeout=60
vi /etc/auto.home and write
* -rw,soft,intr 192.168.0.254:/rhome/stationx/&
Note: please specify your station number in the place of x.
Service autofs restart
Login as the nisuser2001 or nisuser2002 on another terminal will be Success. According to question, RHCE domain is already configured. We have to make a
client of RHCE domain and automatically mount the home directory on your system. To make a member of domain, we use the authconfig with option or system-
config authentication command. There a are lots of authentication server i.e NIS, LDAB, SMB etc. NIS is a RPC related Services, no need to configure the DNS,
we should specify the NIS server address.
Here Automount feature is available. When user tried to login, home directory will automatically mount. The automount service used the /etc/auto.master file. On
/etc/auto.master file we specified the mount point the configuration file for mount point.

NEW QUESTION 171


......

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure EX200 dumps!
https://www.certshared.com/exam/EX200/ (111 Q&As)

Thank You for Trying Our Product

We offer two products:

1st - We have Practice Tests Software with Actual Exam Questions

2nd - Questons and Answers in PDF Format

EX200 Practice Exam Features:

* EX200 Questions and Answers Updated Frequently

* EX200 Practice Questions Verified by Expert Senior Certified Staff

* EX200 Most Realistic Questions that Guarantee you a Pass on Your FirstTry

* EX200 Practice Test Questions in Multiple Choice Formats and Updatesfor 1 Year

100% Actual & Verified — Instant Download, Please Click


Order The EX200 Practice Test Here

Guaranteed success with Our exam guides visit - https://www.certshared.com


Powered by TCPDF (www.tcpdf.org)

You might also like