Weekend Sale Special Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

RedHat RH133 Red Hat Linux System Administration Exam Practice Test

Page: 1 / 34
Total 336 questions

Red Hat Linux System Administration Questions and Answers

Question 1

You work as a Network Administrator for Tech Perfect Inc. The company has a Linux-based network. You have assigned a permission set of 440 on a folder. Which of the following permissions are added to the folder?

Each correct answer represents a part of the solution. Choose all that apply.

Options:

A.

Read permission to the owner.

B.

Read and Execute permissions to the group.

C.

Read, Write, and Execute permissions to the owner and the group.

D.

Read and Execute permissions to the owner.

E.

Read permission to the group.

F.

No permission to others.

Question 2

Which of the following commands is used to scan and repair file systems on a hard disk of a Linux computer?

Options:

A.

fsck

B.

fixfs

C.

mkfs

D.

mount

Question 3

Which of the following commands is used to uninstall an RPM package from a Linux server?

Options:

A.

rpm -e

B.

rpm --uninstall

C.

rpm -U

D.

rpm -re

Question 4

You work as a Network Administrator for Tech Perfect Inc. The company has a Linux-based network. You are required to boot a server in single-user mode. Which of the following runlevels will you choose to accomplish the task?

Options:

A.

0

B.

5

C.

1

D.

3

E.

2

Question 5

Which of the following commands is used to check the disk quota for each filesystem and to mail a warning message to a user who has reached his/her softlimit?

Options:

A.

repquota

B.

edquota

C.

quotacheck

D.

warnquota

Question 6

You work as a Network Administrator for Net World Inc. The company has a Linux-based network. You are configuring a server that will be used as a Web server. You want to use disk striping with parity on the server. You also want to configure it with a hot spare disk. What is the minimum number of disks that you will require for this configuration?

Options:

A.

2

B.

4

C.

5

D.

3

Question 7

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 keep an eye on the system log file /var/adm/messages. Which of the following commands should you use to read the file in real time?

Options:

A.

tail -n 3 /var/adm/messages

B.

tail /var/adm/messages

C.

cat /var/adm/messages

D.

tail -f /var/adm/messages

Question 8

You work as a Network Administrator for Tech Perfect Inc. The company has a Linux-based network. You are configuring a Linux computer. You want the Linux system to be booted in XWindow by default. Which of the following runlevels will you choose?

Options:

A.

5

B.

3

C.

2

D.

6

Question 9

Which of the following servers can provide files required for Red Hat Linux installation process?

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

Options:

A.

FTP

B.

HTTP

C.

SMB

D.

NFS

Question 10

Which of the following commands configures a new printer or changes the configuration of the existing printer?

Options:

A.

lpr

B.

lprm

C.

lpstat

D.

lpadmin

Question 11

You work as a Network Administrator for Secure World Inc. The company has a Linux-based network. You want to run a command with the changed root directory. Which of the following commands will you use?

Options:

A.

chroot

B.

chdir

C.

ls

D.

route

Question 12

You work as a System Administrator for McNeil Inc. The company has a Linux-based network. You are a root user on the Red Hat operating system. You have added a new swap partition on /dev/hdb2. After adding the new swap partition and enabling it, you want to ensure that it is enabled. Which of the following commands will you use to accomplish the task?

Each correct answer represents a complete solution. Choose two.

Options:

A.

cat /proc/swaps

B.

mkswap

C.

swapon

D.

free

Question 13

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

Options:

A.

lpstat -t

B.

lpq

C.

lpr

D.

lpstat –d

Question 14

In Linux, which of the following files contains group information?

Options:

A.

/etc/gp

B.

/etc/group

C.

/etc/login.defs

D.

/etc/passwd

Question 15

Fill in the blank with the appropriate command's option.

________option is used with chage command to change the number of days of warning before a password change is required.

Options:

A.

-W warndays

Question 16

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 - *

B.

lprm -a all

C.

lprm -all

D.

lprm -

Question 17

Which of the following commands sets parameters for ext2 and ext3 filesystems?

Options:

A.

fsck

B.

mkfs

C.

fidisk

D.

tune2fs

Question 18

You work as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. A user complains that his Linux computer gets rebooted occasionally. Which of the following files will provide you the required information to troubleshoot the issue?

Options:

A.

/var/log/wtmp

B.

/var/log/dmesg

C.

/var/log/bootmsg

D.

/var/log/messages

Question 19

Which of the following commands can be used to upgrade a package only if an earlier version of that package is already installed? Each correct answer represents a complete solution. Choose all that apply.

Options:

A.

rpm -U

B.

rpm --freshen

C.

rpm -F

D.

rpm --upgrade

Question 20

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 1744 report

C.

chmod 7744 report

D.

chmod 4744 report

Question 21

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 get the status of the modules currently loaded in the kernel. 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.

locate

B.

lsmod

C.

cat /proc/modules

D.

ls /proc

Question 22

Which of the following commands is used to list all contents of a superblock of a partition?

Options:

A.

tune2fs -c

B.

tune2fs -f

C.

tune2fs -l

D.

tune2fs -j

