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

RedHat RH133 Red Hat Linux System Administration Exam Practice Test

Demo: 50 questions
Total 336 questions

Red Hat Linux System Administration Questions and Answers

Question 1

Which of the following commands displays information for all filesystems that have quota enabled?

Options:

A.

quotaoff

B.

quotaon

C.

quota

D.

quota -v

Question 2

Which of the following statements is true about Linux kernel?

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

Options:

A.

It constitutes the core part of the Linux operating system.

B.

It detects hardware resources and boots up the system.

C.

It allocates memory on behalf of running process.

D.

It does not verify firewall rules

Question 3

John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. He is working as a root user on the Linux operating system. He wants to add a soft limit quota warning for the users, in which, after exceeding the quota value, a user will receive e-mail warnings about being over quota. 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.

repquota

B.

quotaon

C.

warnquota

D.

edquota

E.

quotaoff

Question 4

You work as a Network Administrator for Mac World Inc. The company has a Linux-based network. Your Linux computer turns off because of power outage. The UPS was unable to provide backup power. Which of the following utilities will run automatically during the next boot to scan the hard disk for the possibility of file system damage?

Options:

A.

mkfs

B.

mount

C.

scanfs

D.

fsck

Question 5

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 6

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 run the cc process at runlevel three. If the order of execution of cc command is 43, which of the following commands will John use to accomplish his task?

Options:

A.

ln -s /etc/init.d/cc /etc/rc.d/rc3.d/K43cc

B.

ln -s /etc/rc.d/init.d/cc /etc/rc.d/rc3.d/K43cc

C.

ln -s /etc/rc.d/cc /etc/rc.d/rc3.d/s43cc

D.

ln -s /etc/rc.d/init.d/cc /etc/rc.d/rc3.d/S43cc

Question 7

Which of the following commands will you run to list all files that have been modified within the last 60 minutes?

Options:

A.

find /etc -name *.txt

B.

find start -dir -min -60

C.

find start -dir -cmin -60

D.

find start -cmin -60

Question 8

You want to verify the PGP signature of all headers and signatures associated with an RPM package. Which of the following commands will you use to accomplish the task?

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

Options:

A.

rpm -e

B.

rpm -K

C.

rpm --checksig

D.

rpm -V

Question 9

You work as a system administrator for Tech Perfect Inc. The company has a Linux-based network. You are a root user on the Linux operating system. A user, Jetson, wants to view the speed and the duplex for his Ethernet card. His ethernet card is activated on interface eth0. Which of the following commands can you use to accomplish this task?

Options:

A.

ifup eth0

B.

ifconfig eth0

C.

ip link show eth0

D.

sudo ethtool eth0

Question 10

After creating the swap area, which of the following commands will you need to run to start using it?

Options:

A.

mkswap

B.

mkfs

C.

swapon

D.

swapoff

Question 11

John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. Due to some network security reasons, John wants to shut down all network interfaces just before rebooting the Linux server. Which of the following commands will he use to accomplish the task?

Options:

A.

init 3

B.

init 6

C.

init 0

D.

shutdown -r now

E.

reboot -i

Question 12

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.

lvreduce

B.

resize2fs

C.

lvsize

D.

reduce2fs

Question 13

Which of the following commands is used to mount file systems?

Options:

A.

detach

B.

mount

C.

umount

D.

attach

Question 14

Which of the following commands can be used to overwrite an existing kernel image file?

Options:

A.

mkinitrd -v

B.

mkinitrd --preload

C.

mkinitrd --builtin

D.

mkinitrd -f

Question 15

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 print a file named print.txt. 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.

lpr

B.

lprm

C.

lp

D.

a2ps

Question 16

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.

route

B.

ls

C.

chroot

D.

chdir

Question 17

During the boot process of a Linux computer, which of the following daemons is called after the kernel is loaded?

Options:

A.

LPD

B.

TELNETD

C.

INIT

D.

RLOGIND

Question 18

Which of the following commands is used to check /etc/fstab file in Linux?

Options:

A.

sfdisk

B.

fdisk

C.

mount -a

D.

fsck

Question 19

Which of the following is an operating system ancestor of Linux?

Options:

A.

Unix

B.

GNU

C.

SELinux

D.

Solaris

Question 20

Which command creates a database that describes kernel's modules dependencies?

Options:

A.

depmod

B.

lsmod

C.

rmmod

D.

modprobe

Question 21

In which of the following files, RHEL stores its network interface configuration information?

Options:

A.

/etc/host.conf

B.

/etc/sysconfig/network-scripts/ ifcfg-ethX

C.

/etc/network.conf

D.

/etc/sysconfig/network-script/ifcfg-ethX

Question 22

