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

Dumps: Professional Dump Collection & Excellent Exam Questions & Latest Questions

The document provides example questions and explanations for the Red Hat Certified System Administrator (RHCSA) EX200 exam. It includes questions about creating users and groups, configuring firewall rules, resizing logical volumes, setting file permissions, modifying the kernel command line, configuring autofs, copying and permissioning files, and automatically mounting and unmounting NFS shares. The explanations provide code snippets and commands to implement the requested configurations.

Uploaded by

라대진
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)
245 views5 pages

Dumps: Professional Dump Collection & Excellent Exam Questions & Latest Questions

The document provides example questions and explanations for the Red Hat Certified System Administrator (RHCSA) EX200 exam. It includes questions about creating users and groups, configuring firewall rules, resizing logical volumes, setting file permissions, modifying the kernel command line, configuring autofs, copying and permissioning files, and automatically mounting and unmounting NFS shares. The explanations provide code snippets and commands to implement the requested configurations.

Uploaded by

라대진
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

DumpsQuestion

http://www.dumpsquestion.com
Professional Dump Collection & Excellent Exam Questions & Latest Questions
Instant Download - Best Exam Practice Material - 100% Money Back Guarantee!
IT Certification Guaranteed, The Easy Way!

Exam : EX200

Title : Red Hat Certified System


Administrator - RHCSA

Vendor : RedHat

Version : DEMO

1 from Dumpsquestion.com.
Get Latest & Valid EX200 Exam's Question and Answers 1
http://www.dumpsquestion.com/ex200-exam-dumps-collection.html
Instant Download - Best Exam Practice Material - 100% Money Back Guarantee!
IT Certification Guaranteed, The Easy Way!

NO.1 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:
see explanation below.
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

NO.2 The firewall must be open.


Answer:
see explanation below.
Explanation
/etc/init.d/iptables start
iptables -F
iptables -X
iptables -Z
/etc/init.d/iptables save
chkconfig iptables on

NO.3 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:
see explanation below.
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 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

2 from Dumpsquestion.com.
Get Latest & Valid EX200 Exam's Question and Answers 2
http://www.dumpsquestion.com/ex200-exam-dumps-collection.html
Instant Download - Best Exam Practice Material - 100% Money Back Guarantee!
IT Certification Guaranteed, The Easy Way!

NO.4 Configure /var/tmp/fstab Permission.


Copy the file /etc/fstab to /var/tmp/fstab. Configure var/tmp/fstab permissions as the following:
Owner of the file /var/tmp/fstab is Root, belongs to group root
File /var/tmp/fstab cannot be executed by any user
User natasha can read and write /var/tmp/fstab
User harry cannot read and write /var/tmp/fstab
All other users (present and future) can read var/tmp/fstab.
Answer:
see explanation below.
Explanation
cp /etc/fstab /var/tmp/
* /var/tmp/fstab view the owner setfacl -m u:natasha:rw- /var/tmp/fstab setfacl -m u:haryy:---
/var/tmp/fstab
Use getfacl /var/tmp/fstab to view permissions

NO.5 Open kmcrl value of 5 , and can verify in /proc/ cmdline


Answer:
see explanation below.
Explanation
# vim /boot/grub/grub.conf
kernel/vmlinuz-2.6.32-71.el6.x86_64 ro root=/dev/mapper/GLSvg-
GLSrootrd_LVM_LV=GLSvg/GLSroot rd_LVM_LV=GLSvg/GLSswaprd_NO_LUKSrd_NO_MDrd_NO_DM
LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto
rhgb quiet kmcrl=5 Restart to take effect and verification:
# cat /proc/cmdline
ro root=/dev/mapper/GLSvg-GLSroot rd_LVM_LV=GLSvg/GLSroot rd_LVM_LV=GLSvg/GLSswap
rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16
KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet kmcrl=5

NO.6 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:
see explanation below.
Explanation
yum install -y autofs
mkdir /home/rehome
* /etc/auto.master
/home/rehome/etc/auto.ldap
Keep then exit

3 from Dumpsquestion.com.
Get Latest & Valid EX200 Exam's Question and Answers 3
http://www.dumpsquestion.com/ex200-exam-dumps-collection.html
Instant Download - Best Exam Practice Material - 100% Money Back Guarantee!
IT Certification Guaranteed, The Easy Way!

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.

NO.7 Copy /etc/fstab to /var/tmp name admin, the user1 could read, write and modify it, while
user2 without any permission.
Answer:
see explanation below.
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

NO.8 /data Directory is shared from the server1.example.com server. Mount the shared directory
that:
a. when user try to access, automatically should mount
b. when user doesn't use mounted directory should unmount automatically after 50 seconds.
c. shared directory should mount on /mnt/data on your machine.
Answer:
see explanation below.
Explanation
1. vi /etc/auto.master
/mnt /etc /auto.misc --timeout=50
* vi /etc/auto.misc
* data -rw,soft,intr server1.example.com:/data
* service autofs restart
* chkconfig autofs on
When you mount the other filesystem, you should unmount the mounted filesystem, Automount
feature of linux helps to mount at access time and after certain seconds, when user unaccess the
mounted directory, automatically unmount the filesystem.
/etc/auto.master is the master configuration file for autofs service. When you start the service, it
reads the mount point as defined in /etc/auto.master.

4 from Dumpsquestion.com.
Get Latest & Valid EX200 Exam's Question and Answers 4
http://www.dumpsquestion.com/ex200-exam-dumps-collection.html

You might also like