LINUX_MCQ TEST
Arvind Kalyan
9996870071
1. How much usable space is available, when a Linux system is configured with a RAID 5 array
that consists of six 20 GB hard disk drives?
80
100
120
60
120
2. Which of the following allows to secure remote command line access?
telnet
SSL
SSH(Secure Shell)
Rlogin
SSH(Secure Shell)
3. Saving open files, flush the system cache and other necessary system maintenance are
allowed by.
restarting the system
rebooting the system
logging off the system
shutting down the system
logging off the system
4. The advantage of using NFS rather than Samba for file sharing in Linux is
files saved as .tar extension
compressed files
Arvind ---- Arvind.ceh@gmail.com
LINUX_MCQ TEST
Arvind Kalyan
9996870071
compatibility with Windows file sharing
None of the above
compatibility with Windows file sharing
5. Which of the following commands delete the files from the /tmp directory, issued by non-root
user?
rmdir -rf /tmp/*
rm -rf /tmp/* -su
su -c "rm -rf /tmp/*"
su "rm -rf /tmp/*"
su -c "rm -rf /tmp/*"
6. Which command is used to find data files, programs, directories that match the search
argument?
find
search
locate
browse
locate
7. ___________ is a common tool for determining services and ports running on a remote Linux.
arp
nmap
netstat
None of the above
nmap
Arvind ---- Arvind.ceh@gmail.com
LINUX_MCQ TEST
Arvind Kalyan
9996870071
8. Which directory contains configuration files that stores system and application setting?
/etc
/lib
/usr
/var
/etc
9. Which of the following will kill the process 1010 by an administrator(logged in as a standard
user)? The process 1010 was started by the root user.
kill 1010
su "kill 1010"
su -c "kill 1010"
killall -9 1010
su -c "kill 1010"
10. Which of the following commands can be used to check for file corruption?
md5sum
checkfile
cat -vet
tar checksum
md5sum
11. Which of the following Linux commands can be used to find what processor is detected on
boot, when a laptop system is slow?
proc
POST
Arvind ---- Arvind.ceh@gmail.com
LINUX_MCQ TEST
Arvind Kalyan
9996870071
dmesg
Any of the above
dmesg
12. Applications written to provide a GUI shell for Unix and Linux are called
DOS
x windows
OS/2
Vista
x windows
13. Which of the following commands can be run to remove all the rules in an iptables table?
iptables -L
iptables -A
iptables -F
iptables delete
iptables -F
14. Every command in Linux is a
text file
stored variable
executable program
None
executable program
15. What is the shortcut to the login directory?
Arvind ---- Arvind.ceh@gmail.com
LINUX_MCQ TEST
Arvind Kalyan
9996870071
shift + cd
cd + enter key
alt + ctrl + cd
ctrl + cd
cd + enter key
16. How long can a filename in Linux be?
8 characters
10 characters
200 characters
255 characters
255 characters
17. When a computer system is reported problems with inodes and blocks, which of the
following is the problem and its solution to rectify it?
The file system has become corrupt and needs to be repaired.
The boot sector is corrupt and needs to be repaired.
The drive is configured using an improper file system and needs to be reformatted.
The partition table has become corrupt and needs to be replaced.
The file system has become corrupt and needs to be repaired.
18. Which of the following is the BEST way to set up SSH(Secure Shell) for communicating
between Systems without needing passwords?
Use ssh-keygen for generating public-private keys.
Disable passwords on specific accounts that will use SSH.
Both A and B
Arvind ---- Arvind.ceh@gmail.com
LINUX_MCQ TEST
Arvind Kalyan
9996870071
None of the above
Use ssh-keygen for generating public-private keys.
19. Which Linux command will successfully mounts a USB drive?
mount /dev/uda1 /mnt/usb
mount /dev/sda1 /mnt/usb
mount -t usbfs /dev/usb001 /mnt/usb
mount /dev/hde1 /mnt/usb
mount /dev/sda1 /mnt/usb
20. For supporting new diskless client workstations, which of the following services needs to be
installed on a server?
dhcpcd and rexec
named and httpd
remoted and dhcpd
PXE (Preboot eXecution Environment) and tftpd
PXE (Preboot eXecution Environment) and tftpd
21. Which of the following supports for creating a Linux VPN (Virtual Private Network)?
RC2
3DES
chap
NTLMv2
3DES
22. The hierarchy of a series of directories branching in a user system starts from
Arvind ---- Arvind.ceh@gmail.com
LINUX_MCQ TEST
Arvind Kalyan
9996870071
\home
\root
/home
Arvind ---- Arvind.ceh@gmail.com