New Year Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

RedHat RH033 Red Hat Linux Essentials Exam Practice Test

Demo: 22 questions
Total 153 questions

Red Hat Linux Essentials Questions and Answers

Question 1

Which of the following commands are used to remove a package from a Linux system?

Each correct answer represents a complete solution. Choose two.

Options:

A.

yum -rm packagename

B.

yum remove packagename

C.

yum -r packagename

D.

yum erase packagename

Question 2

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:

A.

lpq

B.

lpc

C.

lprm

D.

lpr

Question 3

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:

A.

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

B.

cp -R /home/john/*.dat /home/maria

C.

cp -l /home/maria/*.dat /home/john

D.

cp -l /home/john/*.dat /home/maria

Question 4

Which of the following commands is used to create a partition on a new hard disk of a Linux computer?

Options:

A.

fdisk

B.

crpar

C.

mount

D.

fsck

Question 5

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

Options:

A.

mput

B.

mget

C.

put

D.

get

Question 6

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 7

Fill in the blank with the required permission to complete the statement below. In order to make a script executable in a Linux computer, you must assign the___________ permission to the script file.

Options:

A.

execute

Question 8

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 9

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 change the modified date and time of the file private.txt to 11 Nov 2009 02:59:58 am. Which of the following commands will John use to accomplish his task?

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

Options:

A.

touch -t 200911110259.58 private.txt

B.

rm private.txt #11 Nov 2009 02:59:58 am

C.

touch private.txt #11 Nov 2009 02:59:58 am

D.

touch -d "11 Nov 2009 02:59:58 am" private.txt

Question 10

You work as a Network Administrator for McNeil Inc. The company has a Linux-based network. You have just created a directory named Sales on a file server. David, a Sales Manager, has to use this directory to keep sales reports. David reports that he is unable to save his reports in the directory.

When you list the directory using the LS command, you get the following result:

drwxr-xr-x 2 root root 2048 Jan 2 2006 Sales What is the most likely cause?

Options:

A.

David does not have the Write permission on the directory.

B.

David is working on his local computer's login.

C.

The Sales directory has been deleted by accident.

D.

The Sales directory is not properly mounted.

Question 11

You work as a Network Administrator for McNeil Inc. The company has a Linux-based network. A printer is configured on the network. You want to remove a file from a print queue. Which of the following commands will you use to accomplish this?

Options:

A.

LPR

B.

LPQDEL

C.

LPRM

D.

LPQ

Question 12

John works as the Network Technician for Tech Perfect Inc. The company has a Linux-based network.

John is a root user on the Red Hat operating system. John has two files named foo.txt and student.txt, which are too long. John wants to view the output of both the files on one screen at a time. Which of the following commands should John use to accomplish this task?

Options:

A.

touch foo.txt student.txt

B.

cat foo.txt | student.txt

C.

cp foo.txt student.txt

D.

cat foo.txt student.txt | less

Question 13

Which of the following commands is used to change file access permissions in Linux?

Options:

A.

chown

B.

chmod

C.

chperm

D.

chgrp

Question 14

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 15

You work as a network administrator for company Inc. The company has a Linux-based network. You want to create a file named foobar.zip and put it into a directory named filesdir. Which of the following commands will you use to accomplish the task?

Options:

A.

unzip foobar.zip filesdir

B.

zip -r foobar.zip filesdir

C.

tar -tvf foobar.tar

D.

gunzip foobar.zip

Question 16

Which of the following environmental variables represents the PID value of the last child process?

Options:

A.

$?

B.

$!

C.

$!!

D.

$$

Question 17

Which of the following commands will you run to do case-sensitive search for files named

foobar.png?

Options:

A.

locate -name foobar.png

B.

find -iname foobar.png

C.

grep-name foobar.png

D.

find -name foobar.png

Question 18

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 Red Hat operating system. Joe is a user in your company. You want to remove Joe's tmp files that are 3 days older. Which of the following command syntaxes should you use to accomplish the task?

Options:

A.

find /tmp -cmin +3 -user Joe -ok rm {} \;

B.

find /tmp -ctime +3 user Joe -ok rm {} \;

C.

find /tmp -ctime +3 -user Joe -ok rm {} \;

D.

find /tmp -cmin +3 user Joe -ok rm {} \;

Question 19

You want to check whether the cc process is running on a computer. Which of the following commands can you use to accomplish the task? Each correct answer represents a complete solution.

Choose all that apply.

Options:

A.

ps -aux | more

B.

tail -f

C.

ps -aux | grep cc

D.

ps -aux

Question 20

Which graphical mail client is the default tool for email and groupware in Red Hat Enterprise Linux?

Options:

A.

mutt

B.

Evolution

C.

Thunderbird

D.

pidgin

Question 21

Which of the following statements are true about open source software?

Each correct answer represents a complete solution. Choose two.

Options:

A.

In OSS access to source code by third parties commonly requires the party to sign a nondiscloser agreement.

B.

It is software whose license does not allow for the distribution of the software source's source code.

C.

Open source software and its source code must be freely distributable.

D.

In OSS all users must be able to modify the source code and create derived works.

Question 22

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

You want to search for files anywhere on the system that end in .txt. Which of the following commands will you use to accomplish the task?

Options:

A.

find /etc -name *.txt

B.

find /etc -name *.txt*

C.

find /etc -name *txt

D.

find /etc name *.txt

Demo: 22 questions
Total 153 questions