Labour Day Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: mxmas70

Home > RedHat > RHCT > RH033

RH033 Red Hat Linux Essentials Question and Answers

Question # 4

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?

A.

2

B.

3

C.

15

D.

12

Full Access
Question # 5

Fill in the blank with the correct answer to complete the statement below.

The_________ permission is the minimum required permission that is necessary for a user to enter a directory and list its contents.

A.

Read

Full Access
Question # 6

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?

A.

rpm deplist httpd

B.

yum deplist httpd

C.

yum list httpd

D.

rpm -qR httpd

Full Access
Question # 7

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. You want to run two programs, foo and bar. You also want to ensure that bar is executed if and only if foo has executed successfully. Which of the following command sequences will John use to accomplish the task?

A.

foo && bar;

B.

foo | bar;

C.

foo; bar;

D.

foo || bar;

Full Access
Question # 8

John is a newly appointed Network technician at McNeil Inc. The company has a Linux-based

Network. John is currently working on the /tmp directory. The /tmp directory has a file named file3.txt. John wants to copy this file in a subdirectory named backup of his home directory /home/John. Which of the following commands should John use to accomplish his task?

Each correct answer represents a complete solution. Choose three.

A.

cp file3.txt /home/John/backup

B.

cp file3.txt /home/John/backup/

C.

cp file3.txt backup

D.

cp file3.txt ~/backup

Full Access
Question # 9

Which of the following network diagnostic tools is NOT used in the Linux operating system?

A.

host

B.

dig

C.

ipconfig

D.

ping

Full Access
Question # 10

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

A.

chown

B.

chmod

C.

chperm

D.

chgrp

Full Access
Question # 11

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.

A.

lprm -E

Full Access
Question # 12

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

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.

Full Access
Question # 13

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

A.

wc -l filename

B.

wc -c filename

C.

wc -m filename

D.

wc -w filename

Full Access
Question # 14

You work as the Network Administrator for Perfect solutions Inc. The company has a Linux-based Network. You are working as a root user. You want to know what the day will be on 20 July 2010.

Which of the following commands should you use to accomplish this task?

A.

cal

B.

cal 20 July

C.

cal 7 2010

D.

date

Full Access
Question # 15

Which of the following directories cannot be placed out of the root filesystem?

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

A.

/sbin

B.

/etc

C.

/lib

D.

/var

Full Access
Question # 16

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?

A.

find -size +50M

B.

find -size -50M

C.

find -size 50M

D.

find size +50M

Full Access
Question # 17

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?

A.

ls Sale1.txt Sale2.txt < FinSale.txt

B.

cat Sale1.txt Sale2.txt < FinSale.txt

C.

ls Sale1.txt Sale2.txt > FinSale.txt

D.

cat Sale1.txt Sale2.txt > FinSale.txt

Full Access
Question # 18

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

A.

It will print a string "date %M".

B.

The current time (Month) will be written in the date.txt file.

C.

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

D.

It will create a variable $(date %M).

Full Access
Question # 19

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?

A.

locate .xml

B.

locate -name /.xml

C.

locate "*.xml"

D.

cat .xml

Full Access
Question # 20

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

A.

It contains the location information where data is stored in the hard disk.

B.

It contains information about what type of access permission of the file is available to whom.

C.

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

D.

It contains the file type of the specified file.

Full Access
Question # 21

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

A.

mutt

B.

Evolution

C.

Thunderbird

D.

pidgin

Full Access
Question # 22

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

You are working as a root user on the Linux operating system. You want to create an alias such that when you type c, the system should run the clear command to clear the screen. Which of the following tools should you use to accomplish the task?

A.

alias clear

B.

alias clear= c

C.

alias c

D.

alias c= 'clear'

Full Access