What acronym names the notation that uses an address and prefix length to represent networks of different sizes, rather than requiring fixed class sizes?
4 IP Addressing and Routing Online Quiz Questions
Use this free practice quiz with 20 questions to review 4 IP Addressing and Routing, test your knowledge, and prepare for your next test or exam.
True or false: IPv6 uses IPv4-style broadcast addresses to send packets to all devices on a subnet.
- A
True
- B
False
Which subnet mask corresponds to the IPv4 prefix length /26?
- A
255.255.255.0
- B
255.255.255.128
- C
255.255.255.192
- D
255.255.255.224
How many total IPv4 addresses are in a /27 subnet?
True or false: A route with a RIP metric of 16 is usable because RIP can use metrics up to 16 hops.
- A
True
- B
False
Which protocol is identified as a link-state interior gateway protocol used within an autonomous system?
A small branch has a simple, stable path to a central network. An administrator wants to specify the destination prefix and next-hop router manually. Which routing approach fits this requirement?
- A
Configure a dynamic link-state protocol to learn the route automatically.
- B
Enter a static route specifying the destination prefix and next hop.
- C
Use a path-vector protocol to advertise the route between autonomous systems.
- D
Rely on the router to infer the route from the destination address alone.
Select all valid IPv6 address-shortening rules.
- A
Leading zeros within a hexadecimal group may be omitted.
- B
One consecutive run of all-zero groups may be replaced by :: once in an address.
- C
Every consecutive run of all-zero groups may be replaced by :: in the same address.
- D
A nonzero hexadecimal digit at the end of a group may be omitted.
Select all items that a route commonly records in a routing table.
- A
Destination prefix
- B
Next hop
- C
Outgoing interface
- D
Metric or preference
- E
Packet payload size
- F
Source MAC address of the original sender
A router has routes to 172.16.0.0/12, 172.20.0.0/16, and 172.20.14.0/24. Which route is selected by longest-prefix matching for destination 172.20.14.9?
- A
172.16.0.0/12
- B
172.20.0.0/16
- C
172.20.14.0/24
- D
0.0.0.0/0
Explain one way dynamic routing can reduce administrative work as a network changes, and identify one configuration concern that comes with using it.
Which address belongs to one of the private IPv4 ranges?
- A
172.20.4.1 - B
172.32.1.1 - C
192.169.1.1 - D
11.0.0.1
IPv6 uses IPv4-style broadcast addresses to send a packet to every device on a local network.
- A
True
- B
False
Which option is a valid shortest form of the IPv6 address 2001:0db8:0000:0000:0000:0000:0000:0042?
- A
2001:db8::42 - B
2001:db8:0::42 - C
2001:db8::0:42 - D
2001:db8:::42
How many total addresses are in an IPv4 subnet with prefix length /27?
A router has an IPv4 default route and no more-specific route matches a packet's destination. What role does the default route serve?
- A
It replaces every more-specific route in the table.
- B
It is used only for destinations on the router's directly connected network.
- C
It provides a next hop for destinations that have no matching more-specific route.
- D
It prevents the router from forwarding packets to unknown destinations.
A router's manually configured static route uses a next-hop router that has failed. What should be expected if no tracking or failover mechanism is configured?
- A
The router automatically learns a replacement route through the static route.
- B
The route does not automatically adapt unless additional tracking or failover mechanisms are configured.
- C
The route remains usable because a return path is no longer needed.
- D
The router converts the route into a dynamic route when the next hop fails.
A network needs to exchange paths with other autonomous systems and make route choices influenced by policy and path attributes. Which routing protocol best fits this role?
- A
RIP, because it shares hop-count distances with neighboring routers
- B
OSPF, because it builds a topology database from link-state information
- C
A static route, because it is entered manually by an administrator
- D
BGP, because it advertises paths between autonomous systems and supports policy-based decisions
A packet arrives at a router on its way from one network to another. Which packet address does the router examine to determine where to forward it?
A network engineer wants to use an IPv6 address range specifically for documentation examples. What is the reserved prefix?