image


EX200 Dumps EX200 Braindumps

EX200 Real Questions EX200 Practice Test EX200 Actual Questions


RedHat


EX200


Red Hat Certified System Administrator (RHCSA)


https://killexams.com/pass4sure/exam-detail/EX200


Question: 126


CORRECT TEXT


Create a catalog under /home named admins. Its respective group is requested to be the admin group. The group users could read and write, while other users are not allowed to access it. The files created by users from the same group should also be the admin group.


Answer: see explanation below. Explanation

# cd /home/


# mkdir admins /


# chown .admin admins/


# chmod 770 admins/


# chmod g+s admins/ Question: 127 CORRECT TEXT

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


Answer: see explanation below. Explanation

# useradd -u 1234 alex


# passwd alex alex111 alex111

OR

echo alex111|passwd -stdin alex


Question: 128


CORRECT TEXT


Create a Shared Directory.


Create a shared directory /home/admins, make it has the following characteristics:


/home/admins belongs to group adminuser


This directory can be read and written by members of group adminuser Any files created in /home/ admin, group automatically set as adminuser.


Answer: see explanation below.


Explanation


mkdir /home/admins


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

Question: 129


CORRECT TEXT


Configure a user account.


Create a user iar , uid is 3400. Password is redhat


Answer: see explanation below.


Explanation useradd -u 3400 iar passwd iar

Question: 130


CORRECT TEXT


Create User Account.


Create the following user, group and group membership:

Adminuser group


User natasha, using adminuser as a sub group User Harry, also using adminuser as a sub group

User sarah, can not access the SHELL which is interactive in the system, and is not a member of adminuser, natasha , harry , sarah password is redhat.


Answer: see explanation below.


Explanation groupadd adminuser

useradd natasha -G adminuser useradd haryy -G adminuser useradd sarah -s /sbin/nologin

Passwd user name // to modify password or echo redhat | passwd –stdin user name id natasha // to view user group.


Question: 131


CORRECT TEXT


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


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


Question: 132


CORRECT TEXT

Configure a default software repository for your system.


One YUM has already provided to configure your system on http://server.domain11.example.com/pub/ x86_64/Server, and can be used normally.


Answer: see explanation below. Explanation

Yum-config-manager –add-repo=http://content.example.com/rhel7.0/x86-64/dvd†is to generate a file vim content.example.com_rhel7.0_x86_64_dvd.repo, Add a line gpgcheck=0


Yumcleanall Yumrepolist

Almost 4305 packages are right, Wrong Yum Configuration will lead to some following questions cannot be worked out.


Question: 133


CORRECT TEXT


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.


Answer: see explanation below.


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


Question: 134


CORRECT TEXT


Adjust the size of the Logical Volume.


Adjust the size of the vo Logical Volume, its file system size should be 290M. Make sure that the content of this system is complete.


Note: the partition size is rarely accurate to the same size as required, so in the range 270M to 320M is acceptable.


Answer: see explanation below. Explanation

Addition df -hT

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

xfs_growfs /home/ //home is the mounted directory of the LVM, this step just need to do in the practice environment, and test EXT4 does not need this step.


resize2fs /dev/vg0/vo// use this command to update in examination. df -hT

OR


Subtraction


e2fsck -f/dev/vg0/vo umount /home

resize2fs /dev/vg0/vo // the final required partition capacity is 100M lvreduce -l 100M /dev/vg0/vo mount /dev/vg0/vo/home

df -hT


Question: 135


CORRECT TEXT


Configure NTP.

Configure NTP service, Synchronize the server time, NTP server: classroom.example.com


Answer: see explanation below. Explanation

Configure the client: Yum -y install chrony Vim /etc/chrony.conf

Add: server classroom.example.com iburst Start: systemctl enable chronyd

systemctl restart chronyd Validate: timedatectl status Question: 136 CORRECT TEXT

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


Explanation


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


Question: 137


CORRECT TEXT


Download ftp://192.168.0.254/pub/boot.iso to /root, and mounted automatically under /media/cdrom and which take effect automatically at boot-start.


Answer: see explanation below. Explanation

# cd /root; wget ftp://192.168.0.254/pub/boot.iso

# mkdir -p /media/cdrom


# vim /etc/fstab


/root/boot.iso /media/cdrom iso9660 defaults,loop 0 0


# mount -a


mount [-t vfstype] [-o options] device dir


image

