Try to answer these 200+ Red Hat Linux MCQs and check your understanding of the Red Hat Linux subject.
Scroll down and let's begin!
A. /usr/share/man
B. /usr/share/info/man
C. /usr/share/locale/man
D. /usr/man/share/locale
A. Mint
B. Ubuntu
C. Debian
D. CentOS
A. notice
B. news
C. debug
D. alert
A. system-config-network
B. system-config
C. network-config
D. networking config
A. kernshow
B. lsmodules
C. modshow
D. modprobe
E. lsmod
A. uname -a
B. none will work
C. cat /etc/redhat-release
D. either will work
A. Source RPM does not contain information about how to install the software.
B. Source RPMs can be compiled and installed directly.
C. Source RPM cannot be used to build a binary rpm.
A. dd if=/dev/sda of=/dev/sdb
B. restore /dev/sda /dev/sdb
C. fsck2 /dev/sda /dev/sdb
D. dump /dev/sda ssh@localhost:/dev/hda
E. mk4ext /dev/sda /dev/sdb
A. waits till the file /tmp/file gets created befor checking the size
B. all of the above
C. It runs the command du -hs /tmp/file every second and updates the output
D. none of the above
A. Captures traffic on a network
B. Lists All TCP and UDP connections.
C. Lists All TCP connections.
D. Terminates all TCP connections on the target host.
A. cat -A filename
B. cat -n filename
C. cat count number filename
D. cat -number filename
E. cat -l filename
A. vmstat
B. All are correct
C. cat /proc/meminfo
D. top
E. free -m
A. runlevel
B. init
C. telinit
D. chkstate
A. share resources (like printers) between a Windows and Linux machines
B. mount Windows filesystems on Linux machines
C. none are correct
D. both are correct
A. Parallel Network File System
B. peripheral Network File System
A. "rmcore" will execute on the first day of every month
B. "rmcore" will execute every Monday at 4:30 a.m.
C. "rmcore" will execute on April 30th for one hour
A. scp test_file:test_user@test_machine:/tmp
B. scp test_file test_machine@test_user:/tmp
C. scp -f test_file -u test_user -m test_machine -d /tmp
D. scp test_file test_user@test_machine:/tmp
A. #rpm -UVH
B. #rpm -ivh
C. #rpm -icv
D. #rpm -qR
E. #rpm -nogpg
A. shutdown -h now
B. telinit 0
C. all are correct
D. shutdown -h +1
A. chown mary myfile
B. chown myfile james:mary
C. chown james:mary myfile
D. changeowner mary myfile
A. NFS 4
B. NFS 3
C. NFS 4.1
A. administrative single-user mode; denies other users access to the system, but allows root access to the entire multiuser file system. Startup scripts are not run
B. multiuser, without networking (i.e., you don't have access to network services like NFS, xinetd, and NIS)
C. full multiuser mode with login to command-line interface; allows remote file sharing with other systems on your network. Also referred to as the text mode state
D. full multiuser mode that starts up in an X session, initiating a graphical login; allows remote file sharing with other systems on your network
A. send errors to a file
B. create marks on a file
C. translate characters in a file
D. split standard output to a file
A. this command does not pose any security risks
B. any user with access to the system could connect to your X display
C. any user on remote machines could open a remote connection to your system with rsh or ssh
D. any host on the network could assume your IP system address
A. /etc/ssh/sshd_config
B. /etc/sshd/sshd.config
C. /etc/sshd_config
D. /etc/ssh/sshd.conf
A. Round Robin
B. 802.3ad
C. balance-tlb
D. balance-alb
E. balance-xor
A. displays all lines in the words.txt file that begins with an uppercase letter
B. displays all lines in the words.txt file after translating uppercase letters to lowercase
C. displays all lines in the words.txt file that contains an uppercase letter
D. displays all lines in the words.txt file after translating lowercase letters to uppercase
A. configuration file for software updates
B. configuration file for driver updates
C. configuration file for kudzu
D. configuration file for mlocate package
A. It does not depend on the autoconf tool for the package installation.
B. It creates the necessary Makefiles based on the user information.
C. It creates the required directories and subdirectories on the system.
D. It depends on make to create the Makefiles.
A. 755
B. 777
C. 644
D. 655
E. 744
A. quota
B. du
C. usage
D. df
A. Through, In, Out
B. None of the above
C. All of the above
D. Forward, Input, Output
E. Accept, Drop, Reject
A. pkill -9 <PID>
B. kill -9 <PID>
C. kill -g <PID>
D. kill -15 <PID>
E. pkill -G graceful <PID>
A. This is an "fstab" entry which lets any user mount the CD-ROM.
B. This is an "fstab" entry which mounts a CD-ROM as a read-only device at boot time.
C. This is an "mtab" entry which mounts a CD-ROM as a read-only device at boot time.
A. echo 2 > /proc/sys/vm/drop_caches
B. echo 1 > /proc/sys/vm/drop_caches
C. echo 3 > /proc/sys/mem/drop_caches
D. echo 0 > /proc/sys/vm/drop_caches
A. 1024
B. 4096
C. 8192
D. unlimited
E. 2048
A. SIGINT
B. SIGHUP
C. SIGSTOP
D. SIGTERM
A. /etc/user.def
B. /sbin/passwd.defs
C. /etc/usergrp
D. /etc/login.defs
A. it suffices to give only the mount point
B. both the device and mount point must be given on the command line.
A. /etc/sysconfig/network
B. /etc/resolv.conf
C. /etc/sysconfig/networking
D. /etc/hosts
E. /etc/hostname
A. rpm -q
B. yum list installed
C. yum list --installed
D. rpm -a
E. yum info --installed
A. All files and directories will have the default group set to the primary group of the user who creates them in /project directory.
B. All executables inside the /project directory will run with the effective group ID (EGID) of the group of the /project directory.
C. All files inside the /project directory will have permissions set to 2644 and the subdirectories will have them set to 2755.
D. All files and directories will have the same group as that of the /project directory.
A. The share will be accessed with the credentials of bob without being prompted for a password.
B. All the samba shares on server1 will be displayed.
C. bob will be prompted for a password to access the share.
D. All the shares on server1 accessible to bob will be displayed.
A. guestfish
B. none of them
C. virt-manager
D. both virsh & virt-manager
E. virsh
A. back up the projects directory at 2:00 A.M. from Sunday to Thursday
B. back up the projects directory at 2:00 A.M. every weekday
C. back up the projects directory at 2:00 P.M. from Sunday to Thursday
D. back up the projects directory at 2:00 P.M. every weekday
A. both 1 & single
B. rd.break
C. single
D. 1
E. one
A. runlevel
B. setinit
C. telinit
D. initd
A. kill -9 -u username
B. pkill -9 -u username
C. pskill username
D. kill username
A. /boot/kern_start
B. /proc/cmdline
C. /proc/start
D. /var/log/messages
A. print a warning to all active terminals and then halt the system
B. transfer your system into maintenance mode
C. reboot the system
D. shut down the system