
Best RHCE Exam Dumps for the Preparation of Latest RHCE Exam Questions
Download Latest & Valid Questions For RedHat RHCE exam
NEW QUESTION 35
CORRECT TEXT
Configure a cron Task.
User natasha must configure a cron job, local time 14:23 runs and executes: */bin/echo hiya every day.
Answer:
Explanation:
crontab-e-unatasha2314/bin/echohiyacrontab-l-unatasha//viewsystemctlenablecrondsystemcdlrestartcrond
NEW QUESTION 36
CORRECT TEXT
The firewall must be open.
Answer:
Explanation:
/etc/init.d/iptablesstartiptables-Fiptables-Xiptables-Z/etc/init.d/iptablessavechkconfigiptableson
NEW QUESTION 37
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 38
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 39
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 40
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 41
CORRECT TEXT
Create the user named eric and deny to interactive login.
Answer:
Explanation:
useradderic
passwderic
vi/etc/passwd
eric:x:505:505::/home/eric:/sbin/nologinWhichshellorprogramshouldstartatlogintimeisspecifiedin/etc/passwdfile?BydefaultRedhatEnterpriseLinuxassignsthe/bin/bashshelltotheusers.Todenytheinteractiveloginyoushouldwrite/sbin/nologinor/bin/falseinsteadofloginshell.
NEW QUESTION 42
CORRECT TEXT
Configure autofs.
Configure the autofs automatically mount to the home directory of LDAP, as required:
server.domain11.example.com use NFS to share the home to your system. This file system contains a pre
configured home directory of user ldapuserX.
Home directory of ldapuserX is:
server.domain11.example.com /home/guests/ldapuser
Home directory of ldapuserX should automatically mount to the ldapuserX of the local /home/guests Home directory's write permissions must be available for users ldapuser1's password is password
Answer:
Explanation:
yuminstall-yautofsmkdir/home/rehome
/etc/auto.master/home/rehome/etc/auto.ldapKeepthenexitcp/etc/auto.misc/etc/auto.ldap
/etc/auto.ldapldapuserX-fstype=nfsrwserver.domain11.example.com:/home/guests/Keepthenexitsystemctlstartautofssystemctlenableautofssu-ldapuserX//testIftheabovesolutionscannotcreatefilesorthecommandpromptis-bash-4.2$itmaybeexistmulti-leveldirectorythisneedstochangetheserver.domain11.example.com:/home/guests/toserver.domain11.example.com:/home/guests/ldapuserX.Whatismulti-leveldirectory?ItmeansthereisadirectoryofldapuserXunderthe/home/guests/ldapuserXinthequestions.Thisdirectoryistherealdirectory.
NEW QUESTION 43
CORRECT TEXT
User mary must configure a task.
Requirement: The local time at 14:23 every day echo "Hello World.".
Answer:
Explanation:
crontab-umary-e2314***echo"HelloWorld."
NEW QUESTION 44
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.
Answer:
Explanation:
lvextend-L190M/dev/mapper/vgsrv-commonresize2fs/dev/mapper/vgsrv-common
NEW QUESTION 45
CORRECT TEXT
According the following requirements to create a local directory /common/admin.
This directory has admin group.
This directory has read, write and execute permissions for all admin group members.
Other groups and users don't have any permissions.
All the documents or directories created in the/common/admin are automatically inherit the admin group.
Answer:
Explanation:
mkdir-p/common/adminchgrpadmin/common/adminchmod2770/common/admin
NEW QUESTION 46
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 47
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 48
CORRECT TEXT
Upgrade the kernel, start the new kernel by default. kernel download from this address:
ftp://server1.domain10.example.com/pub/update/new.kernel
Answer:
Explanation:
Downloadthenewkernelfileandtheninstallit.[root@desktop8Desktop]#lskernel-2.6.32-71.7.1.el6.x86_64.rpmkernel-firmware-2.6.32-71.7.1.el6.noarch.rpm[root@desktop8Desktop]#rpm-ivhkernel-*Preparing...###########################################[100%]1:kernel-firmware###########################################[50%]2:kernel################
#[100%]Verifythegrub.conffilewhetherusethenewkernelasthedefaultboot.[root@desktop8Desktop]
#cat/boot/grub/grub.confdefault=0titleRedHatEnterpriseLinuxServer(2.6.32-71.7.1.el6.x86_64)root(hd00)kernel/vmlinuz-2.6.32-71.7.1.el6.x86_64roroot=/dev/mapper/vol0-rootrd_LVM_LV=vol0/rootrd_NO_LUKSrd_NO_MDrd_NO_DMLANG=en_US.UTF-8SYSFONT=latarcyrheb-sun16KEYBOARDTYPE=pcKEYTABLE=uscrashkernel=autorhgbquietinitrd/initramfs-2.6.32-71.7.1.el6.x86_64.img
NEW QUESTION 49
CORRECT TEXT
Configure the system synchronous as 172.24.40.10.
Answer:
Explanation:
GraphicalInterfaces:System-->Administration-->Date&TimeOR
#system-config-date
NEW QUESTION 50
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 51
......
Exam Materials for You to Prepare & Pass RHCE Exam: https://www.passleadervce.com/RHCE-Certification/reliable-RHCE-exam-learning-guide.html
Ensure Success With Updated Verified RHCE Exam Dumps: https://drive.google.com/open?id=1QBVd7x7lOZMiXBNxcaFV5cA-xX0K62D8