Question 23

Which of the following files are used to activate disk quotas on a file system?

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

Options:

A.

quotA.group

B.

quotA.user

C.

quotaon

D.

.quotaon

Question 24

By default, which of the following commands configures the current run level?

Options:

A.

chkconfig

B.

pstree

C.

service

D.

ntsysv

Question 25

Which of the following files must be edited to alter the run level?

Options:

A.

/etc/init

B.

/etc/profile

C.

/etc/mtab

D.

/etc/inittab

Question 26

You work as a Network Administrator for Tech World Inc. The company has a Linux-based network. You have installed a video card in your Linux workstation. Which of the following will you require in order to configure

X?

Options:

A.

etc/videoconf

B.

root/videoconf

C.

root/x11/xf86config

D.

etc/x11/xf86config

Question 27

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 check the errors of an ext2 filesystem. Which of the following commands can John use to accomplish the task? Each correct answer represents a complete solution. Choose all that apply.

Options:

A.

e2fsck

B.

fsck

C.

fsck -N

D.

fsck.ext2

Question 28

Fill in the blank with the appropriate command.

The ________ command recursively removes files, which have not been accessed for a period of time.

Options:

A.

tmpwatch

Question 29

When installing RHEL in the graphical interface, which of the following switches can be used to specify a resolution?

Options:

A.

lowers

B.

vnc

C.

resolution

D.

skipddc

Question 30

You want to temporarily change your primary group to another group of which you are a member.

In this process, a new shell will be created, and when you exit the shell, your previous group will be reinstated. Which of the following commands will you use to accomplish this task?

Options:

A.

chgrp

B.

newgrp

C.

chmod

D.

chown

Question 31

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.

The Sales directory is not properly mounted.

B.

David is working on his local computer's login.

C.

The Sales directory has been deleted by accident.

D.

David does not have the Write permission on the directory.

Question 32

Which of the following fsck commands will you use to check all filesystems listed in /etc/fstab?

Options:

A.

fsck -P

B.

fsck -A

C.

fsck -f

D.

fsck -y

Question 33

Which of the following commands is used to create a user account for a new user?

Options:

A.

USERMOD

B.

MOUNT

C.

USERADD

D.

CRUSER

Question 34

You want to shrink a Logical Volume manager partition named /dev/disk1/lvm from 4GB to 3GB. 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.

lvsize

B.

resize2fs

C.

reduce2fs

D.

lvreduce

Question 35

Which of the following commands is used to see list of previously entered command on the Red Hat operating system?

Options:

A.

cat

B.

history

C.

ls

D.

man

Question 36

Which of the following run levels start the system in single user mode?

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

Options:

A.

0

B.

single

C.

S

D.

s

E.

1

Question 37

Which of the following commands displays the version number of the running Linux kernel?

Options:

A.

w

B.

uname

C.

motd

D.

lsmod

Question 38

Which of the following commands is used to set a user's quota?

Options:

A.

edquota

B.

edquota user

C.

edquota -p user

D.

edquota -u user

Question 39

To see the run levels associated with the service grub, which of the following commands must be issued?

Options:

A.

chkconfig

B.

service

C.

xinetd

D.

chkconfig --list

Question 40

Which of the following options is used with yum command to list a description and summary information about available packages?

Options:

A.

deplist

B.

info

C.

search

D.

list

Question 41

Which of the following file should be edited, if MBR on /dev/hda is corrupted?

Options:

A.

/boot/grub/grub.conf

B.

/etc/grub/grub.conf

C.

/etc/grub.conf

D.

/sbin/grub-install/dev/hda

Question 42

In RHEL, Which of the following logical interfaces refers to the loopback interface?

Options:

A.

eth0

B.

ppp0

C.

l0

D.

lo

Question 43

Which of the following tools can be used to manage Red Hat Virtualization environment?

Options:

A.

xen

B.

chroot

C.

sed

D.

xm

Question 44

Which of the following options is used with yum command to update a currently installed package?

Options:

A.

-U

B.

update

C.

provides

D.

-u

Question 45

Which of the following files contain messages and errors from security-related system?

Options:

A.

/var/log/messages

B.

/var/log/secure

C.

/var/log/mail

D.

/var/log/message

Question 46

Which of the following commands is used to display last 10 lines of a file?

Options:

A.

cat

B.

tail 10

C.

tail

D.

head

Question 47

Which of the following files contains users' names and UIDs?

Options:

A.

/etc/group

B.

/etc/passwd

C.

/etc/user

D.

/etc/shadow

Question 48

Which of the following commands is used to create repomd repository to hold packages in Linux system?

Options:

A.

chroot

B.

createrepo

C.

xm

D.

setsebool

Question 49

What is the correct location of the Linux kernel?

Options:

A.

/boot/kernal

B.

/boot/vmlinux

C.

/boot/vmlinuz

D.

/boot/bzImage

Question 50

Which of the following commands must be used to see the runlevels associated with a service grub?

Options:

A.

chkconfig --list

B.

chkconfig --grub

C.

chkconfig grub

D.

chkconfig

Page: 1 / 34
Total 336 questions