Welcome to TestSimulate

Pass Your Next Certification Exam Fast!

Everything you need to prepare, learn & pass your certification exam easily.

365 days free updates. First attempt guaranteed success.

RedHat Red Hat Certified Engineer - RHCE (RHCE) Free Practice Test

Question 1
CORRECT TEXT
Create a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.
Correct Answer:
#fdisk/dev/sdap(checkPartitiontable)n(createnewpartition:pressetocreateextendedpartitionpressptocreatethemainpartitionandtheextendedpartitionisfurtherdividedintologicalpartitions)Enter+2Gt8I82Wpartx-a/dev/sdapartprobemkswap/dev/sda8CopyUUIDswapon-avim/etc/fstabUUID=XXXXXswapswapdefaults00(swapon-s)
Question 2
CORRECT TEXT
Add a new logical partition having size 100MB and create the data which will be the mount point for the new partition.
Correct Answer:
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
Question 3
CORRECT TEXT
There is a local logical volumes in your system, named with common and belong to VGSRV volume group, mount to the /common directory. The definition of size is 128 MB.
Requirement:
Extend the logical volume to 190 MB without any loss of data. The size is allowed between 160-160 MB after extending.
Correct Answer:
lvextend-L190M/dev/mapper/vgsrv-commonresize2fs/dev/mapper/vgsrv-common
Question 4
CORRECT TEXT
Your System is configured in 192.168.0.0/24 Network and your nameserver is 192.168.0.254. Make successfully resolve to server1.example.com.
Correct Answer:
nameserverisspecifiedinquestion1.Vi/etc/resolv.confnameserver192.168.0.2542.hostserver1.example.com
Question 5
CORRECT TEXT
SELinux must run in force mode.
Correct Answer:
/etc/sysconfig/selinuxSELINUX=enforcing
Question 6
CORRECT TEXT
Add admin group and set gid=600
Correct Answer:
#groupadd-g600admin
Question 7
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.
Correct Answer:
groupaddadminuseruseraddnatasha-Gadminuseruseraddharyy-Gadminuseruseraddsarah-s/sbin/nologinPasswdusername//tomodifypasswordorechoredhat|passwd--stdinusernameidnatasha//toviewusergroup.
Question 8
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.
Correct Answer:
mkdir-p/mnt/iso/etc/fstab:/root/examine.iso/mnt/isoiso9660loop00mount-amount|grepexamine
Question 9
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.
Correct Answer:
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