You are on page 1of 7

Free VCE and PDF Exam Dumps from PassLeader

Vendor: Red Hat

Exam Code: EX200

Exam Name: Red Hat Certified System Administrator

(RHCSA) (v6+v7 version)

Part C V6 Exam B Questions

Visit PassLeader and Download Full Version EX200 Exam Dumps

------------------------------------------ For v6 Exam B -------------------------------------------


RHCE Test Configuration Instructions
You will be working with two systems for this exam. One system is the physical system at which
you are seated. The other system is a virtual system which is hosted on your physical system and
has been pre-installed with Red Hat Enterprise Linux. The default firewall configuration has been
enabled. Unless otherwise specified, all exam items are to be performed on the virtual system only.
You do not have root access to the physical host system but you may use it as necessary to test
services that you may be required to configure on your virtual system.

Be aware that you are not permitted to communicate with other examinees during this exam. You
are also prohibited from connecting to the systems of other examinees.

The testing system and the network will be monitored, and misuse of either will result in a grade of
zero on the exam.

Your virtual system should have the following network configuration:

* Hostname: host.domain11.example.com

* IP address: 192.168.0.100+X

* Netmask: 255.255.255.0

* Gateway: 192.168.0.254

* Name server: 192.168.0.254

EX200 Exam Dumps EX200 Exam Questions EX200 PDF Dumps EX200 VCE Dumps
http://www.passleader.com/ex200.html
Free VCE and PDF Exam Dumps from PassLeader
Your virtual system will be rebooted before it is graded, so make sure that all changes you
implement are persistent across reboots. You should also be aware the scoring items will be
evaluated by whether they work as specified. Consequently, a correctly configured networking
service will earn no points if networking itself is broken.

Password Recovery and initial setting

Solution: go to single usermode with the help of grub

#passwd

Note:- if the command does not execute

#lokkit --disabled

#lokkit --selinux=permissive

#passwd

change the root password according to mentioned question.

IP, DNS, Netmask, Gateway setting

#setup

Select network configuration and then set the IP, DNS, Netmask, Gateway according to the
question paper.

#service network restart

------------------------------------------------------------------------------------------------------- --------------------------

About password cracking, we need to install a graphical interface and crack the root password by
ourselves during the RHCSA exam, amend the root password in accordance with the questions
requirements. Both single user mode and re.break can be used.

re.break steps:

delete console=ttys0,115200n8, add rd.break at the end

entering the following commands after entering the exchange mode:

mount -o remount,rw /sysroot

chroot /sysroot

passwd

touch /.autorelabel

exit

reboot

EX200 Exam Dumps EX200 Exam Questions EX200 PDF Dumps EX200 VCE Dumps
http://www.passleader.com/ex200.html
Free VCE and PDF Exam Dumps from PassLeader

Installation of the graphical interface:

You may need to install a graphical interface by yourself in exam, install in accordance with the
following commands in case that startx cannot be started:

yum -y install xorg*

yum -y install gnome*

yum -y install glx*

startx or init 5

Finish the password modification, note that here is exam using virtual machine password
modification, rather than the physical machine password.

About IP setting, please check the other information in the exam questions to learn the virtual
machine IP setting and the host name information.

hostnamectl set-hostname station.domain11.example.com

nmcli connection modify eno16777736 ipv4.method manual

nmcli connection modify eno16777736 ipv4.addresses '172.24.11.10/24 172.24.11.254'

nmcli connection modify eno16777736 ipv4.dns '172.24.11.250'

nmcli connection up eno16777736

nmcli con show eno16777736 | grep ipv4

host server.domain11.example.com

route -n

nm-connection-editor graphical interface can also be used to amend IP.

Start to answer questions after finishing to modify the above information.

----------------------------------------------------------------------------------------------------------------------------- ----

Question 76

SELinux must be running in the Enforcing mode.

Answers:

Getenforce // Check the current mode of SELinux

setenforce 1 // SELinux runs in enforcing mode

EX200 Exam Dumps EX200 Exam Questions EX200 PDF Dumps EX200 VCE Dumps
http://www.passleader.com/ex200.html
Free VCE and PDF Exam Dumps from PassLeader
getenforce // Check

vim /etc/selinux/config

selinux=enforcing // To temporarily enable SELinux

:wq

sestatus

Question 77

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.

Answers:

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.

Question 78

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

Answers:

df -hT

lvextend -L +100M /dev/vg0/vo

EX200 Exam Dumps EX200 Exam Questions EX200 PDF Dumps EX200 VCE Dumps
http://www.passleader.com/ex200.html
Free VCE and PDF Exam Dumps from PassLeader
lvscan

xfs_growfs /home/ // home is LVM mounted directory

Note: This step is only need to do in our practice environment, you dont need to do in the real
exam

resize2fs /dev/vg0/vo // Use this command to update in the 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

Question 79

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

Answers:

# 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

EX200 Exam Dumps EX200 Exam Questions EX200 PDF Dumps EX200 VCE Dumps
http://www.passleader.com/ex200.html
Free VCE and PDF Exam Dumps from PassLeader
# passwd harry

# passwd sarrah

Question 80

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 can read and write /var/tmp/fstab.

the user harry can neither write nor read /var/tmp/fstab.

all other users (current or future) can read /var/tmp/fstab.

Answers:

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

Question 81

EX200 Exam Dumps EX200 Exam Questions EX200 PDF Dumps EX200 VCE Dumps
http://www.passleader.com/ex200.html
Free VCE and PDF Exam Dumps from PassLeader
Set cronjob for user natasha to do /bin/echo hiya at 14:23

Answers:

# crontab -e -u natasha

23 14 * * * /bin/echo hiya

:wq!

Question 82

Create a collaborative directory /home/admins with the following characteristics:

Group ownership of /home/admins is adminuser.

The directory should be readable, writable, and accessible to members of adminuser, but not to
any other user. (It is understood that root has access to all files and directories on the system.)

Files created in /home/admins automatically have group ownership set to the adminuser group.

Answers:

mkdir /home/admins

chgrp -R adminuser /home/admins

chmod g+w /home/admins

chmod g+s /home/admins

Question 83

Visit PassLeader and Download Full Version EX200 Exam Dumps

EX200 Exam Dumps EX200 Exam Questions EX200 PDF Dumps EX200 VCE Dumps
http://www.passleader.com/ex200.html

You might also like