Which of the following command is used to list the current routing table in Linux?

Options:

A.

ifconfig

B.

traceroute

C.

dig

D.

/sbin/ip route

Question 23

Which of the following is the only domain in Xen environment from which an administrator can send command to the Hypervisor?

Options:

A.

DomainU

B.

Domain2

C.

Domain0

D.

Domain1

Question 24

Which of the following commands is used to compress a tar file?

Options:

A.

tar

B.

gzip

C.

compress

D.

dump

Question 25

Which of the following commands can be used to determine the system's current mode?

Options:

A.

getenforce

B.

semanage

C.

getsebool

D.

setenforce

Question 26

While installing the Linux operating system on a computer, you have to ensure that you have selected the root file system as _____.

Options:

A.

swap

B.

ext3

C.

nfs

D.

befs

E.

ntfs

Question 27

Which of the following directories can be installed on a separate filesystem in Linux?

Options:

A.

/sbin

B.

/var

C.

/etc

D.

/lib

Question 28

What is the maximum number of partitions that can be defined on a single hard disk?

Options:

A.

16

B.

5

C.

10

D.

14

Question 29

Which of the following Linux commands can be used to set an expiration date for a user's password?

Options:

A.

chown

B.

chage

C.

chgrp

D.

chmod

Question 30

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

Options:

A.

w

B.

uname

C.

motd

D.

lsmod

Question 31

Which of the following is a configuration file used to configure TCP wrappers?

Options:

A.

/etc/hosts.allow

B.

/etc/resolve.conf

C.

/etc/tcpwrapper

D.

/etc/hosts.conf

Question 32

Which of the following graphical tools can be used to create and modify Kickstart files?

Options:

A.

ksvalidator

B.

system-config-services

C.

system-config-securitylevel

D.

system-config-kickstart

Question 33

Which of the following commands is used to compare the contents of two files for differences?

Options:

A.

sort

B.

cat

C.

wc

D.

diff

Question 34

Which of the following commands is used to create filesystem in Linux?

Options:

A.

fdisk

B.

mkfs

C.

sfdisk

D.

fsck

Question 35

Different options are used with the ethtool command to perform different tasks, such as to change the speed of Ethernet card, to change duplex settings of Ethernet card, etc. Drag and drop the appropriate option before its respective function.

Options:

Question 36

Which of the following run-levels causes an X-based login to appear when the system is booted?

Options:

A.

Run-level 2

B.

Run-level 4

C.

Run-level 3

D.

Run-level 5

Question 37

You work as a Network Administrator for McNeil Inc. You are configuring a hard disk drive of a Linux server.

Which of the following steps can prevent the server from failure due to a log file or user quota overrun?

Options:

A.

Using the same file system for /bin and /usr.

B.

Using separate file systems for /home and /var.

C.

Using separate file systems for /bin and /usr.

D.

Using the same file system for /home and /var.

Question 38

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

B.

rpm --freshen

C.

rpm --upgrade

D.

rpm -U

Question 39

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 40

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 41

Drag and drop the appropriate file name before the respective information it contains.

Options:

Question 42

Which of the following images provide support for different types of network interface cards and other network devices?

Options:

A.

drvblock.img

B.

bootdisk.img

C.

drvnet.img

D.

pcmciadd.img

Question 43

What is the maximum number of partitions that Linux kernel supports for IDE drives?

Options:

A.

50

B.

15

C.

74

D.

63

Question 44

John works as a professional Ethical Hacker. He has been assigned a project to test the security of www.weare-secure.com. He enters the following command on the Linux terminal: chmod 741 secure.c Considering the above scenario, which of the following statements are true?

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

Options:

A.

The textual representation of the file access permission of 741 will be -rwxr--rw-.

B.

By the octal representation of the file access permission, John is restricting the group members to only read the secure.c file.

C.

John is providing all rights to the owner of the file.

D.

John is restricting a guest to only write or execute the secure.c file.

Question 45

You are using RHEL 5 on your system. You want to know, what kernel version is currently running in RHEL 5. Which of the following commands will you use to accomplish this task?

Each correct answer represents a complete solution. Choose two.

Options:

A.

uname -s

B.

cat /proc/version

C.

uname -v

D.

uname –r

Question 46

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 47

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.

root/videoconf

B.

root/x11/xf86config

C.

etc/x11/xf86config

D.

etc/videoconf

Question 48

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

Question 49

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

Options:

A.

/etc/profile

B.

/etc/mtab

C.

/etc/inittab

D.

/etc/init

Question 50

Which of the following commands issues a warning to logged-in users before the shutdown process begins in a Linux server?

Options:

A.

mount

B.

sdwarn

C.

shutdown

D.

init

Demo: 50 questions
Total 336 questions