Home
46.
You type arp - n at a command prompt. What type of output will you see?
  • A.
    A summary of network packet errors
  • B.
    Routing table information
  • C.
    The IP address(es) of your name server(s)
  • D.
    The mapping of IP addresses to MAC addresses
  • Answer & Explanation
  • Report
Answer : [D]
Explanation : The arp utility returns data from the Address Resolution Protocol (ARP) table, which holds mappings of IP addresses to hardware (MAC) addresses. The - n option displays IP addresses as such rather than converted into hostnames. Network packet error information, as stated in option A, can be obtained, along with other information, from ifconfig but not from arp . Routing table information, as stated in option B, is usually obtained from route or netstat - r . Your name server(s) IP address(es), as in option C, are most easily obtained by displaying the contents of /etc/resolv.conf .
Report
Name Email  
47.
Which of the following commands might bring up an interface on eth1 ? (Select all that apply.)
  • A.
    Type dhclient eth1 .
  • B.
    Type ifup eth1 .
  • C.
    Type ifconfig eth1
  • D.
    Type network eth1 .
  • Answer & Explanation
  • Report
Answer : [A, B]
Explanation :
The dhclient utility, if installed, attempts to configure and bring up the network(s) passed to it as options (or all networks if it's given no options) using a DHCP server for guidance. Thus, option A may work, although it won't work if no DHCP server is available. Option B applies whatever network options are configured using distribution - specific tools and brings up the network. Thus, options A and B both may work, although neither is guaranteed to work. Option C displays the network status of eth1 , but it won't activate eth1 if it's not already active. There is no standard network utility in Linux. Thus, options C and D won't work.
Report
Name Email  
48.
What is the purpose of the - n option to route ?
  • A.
    It causes no operation to be performed; route reports what it would do if - n were omitted.
  • B.
    It precedes specification of a netmask when setting the route.
  • C.
    It causes machines to be identified by IP address rather than hostname in output
  • D.
    It forces interpretation of a provided address as a network address rather than a host address.
  • Answer & Explanation
  • Report
Answer : [C]
Explanation :
The - n option is used when you want to use route to display the current routing table, and it does as option C specifies. There is no route parameter that behaves as option A specifies. Option B describes the purpose of the netmask parameter to route . Option D describes the purpose of the - net parameter to route .
Report
Name Email  
49.
Which of the following programs can monitor the network traffic coming into a computer, enabling you to analyze the packets'contents?
  • A.
    OpenVPN
  • B.
    arp
  • C.
    netstat
  • D.
    Wireshark
  • Answer & Explanation
  • Report
Answer : [D]
Explanation :
Option D, Wireshark, is a packet sniffer, which means that it behaves as the question specifies. It includes sophisticated packet matching and analysis tools to help in this task. OpenVPN is a tool for connecting two networks in a secure way even over an insecure network. The arp utility enables inspection and alteration of a computer's Address Resolution Protocol (ARP) cache, which ties hardware addresses to IP addresses. The netstat utility is a general - purpose network utility that can display or change a wide variety of network data.
Report
Name Email  
50.
What does the following command accomplish, when typed as root ?
# nmap -sU router.example.com
  • A.
    It adds a default route through router.example.com to the computer on which the command is typed.
  • B.
    It watches for UDP network traffic to or from router.example.com , displaying each matching packet.
  • C.
    It maps the Wi - ficharacteristics associated with the router.example.com wireless network.
  • D.
    It scans router.example.com for open (listening) UDP ports and reports the results of this scan.
  • Answer & Explanation
  • Report
Answer : [D]
Explanation :
The Nmap utility performs network port scans, and the - sU option specifies a scan of UDP ports, so option D is correct. A default route is most likely to be created by using the route utility or by editing configuration files; Nmap can't do this job, so option A is incorrect. The task described in option B is best done by a packet sniffer, such as tcpdump or Wireshark; Nmap can't do this. The discovery of Wi - ficharacteristics is done by the iwlist utility, not by Nmap, so option C is incorrect.
Report
Name Email