Red Hat RH033 Linux Essentials Engineer (RHCE) Practice Exam Set 3

Which of the following commands is used to mount file systems?


Options are :

  • attach
  • umount
  • mount (Correct)
  • detach

Answer : mount

Red Hat RH033 Linux Essentials Engineer (RHCE) Practice Exam Set 2

Which of the following manual sections of MAN pages provides help information for administrative commands?


Options are :

  • 4
  • 2
  • 8 (Correct)
  • 1

Answer : 8

Which of the following commands look through the currently running processes, and list the process IDs that match the selection criteria to stdout? Each correct answer represents a complete solution. Choose all that apply.


Options are :

  • B,D (Correct)
  • pgrep
  • top
  • sort
  • pkill

Answer : B,D

Which of the following commands are used to start and stop a service, and to ensure persistence across reboots? Each correct answer represents a complete solution. Choose all that apply.


Options are :

  • yum
  • service
  • A,C (Correct)
  • tar
  • chkconfig

Answer : A,C

Red Hat RH033 Linux Essentials Engineer (RHCE) Practice Exam Set 5

Fill in the blank with the command to complete the statement below. Do not enter the full path of the command. The ________ command is used to compare the contents of two files for differences in the Red Hat operating system.


Options are :

  • diff (Correct)
  • None

Answer : diff

You work as the Network Administrator for Tech perfect Inc. The company has a Linux- based network. You are a root user on the Red Hat operating system. You want to view all files created after the myfile.txt file. Which of the following commands should you use to accomplish the task?


Options are :

  • find -newer myfile.txt (Correct)
  • find -new myfile.txt
  • find -not newer myfile.txt
  • find -recent myfile.txt

Answer : find -newer myfile.txt

You want to terminate your X session. Which of the following key combinations will you use to accomplish this?


Options are :

  • Ctrl+Alt+F7
  • Ctrl+Alt+Backspace (Correct)
  • Ctrl+Alt+A
  • Ctrl+Alt+Fn

Answer : Ctrl+Alt+Backspace

Red Hat RH033 Linux Essentials Engineer (RHCE) Practice Exam Set 3

You work as the Network administrator for McNeil Inc. The company has a Linux-based network. You are a root user on the Red Hat operating system. You want look for files whose last modified timestamp is exactly five days ago. Which of the following commands should you use to accomplish this task?


Options are :

  • find / -mtime 5 (Correct)
  • find / -mtime +5
  • find -mtime -5
  • find / -mtime -5

Answer : find / -mtime 5

You work as a Network Administrator for Perfect Solutions Inc. The company has a Linux- based network. Rick, a Sales Manager, has a permission issue on a file. You want to know the names of groups of which Rick is a member. You want to store the information in a text file named RickGroup.txt. Which of the following commands will you use to accomplish the task?


Options are :

  • ls /etc/group rick > RickGroup.txt
  • ls rick /etc/group > RickGroup.txt
  • grep rick /etc/group > RickGroup.txt (Correct)
  • grep /etc/group rick > RickGroup.txt

Answer : grep rick /etc/group > RickGroup.txt

Which of the following commands are used to put (paste) data from a buffer into a document in vim? Each correct answer represents a complete solution. Choose two.


Options are :

  • P
  • p
  • ps
  • :set
  • B,C (Correct)

Answer : B,C

Red Hat RH033 Linux Essentials Engineer (RHCE) Practice Exam Set 5

John works as a Network Administrator for Perfect Solutions Inc. The company has a Debian Linuxbased network. He is working on the bash shell in which he creates a variable VAR1. After some calculations, he opens a new ksh shell. Now, he wants to set VAR1 as an environmental variable so that he can retrieve VAR1 into the ksh shell. Which of the following commands will John run to accomplish the task?


Options are :

  • env -u VAR1
  • echo $VAR1
  • export VAR1 (Correct)
  • touch VAR1

Answer : export VAR1

John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. John is working as a root user on the Linux operating system. He is configuring the Apache Web server settings. He does not want the commands being used in the settings to be stored in the history. Which of the following commands can he use to disable history?


Options are :

  • history !!
  • history !N
  • set +o history (Correct)
  • set -o history

Answer : set +o history

You are required to define a cron job that executes at 5:30 PM every Friday. Which of the following time specifications can be set to accomplish the task? Each correct answer represents a complete solution. Choose two.


Options are :

  • 30 17 * * FRI
  • B,D (Correct)
  • 30 17 * * 5
  • 17 30 * * 6
  • 17 30 * * FRI

Answer : B,D

Red Hat RH033 Linux Essentials Engineer (RHCE) Practice Exam Set 5

You work as the Network Administrator for McNeil Inc. The company has a Linux-based network. You are working as a root user on the Linux operating system. Some employees have been recently appointed in your company. You have to add these users in your network. Which of the following tools should you use to accomplish this task? Each correct answer represents a complete solution. Choose two.


Options are :

  • useradd
  • usermod
  • userdel
  • adduser
  • A,C (Correct)

Answer : A,C

