ExamCompass CompTIA Network+ Command Line Quiz
A Linux command-line utility for displaying intermediary points (routers) the IPv4 packet is passed through on its way to another network node is known as: nbtstat traceroute netstat tracert
traceroute
A network command-line utility in Linux that tracks and displays the route taken by IPv6 packets on their way to another network node is known as: (Select 2 answers) traceroute6 tracert6 traceroute -6 tracert -6
traceroute6 traceroute -6
A network command-line utility in MS Windows that tracks and displays the route taken by IPv4 packets on their way to another host is called: ping traceroute nslookup tracert
tracert
What is the name of a Linux command-line utility that can be used to display TCP/IP configuration settings? ifconfig ( Your answer) netstat nslookup ipconfig
ifconfig
What is the name of a Windows command-line utility that can be used to display TCP/IP configuration settings? ifconfig nslookup ipconfig netstat
ipconfig
Used without any parameters, ipconfig displays the IP address, subnet mask, and default gateway for all adapters. True False
True
Which of the following network administration command-line utilities can be used for DNS queries? tracert nslookup tracert pathping
nslookup
Which netstat parameter allows to display the names of applications and executable file components that are accessing the network? -a -n -b -p
-b
Which ipconfig parameter allows to view the physical address of a Network Interface Card (NIC)? -S srcaddr /all -i address eth_addr
/all
Which of the following answers lists an ipconfig command parameter used for displaying the full TCP/IP configuration information for all adapters? -a /? /all /-a
/all
Which of the nbtstat parameters allows to resolve remote host (192.168.1.10) by its IP address? nbtstat -a 192.168.1.10 nbtstat 192.168.1.10 -A nbtstat -A 192.168.1.10 nbtstat 192.168.1.10 -a
nbtstat -A 192.168.1.10
Which of the nbtstat parameters allows to resolve remote host (host1) by its name? nbtstat -a host1 nbtstat host1 -A nbtstat -A host1 nbtstat host1 -a
nbtstat -a host1
A command-line utility in MS Windows used for displaying protocol statistics and current TCP/IP network connections is called: tracert traceroute netstat nslookup
netstat
Which of the following command-line commands in MS Windows is used to display the contents of a routing table? netstat -a route print ipconfig /all print route
route print
Which netstat parameter allows to display all active TCP connections and the TCP and UDP ports on which the computer is listening? -a -p -e -r
-a
Which of the netstat utility parameters listed below allows to display the contents of the IP routing table? -a -e -p -r
-r
Which of the following key combinations allows to stop the execution of the current command run in Windows Command Prompt? Ctrl+Alt+Delete Esc Ctrl+Shift+Esc Ctrl+C
Ctrl+C
The -t switch in the MS Windows' ping utility is used for: Executing the ping command in a loop Settting the number of ICMP packets to send Setting the TTL value Setting the ICMP packet size
Executing the ping command in a loop
Which of the options listed below allows for execution of a command if the requested operation in the command-line interface in MS Windows requires elevation? sudo Ctrl+Shift+Esc Run as administrator mode
Run as administrator
A command-line network administration utility that operates by sending Internet Control Message Protocol (ICMP) echo request packets to the destination host and waiting for a reply in order to test the communication with another computer on an Internet Protocol (IP) network is called ping. True False
True
Which of the following commands in MS Windows is used to display help information related to a specific network command-line utility? [command] /? man [command] [command] --help info [command]
[command] /?
Which command in MS Windows displays a table consisting of IP addresses and their resolved Ethernet or Token Ring physical addresses? arp -e netstat -n nslookup arp -a
arp -a
Which of the following command-line commands in MS Windows are used for resetting the DHCP configuration settings for all adapters? (Select 2 answers) ifconfig eth0 down ipconfig /release ifconfig eth0 up ipconfig /renew
ipconfig /release ipconfig /renew
Which of the following answers lists a Windows command-line utility designed to be of help in troubleshooting NetBIOS name resolution problems? nbtstat ping netstat tracert
nbtstat
Which of the following tools allows for obtaining a domain name to IP address mapping? netstat nslookup tracert pathping
nslookup
Which of the network command-line utilities in MS Windows combines the features of ping and tracert? nbtstat pathping nslookup netstat
pathping
What is the name of a command-line utility used for checking the reachability of a remote host? netstat ping nslookup nbtstat
ping
What is the correct syntax for checking the IPv6 connectivity with another network node (host1) in MS Windows? (Select 2 answers) ping host1 -6 ping 6 host1 ping host1.6 ping -6 host1
ping host1 -6 ping -6 host1
Which of the command-line commands listed below allows for sending an ICMPv6 echo request to another network node (host1) in Linux OS? ping host1 -6 ping ipv6.host1 ping6 host1 ping -6 host1
ping6 host1
Which of the following commands in MS Windows displays the route taken by IPv6 packets on their way to another host? traceroute6 tracert6 traceroute -6 tracert -6
tracert -6