RedHat RHCE Actual Free Exam Questions & Community Discussion

  • Exam Code/Number: RHCE
  • Exam Name/Title: Red Hat Certified Engineer - RHCE
  • Certification Provider: RedHat
  • Corresponding Certification: RHCE Certification
  • Exam Questions: 111
  • Updated On: Jun 23, 2026
CORRECT TEXT
One Package named zsh is dump on ftp://server1.example.com under /pub/updates directory and your FTP server is 192.168.0.254. Install the package zsh.
Correct Answer:
rpm-ivhftp://server1/example.com/pub/updates/zsh-*or
Logintoftpserver:ftpftp://server1.example.comusinganonymoususer.
Changethedirectory:cdpubandcdupdates
Downloadthepackage:mgetzsh-*
Quitfromtheftpprompt:bye
Installthepackage
rpm-ivhzsh-*
Verifyeitherpackageisinstalledornot:rpm-qzsh
CORRECT TEXT
SELinux must be running in the Enforcing mode.
Correct Answer:
getenforce//CheckthecurrentmodeofSELinux//SELinuxrunsinenforcingmode//Checkgetenforce1getenforcevim/etc/selinux/configselinux=enforcing//TotemporarilyenableSELinuxwgsestatus
CORRECT TEXT
Copy /etc/fstab to /var/tmp name admin, the user1 could read, write and modify it, while user2 without any permission.
Correct Answer:
#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
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
Correct Answer:
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
CORRECT TEXT
Create a user alex with a userid of 3400. The password for this user should be redhat.
Correct Answer:
useradd-u3400alex
passwdalex
su-alex
CORRECT TEXT
User mary must configure a task.
Requirement: The local time at 14:23 every day echo "Hello World.".
Correct Answer:
crontab-umary-e2314***echo"HelloWorld."
CORRECT TEXT
Please open the ip_forward, and take effect permanently.
Correct Answer:
vim/etc/sysctl.confnet.ipv4.ip_forward=1
sysctl-w(takeseffectimmediately)Ifno"sysctl.conf"optionusethesecommands:
sysctl-a|grepnet.ipv4
sysctl-Pnet.ipv4.ip_forward=1
sysctl-w
0
0
0
10