Red Hat Certified Engineer (RHCE) is the certification offered for candidates who complete the system administrator certification. Having the certificate shows that the candidate is capable of, having knowledge and skills required for performing administrator functions and is responsible for Red Hat Enterprise Linux systems. One should have good knowledge on working on Linux environments and shell commands. Red Hat offers many other certifications in various fields. Good number of positions is available for the candidates. Good knowledge on Red Hat Certified Engineer (RHCE) will boost your confidence. Follow our Wisdomjobs page for Red Hat Certified Engineer (RHCE) interview questions and answers page to get through your job interview successfully in first attempt. Interview questions are exclusively designed for job seekers to assist them in interviews.
Question 1. What Command Do You Use To Format A Partition With A File System?
Answer :
You could use mkfs command to format partition with file system.
Answer :
Ifconfig command can be used to assign IP address. Following command will do the given task. Ifconfig eth0 192.168.1.1 net mask 255.255.255.0
Question 3. Which Option In Fdisk Will Display The Partition Table?
Answer :
In fdisk utility, the "p" command will print the partition table.
Question 4. To Create A Recurring Scheduled Task, Which Linux Scheduling Tool Should You Use?
Answer :
The cron command allows you to create recurring tasks.
Answer :
To enable already configured interface use Ifconfig [interface] up command. For example to up eth0 interface use following command.
#Ifconfig eth0 up
Question 6. How Will You Decompress The Demo.tar.gz File?
Answer :
To decompress use following command
#tar -zxvf demo.tar.gz
Answer :
The core file will tell you what exactly caused the program to crash. So this message indicates that the program crashed because of a segmentation fault in memory.
Question 8. What Command Runs Fdisk On The First Ata/ide Hard Drive?
Answer :
The first ATA/IDE hard drive is hda, so the command would be
# fdisk /dev/hda
Answer :
If administrators have no intention of keeping these files for debugging purposes, they should be deleted because they are wasting valuable disk space, and may cause system to run out of space.
Answer :
The Linux swap file is used for virtual memory to store additional information that cannot fit into current memory. This swap file allows information to be cached on disk, and can be retrieved very quickly. Heavy use of the swap file indicates a low memory condition.
Answer :
Kernel panic error can cause a Linux system to crash. A kernel panic indicates that a kernel process has crashed. This is a very serious error that causes the entire Linux system to crash. These core dumps should be analyzed carefully to find the root cause of the problem.
Answer :
Following command will do this task. Ifconfig eth1 192.168.1.10 net mask 255.255.255.0 broadcast 192.168.1.254.
Answer :
To accomplish this task set up cron to run a script that will check the disk space daily at 7:00 p.m. The output will be e-mailed to the root account. You can compare the results from day to day to analyze disk space usage.
Your cron file should look similar to the following:
* 19 * * * df -kl.
Question 14. As A Administrator You Need To Terminate The Send Mail Process. How Will You Do That?
Answer :
First you need to determine the PID of send mail so it can be killed.
#ps -ef |grep send mail
Now you can use kill command to terminate the process associated with send mail.
Answer :
The log file that contains kernel boot messages is /var/log/dmesg.
Answer :
You can use bg command to send a running process to the background.
Question 17. You Need To Kill All Instances Of Web Server? What Command Will You Execute To Do This?
Answer :
You can use killall httpd command to kill all httpd process. httpd process run web server.
Question 18. How Can You List All Running Process?
Answer :
Use ps -ef command to list all running process.
#ps -ef
Answer :
You can use #ps -au command to list all the process owned by user. Following command will do the assigned task
#ps -au summit
Question 20. Which Log File Keeps Track Of All User Logins And Logouts?
Answer :
/var/log/wtmp log file keeps track of all user logins and logouts.
Answer :
The init process is the first process to be run. It is the parent process of all other Linux system processes, services, and daemons that are needed to run the system.
Answer :
The fg command immediately moves the program to the foreground.
Answer :
Killing a core process can potentially crash your system because many critical services rely on these core processes.
Answer :
You can use tail command with -f option. Following command will do the assigned task
#tail -f /var/log/messages
Answer :
PPID refers to the parent process identification number.
Answer :
Any failed login attempts for root are logged into the /var/log/messages file. It indicate that some has tried to login as root.
Answer :
The process should be immediately killed before it consumes so many resources that the server cannot run properly and therefore crash.
Answer :
The top command is used to monitor processes and resources in real-time.
Answer :
Your first step is to identify the process, use ps command
#ps -au sanjay
Now run top command to compare the process running, and verify which one is using the most resources. After you have identified the problem process, you can use the kill command to terminate it. Because the user was unable to stop the process, you should probably force a kill signal to make sure that the process stops:
#kills -9 [PID of process]
Now, to verify that it has stopped, run the ps command again on the user:
ps -au sanjay
Question 30. What Is Kerberos Used For?
Answer :
Kerberos is used for secure network logon.
Question 31. Which Partition Store System Configuration Files In Linux System?
Answer :
/etc partition stores system configuration files in Linux.
Question 32. What Is The Purpose Of The Md5 Option On Passwords?
Answer :
MD5 is an encryption method that encrypts the password before saving.
A better method of password security is to create difficult-to-break passwords that are easy for the users to remember.
Question 33. What Is The Alternative Method To A Gui Installation In Linux?
Answer :
Linux provides text base installation as the alternative method of GUI installation.
Question 34. What Is The Purpose Of The Swap On Command?
Answer :
Swap on command is used to activate a already created swap partition. It cannot be used to create a new swap partition.
Answer :
Gzip is a compression utility created by the GNU project.
Question 36. Name Any Four General Password Rules For User Account?
Answer :
Answer :
Tar is an archive utility that is used to create tape backups.
Question 38. Which Is The Standard Command Used To Uncompress Gzip Files?
Answer :
The standard command used to uncompress gzip files in gunzip.
Question 39. What Is The Rpm Switch For Only Installing Packages?
Answer :
The command line switch for installing an RPM is -i.
Question 40. What Is The Command Used To Install An Rpm Package Named Demo Filename 2.2-2.i386.rpm?
Answer :
The most common command used to install an RPM package is rpm -ivh. Following command will install the given package
#rpm -ivh demo filename 2.2-2.i386.rpm
Question 41. What Is The Command Used To Remove An Rpm Package Named Demofilename2.2-2.i386.rpm?
Answer :
The most common command used to remove an RPM package is rpm -evh. Following command will remove the given package
#rpm -evh demofilename2.2-2.i386.rpm
Question 42. What Is The Command Used To Update An Rpm Package Named Demofilename2.2-2.i386.rpm?
Answer :
The most common command used to update an RPM package is rpm -Uvh. Following command will update the given package and remove the old.
#rpm -Uvh demofilename2.2-2.i386.rpm
Question 43. Where Is The Automatically Mounted File Systems Listed?
Answer :
The automatically mounted file systems are listed in the file /etc/fstab.
Question 44. While Installing The New Rpm What Common Steps Should Take?
Answer :
You should follow these common steps:
Question 45. Which Organization Controls The Official Releases And Updates Of The X Window System?
Answer :
The X Consortium at www.x.org controls the official release and updating of the X Window System.
Question 46. Ppp Is Most Often Used To Create?
Answer :
PPP is most often used to create serial point-to-point connections.
Question 47. What Command Is Used To Load A Module Into The Kernel?
Answer :
The insmod command is used to load a module into the kernel.
Question 48. With Respect To A Linux System’s Ram, How Large Should The Swap File Be?
Answer :
Generally the size of the swap file should be twice the size of installed RAM.
Question 49. How Would You Create A Backup Of The Fstab File To The /backup Folder?
Answer :
Use cp command to create the backup.
#cp /etc/fstab /backup
Question 50. What Command Is Used To Exit The Edit Mode Of Vi Editor?
Answer :
The [esc] key is used to exit from the edit mode of VI editor.
Red Hat Certified Engineer (RHCE) Related Tutorials |
---|
Software Engineering Tutorial |
Red Hat Certified Engineer (RHCE) Related Practice Tests |
|
---|---|
System Administration Practice Tests | Software Engineering Practice Tests |
Red Hat Linux Essentials Practice Tests | Red Hat Linux System Administration Practice Tests |
Red Hat Certified Engineer (rhce) Practice Test
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.