Linux MCQ-09: Basic Networking

The assessment test is an excellent way to test yourself before starting to study. It gives you an idea of where you should start and why.

Table of Contents

In an assessment test, test your current skills from beginning to advance lever for any subject or topic to check “what do you know and from where you should start learning?”

Here I have put some basic questions for Linux assessment, so you can test your Linux skill and choose right path for Linux Learning.

Questions

1.    Which types of network hardware does Linux support? [Select all that apply.]

  1. Token Ring
  2. Ethernet
  3. DHCP
  4. Fiber Channel

2.    What tool might you use to simplify PPP configuration, letting the tool figure out how to enter your authentication information?

  1. netstat
  2. ppp-off
  3. wvdial
  4. pppd

3.    Which of the following is a valid IP address for a computer on a TCP/IP network?

  1. 202.9.257.33
  2. 63.63.63.63
  3. 107.29.5.3.2
  4. 98.7.104.0/24

4.    Which of the following are potential benefits of running a server via a super server? [Select all that apply.]

  1. Reduced memory load when running many small servers
  2. Improved server response speed
  3. Increased security from the super server’s options
  4. Better capacity to retain data between connections to the server

5.    You want to set up a computer on a local network via a static TCP/IP configuration, but you lack a gateway address. Which of the following is true?

  1. Because the gateway address is necessary, no TCP/IP networking functions will work.
  2. TCP/IP networking will function, but you’ll be unable to convert hostname to IP addresses or vice versa.
  3. You’ll be able to communicate with machines on your local network segment but not with other systems.
  4. The computer won’t be able to tell which other computers are local and which are remote.

6.    You have just finished editing and changing the inetd.conf file. Which of the following commands will cause some Linux distributions to read the changed file?

  1. /etc/inetd restart
  2. /etc/bin/inetd restart
  3. /etc/sbin/inetd restart
  4. /etc/rc.d/init.d/inetd restart

7.   Which of the following is not a Linux DHCP client?

  1. pump
  2. dhcpcd
  3. dhcpd
  4. dhclient

8.    You’ve installed a new server that includes its own xinetd configuration file in /etc/xinetd.d. This new server is not responding, even after you restart your distribution’s standard xinetd. Which of the following is one of the first things you should check when debugging this problem?

  1. Type inetd verify to review the super server configuration to be sure that the new server is properly configured.
  2. Look for a line for the server in /etc/inetd.conf. If it’s present but begins with a hash mark (#), remove the hash mark.
  3. Use nslookup to verify that xinetd is listing on the port of the new sever. If it’s not, type xinetd listen to fix the problem.
  4. Look for a disable = yes line in the configuration file /etc/xinetd.d. If you find it, change it to read disable = no.

9.    Which of the following types of information is returned by typing ifconfig eth0? [Select all that apply.]

  1. The name of programs that are using eth0
  2. The IP address assigned to eth0
  3. The hardware address of eth0
  4. The hostname associated with eth0

10.    You need to add a printer definition to a stand-alone workstation running LPRng. Which file should you edit to add the printer?

  1. /etc/cups/printers.conf
  2. /etc/printcap
  3. /etc/cups/cupsd.conf
  4. /etc/rc.d/init.d/lpd

11.    Which of the following program can be used to perform a DNS lookup?

  1. host
  2. dnslookup
  3. pump
  4. ifconfig

12.    Which of the following describes the function of a smart filter?

  1. It detects the type of a file and presses it through programs to make it printable on a given model of printer.
  2. It detects information in print jobs that might be confidential as a measure against industrial espionage.
  3. It sends e-mail to the person who submitted the print job, obviating the need to wait around the printer for a printout.
  4. It detects and deletes prank print job that are likely to have been created by miscreants trying to waste your paper and ink.

13.    Which of the following entries are found in the /etc/hosts file?

  1. A list of hosts allowed to remotely access this one
  2. Mappings of IP addresses to hostname
  3. A list of users allowed to remotely access this host
  4. Passwords for remote web administration

14.    What information about print jobs does the lpq command display? [Select all that apply.]

  1. The name of the application that submitted the job
  2. A numerical job ID that can be used to manipulate the job
  3. The amount of ink or toner left in the printer
  4. The username of the person who submitted the job

15.    Which of the following commands should you use to add to host 192.168.0.10 a default gateway to 192.168.0.1?

  1. route add default gw 192.168.0.10 192.168.0.1
  2. route add default gw 192.168.0.1
  3. route add 192.168.0.10 default 192.168.0.1
  4. route 192.168.0.10 gw 192.168.0.1

16.    You’ve submitted several print jobs, but you’ve just realized that you mistakenly submitted a huge document that you didn’t want to print. Assuming you can identify which job this was, that it’s not yet printing, and that its job ID number is 749, what command would you type to delete it from the okidata print queue?

  1. The answer depends on whether you’re using BSD LPD, LPRng, or CUPs.
  2. lpdel –Pokidata 749
  3. lprm –Pokidata 749
  4. None of the above; the task is impossible.

17.    Which of the following pieces of information are usually require to initiate a PPP connection over an analog telephone line? [Select all that apply.]

  1. The ISP’s telephone number
  2. The client IP address
  3. An account name (username)
  4. A password

18.    Which of the following is generally true of Linux programs that print?

  1. They send data directly to the printer port.
  2. They produce PostScript output for printing.
  3. They include extensive collections of printer drivers.
  4. They can print only with the help of add-on commercial programs.

19.    What is the purpose of PAP and CHAP?

  1. They’re tools to manage multiple servers, thus reducing the memory load of running many server programs.
  2. They’re methods of converting IP addresses to hostnames, or vice versa, for applications.
  3. They’re protocols for exchanging username and password data in a standardized way in a PPP connection.
  4. They’re competing systems for managing printers on a Linux system, with PAP being the more common one today.

20.    What tool might you use to print a four-page PostScript file on a single sheet of paper?

  1. PAM
  2. mpage
  3. 4Front
  4. route

Answers

1.   a, b, d

2.   c

3.   b, c

4.   b

5.   a, c, d

6.   c

7.   d

8.   b

9.   b, d

10.   b

11.   b

12.   c

13.   a

14.   b

15.   c

16.   a, c

17.   d

18.   a

19.   c

20.   b

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Related Articles