MCQOPTIONS
Saved Bookmarks
This section includes 139 Mcqs, each offering curated multiple-choice questions to sharpen your Computer Science knowledge and support exam preparation. Choose a topic below to get started.
| 51. |
What command is used to remove a file? |
| A. | del |
| B. | mv |
| C. | rm |
| D. | remove |
| Answer» D. remove | |
| 52. |
Which of the following command lists the last 10 lines of a file? |
| A. | grep |
| B. | tail |
| C. | head |
| D. | cat |
| Answer» C. head | |
| 53. |
Which of the following is not a part of default Red Hat Linux email system? |
| A. | Pine |
| B. | The MTA |
| C. | The MUA |
| D. | procmail |
| Answer» B. The MTA | |
| 54. |
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 |
| Answer» C. group | |
| 55. |
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 |
| Answer» B. is a simple directory service whose main purpose is to allow remote authentication of systems on local network systems | |
| 56. |
What command is used to display a file contents in octal form? |
| A. | oct |
| B. | of |
| C. | od |
| D. | cd |
| Answer» D. cd | |
| 57. |
In what file can you specify which users are not allowed to access a system via FTP? |
| A. | /etc/ftpusers |
| B. | /etc/hosts.deny |
| C. | /etc/ftpaccess |
| D. | All of the above |
| Answer» B. /etc/hosts.deny | |
| 58. |
What package group will you select during the custom configuration to enable the machine to communicate with Windows clients? |
| A. | SMB (Samba) Connectivity |
| B. | IPX/NetWare Connectivity |
| C. | Dial-up Workstation |
| D. | All of the above |
| Answer» B. IPX/NetWare Connectivity | |
| 59. |
LILO |
| A. | stands for Linux loader |
| B. | is the Linux boot loader |
| C. | is a tool used to boot the Kernel on x86 hardware |
| D. | All of the above |
| Answer» E. | |
| 60. |
What command is used to display the top of the file? |
| A. | grep |
| B. | more |
| C. | head |
| D. | cat |
| Answer» D. cat | |
| 61. |
What command is used to terminate a process? |
| A. | kill |
| B. | cancel |
| C. | haltsys |
| D. | shutdown |
| Answer» B. cancel | |
| 62. |
Which of the following tool allows you to change your default X Window desktop? |
| A. | switchdesk |
| B. | intrc |
| C. | xinitre |
| D. | Xchange |
| Answer» B. intrc | |
| 63. |
What TCP/IP protocol is used for transferring electronic mail messages from one machine to another? |
| A. | FTP |
| B. | SNMP |
| C. | SMTP |
| D. | RPC |
| Answer» D. RPC | |
| 64. |
What command is used to assign executable permission to all of the files named "report"? |
| A. | chmod ugo + x report |
| B. | chmod u + x report |
| C. | chmod ugo + rw report |
| D. | chmod ugo + r report |
| Answer» B. chmod u + x report | |
| 65. |
Who founded the FSF? |
| A. | Linus Torvalds |
| B. | Richard Stallman |
| C. | Bob Young |
| D. | All of the above |
| Answer» C. Bob Young | |
| 66. |
The location for subdirectories for local programs and executables for user and administrative commands, is: |
| A. | /usr |
| B. | /tmp |
| C. | /opt |
| D. | /mnt |
| Answer» B. /tmp | |
| 67. |
What command is used with vi editor to replace text from cursor to right |
| A. | S |
| B. | s |
| C. | R |
| D. | r |
| Answer» D. r | |
| 68. |
What layer of OSI determines the interface of the system with the user? |
| A. | Session |
| B. | Data-link |
| C. | Application |
| D. | Network |
| Answer» D. Network | |
| 69. |
What command do you use to create Linux file systems? |
| A. | fdisk |
| B. | mkfs |
| C. | fsck |
| D. | mount |
| Answer» C. fsck | |
| 70. |
In which tcp_wrappers file can you specify to allow all connections from all hosts? |
| A. | /etc/hosts.allow |
| B. | /etc/hosts.deny |
| C. | /etc/hosts |
| D. | /etc/tcp.conf |
| Answer» B. /etc/hosts.deny | |
| 71. |
What can he used to set up a firewall on a Linux system? |
| A. | netstat |
| B. | route |
| C. | trace |
| D. | ipchains |
| Answer» E. | |
| 72. |
What port does squid listen, by default? |
| A. | 4322 |
| B. | 2314 |
| C. | 7334 |
| D. | 3128 |
| Answer» E. | |
| 73. |
Where can system and mail logs be found in Ret Hat Linux? |
| A. | /var/log |
| B. | /etc/log |
| C. | |
| D. | All of the above |
| Answer» B. /etc/log | |
| 74. |
What command is used with vi editor to move back to the beginning of a word? |
| A. | w |
| B. | e |
| C. | a |
| D. | b |
| Answer» E. | |
| 75. |
In which directory can you store system user default files used for creating user directories? |
| A. | /usr/tmp |
| B. | /etc/default |
| C. | /etc/skel |
| D. | /etc/users |
| Answer» D. /etc/users | |
| 76. |
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 |
| Answer» E. | |
| 77. |
Which of the following command is used to access an SMB share on a Linux system? |
| A. | NFS |
| B. | SMD |
| C. | smbclient |
| D. | smbserver |
| Answer» D. smbserver | |
| 78. |
In OSI network architecture, the routing is performed by |
| A. | session layer |
| B. | transport layer |
| C. | data link layer |
| D. | network layer |
| Answer» E. | |
| 79. |
What TCP/IP protocol is used for remote terminal connection service? |
| A. | UDP |
| B. | RARP |
| C. | FTP |
| D. | TELNET |
| Answer» E. | |
| 80. |
What command is not used to list the files chap01, chap02 and chap04? |
| A. | ls chap* |
| B. | ls chap[124] |
| C. | ls - x chap0[124] |
| D. | ls chap0[124] |
| Answer» C. ls - x chap0[124] | |
| 81. |
Which of the following command is used to see the services running in NFS server? |
| A. | rpcinfo |
| B. | serverinfo |
| C. | NFSinfo |
| D. | infserv |
| Answer» B. serverinfo | |
| 82. |
Which command can force all buffers to disk? |
| A. | save |
| B. | sync |
| C. | edbuff |
| D. | flush |
| Answer» C. edbuff | |
| 83. |
Which of the following is a valid format for mounting a CD-ROM drive? |
| A. | mount -t iso9660 /dev/cdrom / mnt/cdrom |
| B. | mount /dev/cdrom |
| C. | mount /mnt/cdrom |
| D. | All of the above |
| Answer» E. | |
| 84. |
What command is used to list contents of directories? |
| A. | tar |
| B. | dir |
| C. | lp |
| D. | ls |
| Answer» E. | |
| 85. |
What TCP/IP protocol is used for file transfer with minimal capability and minimal overhead? |
| A. | TELNET |
| B. | TFTP |
| C. | FTP |
| D. | RARP |
| Answer» C. FTP | |
| 86. |
Which class network is used for a collection of a small number of networks with a large number of nodes? |
| A. | Class A |
| B. | Class B |
| C. | Class C |
| D. | All of the above |
| Answer» B. Class B | |
| 87. |
Which of the following server is used with the BIND package? |
| A. | httpd |
| B. | shttp |
| C. | dns |
| D. | named |
| Answer» E. | |
| 88. |
What is the full form of OSS in Linux? |
| A. | Open System Software |
| B. | Original Source Software |
| C. | Open Source Software |
| D. | Original System Server |
| Answer» D. Original System Server | |
| 89. |
Which of the following is not a communication command? |
| A. | grep |
| B. | |
| C. | mesg |
| D. | write |
| Answer» B. mail | |
| 90. |
What is the full form of GNU in Linux? |
| A. | GNU's not Unix |
| B. | Greek Needed Unix |
| C. | General Unix |
| D. | General Noble Unix |
| Answer» B. Greek Needed Unix | |
| 91. |
What command do you use to delete a file? |
| A. | rename |
| B. | delete |
| C. | rm |
| D. | cp |
| Answer» D. cp | |
| 92. |
Which of the following command is used to create a Linux installation boot floppy? |
| A. | mkboot disk |
| B. | bootfp disk |
| C. | ww and rawwrite |
| D. | dd and rawrite |
| Answer» E. | |
| 93. |
What command is used to remove jobs from the print queue? |
| A. | lpq |
| B. | lpr |
| C. | lprm |
| D. | lpc |
| Answer» D. lpc | |
| 94. |
The IP address are based on |
| A. | 16-bit addresses |
| B. | 32-bit addresses |
| C. | 64-bit addresses |
| D. | 8-bit addresses |
| Answer» C. 64-bit addresses | |
| 95. |
What command can be used to get information about yourself? |
| A. | which |
| B. | pwd |
| C. | i /4 |
| D. | who am i |
| Answer» E. | |
| 96. |
What command is used to count just the number of lines contained in a file? |
| A. | wc - r |
| B. | wc - w |
| C. | wc - c |
| D. | wc - l |
| Answer» E. | |
| 97. |
Which of the following NIS clients, finds and stores information about an NIS domain and server? |
| A. | ypwhich |
| B. | ypbind |
| C. | ypcat |
| D. | yppoll |
| Answer» C. ypcat | |
| 98. |
Who founded the Linux Kernel? |
| A. | Bill Gates |
| B. | Ben Thomas |
| C. | Richard Stallman |
| D. | Linus Torvalds |
| Answer» E. | |
| 99. |
What file specifies the order in which to use specified name services? |
| A. | /etc/services |
| B. | /etc/nsorder |
| C. | /etc/nsswitch.conf |
| D. | /etc/hosts |
| Answer» D. /etc/hosts | |
| 100. |
What X-based tool is available for configuring the X Window system? |
| A. | XConfigurator |
| B. | XF86Setup |
| C. | xf86config |
| D. | All of the above |
| Answer» C. xf86config | |