Network Programming Midterm 1
Give an example of a Private Address
10.0.00 192.168.1.0 172.0.0.0
What is the link-local address, special IP address which the interface assigns to itself if a static address was not assigned or an address could not be obtained from a DHCP server
169.254.XX
How many bits and Hex digits does the MAC address have? A. 48 bits (12 Hex digits) B. MAC Addresses don't use Hex digits C. 24 bits (6 Hex digits) D. 48 bits (18 Hex digits) E. 32 bits (18 Hex digits)
A. 48 bits (12 Hex digits)
Which protocol is used by a computer to find the MAC address of the default gateway on an Ethernet network? A. ARP B. TCP C. UDP D. DHCP
A. ARP
Which of the following is not a valid IPV6 address? A. Broadcast B. Unicast C. Multicast D. Anycast
A. Broadcast
A network comprises of three main components: A. Devices, Media, Services B. Devices, LANs, Services C. Laptops, Media Services
A. Devices, Media, Services
In an Ethernet frame, what field is used for error detection? A. FCS (Frame Check Sequence) B. EtherType C. CRC D. ErrType
A. FCS (Frame Check Sequence)
What is a UTP Cat 6 Ethernet Cable? A. Four twisted pairs of copper wires in an unshielded jacket B. Two twisted pairs of copper wires in an unshielded jacket C. Cat 5 Ethernet cable used copper wire whereas Cat 6 is an upgrade to fiber optic cable D. Four twisted pairs of copper wires in a shielded jacket
A. Four twisted pairs of copper wires in an unshielded jacket
What is the name of the Protocol Data Unit at the Data Link Layer? A. Frame B. Segment C. Packet D. Block
A. Frame
An interface on Router A is connected to an interface on Router B. What is Router A's default gateway? A. It is the IP address of Router B's connected interface B. It is the IP address of Router A's interface C. It is the IP address of Router B D. It is a Virtual Address used for Routing purposes E. The default gateway is only used when the actual gateway has not been configured
A. It is the IP address of Router B's connected interface
LLC stands for: A. Logical Link Control B. Link Layer Control C. Loopback Link Controller D. Logical Link Controller
A. Logical Link Control
Which of the following is not a valid IPv6 Unicast address type? A. Multicast B. Unspecified C. Link-Local D. Unique-Local E. Global
A. Multicast
What protocol helps discover the MAC for an IPv6 address? A. NDP B. DNS C. ARP D. DHCP
A. NDP
Intermediary devices have several functional responsibilities, including: A. Regenerate and retransmit data signals B. Correct transmission errors C. Perform services for the Application layer only D. Perform services for OSI layers 5. 6, 7
A. Regenerate and retransmit data signals
Which network device(s) break the collision domain? A. Router and Ethernet Switch B. Router only C. Ethernet Switch only D. Ethernet Switch and Hub
A. Router and Ethernet Switch
Network reliability takes into account the following four basic characteristics: A. Scalability, fault tolerance, security, quality or service B. Fault tolerance, accessibility, quality of service, speed C. Data, accessibility, confidentiality, integrity D. Fault tolerance, scalability, security, usability
A. Scalability, fault tolerance, security, quality or service
Which frame forwarding technique would make use of a CRC value? A. Store and forward B. Cut through C. Fast forward D. Both A and B E. Both A and C
A. Store and forward
Which frame forwarding technique would make use of a CRC value? A. Store and forward B. Cut through C. Fast forward D. Both A and B E. Both A and C
A. Store and forward
Which statement is true about the TCP/IP and OSI models? A. The TCP/IP transport layer and OSI Layer 4 provide similar services and functions. B. The TCP/IP network access layer has similar functions to the OSI network layer. C. The OSI Layer 7 and the TCP/IP application layer provide identical functions. D. The first three OSI layers describe general services that are also provided by the TCP/IP internet layer.
A. The TCP/IP transport layer and OSI Layer 4 provide similar services and functions
What is the 'maximum supported bit rate' of a communication path/channel called? A. Throughput B. Bandwidth C. Goodput D. Max bit rate
A. Throughput
Application protocol - governing the way a web server and a web client interact A. True B. False
A. True
IP address for the gateway/network will either end with "1" or "254" A. True B. False
A. True
Internet Protocol - taking the segments from the transport protocol, encapsulating them into packets, and assigning them with appropriate addresses A. True B. False
A. True
Network Access Protocol - preparing packets to be transmitted over the network media A. True B. False
A. True
Transport Protocol - managing the individual conversations between web servers and web clients A. True B. False
A. True
The Converging Network concept describes A. Using the same network infrastructure to support delivery of voice, data and video between different types of devices B. Using separate network infrastructure to deliver voice, data and video between different types of devices C. Are capable of deliver data, voice and video between many different types of devices over different network infrastructures D. Are capable of delivering only one type of data between many different types of devices over the same network infrastructure
A. Using the same network infrastructure to support delivery of voice, data and video between different types of devices
Which three layers of the OSI model are comparable in function to the application layer of the TCP/IP model? (Choose three.) A. application B. presentation C. session D. transport E. data link F. physical G. network
A. application B. presentation C. session
What type of communication will send a message to all devices on a local area network? A. broadcast B. multicast C. unicast D. allcast
A. broadcast
A user sends an HTTP request to a web server on a remote network. During encapsulation for this request, what information is added to the address field of a frame to indicate the destination? A. the MAC address of the default gateway B. the IP address of the destination host C. the MAC address of the destination host D. the IP address of the default gateway
A. the MAC address of the default gateway
Which characteristic describes the default gateway of a host computer? A. the logical address of the router interface on the same network as the host computer B. the physical address of the switch interface connected to the host computer C. the physical address of the router interface on the same network as the host D. computer D. the logical address assigned to the switch interface connected to the router
A. the logical address of the router interface on the same network as the host computer
Name all the layers of the OSI Model (7 layers)
Application - data Presentation Session Transport - segment - TCP, UDP Network - packet - IP Address, ARP, Ping Data link - frame - MAC Address, Switches, Bridges, Frames, Ethernet Physical - bits - bit rates, voltage levels, hubs
What is de-encapsulation?
At the receiving end, headers are stripped off at each layer
Which IEEE standard enables a wireless NIC to connect to a wireless AP that is made by a different manufacturer? A. 802.1 B. 802.11* C. 802.3 D. 802.2
B. 802.11
Why do network devices need two layers of addressing, Data Link Layer Address (ie, Ethernet) and a Network Layer Address (ie. IP Address)? A. The IP Address can be used to forward packet sot the final destination but historically Ethernet was developed first so it continues to be used for Data Link Addressing B. A Network Layer Address is used to forward the packet from one network segment to another network segment. The Data Link Address is used to forward the frame from one device to another within the network segment C. Since MAC addresses are unique, a Data Link Layer Addresses can be used to forward frames to any destination. A Network Layer Address is logical and can only be used to send data to a destination on the same network segment D. A Data Link Layer Address is used to forward the packet from on e network segment to another network segment. The Network Layer Address is used to forward the frame from one device to another within the network segment
B. A Network Layer Address is used to forward the packet from one network segment to another network segment. The Data Link Address is used to forward the frame from one device to another within the network segment
From the command prompt of your PC, what command can you use to discover the MAC address of your gateway interface? A. ARP - d * B. ARP -a C. ARP -c D. Ipconfig /arp
B. ARP -a
ARP communication phases use the following addressing schemes: A. Broadcast; broadcast B. Broadcast; unicast C. Multicast; unicast D. Broadcast; multicast
B. Broadcast; unicast
What three application layer protocols are part of the TCP/IP protocol suite? (Choose three.) A. ARP B. DHCP C. DNS D. FTP E. NAT F. PPP
B. DHCP C. DNS D. FTP
Network consist of three main components: A. LANs, intermediary devices, media B. Devices media, services C. Devices, internetworks, services D. Devices, media, servers
B. Devices media, services
A unicast Ethernet frame sent form a source host will appear at the hardware interface of only the destination host A. True B. False
B. False
The OUI encodes a network identifier in the IP assigned to an organization; for example Google.com is assigned the IP 209.85.128.0 A. True B. False
B. False
Redundant paths in a network are a characteristic of: A. Scalability B. Fault-tolerance C. Quality of service D. Layer 3 networking protocols
B. Fault-tolerance
A web client is sending a request for a webpage to a web server. From the perspective of the client, what is the correct order of the protocol stack that is used to prepare the request for transmission? A. Ethernet, TCP, IP, HTTP B. HTTP, TCP, IP, Ethernet C. Ethernet, IP TCP, HTTP D. HTTP, IP, TCP, Ethernet
B. HTTP, TCP, IP, Ethernet
A web client is sending a request for a webpage to a web server. From the perspective of the client, what is the correct order of the protocol stack that is used to prepare the request for transmission? A. HTTP, IP, TCP, Ethernet B. HTTP, TCP, IP, Ethernet C. Ethernet, TCP, IP, HTTP D. Ethernet, IP, TCP, HTTP
B. HTTP, TCP, IP, Ethernet
What is true concerning physical and logical topologies? A. Physical topologies display the IP addressing scheme of each network B. Logical topologies refer to how a network transfers data between devices C. The logical topology is always the same as the physical topology D. Physical topologies are concerned with how a network transfers frames
B. Logical topologies refer to how a network transfers data between devices
What is a Protocol Data Unit called at the network layer? A. Segment B. Packet C. Frame D. Block
B. Packet
What is the general term that is used to describe a piece of data at any layer of a networking model? A. Frame B. Packet C. Protocol Data Unit D. Segment
B. Packet
What is an advantage of using standards to develop and implement protocols? A. A particular protocol can only be implemented by one manufacturer. B. Products from different manufacturers can interoperate successfully. C. Different manufacturers are free to apply different requirements when implementing a protocol. D. Standards provide flexibility for manufacturers to create devices that comply with unique requirements.
B. Products from different manufacturers can interoperate successfully.
Multimode fibre optic media is well suited for: A. Inexpensive networking because it uses lasers as a light source B. Short-distance applications, such as LANs, and MANs C. Multi-stream communication D. Long-distance applications such as WANs
B. Short-distance applications, such as LANs, and MANs
A user is viewing an HTML document located on a web server. What protocol segments the messages and manages the segments in the individual conversation between the web server and the web client? A. DHCP B. TCP C. HTTP D. ARP
B. TCP
What is the difference between the QSI Reference Model and the TCP/IP Reference Models for the Protocol Stack? A. The OSI Model has 4 layers whereas the TCP/IP Model has 7 layers B. The TCP/IP Model was developed for the TCP and IP protocols whereas the OSI Model is generic C. The OSI Model was developed the IETF whereas the TCP/IP Model was developed by the ITU standards body D. Layer 3 of the TCP/IP Model is the Transport layer whereas layer 2 of the OSI Model is the Transport layer
B. The TCP/IP Model was developed for the TCP and IP protocols whereas the OSI Model is generic
If the default gateway is configured incorrectly on the host, what is the impact on communications? A. The host is unable to communicate on local network B. The host can communicate with other hosts on the local network but is unable to communicate with hosts on remote networks C. The host can communicate with other hosts on remove networks but is unable to communicate with hosts on the local network D. There is no impact on communications
B. The host can communicate with other hosts on the local network but is unable to communicate with hosts on remote networks
If the default gateway is confirgured incorrectly on the host, what is the impact on communications? A. The host can communicate with other hosts on remote networks, but is unable to communicate with hosts on the local network B. The host can communicate with other hosts on the local network, but is unable to communicate with hosts on remove networks C. The host is unable to communicate on the local network D. There is no impact on communications
B. The host can communicate with other hosts on the local network, but is unable to communicate with hosts on remove networks
Which statement is correct about network protocols? A. Network protocols define the type of hardware that is used and how it is mounted in racks. B. They define how messages are exchanged between the source and the destination C. They all function in the network access layer of TCP/IP. D. They are only required for exchange of messages between devices on remote networks.
B. They define how messages are exchanged between the source and the destination.
What method can be used by two computers to ensure that packets are not dropped because too much data is being sent too quickly? A. encapsulation B. flow control C. access method D. response timeout
B. flow control
Which PDU format is used when bits are received from the network medium by the NIC of a host? A. file B. frame C. packet D. segment
B. frame
Which address provides a unique host address for data communications at the internet layer? A. data-link address B. logical address C. Layer 2 address D. physical address
B. logical address
A computer in a given network is communicating with a specific group of computers. What type of communication is this? A. broadcast B. multicast C. unicast D. ARP E. HTTP
B. multicast
Why do network devices need two layers of addressing: Data Link Layer Address (i.e. Ethernet) and a Network Layer Address (i.e. IP Address) A. The IP Address can be used to forward packets to the final destination but historically Ethernet was developed first so it continues to be used for Data Link Addressing B. A Data Link Layer Address is used to forward the packet from one network segment to another network segment. The Network Layer Address is used to forward the frame from once device to another within the network segment C. A Network Layer Address is used to forward the packet from one network segment to another network segment. The Data Link Address is used to forward the frame from one device to another within the network segment
C. A Network Layer Address is used to forward the packet from one network segment to another network segment. The Data Link Address is used to forward the frame from one device to another within the network segment
What is the basic operation of an Ethernet switch? A. After a frame arrives at a switch port, the Switch looks up the destination MAC address in the Routing table to determine on which port to send the frame and then sends the frame B. After a packet arrives a t a switch port, The Switch looks up the source MAC address in the MAC Address Table to determine on which port to send the frame and then sends the frame C. After a frame arrives at a switch port, the Switch looks up the destination MAC address in the MAC Address Table to determine on which port to send the frame and then sends the frame D. After a frame arrives at a switch port, The Switch looks up the destination MAC address in the arp table to determine on which port to send the rate and then sends the frame
C. After a frame arrives at a switch port, the Switch looks up the destination MAC address in the MAC Address Table to determine on which port to send the frame and then sends the frame
A layer 3 PDU encapsulated at layer 2 is: A. data array B. Packet C. Frame D. Segment
C. Frame
An interface on Router A is connected to an interface on Router B. What is Router A's default gateway? A. It is the IP address of Router A's interface B. It is a Virtual Address used for Routing purposes C. It is the IP address of Router B's connected interface D. It is the IP Address of Router B E. The default gateway is only used when the actual gateway has not been configured
C. It is the IP address of Router B's connected interface
In the context of the protocol stack, what is a peer-level conversation? A. There is no such concept. B. It is the conversation between the sender and receiver C. It is the communication between two peer layers of the protocol stack. D. It refers to peer-to-peer computing as distinct from client-server computing E. It is the communication between adjacent layers of the protocol stack
C. It is the communication between two peer layers of the protocol stack.
What is cut through switching? A. It is when a switch forwards a frame right after receiving the source MAC address but before receiving the entire frame B. Is it when a switch forwards a frame right after receiving the destination IP address but before receiving the entire frame C. It is when a switch forwards a frame right after receiving the destination MAC address but before receiving the the entire frame D. It is when a switch forwards a frame after receiving the entire frame
C. It is when a switch forwards a frame right after receiving the destination MAC address but before receiving the the entire frame
The Data Link Layer encapsulates what type of PDU? A. Frame B. Segment C. Packet D. Block
C. Packet
Which statement accurately describes a TCP/IP encapsulation process when a PC is sending data to the network? A. Data is sent from the internet layer to the network access layer. B. Packets are sent from the network access layer to the transport layer. C. Segments are sent from the transport layer to the internet layer. D. Frames are sent from the network access layer to the internet layer.
C. Segments are sent from the transport layer to the internet layer.
Which protocol is responsible for controlling the size and rate of the HTTP messages exchanged between server and client? A. HTTP B. ARP C. TCP D. DHCP
C. TCP
What type of transmission is used to send the ARP request and the ARP response? A. The ARP request is multicast whereas the ARP response is unicameral B. The ARP request is broadcast and the ARP request is broadcast C. The ARP request is broadcast whereas the ARP response is unicast D. The ARP request is unicast whereas the ARP response is broadcast
C. The ARP request is broadcast whereas the ARP response is unicast
What process is used to place one message inside another message for transfer from the source to the destination? A. access control B. decoding C. encapsulation D. flow control
C. encapsulation
At which layer of the OSI model would a logical address be added during encapsulation? A. physical layer B. data link layer C. network layer D. transport layer
C. network layer
For fragment-free switching, an intermediary device would need to inspect how many bytes? A. 128 bytes B. 64 bits C. 1500 bytes D. 64 bytes
D. 64 bytes
In the context of a protocol stack, what is the difference between a peer layer conversation and an adjacent layer conversation? A. Peer layer conversations refer to the TCP/IP Model whereas the adjacent layer conversations refer to the OSI Model B. These are two terms for the same concept C. An adjacent layer conversation occurs between the same functional layer in the source and destination device. A peer layer conversation occurs between adjacent functional layers in the same device D. A peer layer conversation occurs between the same functional layer in the source and destination device. An adjacent layer conversation occurs adjacent functional layers in the same device
D. A peer layer conversation occurs between the same functional layer in the source and destination device. An adjacent layer conversation occurs adjacent functional layers in the same device
What statement describes the function of the Address Resolution Protocol? A. ARP is used to discover the IP address of any host on a different network. B. ARP is used to discover the IP address of any host on the local network. C. ARP is used to discover the MAC address of any host on a different network. D. ARP is used to discover the MAC address of any host on the local network.
D. ARP is used to discover the MAC address of any host on the local network
The OSI reference model consists of the following layers: A. Application, Session, Presentation, Transport, Network, Data Link, Physical B. Application, Presentation, Session, Transport, Internet, Data Link, Physical C. Application, Transport, Internet, Data link, Physical D. Application, Presentation, Session, Transport, Network, Data Link, Physical E. Application, Transport, Internet, Network Access
D. Application, Presentation, Session, Transport, Network, Data Link, Physical
When a PC in one network segment sends a message to a PC in another segment, which Destination MAC Address is placed in the Frame header? A. Switch to which the Source PC is connected B. Destination PC MAC address C. The router interface to which the destination PC is connected D. Gateway Interface MAC address
D. Gateway Interface MAC address
A physical topology diagram: A. Identifies the logical location of intermediary devices and cable installation B. Identifies devices, ports and addressing schemes C. Identifies the physical location of nodes on the Internet D. Identifies the physical location of cable installation and intermediary devices
D. Identifies the physical location of cable installation and intermediary devices
OUI is an acronym for A. Organizational Unit Identifier B. Organization Unit Identifier C. Organizational Unique Identifier D. Organizationally Unique Identifier
D. Organizationally Unique Identifier
Which layers fo the OSI protocol stack are implemented by Ethernet A. Physical B. Data Link C. Data Link and Network D. Physical and Data Link
D. Physical and Data Link
Reliable network architecture must take into account: A. Fault tolerance, scalability, power consumption B. End-devices, media, services C. Security, fault tolerance, bandwidth, quality of service D. Security, fault tolerance, scalability, quality of service
D. Security, fault tolerance, scalability, quality of service
What will happen if the default gateway address is incorrectly configured on a host? A. The host cannot communicate with other hosts in the local network. B. The switch will not forward packets initiated by the host. C. The host will have to use ARP to determine the correct address of the default gateway. D. The host cannot communicate with hosts in other networks. E. A ping from the host to 127.0.0.1 would not be successful.
D. The host cannot communicate with hosts in other networks.
Which address does a NIC use when deciding whether to accept a frame? A. source IP address B. source MAC address C. destination IP address D. destination MAC address E. source Ethernet address
D. destination MAC address
Which PDU is processed when a host computer is de-encapsulating a message at the transport layer of the TCP/IP model? A. bits B. frame C. packet D. segment
D. segment
What is a function of Layer 4 of the OSI model? A. to specify the packet type to be used by the communications B. to apply framing information to the packet, based on the attached media C. to represent data to the user, including encoding and dialog control D. to describe the ordered and reliable delivery of data between source and destination
D. to describe the ordered and reliable delivery of data between source and destination
At the network layer, transmitted information is called a
Datagram
What is the IP address of a device's connected router?
Default gateway
How many usable host addresses exist in subnet 10.11.12.32/30? A. 4 B. 16 C. 8 D. 0 E. 2
E. 2
What is encapsulation?
Each protocol adds headers to information it receives from the layer above it
Give an example of a link-layer protocol
Ethernet or WiFi
At the link layer, transmitted information is called a
Frame
The Internet's application layer includes many protocols such as:
HTTP SMTP FTP
At the application layer, transmitted information is called a
Message
How many IP Protocols are there in the internet?
One
In packet switching, to send a message from a source to destination, the source breaks long messages into smaller chunks of data knows as
Packets
You have just finished configuring the IP address on your workstation. Your gateway address is 172.16.255.254. What command would you enter to test that the gateway is reachable? Note: use all lowercase letters
Ping 172.16.255.254
At the transport layer, transmitted information is called a
Segment
True or False: Physical Address is a MAC address
True
From a command prompt window, you can determine the current network settings for your PC. Which of the following commands will display the IP addresses assigned to each NIC on your Windows laptop?
ipconfig
To directly open the Windows Network Connections Control Panel you can use Start -> Run and enter _______ [command] into the dialogue box:
ncpa.cpl