Linux Network Commands Aptitude Questions and Answers

Linux Network Commands Aptitude Questions and Answers: This section contains aptitude questions and answers on Linux Network Commands.
Submitted by Nidhi, on May 20, 2020

This section contains Aptitude Questions and Answers on Linux Network Commands.

1) Which of the following information can be viewed using "ifconfig" command in the Linux operating system?
  1. IP address
  2. Mac address
  3. MTU
  4. All of the above

Options:

  1. A
  2. A and B
  3. A and C
  4. D

2) What is the full form of MTU?
  1. Maximum Transmission Unit
  2. Minimum Transmission Unit
  3. Multiple Transmission Unit
  4. Minimum Transactional Unit

3) What is the default size of MTU in the Linux operating system?
  1. cat
  2. file
  3. help
  4. man

Options:

  1. 1000
  2. 1500
  3. 2000
  4. 2600

4) Which exact command is used to change the size of MTU?
  1. ifconfig <interface> mtu <size>
  2. ifconfig mtu <size> <interface>
  3. ifconfig mtu <size>
  4. ifconfig <interface> -m <size>

5) Which exact command is used to down interface eth0 in the Linux operating system?
  1. ifconfig down eth0
  2. ifdown eth0
  3. down eth0
  4. ifconfig -d eth0

6) Which exact command is used to set subnet mask in the Linux operating system?
  1. ifconfig <ip address> subnet <subnet mask> <interface>
  2. ifconfig <interface> <ip address> subnet <subnet mask>
  3. ifconfig <interface> <ip address> netmask <subnet mask>
  4. ifconfig <ip address> netmask <subnet mask> <interface>

7) Which exact command is used to show information about specified interface?
  1. ip show <interface>
  2. ip a show <interface>
  3. ip b show <interface>
  4. ip <interface> show

8) There are the following statements that are given below which of them are correct about "traceroute" in the Linux operating system?
  1. It is a network troubleshooting command which is used to trace the number of hops is required for packets to reach the destination.
  2. This command requires root privileges.
  3. By default, it is not installed in the Linux system
  4. All of the above

Options:

  1. A and B
  2. B and C
  3. A and C
  4. D

9) There are the following statements that are given below which of them are correct about the "tracepath" command in the Linux operating system?
  1. It is also used for network troubleshooting.
  2. This command requires root privileges.
  3. By default, it is installed in the Linux system
  4. All of the above

Options:

  1. A and B
  2. B and C
  3. A and C
  4. D

10) Can we use the ping command with domain name instead of IP address?
  1. Yes
  2. No

11) Which of the following information can be displayed using the "netstat" command?
  1. Information about programs related to open socket.
  2. Information about routing tables.
  3. Statistics about all ports
  4. All of the above

Options:

  1. A and B
  2. B and C
  3. A and C
  4. D

12) Which exact command is used to get information about routing tables?
  1. netstat -p
  2. netstat -s
  3. netstat -r
  4. None of the above

13) Which command is used to querying DNS to get mapping information about the domain name and IP address?
  1. netstate
  2. nslookup
  3. netinfo
  4. domainlookup

14) nslookup stands for?
  1. Network System lookup
  2. Network Server lookup
  3. Name Server lookup
  4. Next Server lookup

15) dig stands for?
  1. Domain Information Groper
  2. Domain Instruction Gist
  3. Double Instruction Groper
  4. Double Information Groper

16) There are the following statements that are given below which of them are correct about the "ss" command in the Linux operating system?
  1. The ss command is the replacement for the netstat command.
  2. It is faster than the netstat command.
  3. We can display all UDP and TCP socket connections using ss command.
  4. The ss can display all TCP socket connections only.

Options:

  1. A and B
  2. A and C
  3. A, B, and C
  4. A, B, and D

17) Which of the following command is used to display and manipulate routing tables in the Linux operating system?
  1. routepath
  2. routetable
  3. route
  4. alterroute

18) Which of the following is not the correct option used with route command?
  1. add
  2. delete
  3. -net
  4. -host

19) There are the following statements that are given below which of them are correct about the "host" command in the Linux operating system?
  1. This command is used to display domain name for specified IP address.
  2. This command is used to display an IP address for the specified domain name.
  3. Both of the above
  4. None of the above

20) Which of the following commands are used to download files from a specified URL?
  1. curl
  2. wget
  3. filedownload
  4. All of the above

Options:

  1. A and B
  2. A and C
  3. B and C
  4. D

21) Which of the following Linux command is used to configure a wireless network interface in the Linux operating system?
  1. wirelessconfig
  2. wconfiguration
  3. iwconfig
  4. wwconig

22) How can we view and add content in the kernel ARP table?
  1. arpmod
  2. arpalter
  3. arptable
  4. arp

23) Which of the following statements are correct about whois command?
  1. We can get name servers of a website using whois command.
  2. The whois command is used to get domain name and registry information for a website.
  3. Both of the above
  4. None of the above

24) Is it true that mtr command works like a combination of ping and traceroute command?
  1. Yes
  2. No

25) Which command is used to check network cable is plugged or not?
  1. ifplugstatus
  2. ifcableplug
  3. ifcablestatus
  4. isplugstatus





Comments and Discussions!

Load comments ↻





Copyright © 2024 www.includehelp.com. All rights reserved.