DumpsFree provides high-quality dumps PDF & dumps VCE for candidates who are willing to pass exams and get certifications soon. We provide dumps free download before purchasing dumps VCE. 100% pass exam!

Pass RHCE Exam - Real Test Engine PDF with 111 Questions [Q35-Q56]

Share

Pass RHCE Exam - Real Test Engine PDF with 111 Questions

Get New RHCE Certification Practice Test Questions Exam Dumps


The Red Hat Certified Engineer (RHCE) certification is a popular certification for IT professionals who specialize in Red Hat Enterprise Linux (RHEL) operating systems. Red Hat Certified Engineer - RHCE certification is considered to be one of the most valuable certifications in the Linux world and is highly sought after by employers.


The RHCE exam is a hands-on practical exam that tests the candidate's ability to configure, manage, and troubleshoot RHEL systems. RHCE exam consists of a series of tasks that must be completed within a specified time frame, and the candidate must demonstrate proficiency in various aspects of RHEL system administration.


RHCE is a highly respected certification in the IT industry, and is recognized by many organizations as a benchmark for excellence in RHEL system administration. RHCE holders are in high demand, and can expect to earn higher salaries than their non-certified counterparts. The RHCE certification is also a stepping stone to other advanced certifications offered by Red Hat, such as the Red Hat Certified Architect (RHCA) certification.

 

NEW QUESTION # 35
CORRECT TEXT
You are a System administrator. Using Log files very easy to monitor the system. Now there are 50 servers running as Mail, Web, Proxy, DNS services etc. You want to centralize the logs from all servers into on LOG Server.
How will you configure the LOG Server to accept logs from remote host?

Answer:

Explanation:
Bydefaultsystemacceptthelogsonlygeneratedfromlocalhost.ToaccepttheLogfromotherhostconfigure:vi/etc/sysconfig/syslogSYSLOGD_OPTIONS="-m0-r"Where-m0disables'MARK'messages.-renablesloggingfromremotemachines-xdisablesDNSlookupsonmessagesreceivedwith-rservicesyslogrestart


NEW QUESTION # 36
CORRECT TEXT
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:
yuminstallvsftpd/etc/init.d/vsftpdstartchkconfigvsftpdon


NEW QUESTION # 37
CORRECT TEXT
One Logical Volume is created named as myvol under vo volume group and is mounted. The Initial Size of that Logical Volume is 400MB. Make successfully that the size of Logical Volume 200MB without losing any data. The size of logical volume 200MB to 210MB will be acceptable.

Answer:

Explanation:
FirstcheckthesizeofLogicalVolume:lvdisplay/dev/vo/myvol
Makesurethatthefilesystemisinaconsistentstatebeforereducing:
#fsck-f/dev/vo/myvol
Nowreducethefilesystemby200MB.
#resize2fs/dev/vo/myvol200M
Itisnowpossibletoreducethelogicalvolume.
#lvreduce/dev/vo/myvol-L200M
VerifytheSizeofLogicalVolume:lvdisplay/dev/vo/myvol
Verifythatthesizecomesinonlineornot:df-h


NEW QUESTION # 38
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 # 39
CORRECT TEXT
Configure NTP.
Configure NTP service, Synchronize the server time, NTP server: classroom.example.com

Answer:

Explanation:
Configuretheclient:Yum-yinstallchronyVim/etc/chrony.confAdd:serverclassroom.example.comiburstStart:systemctlenablechronydsystemctlrestartchronydValidate:timedatectlstatus


NEW QUESTION # 40
CORRECT TEXT
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:
vim/etc/yum.repos/base.repo[base]name=basebaseurl=http://server.domain11.example.com/pub/x86_64/Servergpgcheck=0enable=1SaveandExitUseyumlistforvalidationtheconfigurationiscorrectiflistthepackageinformation.IftheYumconfigurationisnotcorrectthenmaybecannotanswerthefollowingquestions.


NEW QUESTION # 41
CORRECT TEXT
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:
Createapartitionhavingsize5GBandchangethesysteid'8e'.
usepartprobecommand
pvcreate/dev/hda9Supposeyourpartitionnumberishda9.
vgextendtest0/dev/hda9vgextendcommandaddthephysicaldiskonvolumegroup.
lvextend-L+5120M/dev/test0/lvtestvolume
verifyusinglvdisplay/dev/test0/lvtestvolume.


NEW QUESTION # 42
CORRECT TEXT
According the following requirements, configure autofs service and automatically mount to user's home directory in the ldap domain.
- Instructor.example.com (192.168.0.254) has shared /home/guests/ldapuserX home directory to your system by over NFS export, X is your hostname number.
- LdapuserX's home directory is exist in the instructor.example.com: /home/ guests/ldapuserX
- LdapuserX's home directory must be able to automatically mount to /home/ guests/ldapuserX in your system.
- Home directory have write permissions for the corresponding user.
However, you can log on to the ldapuser1 - ldapuser99 users after verification. But you can only get your corresponding ldapuser users. If your system's hostname is server1.example.com, you can only get ldapuser1's home directory.

Answer:

