1 How many times more swap space than ram should a Red Hat Linux system generally have?
A 1-2
B 2-3
C 3-4
D 4-8
Ans B
2 What is the maximum amount of swap space a Red Hat Linux system can use?
A 1 GB
B 2 GB
C 4 GB
D 8 GB
Ans C
3 Which program is generally used to manage the booting of Linux
A Fips
B The NT Loader
C Grub
D Loadlin
Ans C
4 Which command is used to enable shadow password
A pwconv
B pwenable
C pwshadow
D pwunconv
Ans A
5 Which of the following server types can host a network installation (choose all that apply)
A ftp
B http
C nfs
D smb (samba)
Answer A B C
6 Which of the following directories contains the files copied into the home directory of a newly created user
A /etc/bash
B /etc/profile
C /etc/skel
D /etc/template
Ans c
7 Which group is automatically created by Redhat linux when a new user is created
A personal group
B private group
C user group
D user private group
Ans D
8 Which of the following command uninstalls a package
A rpm –i package
B rpm –f package
C rpm –e package
D rpm –u package
Ans C
9 Which of the following files specifies what process are active at various runlevels
A /etc/init
B /etc/inittab
C /etc/initprocess
D /etc/process
Ans B
10 Which file represent user quota file of a partition which is mounted on /space
A /quota.user
B /user.quota
C /space/quota.user
D /space/user.quota
Ans A
11 Which of the following commands can be issued by the user to list the content of the user’s crontab
A crontab –d
B crontab –l
C crontab –p
D crontab –v
Ans B
12 Which of the following is the file that identifies NFS shares
A /etc/exports
B /etc/nfs.conf
C /etc/nfs/nfs.conf
D /etc/shares
Ans A
13. Which of the following runlevels corresponds to multiuser operation without networking
A 1
B 2
C 3
D 4
Ans B
14 Quotas are supported on which of the following file system types?
A dos
B ext2
C iso9660
D vfat
Ans B
15 Which of the following commands will halt the system?
A init 0
B halt
C shutdown –h now
D telnet 0
Ans A B C
16 To specify that member of the owning group can read the file data, which command do you enter?
A chmod 727 data
B chmod 717 data
C chmod g+r data
D chmod uo+r data
Ans C
17 Which Unix command renames a file
A cp
B mv
C rename
D rn
Ans B
18 What operation can be performed on a file that has permissions rwxr-----?
A Can be read by any user
B Can be read by its owner
C Can be read by its owner and members of its owning group
D Cannot be read
Ans C
19 Which command is used to restore files from a compressed backup?
A tar cvf
B tar xvf
C tar zcvf
D tar zxvf
Ans D
20 Which command is used to create a linux file system ?
A fdisk
B mke2fs
C mkswap
D mount
Ans B
21 To redirect the output of command x as the input of command y which command do you use?
A x < y
B x > y
C x >> y
D x | y
22 Which of the following are essential system directories?
A /bin
B /etc
C /usr/bin
D /var/log
Ans A B
23 What is the default directory that contains the linux kernel?
A /
B /boot
C /dev
D /sbin
Ans B
24 Which file contains the system startup information?
A /etc/inetd.conf
B /etc/inittab
C /usr/etc/inted.conf
D /usr/etc/inittab
Ans B
25 What script invokes the runlevel scripts?
A /etc/rc.d/rc
B /etc/rc.d/rc.local
C /etc/rc.d/rc.serial
D /etc/rc.d/rc.sysinit
Ans A
26 To see the runlevels associated wit the service grub, which command must be issued?
A chkconfig
B chkconfig grub
C chkconfig –grub
D chkconfig –list
Ans D
27 To list the existing partitions of the local harddrives which of the following should be issued?
A fdisk –l
B fdisk –p
C fdisk –lp
D fdisk –r
Ans A
28 What is /bin directory
A files used by administrator and other users.
B Binary files used by administrator and other users
C Text files used by administrator
Ans B
29 What is the use of chroot command
A change in the user file permission
B change in the group permission
C change the / directory
D none
Ans C
30 Which are the block device
A /dev/hda
B /dev/sda
C /dev/fd0
D /dec/st0
Ans A B C
31 Which are the virtual consoles
A /dev/tty
B /dev/TTY
C /dev/vc
D /dev/VC
Ans A
32 Which are the first stage installer method
A boot.iso
B diskboot.img
C graphical
D text
Ans A B
33 Different mount points of the file systems are
A /boot
B /home
C /usr
D /etc
Ans A B C
34 Which software raid is mirroring
A Raid 0
B Raid 1
C Raid 2
D Raid 5
Ans B
35 Which file where firewall rules are written
A /etc/network/sysconfig/iptables
B /etc/sysconfig/network/iptables
C /etc/sysconfig/iptables
D /etc/iptables
Ans C
36 Which file defines the runlevel of the system
A /etc/network
B /etc/fstab
C /etc/inittab
D None
Ans C
37 Which directory is a virtual filesystem containing information about the running kernel
A /etc/proc/vfs
B /proc
C /etc/sysconfig/proc
D None
Ans B
38 Which file contains boot-time message immediately after boot time
A /etc/sysconfig/hwconfig
B /usr/share/hwdata
C /var/log/dmesg
D None
Ans C
39 Which command discover what filesystem are exported by a remote server for nfs
A smbclient
B showmount
C mount
Ans B
40 Which command is used to display file attributes
A lsattr
B chattr
C chmod
D ls
Ans A
1 Netware file system
2 Network file system
3 Network file service
4 None
Ans 2
42 Which are the linux boot Loader
1 Grub
2 LILO
3 DMR
4 Root
Ans 1 2
43 Which directory contain system configuration files
1 /etc
2 /mnt
3 /conf
4 /srv
Ans 1
44 Meaning of dev/sdb5 is:
1 Fifth primary partition on second SCSI hard disk.
2 First logical partition on second SCSI hard disk.
3 First logical partition on first SCSI hard disk.
4 The file contains partition information lying in Dev dir
Ans 2
45 Following are word processors in Linux
1 KWrite
2 KEdit
3 KPPP
4 Kapps
Ans
46 Following are valid directories in Linux.
1 c:\linux
2 d:/linux
3 /bin/linux
4 /home/linux
5 /root/linux
Ans 3 4 5
47 Following are the ways to create file in Linux.
1 cat filename
2 cat> filename
3 vi file name
4 md filename
Ans 2
48 Which of the following choice refers to the hard disk ?
1 /dev/hda1
2 /dev/sda1
3 /dev/fd0
4 /dev/cd0
5 None of Above
Ans 1 ,2
49 Which of the following command is used to restart the system ?
1 init 0
2 init 6
3 init 2
4 init 1
Ans 2
50 Which of the following are two types of link?
1 Hard link
2 Symbolic link
3 Lower link
4 Higher link.
5 complex link
Ans 1 & 2
51 Linux was developed by
1 Linux Benedict Trovalds
2 Microsoft
3 Bill Gates
4 Novell
Ans 1
52 /dev/dir contains file:
1 Related to users
2 Related to devices
3 Related to configuration
4 Related to temporary folder
Ans 2
53 TCP Wrappers utilizes which of the following files?
1 /etc/hosts.allow
2 /etc/hosts.deny
3 /etc/hosts
4 /etc/securetty
Ans 1 & 2
54 The device file for SCSI Hard disk are
1 /mnt/scsi
2 /dev/sda
3 /dev/mnt
4 /dev/sdb
Ans 2 4
55 The following installation directory is available in Redhat Enterprise Linux WS 4
Version
1 i386
2 redhati386
3 redhat
4 RedHat
Ans 4
56 The sequence for the crontab file format is
1 Minute Hour Day of Week Day of Month Month command
2 Hour Minute Day of Month Day of Week Month command
3 Minute Hour Day of Month Month Day of Week command
4 Day of Week Month Minute Day of Month Hour command
5 None of Above
57 chmod 600 biodata.doc
1 Read and Execute permissions set for the owner and group,no
2 Read only permission set for user and no permission for all
3 Full permission set for the user and no permission set for all
4 Read and write permission set for the owner; no permission set for
Ans 4
58 The scripts that launch the system services are located in
1 /etc/rc.d/scripts
2 /etc/inittab
3 /etc/rc.d/init.d
4 /etc/rclocal
Ans 2
59 The device file for the floppy drive is
1 /dev/FFD0
2 /dev/fd0
3 /dev/ffd0
4 /dev/FD0
Ans 2
60 Which command gives information about the command
1 help
2 cat
3 man
4 less
Ans 3
61 Which command display the status of RAID md1
1 #mdadm --detail /mnt/md1
2 #mdadm --details /mnt/md1
3 #mdadm --detail /dev/md1
4 #mdadm --manage /dev/md1
Ans 3
62 Which of the following text console are used in linux by default
1 CTL-ALT-F1
2 CTL-ALT-F7
3 CTL-ALT-F3
4 CTL-ALT-F5
Ans 1
63 To rename a file mv command is used
TRUE
64 cls command is used to clear the screen
True
65 history command s used to list recently used commands
True
66 Linux is Case insensitive Operating System
False
67 Linux is Case insensitive Operating System
A. TRUE
B. FALSE
Answer B
68 A file name in linux can be upto maximum 255 characters long
1 .TRUE
2.FALSE
Answer: 1
69 vi is a text editor
1.true
2.false
Answer :1
70. samba is used for:
A.sharing resources from a linux machine to a windows machine
B.Accessing resources from a windows machine, for example mounting an SMB share on
Linux machine
C.Perform password administration
D. configure NFS shares
Answer : B
71. The first ethernet card on a system is:
1.eth0
2.etho0
3.eth1
4.None of Above
Answer:1
72. Why is the swap space used for
1.used to increase RAM size of the system
2.used to increase the application performance
3.used as a Virtual Memory for the system
4.used to increase the internet speed
Answer: 3
73. Different shells available in Linux are
1. Tcsh
2. c shell
3. Ash
4. Bash
Answer
74. Different types of desktop environment available in Linux are
1. Gnome
2. Kde
3. Twm
4. Netscape
Answer
75. These commands will shut down the system.
1.init 0
2.Halt
3.init 6
4.Man
5.none of the above.
Answer :
76. Popular mail clients available on Linux are.
1.Pine
2.Mutt
3.ms outlook
4.ftp
Answer:
77. Following commands will start graphical interface.
1Stat
2.Startx
3.Startkde
4.none of the above
5.Xconf
Answer: 2
78. Following are the distributors of Linux.
1.Redhat
2.Microsoft
3.Caldera
4.Madrake
5.Novell
79. Following are the ways to create a file in Linux.
1.cat filename
2.cat> filename
3.vi filename
4.md filename
5.all of the above
80. ___________ is the utility which will search for any new plug & play device attached.
1.Pkzip
2.Rpms
3.Kudzu
4.Bash
81. passwd is the command used for__________
1.resetting a password
2.setting a password for a user account
3.changing the home directory of a user
4.deleting a directory.
Answer. 2
82. ___________ is the utility which will search for any new plug & play device attached.
A. Pkzip
B. Rpms
C. Kudzu
D. Bash
Answer. Kudzu
83. Passwd is the command used for__________
A. resetting a password
B. setting a password for a user account
C. changing the home directory of a user
D. deleting a directory.
Answer. 2
84 One can modify user accounts with the help of netconf command.
A. TRUE
B. FALSE
Answer 2
85. cal'is a command used to display calculator in linux.
A. TRUE
B. FALSE
Answer 2
86. __________ is the command which provides manual help in Linux.
A. Man
B. Cat
C. cat>
D. Mutt
Answer A
87 Swap space is typically double that of physical RAM
A. TRUE
B. FALSE
Answer A
88 The file related to Ethernet LAN Card is
A. /etc/sysconfig/network-scripts/ifcfg-eth0
B. /etc/sysconfig/network
C. /etc/sysconfig/eth0
D. /etc/hosts
Answer A
89. All times in the DHCP leases file are in which time zone?
A. GMT
B. The same time zone as the local system
C. EST
D. There are no times in the DHCP leases file
Answer
90. The device file for the Floppy Drive is
A. /dev/FDD0
B. /dev/FDD1
C. /dev/fd
D. /dev/fd0
Answer
91. To view utilize & free harddisk space command is df –h.
A True
B False
Answer A
92 Which command should you used to create a linux boot disk ?
A. Autoboot
B. Pcmcia
C. Rewrite
D. Rdisk
Answer C
93. ___________ is the equivalent of control panel in Windows os.
A. control center
B. user manager
C. Kernel
D. Shell
Answer A
94. cp is a command used to create a file.
A. TRUE
B. FALSE
Answer B
95. 'cal'is a command used to display calculator in linux.
A. TRUE
B. FALSE
Answer B
96. Linux was introduced by Linus Tarvalds.
A. TRUE
B. FALSE
Answer A
97. Disk Druid is used for partition in linux.
A. TRUE
B. FALSE
Answer A
98 One cannot install modem in Linux.
A. TRUE
B. FALSE
Answer B
99. ______ indicates the second primary or extended partition on the first IDE harddisk.
A. hda2
B. hdb1
C. sda1
D. hda5
Answer hda2
100. ___________ is a command used to configure firewall in Linux.
A. Ipconfig
B. Ifconfig
C. Ipchains
D. None of the above
Answer C
101 To install Linux in text mode one has to type ________ at the bootup screen.
A. Linux
B. Text
C. Graphical
D. none of the above.
Answer Text.
102. Home dir of user root is ___________.
A. /bin
B. /sbin
C. /root
D. /home
Answer C
103 What script invokes the runlevel scripts?
A /etc/rc.d/rc.local
B /etc/rc.d/rc
C /etc/rc.d/rc.serial
D /etc/rc.d/rc.sysinit
Ans B
104 To see the runlevels associated with the service grub, which command must be issued?
A chkconfig
B chkconfig grub
C chkconfig –grub
D chkconfig –list
Ans D
105 To list the existing partitions of the local harddrives which of the following should be issued?
A fdisk –l
B fdisk –p
C fdisk –lp
D fdisk –r
Ans A
106 What is /bin directory
A files used by administrator and other users.
B Binary files used by administrator and other users
C Text files used by administrator
Ans B
107 What is the use of chroot command
A change in the user file permission
B change in the group permission
C change the / directory
D none
Ans C
108 Block device are
A /dev/hda
B /dev/sda
C /dev/fd0
D /dec/st0
Ans A B C
109 Virtual consoles are
A /dev/tty
B /dev/TTY
C /dev/vc
D /dev/VC
Ans A
110 Which are the first stage installer method
A boot.iso
B diskboot.img
C graphical
D text
Ans A B
111 Different mount points of the file systems are
A /boot
B /home
C /usr
D /etc
Ans A B C
112 Which software raid is mirroring
A Raid 0
B Raid 1
C Raid 2
D Raid 5
Ans B
113 Which file where firewall rules are written
A /etc/network/sysconfig/iptables
B /etc/sysconfig/network/iptables
C /etc/sysconfig/iptables
D /etc/iptables
Ans C
114 Which file defines the runlevel of the system
A /etc/network
B /etc/fstab
C /etc/inittab
D None
Ans C
115 Which directory is a virtual filesystem containing information about the running kernel
A /etc/proc/vfs
B /proc
C /etc/sysconfig/proc
D None
Ans B
116 Which file contains boot-time message immediately after boot time
A /etc/sysconfig/hwconfig
B /usr/share/hwdata
C /var/log/dmesg
D None
Ans C
117. /dev/dir contains file related to devices
A True
B False
Answer A
118. Init 0 command is used to restart the system
A. True
B. False
Ans B
119. Startx commands will start graphical interface.
A True
B False
Answer A
120. /etc/shares is the file that identifies NFS shares
A True
B False
Answer B
121. /dev/had is a Block device
A True
B False
Answer A
122. Home dir of user root is /root.
A True
B False
Answer A
123. Quotas are supported on ext3 file system types
A True
B False
Answer A
124. /temp contains system configuration files
A True
B False
Answer B
125. NETCONFIG is a command used to configure firewall in Linux.
A True
B False
Answer B
0 Comments:
Post a Comment