You work as the Network administrator for McNeil Inc. The company has a Linux-based network. You are working as a root user on the Linux operating system. You have created a PostScript file on your system. You want to convert this file to a PDF file. Which of the following commands should you use to accomplish the task?


Options are :

  • evince
  • enscript
  • ps2pdf (Correct)
  • pdf2ps

Answer : ps2pdf

You work as the Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. You are a root user on the Red Hat operating system. You want to view all files with a size of over 50 megabytes on your system. Which of the following commands should you use to accomplish the task?


Options are :

  • find -size +50M (Correct)
  • find size +50M
  • find -size 50M
  • find -size -50M

Answer : find -size +50M

Red Hat RH033 Linux Essentials Engineer (RHCE) Practice Exam Set 4

Which of the following commands pipes stdout and stderr from cmd1 to cmd2?


Options are :

  • cmd2 | cmd1
  • cmd1 | cmd2
  • cmd1 2>&1 | cmd2 (Correct)
  • cmd2 2>&1 | cmd1

Answer : cmd1 2>&1 | cmd2

John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. John is working as the root user on the Linux operating system. He wants to copy all files with the .dat extension from /home/john to /home/maria while preserving the file attributes, such as timestamps, mode, and ownership. Which of the following commands will he use to accomplish the task?


Options are :

  • cp -l /home/john/*.dat /home/maria
  • cp -R /home/john/*.dat /home/maria
  • cp -l /home/maria/*.dat /home/john
  • cp -p /home/john/*.dat /home/maria (Correct)

Answer : cp -p /home/john/*.dat /home/maria

Which of the following files does the /var directory NOT contain?


Options are :

  • Print spools
  • Email-spools
  • System log files
  • Kernel files (Correct)

Answer : Kernel files

Red Hat RH033 Linux Essentials Engineer (RHCE) Practice Exam Set 5

Which of the following commands is used to count the number of bytes in a file?


Options are :

  • wc -m filename
  • wc -l filename
  • wc -w filename
  • wc -c filename (Correct)

Answer : wc -c filename

Which of the following is NOT true about the inode table in the Linux operating system?


Options are :

  • It contains the last access time, last modification time, however it does not store the last inode change time. (Correct)
  • It contains the file type of the specified file.
  • It contains the location information where data is stored in the hard disk.
  • It contains information about what type of access permission of the file is available to whom.

Answer : It contains the last access time, last modification time, however it does not store the last inode change time.

Which of the following is a utility that can function as an independent spell checker?


Options are :

  • nice
  • aspell (Correct)
  • spell
  • inspell

Answer : aspell

Red Hat RH033 Linux Essentials Engineer (RHCE) Practice Exam Set 4

You are a newly appointed Red Hat Technician for company Inc. The company has a Linux-based network. You want to install a package named httpd on your Linux system. Before installing the package, you want to get the list of those packages that httpd depends on. Which of the following commands will you use to accomplish the task?


Options are :

  • yum list httpd
  • rpm deplist httpd
  • yum deplist httpd (Correct)
  • rpm -qR httpd

Answer : yum deplist httpd

You work as a Network Administrator for Perfect solutions Inc. The company has a Linux- based network. You are a root user on the Red Hat operating system. You want to see the file permissions on a file. Which of the following commands will you use to accomplish the task?


Options are :

  • cat
  • ls
  • ls -perm
  • ls -l (Correct)

Answer : ls -l

Which of the following directories cannot be placed out of the root filesystem? Each correct answer represents a complete solution. Choose all that apply.


Options are :

  • A,B,C (Correct)
  • /sbin
  • /etc
  • /var
  • /lib

Answer : A,B,C

Red Hat RH-133 Linux System Administration Practice Exam Set 6

Which of the following commands can be used to convert all lowercase letters of a text file to uppercase?


Options are :

  • cat
  • less
  • tac
  • tr (Correct)

Answer : tr

Which of the following commands will you execute to fix other writable files in your home directory?


Options are :

  • find ~ -perm -002 -exec chmod -w {} \;
  • find /home -type d -ls
  • find ~ -perm -002 -exec chmod o-w {} \; (Correct)
  • find -perm -002 -exec chmod o-w {} \;

Answer : find ~ -perm -002 -exec chmod o-w {} \;

You work as a Network Administrator for company.com Inc. The company has a Linux- based network. A job in the print queue is no longer in use. You want to remove this job from the print queue. Which of the following commands will you use to accomplish the task?


Options are :

  • lpc
  • lpr
  • lprm (Correct)
  • lpq

Answer : lprm

Red Hat RH033 Linux Essentials Engineer (RHCE) Practice Exam Set 5

You work as a Network Administrator for company.com Inc. The company has a Linux- based network. You are working as a root user on the Linux operating system. You want to rearrange the order of jobs in a spooling queue according to your requirement. Which of the following commands will you use to accomplish the task?


Options are :

  • lpc (Correct)
  • lpq
  • lpr
  • lprm

Answer : lpc

You work as a Network Administrator for Maverick Inc. The company has a Linux-based network. You are working on a Linux computer. You want to see the environment variables that are set on your computer. Which of the following commands will you use?


Options are :

  • ls
  • echo $shell
  • env (Correct)
  • rm

Answer : env

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions