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

Which of the following commands is used to securely copy files from one host to another over the network?


Options are :

  • mutt
  • ls
  • scp (Correct)
  • cat

Answer : scp

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 a root user on the Red Hat operating system. You see the following permissions on a file: -rwxr----- What operations can be performed on the file? Each correct answer represents a complete solution. Choose two.


Options are :

  • The file can be read by its owner and member of its owning group.
  • The file cannot be read by its owner.
  • The file can be read by any user.
  • A,D (Correct)
  • The file can be read by its owner.

Answer : A,D

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

Mark is a newly appointed Network Technician for McNeil Inc. The company has a Linux- based network. He is working on the Red Hat operating system. He wants to sort a file named marketing.txt in the reverse alphabetical order. Which of the following commands should Mark use to accomplish this task?


Options are :

  • sort marketing.txt
  • sort -r marketing.txt (Correct)
  • sort -n marketing.txt
  • sort -u marketing.txt

Answer : sort -r marketing.txt

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 wants to break a dat a.txt file, 200MB in size, into two files in which the size of the first file named data.txt.aa should be150MB and that of the second file named data.txt.ab should be 50MB. To accomplish his task and to further delete the data.txt file, he enters the following command: split --verbose -b 150m data.txt data.txt. ; rm -vf data.txt Which of the following commands can John use to join the splitted files into a new data.txt file?


Options are :

  • cat data.txt.* > data.txt (Correct)
  • vi data.txt.* > data.txt
  • vi data.txt.*
  • less data.txt.* > data.txt

Answer : cat data.txt.* > data.txt

You work as a Network Administrator for Blue Bell Inc. The company has a Linux-based network. You are working on a Linux computer. You get the following listing on your computer: rwxr-xr-x 2 rick user 15 May 3 3:12 file92 How many hard links have been created for file92?


Options are :

  • 3
  • 15
  • 2 (Correct)
  • 12

Answer : 2

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

You have recently been appointed as a Network Administrator for Rick International Inc. The company has a Linux-based network. You have to print an important file named secure.txt urgently. You therefore want to know what printers are currently configured on your computer and how you can connect to them. Which of the following commands will you use to accomplish the task?


Options are :

  • lpr
  • lpstat -p
  • lpstat -d
  • lpstat -s (Correct)

Answer : lpstat -s

All network interface settings are stored in /etc/sysconfig/network-scripts/ directory. Which of the following tools are used to read the interface configuration files? Each correct answer represents a complete solution. Choose all that apply.


Options are :

  • A,C,D (Correct)
  • system-config-network
  • ifup
  • system-config-services
  • ifdown

Answer : A,C,D

Fill in the blank with the appropriate permission to complete the statement below. The___________command is used to start xsession using the xinit utility.


Options are :

  • None
  • startx (Correct)

Answer : startx

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

John works as the Network Technician for Tech Perfect Inc. The company has a Linux- based network. John wants to view a PDF document on his Linux system. Which of the following commands should John use to accomplish the task?


Options are :

  • a2ps
  • evince (Correct)
  • enscript
  • ps2pdf

Answer : evince

Which of the following commands is used to make traceroute wait 5 seconds for a response to a packet?


Options are :

  • traceroute -w (Correct)
  • traceroute -r
  • traceroute -T
  • traceroute -q

Answer : traceroute -w

What will be the output of the following command? echo $(date %M) > date.txt


Options are :

  • The current time (Month) will be written in the date.txt file.
  • It will print a string "date %M".
  • The current time (Minutes) will be written in the date.txt file. (Correct)
  • It will create a variable $(date %M).

Answer : The current time (Minutes) will be written in the date.txt file.

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

You work as a Network Administrator for Tech Perfect Inc. The company has a Linux- based network. You run the following command on the terminal: find -name "*.conf" -exec cp {} {} .orig \ ; What will this command do?


Options are :

  • It will search configuration files from the current directory and a .orig extension.
  • It will back up configuration files from the current directory and a .orig extension. (Correct)
  • It will fix other-writable files in your home directory.
  • It will extract the content of configuration files from the current directory.

Answer : It will back up configuration files from the current directory and a .orig extension.

Which ftp client command allows you to upload multiple files simultaneously using the "*" wildcard?


Options are :

  • mget
  • mput (Correct)
  • put
  • get

Answer : mput

Which of the following commands can you use to see only the last ten lines of a file? Each correct answer represents a complete solution. Choose all that apply.


Options are :

  • B,D (Correct)
  • head
  • tail -10
  • head -10
  • tail

Answer : B,D

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

Which of the following commands is used to append the list of files in the /tmp directory to an existing file named deletelater.txt?