Explanation:
mkdir-p/home/guestscat/etc/auto.master:/home/guests/etc/auto.ldapcat/etc/auto.ldap:ldapuser1-rwinstructor.example.com:/home/guests/ldapuser1
automaticallymountalltheuser'shomedirectory
#*-rwinstructor.example.com:/home/guests/&


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

Answer:

Explanation:
#groupadd-g600admin


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

Explanation:
yum-yinstallsssdauthconfig-gtkkrb5-workstationauthconfig-gtk//openthegraphicalinterfaceModifyuseraccountdatabasetoldapfillupDNandLDAPSERVERasquestionsrequireduseTLStoencryptconnectionsmakingtickwritehttp://server.domain11.example.com/pub/EXAMPLE-CA-CERTtodownloadcaauthenticationmethodchooseldappassword.Youcantestiftheldapuserisaddedbythefollowingcommand:Idldapuser1Note:userpassworddoesn'tnotneedtoset


NEW QUESTION # 45
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 # 46
CORRECT TEXT
The firewall must be open.

Answer:

Explanation:
/etc/init.d/iptablesstartiptables-Fiptables-Xiptables-Z/etc/init.d/iptablessavechkconfigiptableson


NEW QUESTION # 47
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 # 48
CORRECT TEXT
You are new System Administrator and from now you are going to handle the system and your main task is Network monitoring, Backup and Restore. But you don't know the root password. Change the root password to redhat and login in default Runlevel.

Answer:

Explanation:
WhenyouBoottheSystemitstartsondefaultRunlevelspecifiedin/etc/inittab:Id:?:initdefault:WhenSystemSuccessfullybootitwillaskforusernameandpassword.Butyoudon'tknowtheroot'spassword.Tochangetherootpasswordyouneedtobootthesystemintosingleusermode.Youcanpassthekernelargumentsfromthebootloader.1.RestarttheSystem.2.YouwillgetthebootloaderGRUBscreen.3.Pressaandtype1orsforsinglemoderoroot=LABEL=/rhgbqueits4.SystemwillbootonSingleUsermode.5.Usepasswdcommandtochange.6.Pressctrl+d


NEW QUESTION # 49
CORRECT TEXT
Who ever creates the files/directories on archive group owner should be automatically should be the same group owner of archive.

Answer:

Explanation:
chmodg+s/archive
Verifyusing:ls-ld/archivePermissionshouldbelike:drwxrws---2rootsysuser4096Mar1618:08/archiveIfSGIDbitissetondirectorythenwhoeveryuserscreatesthefilesondirectorygroupownerautomaticallytheownerofparentdirectory.TosettheSGIDbit:chmodg+sdirectoryToRemovetheSGIDbit:chmodg-sdirectory


NEW QUESTION # 50
CORRECT TEXT
There are two different networks 192.168.0.0/24 and 192.168.1.0/24. Where 192.168.0.254 and
192.168.1.254 IP Address are assigned on Server. Verify your network settings by pinging 192.168.1.0/24 Network's Host.

Answer:

Explanation:
vi/etc/sysconfing/networkNETWORKING=yesHOSTNAME=station?.example.comGATEWAY=192.168.0.254servicenetworkrestart2.vi/etc/sysconfig/network-scripts/ifcfg-eth0DEVICE=eth0ONBOOT=yesBOOTPROTO=staticIPADDR=X.X.X.XNETMASK=X.X.X.XGATEWAY=192.168.0.254ifdowneth0ifupeth0


NEW QUESTION # 51
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 # 52
CORRECT TEXT
Add 3 users: harry, natasha, tom.
The requirements: The Additional group of the two users:
harry, Natasha is the admin group.
The user: tom's login shell should be non-interactive.

Answer:

Explanation:
#useradd-Gadminharry
#useradd-Gadminnatasha
#useradd-s/sbin/nologintom
#idharry;idNatasha(Showadditionalgroup)
#cat/etc/passwd(Showtheloginshell)OR
#system-config-users


NEW QUESTION # 53
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 # 54
CORRECT TEXT
Add user: user1, set uid=601
Password: redhat
The user's login shell should be non-interactive.

Answer:

Explanation:
#useradd-u601-s/sbin/nologinuser1
#passwduser1redhat


NEW QUESTION # 55
CORRECT TEXT
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.Usefdisk/dev/hda->Tocreatenewpartition.2.Typen->ForNewpartitions3.ItwillaskforLogicalorPrimaryPartitions.Presslforlogical.4.ItwillaskfortheStartingCylinder:UsetheDefaultbypressingEnterKeys5.Typethesize:+100MyoucanspecifyeitherLastcylinderofsizehere.6.PressPtoverifythepartitionslistsandrememberthepartitionsname.7.Presswtowriteonpartitionstable.8.EitherRebootorusepartprobecommand.9.Usemkfs-text3/dev/hda?OR1.mke2fs-j/dev/hda?->Tocreateext3filesystem.2.vi/etc/fstab3.Write:/dev/hda?/dataext3defaults004.Verifybymountingoncurrentsessionsalso:mount/dev/hda?/data


NEW QUESTION # 56
......

RHCE Exam Dumps - PDF Questions and Testing Engine: https://dumpstorrent.dumpsfree.com/RHCE-valid-exam.html