Explore topic-wise MCQs in Testing Subject.

This section includes 657 Mcqs, each offering curated multiple-choice questions to sharpen your Testing Subject knowledge and support exam preparation. Choose a topic below to get started.

1.

What command is used to display and create files?

A. lyrix
B. ed
C. vi
D. cat
E. None of the above
Answer» E. None of the above
2.

What command is used to remove a file?

A. del
B. mv
C. rm
D. remove
E. None of the above
Answer» D. remove
3.

What command can be used to get information about yourself?

A. which
B. pwd
C. i /4
D. who am i
E. None of the above
Answer» E. None of the above
4.

What layer protocol is responsible for user and the application programme support such as passwords, resource sharing, file transfer and network management?

A. Layer 4 protocols
B. Layer 5 protocols
C. Layer 6 protocols
D. Layer 7 protocols
E. None of the above
Answer» E. None of the above
5.

What command is used to display the top of the file?

A. grep
B. more
C. head
D. cat
E. None of the above
Answer» D. cat
6.

What does OSS stand for?

A. Open System Software
B. Original Source Software
C. Open Source Software
D. Original System Server
E. None of the above
Answer» D. Original System Server
7.

Which of the following subdirectory(ies) contains the device files?

A. /dev
B. /bin
C. /etc
D. /home
E. None of the above
Answer» B. /bin
8.

Which of the following subdirectory(ies) contains the system boot scripts.

A. /dev
B. /bin
C. /etc
D. /home
E. None of the above
Answer» D. /home
9.

What of the following tool is used to check and repair Linux file systems?

A. mkfs
B. fdisk
C. fsck
D. mount
E. None of the above
Answer» D. mount
10.

Which of the following tool is used to partition your hard drive?

A. mkfs
B. fdisk
C. fsck
D. mount
E. None of the above
Answer» C. fsck
11.

NIS

A. is Network Information Service
B. is a simple directory service whose main purpose is to allow remote authentication of systems on local network systems
C. was formerly known as yellow pages
D. allows configuration-such as password and group files
E. None of the above
Answer» B. is a simple directory service whose main purpose is to allow remote authentication of systems on local network systems
12.

In order to increase the amount of memory available for a system, what is the maximum size of a swap partition (with kernel version 2.2.x)?

A. 2GB
B. 128MB
C. 64MB
D. 32MB
E. None of the above
Answer» B. 128MB
13.

Which file is used to configure which filesystems are mounted?

A. /etc/mount.sys
B. /etc/filesys
C. /etc/sysconfig
D. /etc/fstab
E. None of the above
Answer» E. None of the above
14.

Who has developed the Linux?

A. Bob Young
B. Mark Eving
C. Richard Stallman
D. Linus Torvalds
E. None of the above
Answer» E. None of the above
15.

Which of the following is not a filter command?

A. sort
B. wc
C. grep
D. cat
E. None of the above
Answer» E. None of the above
16.

What command is used to display a file contents in octal form?

A. oct
B. of
C. od
D. cd
E. None of the above
Answer» D. cd
17.

How many extended partitions can exist on one drive?

A. 16
B. 4
C. 2
D. 1
E. None of the above
Answer» E. None of the above
18.

The location of some system configuration and system administrator executable files, is:

A. /home
B. /proc
C. /var
D. /sbin
E. None of the above
Answer» E. None of the above
19.

What command is used to change the working directory?

A. cdir
B. chdir
C. changedir
D. cd
E. None of the above
Answer» E. None of the above
20.

Which command can force all buffers to disk?

A. save
B. sync
C. edbuff
D. flush
E. None of the above
Answer» C. edbuff
21.

Which of the following NIS clients returns the name of the NIS server used by the NIS client?

A. ypwhich
B. ypbind
C. ypcat
D. yppoll
E. None of the above
Answer» B. ypbind
22.

Who founded the Linux Kernel?

A. Bill Gates
B. Ben Thomas
C. Richard Stallman
D. Linus Torvalds
E. None of the above
Answer» E. None of the above
23.

What type of addressing format is used by Class A network.

A. Net.Net.Net.Node
B. Net.Net.Node.Node
C. Net.Node.Net.Node
D. Net.Node.Node.Node
E. None of the above
Answer» E. None of the above
24.

What command is used with file named 'letter' to remove the executable permission from the user and assign read permission to the group and others?

A. chmod go + x, u - x letter
B. chmod g - x, uo + r letter
C. chmod go + r, u + x letter
D. chmod u - x, go + r letter
E. None of the above
Answer» E. None of the above
25.