Options are :

  • ls /tmp > deletelater.txt
  • ls deletelater.txt /tmp
  • ls /tmp deletelater.txt
  • ls /tmp >> deletelater.txt (Correct)

Answer : ls /tmp >> deletelater.txt

You work as a Network Administrator for company.com Inc. The company has a Linux- based network. You want to disable a printer from the network. Which of the following commands will you use to accomplish the task?


Options are :

  • lprm
  • lpc (Correct)
  • lpr
  • lpq

Answer : lpc

You work as a Network Administrator for Perfect Solutions Inc. The company has a Linux- based network. Rick, a Sales Manager, wants to combine the contents of the Sale1.txt and Sale2.txt files to a new file named FinSale.txt. Which of the following commands will he use to accomplish the task?


Options are :

  • ls Sale1.txt Sale2.txt < FinSale.txt
  • cat Sale1.txt Sale2.txt < FinSale.txt
  • cat Sale1.txt Sale2.txt > FinSale.txt (Correct)
  • ls Sale1.txt Sale2.txt > FinSale.txt

Answer : cat Sale1.txt Sale2.txt > FinSale.txt

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

Which of the following information does the /etc/passwd file contain? Each correct answer represents a complete solution. Choose all that apply.


Options are :

  • User's home directory
  • User name
  • Numerical user ID
  • A,B,D,E,F (Correct)
  • Numerical group ID
  • Reserved gecos ID
  • Shadow password

Answer : A,B,D,E,F

You work as a Network Administrator for McNeil Inc. The company has a Linux-based network. David, a Sales Manager, wants to know the name of the shell that he is currently using. Which of the following commands will he use to accomplish the task?


Options are :

  • ECHO $shell (Correct)
  • RM $shell
  • MV $shell
  • LS $shell

Answer : ECHO $shell

You work as a Network Administrator for Perfect Solutions Inc. The company has a Linux- based network. You want to view the status of the current processes running on a Linux computer. You also want to save the output to the ProStat.txt file. Which of the following commands will you use to accomplish the task?


Options are :

  • ps > ProStat.txt (Correct)
  • ps < ProStat.txt
  • ps
  • ps | ProStat.txt

Answer : ps > ProStat.txt

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

Which of the following protocols are used for mail delivery? Each correct answer represents a complete solution. Choose two.


Options are :

  • POP3S
  • IMAPS
  • ESMTP
  • SMTP
  • B,C (Correct)

Answer : B,C

Which of the following utilities can be used to manage dictionaries?


Options are :

  • aspell (Correct)
  • tee
  • dict
  • cat

Answer : aspell

Which of the following commands is most useful for viewing large files?


Options are :

  • cat
  • less (Correct)
  • touch
  • cp

Answer : less

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

You work as a Network Administrator for Net World International. You have installed a Linux server on the company's network. Users report that they are unable to write on a file system. You verify that there is no free space available on the hard disk drive. You mount another hard disk drive to resolve the issue. How will you prevent the issue from happening again?


Options are :

  • Dedicate a hard disk drive for users to save their files.
  • Increase the amount of RAM on the server.
  • Ask users to save only those files that are important.
  • Track the amount of free space on the hard disk. (Correct)

Answer : Track the amount of free space on the hard disk.

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 view all files on the system that have the .xml filename extension. Which of the following commands should you use to accomplish the task?


Options are :

  • locate .xml
  • cat .xml
  • locate "*.xml" (Correct)
  • locate -name /.xml

Answer : locate "*.xml"

Which of the following commands will you use to list all local and remote printers attached to your computer?


Options are :

  • lpq
  • lpstat -d
  • lpr
  • lpstat -t (Correct)

Answer : lpstat -t

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

Mark works as a Network Administrator for company.com Inc. The company has a Linux- based network. A printer is configured on the network. Mark wants to see the content of a print queue. Which of the following commands will he use to accomplish the task?


Options are :

  • lpstat -a
  • lprm
  • lpq (Correct)
  • lpr

Answer : lpq

Which of the following commands can be used by a user to display the list of contents existing in his current user account? Each correct answer represents a complete solution. Choose all that apply.


Options are :

  • A,B (Correct)
  • pwd
  • echo *
  • ls ~
  • ls *

Answer : A,B

Which of the following SHELL commands displays currently logged-in users and their tasks?


Options are :

  • whoami
  • w (Correct)
  • who
  • finger

Answer : w

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

Which of the following options is used with aspell to specify the location of the main word list?


Options are :

  • --jargon=string
  • d,--master=string
  • -p,--personal=file
  • --dict-dir=dir (Correct)

Answer : --dict-dir=dir

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions