
Free Sales Ending Soon - 100% Valid RHCE Exam Dumps with 111 Questions
Verified RHCE dumps Q&As on your RHCE Certification Exam Questions Certain Success!
NEW QUESTION 20
CORRECT TEXT
SELinux must run in force mode.
Answer:
Explanation:
/etc/sysconfig/selinuxSELINUX=enforcing
NEW QUESTION 21
CORRECT TEXT
According the following requirements to create user, user group and the group members:
- A group named admin.
- A user named mary, and belong to admin as the secondary group.
- A user named alice, and belong to admin as the secondary group.
- A user named bobby, bobby's login shell should be non-interactive. Bobby not belong to admin as the secondary group.
Mary, Alice, bobby users must be set "password" as the user's password.
Answer:
Explanation:
groupaddadminuseradd-Gadminmaryuseradd-Gadminaliceuseradd-s/sbin/nologinbobbyecho"password"|passwd--stdinmaryecho"password"|passwd--stdinaliceecho"password"|passwd--stdinbobby
NEW QUESTION 22
CORRECT TEXT
You have a domain named www.rhce.com associated IP address is 192.100.0.2. Configure the Apache web server by implementing the SSL for encryption communication.
Answer:
Explanation:
vi/etc/httpd/conf.d/ssl.conf<VirtualHost192.100.0.2>ServerNamewww.rhce.comDocumentRoot/var/www/rhceDirectoryIndexindex.htmlindex.htmServerAdminwebmaster@rhce.comSSLEngineonSSLCertificateFile/etc/httpd/conf/ssl.crt/server.crtSSLCertificateKeyFile/etc/httpd/conf/ssl.key/server.key</VirtualHost>
cd/etc/httpd/conf3maketestcert
Createthedirectoryandindexpageonspecifiedpath.(Indexpagecandownloadfromftp://server1.example.comatexamtime)
servicehttpdstart|restart
chkconfighttpdonApachecanprovideencryptedcommunicationsusingSSL(SecureSocketLayer).Tomakeuseofencryptedcommunicationaclientmustrequesttohttpsprotocolwhichisusesport443.ForHTTPSprotocolrequiredthecertificatefileandkeyfile.
NEW QUESTION 23
CORRECT TEXT
Find the files owned by harry, and copy it to catalog: /opt/dir
Answer:
Explanation:
#cd/opt/
#mkdirdir
#find/-userharry-execcp-rfp{}/opt/dir/\;
NEW QUESTION 24
CORRECT TEXT
Create a user alex with a userid of 3400. The password for this user should be redhat.
Answer:
Explanation:
useradd-u3400alex
passwdalex
su-alex
NEW QUESTION 25
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 26
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 27
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:
Explanation:
#cd/root;wgetftp://192.168.0.254/pub/boot.iso
#mkdir-p/media/cdrom
#vim/etc/fstab/root/boot.iso/media/cdromiso9660defaultsloop00
#mount-amount[-tvfstype][-ooptions]devicedir
NEW QUESTION 28
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 29
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 30
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 31
CORRECT TEXT
Configure /var/tmp/fstab Permission.
Copy the file /etc/fstab to /var/tmp/fstab. Configure var/tmp/fstab permissions as the following:
Owner of the file /var/tmp/fstab is Root, belongs to group root
File /var/tmp/fstab cannot be executed by any user
User natasha can read and write /var/tmp/fstab
User harry cannot read and write /var/tmp/fstab
All other users (present and future) can read var/tmp/fstab.
Answer:
Explanation:
cp/etc/fstab/var/tmp/
/var/tmp/fstabviewtheownersetfacl-mu:natasha:rw-/var/tmp/fstabsetfacl-mu:haryy:---/var/tmp/fstabUsegetfacl/var/tmp/fstabtoviewpermissions
NEW QUESTION 32
CORRECT TEXT
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:
lvextend-L+200M/dev/test0/testvolume1Uselvdisplay/dev/test0/testvolume1)
ext2online-d/dev/test0/testvolume1lvextendcommandisusedtheincreasethesizeofLogicalVolume.Othercommandlvresizecommandalsoheretoresize.Andtobringincreasedsizeononlineweusetheext2onlinecommand.
NEW QUESTION 33
CORRECT TEXT
Install the appropriate kernel update from http://server.domain11.example.com/pub/updates.
The following criteria must also be met:
The updated kernel is the default kernel when the system is rebooted
The original kernel remains available and bootable on the system
Answer:
Explanation:
ftpserver.domain11.example.comAnonymousloginftp>cd/pub/updatesftp>lsftp>mgetkernel*ftp>bye
rpm-ivhkernel*
vim/etc/grub.confChecktheupdattedkernelisthefirstkernelandtheorginalkernelremainsavailable.setdefault=0wq!
NEW QUESTION 34
CORRECT TEXT
Create a volume group, and set 16M as a extends. And divided a volume group containing 50 extends on volume group lv, make it as ext4 file system, and mounted automatically under /mnt/data.
Answer:
Explanation:
#pvcreate/dev/sda7/dev/sda8
#vgcreate-s16Mvg1/dev/sda7/dev/sda8
#lvcreate-l50-nlvm02
#mkfs.ext4/dev/vg1/lvm02
#blkid/dev/vg1/lv1
#vim/etc/fstab
#mkdir-p/mnt/dataUUID=xxxxxxxx/mnt/dataext4defaults00
#vim/etc/fstab
#mount-a
#mount(Verify)
NEW QUESTION 35
CORRECT TEXT
There are two different networks, 192.168.0.0/24 and 192.168.1.0/24. Your System is in 192.168.0.0/24 Network. One RHEL6 Installed System is going to use as a Router. All required configuration is already done on Linux Server. Where 192.168.0.254 and 192.168.1.254 IP Address are assigned on that Server.
How will make successfully ping to 192.168.1.0/24 Network's Host?
Answer:
Explanation:
vi/etc/sysconfig/networkGATEWAY=192.168.0.254ORvi/etc/sysconf/network-scripts/ifcfg-eth0DEVICE=eth0BOOTPROTO=staticONBOOT=yesIPADDR=192.168.0.?NETMASK=255.255.255.0GATEWAY=192.168.0.254
servicenetworkrestartGatewaydefinesthewaytoexitthepackets.AccordingtoquestionSystemworkingasarouterfortwonetworkshaveIPAddress192.168.0.254and192.168.1.254.
NEW QUESTION 36
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 37
CORRECT TEXT
Copy /etc/fstab to /var/tmp name admin, the user1 could read, write and modify it, while user2 without any permission.
Answer:
Explanation:
#cp/etc/fstab/var/tmp/
#chgrpadmin/var/tmp/fstab
#setfacl-mu:user1:rwx/var/tmp/fstab
#setfacl-mu:user2:---/var/tmp/fstab
#ls-l-rw-rw-r--+1rootadmin685Nov1015:29/var/tmp/fstab
NEW QUESTION 38
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 39
......
RHCE Exam Dumps - 100% Marks In RHCE Exam: https://www.actualtorrent.com/RHCE-questions-answers.html