Ty Linux MCQ
Ty Linux MCQ
Ty Linux MCQ
1
Smt Chandibai Himathmal Mansukhani College 2019-20
2
Smt Chandibai Himathmal Mansukhani College 2019-20
B. passwd ANSWER: B
C. passd
D. pwd Booting and Shutting Down
ANSWER: B 27. What does GRUB stand for?
A. Grand Unified
22. Which of the following files need Bootloader
to be referred for user‟s B. Grand Unification
secondary group? Bootloader
A. /etc/passwd C. Great Unique Bootloader
B. /etc/shadow D. Gum Removal Under
C. /etc/group Boot
D. /etc/profile ANSWER: A
ANSWER: C
28. Which one of the following
23. Files located in which file are bootloader is not used by linux?
copied to users‟ home A. GRUB
directories? B. LILO
A. /etc/group C. NTLDR
B. /etc/passwd D. None of the mentioned
C. /etc/skel ANSWER: C
D. /etc/user
ANSWER: C 29. Where are system startup scripts
stored on a Red Hat–based
24. Which option with the useradd system?
command specifies that the home A. /etc
directory should be created if it B. /etc/rc.d/rc3.d
doesn‟t already exist? C. /etc/init.d
A. -h D. /etc/rc.d/init.d
B. -m ANSWER: D
C. -c
D. -d 30. Which runlevel allows full
ANSWER: B multiuser mode but with no
graphical login manager?
25. Which option is used with A. Runlevel 1
userdel to remove a user‟s home B. Runlevel 2
directory as the account is C. Runlevel 3
removed? D. Runlevel 0
A. –d ANSWER: C
B. –h
C. –r 31. Single User Mode equivalent to
D. -e _____.
ANSWER: C A. run level 4
B. run level 1
26. Which option with usermod is C. run level 3
used to change a user‟s default D. run level 2
shell? E. run level 0
A. -d ANSWER: B
B. -s
C. -b 32. The behavior of the system for
D. -q each “runlevel” is available in the
3
Smt Chandibai Himathmal Mansukhani College 2019-20
34. Which file determines what will 39. What program is launched by the
be run at each runlevel? kernel at system start up first?
A. /etc/init/runlevels A. /sbin/start
B. /etc/levels/fstab B. /boot
C. /etc/fstab C. /sbin/initial
D. /etc/inittab D. /sbin/init
ANSWER: D ANSWER: D
4
Smt Chandibai Himathmal Mansukhani College 2019-20
5
Smt Chandibai Himathmal Mansukhani College 2019-20
52. Which file system has journaling 58. Which directory contains all the
capability? files needed to boot the Linux
A. ext2 system?
B. ext4 A. /dev
C. Isofs B. /boot
D. Procfs C. /bin
ANSWER: B D. /etc
ANSWER: B
53. An “Inode” represents
A. Buffer 59. „mkfs‟ is used to:
B. Data A. create a filesystem on a
C. Files & Directories device (such as a hard
D. None of the mentioned disk partition) format a
ANSWER: C floppy disk
B. create a fast changing
54. Examples of Journaling section on a hard disk
filesystem C. create a named pipe
A. ext2 (fifo) on a device
B. ext3 D. All of these
C. UFS ANSWER: A
D. JFS
ANSWER: B 60. Which parameter allows syslog
to receive network messages?
55. To format a device as an ext3 A. -n
(journaled) Linux extended B. -r
filesystem, you use the C. -m
commands: D. -s
A. mkfs.ext3 ANSWER: B
B. all of these
C. mkfs.ext2 -j 61. The location of system logs can
D. None of the mentioned be specified in the file
ANSWER: B /var/log/syslog.conf file.
A. True
56. mount –a will load all B. False
filesystems listed in: ANSWER: B
A. /etc/mtab
B. /etc/filesystems 62. Core files are viewed using
C. /etc/fstab which of the following?
D. /etc/fs.conf A. Coreview
ANSWER: C B. Debug
C. Gbd
57. Which one of the following linux D. dumpview
file system does not support ANSWER: C
journaling feature?
6
Smt Chandibai Himathmal Mansukhani College 2019-20
7
Smt Chandibai Himathmal Mansukhani College 2019-20
C. IP
74. UDP and TCP are both ……… D. ARP
layer protocols. ANSWER: B
A. data link
B. network 76. Which of the following functions
C. transport does UDP perform?
D. Interface A. Process-to-process
ANSWER: C communication
B. Host-to-host
75. ……….. is a process-to-process communication
protocol that adds only port C. End-to-end reliable data
addresses, checksum error delivery
control, and length information to D. Interface-to-interface
the data from upper layer. communication.
A. TCP ANSWER: A
B. UDP