Exam2pass
0 items Sign In or Register
  • Home
  • IT Exams
  • Guarantee
  • FAQs
  • Reviews
  • Contact Us
  • Demo
Exam2pass > Red Hat > Red Hat Certifications > EX200 > EX200 Online Practice Questions and Answers

EX200 Online Practice Questions and Answers

Questions 4

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

Buy Now

Correct Answer: Check the anser in explanation.

# cd /opt/

# mkdir dir

# find / -user harry -exec cp -rfp {} /opt/dir/ \;

Questions 5

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

Buy Now

Correct Answer: Check the anser in 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.

Questions 6

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

Buy Now

Correct Answer: Check the anser in 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 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.

Questions 7

1.

Find all sizes of 10k file or directory under the /etc directory, and copy to /tmp/findfiles directory.

2.

Find all the files or directories with Lucy as the owner, and copy to /tmp/findfiles directory.

Buy Now

Correct Answer: Check the anser in 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.

Questions 8

Create a volume group, and set 16M as a extends. And divided a volume group containing 50 extends on volume group lv, make it as ext4 file system, and mounted automatically under /mnt/data.

Buy Now

Correct Answer: Check the anser in explanation.

# pvcreate /dev/sda7 /dev/sda8 # vgcreate -s 16M vg1 /dev/sda7 /dev/sda8 # lvcreate -l 50 -n lvm02 # mkfs.ext4 /dev/vg1/lvm02 # blkid /dev/vg1/lv1 # vim /etc/fstab # mkdir -p /mnt/data UUID=xxxxxxxx /mnt/data ext4 defaults 0 0 # vim /etc/fstab # mount -a # mount (Verify)

Questions 9

One Logical Volume named lv1 is created under vg0. The Initial Size of that Logical Volume is 100MB. Now you required the size 500MB. Make successfully the size of that Logical Volume 500M without losing any data. As well as size should be increased online.

Buy Now

Correct Answer: Check the anser in explanation.

The LVM system organizes hard disks into Logical Volume (LV) groups. Essentially, physical hard disk partitions (or possibly RAID arrays) are set up in a bunch of equal sized chunks known as Physical Extents (PE). As there are several

other concepts associated with the LVM system, let's start with some basic definitions:

Physical Volume (PV) is the standard partition that you add to the LVM mix. Normally, a physical volume is a standard primary or logical partition. It can also be a RAID array.

Physical Extent (PE) is a chunk of disk space. Every PV is divided into a number of equal sized PEs. Every PE in a LV group is the same size. Different LV groups can have different sized PEs.

Logical Extent (LE) is also a chunk of disk space. Every LE is mapped to a specific PE.

Logical Volume (LV) is composed of a group of LEs. You can mount a file system such as /home and /var on an LV.

Volume Group (VG) is composed of a group of LVs. It is the organizational group for LVM. Most of the commands that you'll use apply to a specific VG.

Verify the size of Logical Volume: lvdisplay /dev/vg0/lv1

Verify the Size on mounted directory: df -h or df -h mounted directory name

Use: lvextend -L+400M /dev/vg0/lv1

ext2online -d /dev/vg0/lv1 to bring extended size online.

Again Verify using lvdisplay and df -h command.

Questions 10

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.

Buy Now

Correct Answer: Check the anser in 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

Questions 11

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.

Buy Now

Correct Answer: Check the anser in explanation.

use the authconfig --nisserver= --nisdomain= -- 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/and

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.

Questions 12

Part 2 (on Node2 Server)

Task 1 [Controlling the Boot Process]

Interrupt the boot process and reset the root password. Change it to kexdrams to gain access to the system

Buy Now

Correct Answer: Check the anser in explanation.

*

1.

Reboot the server pressing by Ctrl+Alt+Del

2.

When the boot-loader menu appears, press the cursor keys to highlight the default boot- loader entry

3.

Press e to edit the current entry.

4.

Use the cursor keys to navigate to the line that starts with linux.

5.

Press End to move the cursor to the end of the line.

6.

Append rd.break to the end of the line.

7.

Press Ctrl+x to boot using the modified configuration.

8.

At the switch_root prompt

*

switch_root:/# mount -o remount,rw /sysroot

switch_root:/# chroot /sysroot

sh-4.4# echo kexdrams | passwd --stdin root

Changing password for user root.

passwd: all authentication tokens updated successfully.

sh-4.4# touch /.autorelabel

sh-4.4# exit; exit

*

Type exit twice to continue booting your system as usual.

Questions 13

Part 2 (on Node2 Server)

Task 6 [Implementing Advanced Storage Features]

Add a new disk to your virtual machine with a ize of 10 GiB

On this disk, create a VDO volume with a size of 50 GiB and mount it persistently on /vbread with xfs filesystem

Buy Now

Correct Answer: Check the anser in explanation.

* [root@node2 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT vdd 252:48 0 5G 0 disk vde 252:64 0 10G 0 disk [root@node2 ~]# yum install kmod-kvdo vdo [root@node2 ~]# systemctl enable --now vdo [root@node2 ~]# systemctl start vdo [root@node2 ~]# systemctl status vdo [root@node2 ~]# vdo create --name=vdo1 --device=/dev/vde --vdoLogicalSize=50G [root@node2 ~]# vdostats --hu Device Size Used Available Use% Space saving% /dev/mapper/vdo1 10.0G 4.0G 6.0G 40% N/A [root@node2 ~]# mkfs.xfs -K /dev/mapper/vdo1

* [root@node2 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT vde 252:64 0 10G 0 disk vdo1 253:4 0 50G 0 vdo [root@node2 ~]# mkdir /vbread [root@node2 ~]# blkid /dev/mapper/vdo1: UUID="1ec7a341-6051-4aed-8a2c-4d2d61833227" BLOCK_SIZE="4096" TYPE="xfs" [root@node2 ~]# vim /etc/fstab UUID=1ec7a341-6051-4aed-8a2c-4d2d61833227 /vbread xfs defaults,x- systemd.requires=vdo.service 0 0 [root@node2 ~]# mount /dev/mapper/vdo1 /vbread/ [root@node2 ~]# df -hT Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/vdo1 xfs 50G 390M 50G 1% /vbread

Exam Code: EX200
Exam Name: Red Hat Certified System Administrator (RHCSA)
Last Update: May 29, 2026
Questions: 134

PDF (Q&A)

$45.99
ADD TO CART

VCE

$49.99
ADD TO CART

PDF + VCE

$59.99
ADD TO CART

Exam2Pass----The Most Reliable Exam Preparation Assistance

There are tens of thousands of certification exam dumps provided on the internet. And how to choose the most reliable one among them is the first problem one certification candidate should face. Exam2Pass provide a shot cut to pass the exam and get the certification. If you need help on any questions or any Exam2Pass exam PDF and VCE simulators, customer support team is ready to help at any time when required.

Home | Guarantee & Policy |  Privacy & Policy |  Terms & Conditions |  How to buy |  FAQs |  About Us |  Contact Us |  Demo |  Reviews

2026 Copyright @ exam2pass.com All trademarks are the property of their respective vendors. We are not associated with any of them.