[Q81-Q104] Get New 2022 RedHat EX200 Exam Dumps Bundle On flat Updated Dumps!

Share

Get New 2022 RedHat exam EX200 Dumps Bundle On flat Updated Dumps!

Full EX200 Practice Test and 136 unique questions with explanations waiting just for you, get it now!

NEW QUESTION 81
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 82
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 83
A YUM source has been provided in the
http://instructor.example.com/pub/rhel6/dvd
Configure your system and can be used normally.

Answer:

Explanation:
/etc/yum.repos.d/base.repo
[base]
name=base
baseurl=http://instructor.example.com/pub/rhel6/dvd
gpgcheck=0
yum list

 

NEW QUESTION 84
SIMULATION
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.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
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 85
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:
Answer see in the explanation.
Explanation/Reference:
# 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)

 

NEW QUESTION 86
CORRECT TEXT
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 87
Search files.
Find out files owned by jack, and copy them to directory /root/findresults

Answer:

Explanation:
mkdir/root/findfiles
find / -user jack -exec cp -a {} /root/findfiles/ \; ls /root/findresults

 

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

Answer:

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

 

NEW QUESTION 89
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:
see explanation below.
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
SIMULATION
Create a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation: # fdisk /dev/sda
p
(check Partition table)
n
(create new partition: press e to create extended partition, press p to create the main partition, and the extended partition is further divided into logical partitions) Enter
+2G t
8 I
82
W
partx -a /dev/sda
partprobe
mkswap /dev/sda8
Copy UUID
swapon -a
vim /etc/fstab
UUID=XXXXX swap swap defaults 0 0
(swapon -s)

 

NEW QUESTION 91
Which of the following statements is true about load balancers?

  • A. Load balancer require access to private keys in order to be able to forward HTTPS traffic.
  • B. Load balancer help to improve the availability and scalability of a service.
  • C. Load balancers are a single point of failure because they cannot be deployed redundantly.
  • D. Load balancers are a security risk because they obfuscate the origin of connections.
  • E. Load balancers cannot use connection content, such as HTTP cookies, to route traffic.

Answer: B

 

NEW QUESTION 92
Create a user alex with a userid of 3400. The password for this user should be redhat.

Answer:

Explanation:
useradd -u 3400 alex
passwd alex
su -alex

 

NEW QUESTION 93
SIMULATION
One Logical Volume named /dev/test0/testvolume1 is created. The initial Size of that disk is 100MB now you required more 200MB. Increase the size of Logical Volume, size should be increase on online.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation:
lvextend -L+200M /dev/test0/testvolume1 Use lvdisplay /dev/test0/testvolume1) ext2online -d /dev/test0/testvolume1 lvextend command is used the increase the size of Logical Volume. Other command lvresize command also here to resize. And to bring increased size on online we use the ext2online command.

 

NEW QUESTION 94
Search a String
Find out all the columns that contains the string seismic within /usr/share/dict/words, then copy all these columns to /root/lines.tx in original order, there is no blank line, all columns must be the accurate copy of the original columns.

Answer:

Explanation:
grep seismic /usr/share/dict/words> /root/lines.txt

 

NEW QUESTION 95
SIMULATION
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.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
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 96
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 dat a. As well as size should be increased online.

Answer:

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.

 

NEW QUESTION 97
Create a new logical volume according to the following requirements:
The logical volume is named database and belongs to the datastore volume group and has a size of 50 extents.
Logical volumes in the datastore volume group should have an extent size of 16 MB.
Format the new logical volume with a ext3 filesystem.
The logical volume should be automatically mounted under /mnt/database at system boot time.

Answer:

Explanation:
fdisk -cu /dev/vda
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

 

NEW QUESTION 98
Create a user named alex, and the user id should be 1234, and the password should be alex111.

Answer:

Explanation:
Answer see in the explanation.
Explanation/Reference:
# useradd -u 1234 alex
# passwd alex
alex111
alex111
OR
echo alex111|passwd -stdin alex

 

NEW QUESTION 99
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:
see explanation below.
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 100
Add admin group and set gid=600

Answer:

Explanation:
# groupadd -g 600 admin

 

NEW QUESTION 101
We are working on /data initially the size is 2GB. The /dev/test0/lvtestvolume is mount on /data. Now you required more space on /data but you already added all disks belong to physical volume. You saw that you have unallocated space around 5 GB on your harddisk. Increase the size of lvtestvolume by 5GB.

Answer:

Explanation:
see explanation below.
* Create a partition having size 5 GB and change the syste id '8e'.
* use partprobe command
* pvcreate /dev/hda9 Suppose your partition number is hda9.
* vgextend test0 /dev/hda9 vgextend command add the physical disk on volume group.
* lvextend -L+5120M /dev/test0/lvtestvolume
* verify using lvdisplay /dev/test0/lvtestvolume.

 

NEW QUESTION 102
Add a new logical partition having size 100MB and create the data which will be the mount point for the new partition.

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 Keys
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
1. mke2fs -j /dev/hda? ->To create ext3 filesystem.
2. vi /etc/fstab
3. Write:
/dev/hda? /data ext3 defaults 0 0
4. Verify by mounting on current sessions also:
mount /dev/hda? /data

 

NEW QUESTION 103
SIMULATION
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:
See explanation below.
Explanation/Reference:
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 104
......

[Sep-2022] Pass RedHat EX200 Exam in First Attempt Guaranteed: https://drive.google.com/open?id=1BNjZXUK8LmbAqagXjPoR4rO-RV53SSYn

Reduce Your Chance of Failure in EX200 Exam: https://www.updatedumps.com/RedHat/EX200-updated-exam-dumps.html