Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: netdisc

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

You have made some changes in the /etc/inittab file. Now, you want to make changes take effect without rebooting the operating system. 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.

init S

B.

init Q

C.

init q

D.

init s

Question 3

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 4

Which of the following commands can be used to view the information about the transmitted or received packets from a network interface?

Options:

A.

ip link show [interface name]

B.

ip -s link show [interface name]

C.

ifconfig

D.

ping

Question 5

Which of the following commands is used to gather information about installed hardware in a computer from the interrupts, ioports and dma files in the /proc directory?

Options:

A.

sync

B.

sysctl

C.

lsdev

D.

mkinitrd

Question 6

What does MBR stand for?

Options:

A.

Master boot record

B.

Memory buffer register

C.

Master buffer register

D.

Memory boot record

Question 7

Which of the following directories CANNOT be installed on separate filesystems in Linux?

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

Options:

A.

/etc

B.

/bin

C.

/var

D.

/lib

Question 8

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 9

Drag and drop the appropriate commands before their respective functions.

Options:

Question 10

Which of the following commands is used to enforce checking of a file system even if the file system seems to be clean?

Options:

A.

e2fsck -f

B.

e2fsck -p

C.

e2fsck -c

D.

e2fsck –b

Question 11

You work as a Network Administrator for McNeil Inc. The company has a Linux-based network. You want to create a new user account from the shell. Which of the following commands will you use?

Options:

A.

CREATEUSER

B.

USERADD

C.

MOUNT

D.

CRUSER

Question 12

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 13

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. The company is using the host-based access control to avoid unwanted access of the malicious users. John wants to add a new user, which can use X applications from the remote computer. 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.

John will run the xhost command.

B.

John will execute the startx command.

C.

John will add a new user in the file /etc/Xn.hosts.

D.

John will add a new user in the file /etc/Xadd.hosts.

Question 14

Which of the following statements about Logical Volume Management (LVM) is true?

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

Options:

A.

It can resize volume groups online by absorbing new physical volumes (PV) or ejecting existing ones.

B.

It can resize logical volumes (LV) online by concatenating extents onto them or truncating extents from them.

C.

It cannot suffer from internal fragmentation.

D.

It can stripe whole or parts of logical volumes across multiple PVs, in a fashion similar to R AID0.

Question 15

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 16

In, which of the following directories all configuration files are usually stored?

Options:

A.

/boot

B.

/var

C.

/etc

D.

/bin

Question 17

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 18

When you are installing RHEL on a system how much swap space should be given in partition?

Options:

A.

Half of the RAM

B.

Equal to the RAM

C.

One fourth of the RAM

D.

Twice of RAM

Question 19

Which of the following tools is used to view and/or change the speed and duplex settings for the network card?

Options:

A.

ifconfig

B.

traceroot

C.

ethtool

D.

ping

Question 20

Which of the following commands can be used to extend the logical volumes?

Options:

A.

lvxtend

B.

lvcreate

C.

lvextend

D.

resizee2fs

Question 21

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 22

Which of the following commands will go through your logs for a given period of time and make a report in the areas that you wish with the detail that you wish?

Options:

A.

tmpwatch

B.

logrotate

C.

anacron

D.

logwatch

Question 23

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 24

Which of the following run levels is officially undefined?

Options:

A.

Run level 3

B.

Run level 4

C.

Run level 2

D.

Run level 5

Question 25

Which command is used to change access mode for files and directories?

Options:

A.

chmod

B.

chmode

C.

chgrp

D.

chown

Question 26

Which of the following files contains GIDs?

Options:

A.

/etc/passwd

B.

/etc/shadow

C.

/etc/usr

D.

/etc/group

Question 27

Which of the following commands can be used to burn a boot.iso file to CD?

Options:

A.

bootrecord

B.

cp boot.iso

C.

cdrecord

D.

mount boot.iso

Question 28

Which of the following commands can be used to enlarge volume groups?

Options:

A.

lvextend

B.

resize2fs

C.

vgcreate

D.

vgextend

Question 29

Which of the following is the default configuration file for the ifup command?

Options:

A.

/etc/syslog

B.

/etc/sysconfig

C.

/etc/init.d

D.

/etc/syslog.conf

Question 30

Which of the following utilities is used by the remote dump and restore programs in manipulating a magnetic tape drive through an interprocess communication connection?

Options:

A.

ssh

B.

rmt

C.

tar

D.

rcp

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

If /root partition is installed on /dev/hdb1, what defines /dev/hdb1?

Options:

A.

Second hard disk, second partition

B.

First hard disk, second partition

C.

Second hard disk, first partition

D.

First hard disk, first partition

Question 33

What is the UID number for a root user?

Options:

A.

UID 0

B.

UID 1

C.

UID 500

D.

UID 550

Question 34

Which of the following is the installer for RHEL?

Options:

A.

GRUB

B.

MBR

C.

anaconda

D.

kernal

Question 35

Which of the following files lists the file systems to be mounted automatically at startup?

Options:

A.

/etc/mtab

B.

/etc/fstab

C.

/dev/mtab

D.

/dev/fstab

Question 36

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

Options:

A.

detach

B.

mount

C.

umount

D.

attach

Question 37

You work as a Software Engineer for McNiel Inc. The company has a Linux-based network. The company has 150 Engineers. The root user has configured quota limits for each user. You want to view quota limits for your system. Which of the following commands will you use to accomplish this task?

Options:

A.

repquota -a

B.

quota -v

C.

quotacheck

D.

edquota

Question 38

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 39

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

B.

chmod 1744 report

C.

chmod 2744 report

D.

chmod 4744 report

Question 40

Which of the following commands is used to make a swap active after creating a new SWAP partition?

Options:

A.

mkswap

B.

swapon

C.

fdisk

D.

mkfs

Question 41

You work as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. You have to create user accounts for four new Management Trainees. You also have to create a group named MT and provide membership of this group to the new user accounts. How will you accomplish this?

Options:

A.

Use the ADDUSER command to create new user accounts and the MT group. Add the users account to the group.

B.

Use the USERADD command to create new user accounts and the MT group.

Add the user accounts to the group.

C.

Use the GROUPADD command to create the MT group. Use the USERADD command to create the user accounts and provide them the membership of the MT group.

D.

Use the ADDGROUP command to create the MT group.

Use the ADDUSER command to create the user accounts and provide them the membership of the MT group.

Question 42

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 43

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 44

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 45

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 46

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 47

You work as a Network Administrator for McNeil Inc. The company has a Linux-based network. You are a root user on the Linux system. You have to create a user named Trinity and deny interactive login. Which of the following should you use to accomplish the task?

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

Options:

A.

vi /etc/passwd

B.

vi /etc/shadow

C.

useradd Trinity

D.

passwd Trinity

E.

Trinity:x:505:505::/home/Trinity:/sbin/nonlogin

Question 48

You work as a Network Administrator for McNeil Inc. The company has a Linux-based network. You want to know the ownership of the /etc/inittab file. Which of the following commands will you use to accomplish the task?

Options:

A.

rpm -e /etc/inittab

B.

rpm -i /etc/inittab

C.

rpm -qa /etc/inittab

D.

rpm -qf /etc/inittab

Question 49

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 50

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

You have configured a database server in the network. Users complain that the server has become remarkably slow. However, the previous day, the server was performing well. You know that some of the processes may be the cause of the issue. You run the PS command on the server. In the result set, which information will you look at that suggests the problematic process?

Options:

A.

A high load average

B.

A high process ID

C.

A low load average

D.

A low CPU time

E.

A high CPU time

Demo: 50 questions
Total 336 questions