VALID RHCE Exam Dumps For Certification Exam Preparation [Q28-Q45]

Share

VALID RHCE Exam Dumps For Certification Exam Preparation

RHCE Dumps PDF 2023 Strategy Your Preparation Efficiently

NEW QUESTION 28
CORRECT TEXT
Configure a task: plan to run echo hello command at 14:23 every day.

Answer:

Explanation:
#whichecho
#crontab-e2314***/bin/echohellos
#crontab-l(Verify)

 

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

Explanation:
Yum-config-manager--add-repo=http://content.example.com/rhel7.0/x86-64/dvd"istogenerateafilevimcontent.example.com_rhel7.0_x86_64_dvd.repoAddalinegpgcheck=0YumcleanallYumrepolistAlmost4305packagesarerightWrongYumConfigurationwillleadtosomefollowingquestionscannotbeworkedout.

 

NEW QUESTION 30
CORRECT TEXT
Notes:
NFS : NFS instructor.example.com:/var/ftp/pub/rhel6/dvd
YUM : http://instructor.example.com/pub/rhel6/dvd
ldap : http : //instructor.example.com/pub/EXAMPLE-CA-CERT
Install dialog package.

Answer:

Explanation:
yum install dialog

 

NEW QUESTION 31
CORRECT TEXT
Configure the NTP service in your system.

Answer:

Explanation:
see explanation below. Explanation system-config-date &

 

NEW QUESTION 32
CORRECT TEXT
Create a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.

Answer:

Explanation:
#fdisk/dev/sdap(checkPartitiontable)n(createnewpartition:pressetocreateextendedpartitionpressptocreatethemainpartitionandtheextendedpartitionisfurtherdividedintologicalpartitions)Enter+2GtlWpartx-a/dev/sdapartprobemkswap/dev/sda8CopyUUIDswapon-avim/etc/fstabUUID=XXXXXswapswapdefaults00(swapon-s)

 

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

Answer:

Explanation:
system-config-authenticationLDAPuserDN=dc=domain11dc=exampledc=comServer=host.domain11.example.comCertificate=http://host.domain11.example.com/pub/domain11.crt(enterurlcarefullytheremaybe//or..)LDAPpasswordOKstartingsssd
su-ldapuser11DisplayBashprompt
#exit

 

NEW QUESTION 34
CORRECT TEXT
Successfully resolve to server1.example.com where your DNS server is 172.24.254.254.

Answer:

Explanation:
vi/etc/resolv.confnameserver172.24.254.254
hostserver1.example.comOneveryclientsDNSserverisspecifiedin/etc/resolv.conf.WhenyourequestbynameittriestoresolvfromDNSserver.

 

NEW QUESTION 35
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 36
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 37
CORRECT TEXT
Make a swap partition having 100MB. Make Automatically Usable at System Boot Time.

Answer:

Explanation:
Usefdisk/dev/hda->Tocreatenewpartition.
Typen->ForNewpartition
ItwillaskforLogicalorPrimaryPartitions.Presslforlogical.
ItwillaskfortheStartingCylinder:UsetheDefaultbypressingEnterKey.
TypetheSize:+100M->YoucanSpecifyeitherLastcylinderofSizehere.
PressPtoverifythepartitionslistsandrememberthepartitionsname.DefaultSystemIDis83thatmeansLinuxNative.
TypettochangetheSystemIDofpartition.
TypePartitionNumber
Type82thatmeansLinuxSwap.
Presswtowriteonpartitionstable.
EitherRebootorusepartprobecommand.
mkswap/dev/hda?->TocreateSwapFilesystemonpartition.
swapon/dev/hda?->ToenabletheSwapspacefrompartition.
free-m->VerifyEitherSwapisenabledornot.
vi/etc/fstab/dev/hda?swapswapdefaults00
ReboottheSystemandverifythatswapisautomaticallyenabledornot.

 

NEW QUESTION 38
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 39
CORRECT TEXT
/data Directory is shared from the server1.example.com server. Mount the shared directory that:
a. when user try to access, automatically should mount
b. when user doesn't use mounted directory should unmount automatically after 50 seconds.
c. shared directory should mount on /mnt/data on your machine.

Answer:

Explanation:
1.vi/etc/auto.master/mnt/etc/auto.misc--timeout=50
vi/etc/auto.misc
data-rwsoftintrserver1.example.com:/data
serviceautofsrestart
chkconfigautofsonWhenyoumounttheotherfilesystemyoushouldunmountthemountedfilesystemAutomountfeatureoflinuxhelpstomountataccesstimeandaftercertainsecondswhenuserunaccessthemounteddirectoryautomaticallyunmountthefilesystem./etc/auto.masteristhemasterconfigurationfileforautofsservice.Whenyoustarttheserviceitreadsthemountpointasdefinedin/etc/auto.master.

 

NEW QUESTION 40
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 41
CORRECT TEXT
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:
(1)find/etc-size10k-execcp{}/tmp/findfiles\;(2)find/-userlucy-execcp-a{}/tmp/findfiles\;Note:Iffindusersandpermissionsyouneedtousecp-aoptionstokeepfilepermissionsanduserattributesetc.

 

NEW QUESTION 42
CORRECT TEXT
In the system, mounted the iso image /root/examine.iso to/mnt/iso directory. And enable automatically mount (permanent mount) after restart system.

Answer:

Explanation:
mkdir-p/mnt/iso/etc/fstab:/root/examine.iso/mnt/isoiso9660loop00mount-amount|grepexamine

 

NEW QUESTION 43
CORRECT TEXT
Install the Kernel Upgrade.
Install suitable kernel update from:
http://server.domain11.example.com/pub/updates.
Following requirements must be met:
Updated kernel used as the default kernel of system start-up.
The original kernel is still valid and can be guided when system starts up.

Answer:

Explanation:
UsingthebrowseropentheURLinthequestiondownloadkernelfiletorootorhomedirectory.uname-r//checkthecurrentkernelversionrpm-ivhkernel-*.rpmvi/boot/grub.conf//checkSomequestionsare:Installandupgradethekernelasrequired.Toensurethatgrub2isthedefaultitemforstartup.Yumrepo:http://content.example.com/rhel7.0/x86-64/errataORuname-r//checkkernelYum-config-manager--add-repo="http://content.example.com/rhel7.0/x86-64/errata"YumcleanallYumlistkernel//installdirectlyYum-yinstallkernel//stuckwithitdonotpipe!Pleasedonotpipe!Defaultenablenewkernelgrub2-editenvlist//checkModifygrub2-set-default"kernelfullname"Grub2-mkconfig-o/boot/grub2/grub.cfg//Refresh

 

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

Explanation:
groupaddadminuseruseraddnatasha-Gadminuseruseraddharyy-Gadminuseruseraddsarah-s/sbin/nologinPasswdusername//tomodifypasswordorechoredhat|passwd--stdinusernameidnatasha//toviewusergroup.

 

NEW QUESTION 45
......

Latest Verified & Correct RHCE Questions: https://www.latestcram.com/RHCE-exam-cram-questions.html

100% Pass Guaranteed Download RHCE Certification Exam PDF Q&A: https://drive.google.com/open?id=1QQi1taKiLCbW6WyTCPEOPhvP07Rq8RE-