6$03/( 48(67,216


7KHVH TXHVWLRQV DUH IRU GHPR SXUSRVH RQO\ )XOO YHUVLRQ LV XS WR GDWH DQG FRQWDLQV DFWXDO TXHVWLRQV DQG DQVZHUV


.LOOH[DPV FRP LV DQ RQOLQH SODWIRUP WKDW RIIHUV D ZLGH UDQJH RI VHUYLFHV UHODWHG WR FHUWLILFDWLRQ H[DP SUHSDUDWLRQ 7KH SODWIRUP SURYLGHV DFWXDO TXHVWLRQV H[DP GXPSV DQG SUDFWLFH WHVWV WR KHOS LQGLYLGXDOV SUHSDUH IRU YDULRXV FHUWLILFDWLRQ H[DPV ZLWK FRQILGHQFH +HUH DUH VRPH NH\ IHDWXUHV DQG VHUYLFHV RIIHUHG E\ .LOOH[DPV FRP


$FWXDO ([DP 4XHVWLRQV .LOOH[DPV FRP SURYLGHV DFWXDO H[DP TXHVWLRQV WKDW DUH H[SHULHQFHG LQ WHVW FHQWHUV 7KHVH TXHVWLRQV DUH XSGDWHG UHJXODUO\ WR HQVXUH WKH\ DUH XS WR GDWH DQG UHOHYDQW WR WKH ODWHVW H[DP V\OODEXV %\ VWXG\LQJ WKHVH DFWXDO TXHVWLRQV FDQGLGDWHV FDQ IDPLOLDUL]H WKHPVHOYHV ZLWK WKH FRQWHQW DQG IRUPDW RI WKH UHDO H[DP


([DP 'XPSV .LOOH[DPV FRP RIIHUV H[DP GXPSV LQ 3') IRUPDW 7KHVH GXPSV FRQWDLQ D FRPSUHKHQVLYH FROOHFWLRQ RI TXHVWLRQV DQG DQVZHUV WKDW FRYHU WKH H[DP WRSLFV %\ XVLQJ WKHVH GXPSV FDQGLGDWHV FDQ HQKDQFH WKHLU NQRZOHGJH DQG LPSURYH WKHLU FKDQFHV RI VXFFHVV LQ WKH FHUWLILFDWLRQ H[DP


3UDFWLFH 7HVWV .LOOH[DPV FRP SURYLGHV SUDFWLFH WHVWV WKURXJK WKHLU GHVNWRS 9&( H[DP VLPXODWRU DQG RQOLQH WHVW HQJLQH 7KHVH SUDFWLFH WHVWV VLPXODWH WKH UHDO H[DP HQYLURQPHQW DQG KHOS FDQGLGDWHV DVVHVV WKHLU UHDGLQHVV IRU WKH DFWXDO H[DP 7KH SUDFWLFH WHVWV FRYHU D ZLGH UDQJH RI TXHVWLRQV DQG HQDEOH FDQGLGDWHV WR LGHQWLI\ WKHLU VWUHQJWKV DQG ZHDNQHVVHV


*XDUDQWHHG 6XFFHVV .LOOH[DPV FRP RIIHUV D VXFFHVV JXDUDQWHH ZLWK WKHLU H[DP GXPSV 7KH\ FODLP WKDW E\ XVLQJ WKHLU PDWHULDOV FDQGLGDWHV ZLOO SDVV WKHLU H[DPV RQ WKH ILUVW DWWHPSW RU WKH\ ZLOO UHIXQG WKH SXUFKDVH SULFH 7KLV JXDUDQWHH SURYLGHV DVVXUDQFH DQG FRQILGHQFH WR LQGLYLGXDOV SUHSDULQJ IRU FHUWLILFDWLRQ H[DPV


8SGDWHG &RQWHQW .LOOH[DPV FRP UHJXODUO\ XSGDWHV LWV TXHVWLRQ EDQN DQG H[DP GXPSV WR HQVXUH WKDW WKH\ DUH FXUUHQW DQG UHIOHFW WKH ODWHVW FKDQJHV LQ WKH H[DP V\OODEXV 7KLV KHOSV FDQGLGDWHV VWD\ XS WR GDWH ZLWK WKH H[DP FRQWHQW DQG LQFUHDVHV WKHLU FKDQFHV RI VXFFHVV


7HFKQLFDO 6XSSRUW .LOOH[DPV FRP SURYLGHV IUHH [ WHFKQLFDO VXSSRUW WR DVVLVW FDQGLGDWHV ZLWK DQ\ TXHULHV RU LVVXHV WKH\ PD\ HQFRXQWHU ZKLOH XVLQJ WKHLU VHUYLFHV 7KHLU FHUWLILHG H[SHUWV DUH DYDLODEOH WR SURYLGH JXLGDQFH DQG KHOS FDQGLGDWHV WKURXJKRXW WKHLU H[DP SUHSDUDWLRQ MRXUQH\


'PS .PSF FYBNT WJTJU IUUQT LJMMFYBNT DPN WFOEPST FYBN MJTU

.LOO \RXU H[DP DW )LUVW $WWHPSW *XDUDQWHHG