Pass RedHat RHCE Exam With Practice Test Questions Dumps Bundle [Q62-Q83]

Share

Pass RedHat RHCE Exam With Practice Test Questions Dumps Bundle

2022 Valid RHCE test answers & RedHat Exam PDF

NEW QUESTION 62
CORRECT TEXT
Open kmcrl value of 5 , and can verify in /proc/ cmdline

Answer:

Explanation:
#vim/boot/grub/grub.confkernel/vmlinuz-2.6.32-71.el6.x86_64roroot=/dev/mapper/GLSvg-GLSrootrd_LVM_LV=GLSvg/GLSrootrd_LVM_LV=GLSvg/GLSswaprd_NO_LUKSrd_NO_MDrd_NO_DMLANG=en_US.UTF-8SYSFONT=latarcyrheb-sun16KEYBOARDTYPE=pcKEYTABLE=uscrashkernel=autorhgbquietkmcrl=5Restarttotakeeffectandverification:
#cat/proc/cmdlineroroot=/dev/mapper/GLSvg-GLSrootrd_LVM_LV=GLSvg/GLSrootrd_LVM_LV=GLSvg/GLSswaprd_NO_LUKSrd_NO_MDrd_NO_DMLANG=en_US.UTF-8SYSFONT=latarcyrheb-sun16KEYBOARDTYPE=pcKEYTABLE=usrhgbquietkmcrl=5

 

NEW QUESTION 63
CORRECT TEXT
Copy /etc/fstab document to /var/TMP directory. According the following requirements to configure the permission of this document.
The owner of this document must be root.
This document belongs to root group.
User mary have read and write permissions for this document.
User alice have read and execute permissions for this document.
Create user named bob, set uid is 1000. Bob have read and write permissions for this document.
All users has read permission for this document in the system.

Answer:

Explanation:
cp/etc/fstab/var/tmpchownroot:root/var/tmp/fstabchmoda-x/var/tmp/fstabsetfacl-mu:mary:rw/var/tmp/fstabsetfacl-mu:alice:rx/var/tmp/fstabuseradd-u1000bob

 

NEW QUESTION 64
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:

Explanation:
system-config-authenticationLDAPServer:ldap//instructor.example.com(IndomainformnotwriteIP)OR
#yumgroupinstalldirectory-client(1.krb5-workstation2.pam-krb53.sssd)
#system-config-authentication1.UserAccountDatabase:LDAP2.LDAPSearchBaseDN:dc=exampledc=com3.LDAPServer:ldap://instructor.example.com(IndomainformnotwriteIP)4.DownloadCACertificate5.AuthenticationMethod:LDAPpassword6.Applygetentpasswdldapuser40

 

NEW QUESTION 65
CORRECT TEXT
Make on /archive directory that only the user owner and group owner member can fully access.

Answer:

Explanation:
chmod770/archive
Verifyusing:ls-ld/archivePreviewshouldbelike:drwxrwx---2rootsysuser4096Mar1618:08/archiveTochangethepermissionondirectoryweusethechmodcommand.Accordingtothequestionthatonlytheowneruser(root)andgroupmember(sysuser)canfullyaccessthedirectoryso:chmod770/archive

 

NEW QUESTION 66
CORRECT TEXT
Create a volume group, and set 8M as a extends. Divided a volume group containing 50 extends on volume group lv (lvshare), make it as ext4 file system, and mounted automatically under /mnt/data. And the size of the floating range should set between 380M and 400M.

Answer:

Explanation:
#fdisk
#partprobe
#pvcreate/dev/vda6
#vgcreate-s8Mvg1/dev/vda6-s
#lvcreate-nlvshare-l50vg1-l
#mkfs.ext4/dev/vg1/lvshare
#mkdir-p/mnt/data
#vim/etc/fstab/dev/vg1/lvshare/mnt/dataext4defaults00
#mount-a
#df-h

 

NEW QUESTION 67
CORRECT TEXT
Create one partitions having size 100MB and mount it on data.

Answer:

Explanation:
1.Usefdisk/dev/hdatocreatenewpartition.2.TypenForNewpartitions.3.ItwillaskforLogicalorPrimaryPartitions.Presslforlogical.4.ItwillaskfortheStartingCylinder:UsetheDefaultbypressingEnterKey.5.TypetheSize:+100MyoucanspecifyeitherLastcylinderofsizehere.6.PressPtoverifythepartitionslistsandrememberthepartitionsname.7.Presswtowriteonpartitionstable.8.EitherRebootorusepartprobecommand.9.Usemkfs-text3/dev/hda?ORmke2fs-j/dev/hda?Tocreateext3filesystem.vi/etc/fstabWrite:/dev/hda?/dataext3defaults12VerifybymountingoncurrentSessionsalso:mount/dev/hda?/data

 

NEW QUESTION 68
CORRECT TEXT
Configure your system so that it is an NTP client of server.domain11.example.com

Answer:

Explanation:
#system-config-dateNote:dialogboxwillopeninthatCheckmarkSynchronizedateandtimeovernetwork.RemovealltheNTPSERVERandclickADDandtypeserver.domain11.example.com****************AndthenpressENTERandthepressOK***************

 

NEW QUESTION 69
CORRECT TEXT
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=basebaseurl=http://instructor.example.com/pub/rhel6/dvdgpgcheck=0yumlist

 

NEW QUESTION 70
CORRECT TEXT
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:
vim/etc/auto.master/rhome/etc/auto.miscwq!
#vim/etc/auto.miscldapuser11--rwsynchost.domain11.example.com:/rhome/ldpauser11:wq!
#serviceautofsrestart
serviceautofsreload
chkconfigautofson
su-ldapuser11Loginldapuserwithhomedirectory
#exit

 

NEW QUESTION 71
CORRECT TEXT
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:
cd/usr/localtar-jcvf/root/backup.tar.bz2mkdir/testtar-jxvf/root/backup.tar.bz2-C/test//Decompressiontocheckthecontentisthesameasthe/usr/locaafterIfthequestionsrequiretousegziptocompress.change-jto-z.

 

NEW QUESTION 72
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:

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

 

NEW QUESTION 73
CORRECT TEXT
Add admin group and set gid=600

Answer:

Explanation:
#groupadd-g600admin

 

NEW QUESTION 74
CORRECT TEXT
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

Answer:

Explanation:
fdisk-cu/dev/vda//Createa1Gpartitionmodifiedwhenneededpartx-a/dev/vdapvcreate/dev/vdaxvgcreatedatastore/dev/vdax-s16Mlvcreate-l50-ndatabasedatastoremkfs.ext3/dev/datastore/databasemkdir/mnt/databasemount/dev/datastore/database/mnt/database/df-Thvi/etc/fstab/dev/datastore/database/mnt/database/ext3defaults00mount-aRestartandcheckallthequestionsrequirements.

 

NEW QUESTION 75
CORRECT TEXT
Create a swap space, set the size is 600 MB, and make it be mounted automatically after rebooting the system (permanent mount).

Answer:

Explanation:
if=/dev/zeroof=/swapfilebs=1Mcount=600mkswap/swapfile/etc/fstab:/swapfileswapswapdefaults00mount-a

 

NEW QUESTION 76
CORRECT TEXT
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:
fdisk/dev/vdapvcreate/dev/vda3vgcreate-s16Mvg0/dev/vda3lvcreate-nlv0-l20vg0mkfs.ext3/dev/mapper/vg0-lv0mkdir/data/etc/fstab:/dev/mapper/vg0-lv0/dataext3defaults00mount-amount|grepdata

 

NEW QUESTION 77
CORRECT TEXT
Configure a user account.
Create a user iar , uid is 3400. Password is redhat

Answer:

Explanation:
useradd-u3400iarpasswdiar

 

NEW QUESTION 78
CORRECT TEXT
There is a server having 172.24.254.254 and 172.25.254.254. Your System lies on 172.24.0.0/16. Make successfully ping to 172.25.254.254 by Assigning following IP: 172.24.0.x where x is your station number.

Answer:

Explanation:
Usenetconfigcommand
EntertheIPAddressasgivenstationnumberbyyourexaminer:example:172.24.0.1
EnterSubnetMask
EnterDefaultGatewayandprimarynameserver
pressonok
ifdowneth0
ifupeth0
verifyusingifconfigInthelabserverisplayingtheroleofrouterIPforwardingisenabled.JustsettheCorrectIPandgatewayyoucanpingto172.25.254.254.

 

NEW QUESTION 79
CORRECT TEXT
Configure a HTTP server, which can be accessed through http://station.domain40.example.com.
Please download the released page from http://ip/dir/example.html.

Answer:

Explanation:
#yuminstall-yhttpd
#chkconfighttpdon
#cd/var/www/html
#wgethttp://ip/dir/example.html
#cpexample.comindex.html
#vim/etc/httpd/conf/httpd.confNameVirtualHost192.168.0.254:80<VirtualHost192.168.0.254:80>DocumentRoot/var/www/html/ServerNamestation.domain40.example.com</VirtualHost>

 

NEW QUESTION 80
CORRECT TEXT
Search files.
Find out files owned by jack, and copy them to directory /root/findresults

Answer:

Explanation:
mkdir/root/findfilesfind/-userjack-execcp-a{}/root/findfiles/\;ls/root/findresults

 

NEW QUESTION 81
CORRECT TEXT
Set cronjob for user natasha to do /bin/echo hiya at 14:23.

Answer:

Explanation:
#crontab-e-unatasha2314***/bin/echohiyawq!

 

NEW QUESTION 82
SIMULATION
Add an additional swap partition of 754 MB to your system.
The swap partition should automatically mount when your system boots.
Do not remove or otherwise alter any existing swap partitions on your system.

Answer:

Explanation:
fdisk-l
fdisk-cu/dev/vdapneorpselectedefault(first):enterdefault(last):enterndefault(first):enterdefault(first):+754Mt(1-5)l:82pw
#reboot
#mkswap/dev/vda5
vim/etc/fstab/dev/vda5swapswapdefaults00wq
mount-a
swapon-a
swapon-s

 

NEW QUESTION 83
......

Top RedHat RHCE Courses Online: https://www.real4dumps.com/RHCE_examcollection.html

Free RedHat RHCE Exam Questions and Answer from Training Expert Real4dumps: https://drive.google.com/open?id=1ufiopwZlSJnv0rmR_ldIjOBPAJ6x1hti