Independence Day Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: netdisc

RedHat RH033 Red Hat Linux Essentials Exam Practice Test

Demo: 22 questions
Total 153 questions

Red Hat Linux Essentials Questions and Answers

Question 1

You work as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. You want to modify a configuration file in a Linux server. Which of the following utilities will you use to accomplish the task?

Options:

A.

VI

B.

NMAP

C.

MS Word

D.

GZIP

Question 2

You work as a 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 to see all directories and files, including hidden files of your home directory in long listing format. Which of the following command-line utilities would you use to accomplish this task?

Options:

A.

ls -al /root

B.

ls

C.

ls -s /root

D.

ls -h /root

Question 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 to see first five lines of the file

/etc/passwd. Which of the following commands should you use to accomplish the task?

Options:

A.

head /etc/passwd

B.

head -n 5 /etc/passwd

C.

tail -n 5 /etc/passwd

D.

head 5 -n /etc/passwd

Question 4

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:

A.

ps < ProStat.txt

B.

ps | ProStat.txt

C.

ps > ProStat.txt

D.

ps

Question 5

Which of the following operators is used to connect the output of one command to the input of another command?

Options:

A.

>

B.

|

C.

2>

D.

&>

Question 6

You work as the Network technician for McNeil Inc. The company has a Linux-based Network. You are working on the Red Hat operating system. You want to remove some write protected files and directories. Which of the following commands should you use to accomplish this task?

Options:

A.

rm -rf

B.

rm -f

C.

rmdir

D.

rm

Question 7

Which of the following is NOT the feature of SELinux in the Red Hat enterprise Linux?

Options:

A.

SELinux applies to all users, including root.

B.

All process and files have a context.

C.

SELinux implements Mandatory Access Control (MAC) security in Red Hat Enterprise Linux.

D.

SELinux does not provide Kernel-level security.

Question 8

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:

A.

lpq

B.

lprm

C.

lpc

D.

lpr

Question 9

Which of the following commands is used to set down the interface and flush all its addresses?

Options:

A.

ifup

B.

ifdown

C.

ifconfig

D.

down

Question 10

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:

A.

rpm deplist httpd

B.

yum deplist httpd

C.

yum list httpd

D.

rpm -qR httpd

Question 11

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:

A.

find -size +50M

B.

find -size -50M

C.

find -size 50M

D.

find size +50M

Question 12

Which of the following is a multi-platform instant messaging client, based on a library named libpurple?

Options:

A.

Evolution

B.

mutt

C.

Pidgin

D.

Thunderbird

Question 13

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

Options:

A.

4

B.

2

C.

1

D.

8

Question 14

You work as the Network Administrator for McNeil Inc. The company has a Linux-based network.

You are working a root user on the Red Hat operating system. You want to search for files named snow.html, Snow.html, SNOW.html in the current directory. Which of the following commands should you use to accomplish the task?

Options:

A.

find -iname snow.html

B.

find -name snow.html

C.

find name snow.html

D.

find -i snow.html

Question 15

You work as the Network Administrator for Perfect solution Inc. The company has a Linux-based network. You are a root user on the Red Hat operating system. You want to see only 10 results in a search for files that have an .html extension. Which of the following commands should you use to accomplish the task?

Options:

A.

locate "*.html"

B.

locate 10 .html

C.

locate -n 10 "*.html"

D.

locate "*.html" -q

Question 16

Which of the following commands list the configured printers in a Linux network? Each correct answer represents a complete solution. Choose all that apply.

Options:

A.

lpstat -a

B.

lpstat -l

C.

lpstat -o

D.

lpstat -r

Question 17

Which of the following commands will you use to lists the jobs that are running in the background and in the foreground?

Options:

A.

top

B.

bg

C.

job

D.

jobs

Question 18

Which of the following statements are true about file permissions?

Each correct answer represents a complete solution. Choose three.

Options:

A.

The execute permission means that the file can be run if it is a program or script.

B.

The write permission means that the file can be edited and saved.

C.

The read permission means that only the file name can be read not the contents of the file.

D.

The read permission means that the contents of the file can be seen with a command such as cat or less.

Question 19

Which of the following commands can be used to delete all jobs queued in a printer?

Each correct answer represents a complete solution. Choose all that apply.

Options:

A.

lprm -a all

B.

lprm -all

C.

lprm - *

D.

lprm -

Question 20

Which of the following cp command parameters copies only when the source file is newer than the destination file or when the destination file is missing?

Options:

A.

-u

B.

-l

C.

-p

D.

-s

Question 21

Which of the following commands will you use to change the home directory of a user and move all of its contents to the new home directory?

Options:

A.

usermod -d -m

B.

usermod -g

C.

usermod -o -u

D.

usermod -u

Question 22

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:

A.

/sbin

B.

/etc

C.

/lib

D.

/var

Demo: 22 questions
Total 153 questions