Skip to main content

EX200 Real Exam Questions

Red Hat Certified System Administrator (RHCSA)

134 questions available · Page 1 of 14

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Lab simulation

Simulation

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

Show answer and 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

Question 2 Lab simulation

Simulation

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

Show answer and 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

Question 3 Lab simulation

Simulation

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

Show answer and 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"
Question 4 Lab simulation

Simulation

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

Show answer and explanation

/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 5 Lab simulation

Simulation

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

Show answer and explanation

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

Question 6 Lab simulation

Simulation

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

Show answer and 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

Question 7 Lab simulation

Simulation

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.

Show answer and explanation

mkdir /home/admins chgrp -R adminuser /home/admins
chmodg+w /home/admins
chmodg+s /home/admins

Question 8 Lab simulation

Simulation

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

Show answer and explanation

crontab -u mary -e
23 14 * * * echo "Hello World."

Question 9 Lab simulation

Simulation

The system ldap.example.com provides an LDAP authentication service.
Your system should bind to this service as follows: The base DN for the authentication service is dc=domain11, dc=example, dc=com LDAP is used to provide both account information and authentication information. The connection should be encrypted using the certificate at http://host.domain11.example.com/pub/domain11.crt When properly configured, ldapuserX should be able to log into your system, but will not have a home directory until you have completed the autofs requirement. Username: ldapuser11
Password: password

Show answer and explanation

system-config-authentication LDAP user DN=dc=domain11,dc=example,dc=com
Server=host.domain11.example.com
Certificate=
http://host.domain11.example.com/pub/domain11.crt
(enter url carefully, there maybe // or ..)
LDAP password
OK
starting sssd

su -ldapuser11 Display Bash prompt #exit

Question 10 Lab simulation

Simulation

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.

Show answer and explanation

mkdir -p /common/admin
chgrp admin /common/admin
chmod 2770 /common/admin