New Year Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free RedHat RH033 Practice Exam with Questions & Answers | Set: 4

Questions 31

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

By using the VI utility, you have created a document that has 100 lines. You want to replace all the occurrences of "net" with "Net" in the first 50 lines of the document. Which of the following commands will you use?

Options:
A.

:1,$ s/net/Net/g

B.

:1,100 s/net/Net/g

C.

:1,50 s/net/Net/g

D.

:s/net/Net/g

RedHat RH033 Premium Access
Questions 32

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 grant ownership of the file foofile to a user John. Which of the following commands should you use to accomplish this task?

Options:
A.

chown John foofile

B.

chmod John foofile

C.

chgrp foofile John

D.

chown foofile John

Questions 33

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 remove the print jobs that have been queued for printing by using a secure connection.

Options:
A.

lprm -E

Questions 34

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

The permissions on a file named Report are shown below:

rwxr--r--

You want to add a sticky bit to the file. Which of the following commands will you use?

Options:
A.

chmod 2744 report

B.

chmod 4744 report

C.

chmod 7744 report

D.

chmod 1744 report

Questions 35

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 group membership of the file foo to group bar. Which of the following commands will he use to accomplish the task?

Options:
A.

chgrp foo bar

B.

chgroup bar foo

C.

chgrp bar foo

D.

chgroup foo bar

Questions 36

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:
A.

ifup

B.

system-config-services

C.

system-config-network

D.

ifdown

Questions 37

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

Questions 38

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:
A.

sort -u marketing.txt

B.

sort marketing.txt

C.

sort -n marketing.txt

D.

sort -r marketing.txt

Questions 39

You want to repeat the last command you entered in the bash shell. Which of the following commands will you use?

Options:
A.

history !#

B.

history !!

C.

history ##

D.

history !1

Questions 40

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 know which directory you are currently working on. Which of the following tools would you use to accomplish the task?

Options:
A.

ls

B.

pwd

C.

mv

D.

cd

Exam Code: RH033
Certification Provider: RedHat
Exam Name: Red Hat Linux Essentials
Last Update: Mar 28, 2025
Questions: 153