What command do you use to add routes to a Linux router?

A. addroute
B. route
C. netstat
D. net
E. None of the above
Answer» C. netstat
26.

What command is used to assign executable permission to the owner of the file named "letter"?

A. chmod ugo + x letter
B. chmod u + x letter
C. chmod u + w letter
D. chmod g + x letter
E. None of the above
Answer» C. chmod u + w letter
27.

What command is used to summarize the disk usage?

A. disk
B. du
C. fdisk
D. chkdsk
E. None of the above
Answer» C. fdisk
28.

What command is used to list the jobs currently in print queues?

A. lpq
B. lpr
C. lprm
D. lpc
E. None of the above
Answer» B. lpr
29.

What command do you use to delete a file?

A. rename
B. delete
C. rm
D. cp
E. None of the above
Answer» D. cp
30.

Which of the following command lists the last 10 lines of a file?

A. grep
B. tail
C. head
D. cat
E. None of the above
Answer» C. head
31.

Which of the following format of partition tables does Linux use?

A. Linux
B. BSD
C. UnixWare
D. DOS
E. None of the above
Answer» E. None of the above
32.

What command is used to copy a file?

A. tar
B. cpio
C. cp
D. copy
E. None of the above
Answer» D. copy
33.

What command is used to display your current working directory?

A. path
B. pwd
C. prompt $p$g
D. dir
E. None of the above
Answer» C. prompt $p$g
34.

Which of the following command is used to mount NFS filesystems?

A. nfsmount
B. knfsd
C. mount
D. All of the above
E. None of the above
Answer» D. All of the above
35.

What command is used with vi editor to delete three words?

A. 3$d
B. 3 dw
C. 3 x
D. 3 dd
E. None of the above
Answer» C. 3 x
36.

What command is used to assign only read permission to all three categories of the file'letter'?

A. chmod u + r, g + r, o - x letter
B. chmod ugo = r letter
C. chmod a - rw letter
D. chmod go + r letter
E. None of the above
Answer» C. chmod a - rw letter
37.

What can he used to set up a firewall on a Linux system?

A. netstat
B. route
C. trace
D. ipchains
E. None of the above
Answer» E. None of the above
38.

Which program is used to automatically install Red Mat Linux on identical hardware?

A. bzimage.img
B. tar
C. ghost
D. mkkickstart
E. None of the above
Answer» E. None of the above
39.

What service is not monitored by inetd ?

A. SSH
B. time
C. ntalk
D. finger
E. None of the above
Answer» B. time
40.

Who founded the FSF?

A. Linus Torvalds
B. Richard Stallman
C. Bob Young
D. All of the above
E. None of the above
Answer» C. Bob Young
41.

What TCP/IP protocol is used for file transfer with minimal capability and minimal overhead?

A. TELNET
B. TFTP
C. FTP
D. RARP
E. None of the above
Answer» C. FTP
42.

What TCP/IP protocol is used for transferring electronic mail messages from one machine to another?

A. FTP
B. SNMP
C. SMTP
D. RPC
E. None of the above
Answer» D. RPC
43.

What command is used to halt a Linux system?

A. init 0
B. Shutdown -t
C. Shutdown -g -y0
D. Ctrl+Alt+Del
E. None of the above
Answer» B. Shutdown -t
44.

Which daemon is used for the Apache server?

A. apached
B. httpd
C. html
D. shttp
E. None of the above
Answer» C. html
45.

GNOME is based on

A. CORBA toolkit
B. COM/DCOM toolkit
C. ORE toolkit
D. OLE DB toolkit
E. None of the above
Answer» B. COM/DCOM toolkit
46.

What command is used to terminate a process?

A. kill
B. cancel
C. haltsys
D. shutdown
E. None of the above
Answer» B. cancel
47.

To create an installation boot floppy disk from Linux (or another Unix) machine, what command could you use?

A. fdisk
B. fsck
C. dd
D. rawrite
E. None of the above
Answer» D. rawrite
48.

You just added a new user, kara, to the system. What group is kara added to by default?

A. root
B. kara
C. group
D. user
E. None of the above
Answer» C. group
49.

What are the appropriate Hex codes for setting Linux swap and Linux native partition types in fdisk?

A. 82 and 83
B. 92 and 93
C. 63 and 64
D. 82 and 85
E. None of the above
Answer» B. 92 and 93
50.

What types of installations require a special boot disk?

A. NFS
B. FTP
C. PCMCIA
D. All of the above
E. None of the above
Answer» E. None of the above