Network engineer: Addressing and Routing Decisions
Original technical scenarios on subnet allocation, forwarding-table lookup, route recursion, path metrics, convergence, route policy, and IPv6 reachability. Each question states the assumptions needed to distinguish an installed path from an intended or advertised route.
These prompts are original practice. They are not questions from a named employer or a live hiring loop.
These scenarios and cards are original career practice, not questions collected from an employer or a live hiring process.
1.A site has 10.62.18.0/24. Conventional IPv4 LANs need 90, 45, and 20 usable addresses. Using one smallest suitable subnet per LAN, how many addresses remain outside those allocations?
Show answer and explanation
- 32
- 96
- 26
- 64
Answer: 32
The LANs need /25, /26, and /27 blocks: 128+64+32=224 addresses. The /24 has 256, leaving 32 unallocated addresses. Usable-host counts exclude network and broadcast addresses here.
2.A device uses 10.62.19.173/27. Which destination is in the same IPv4 subnet?
Show answer and explanation
- 10.62.19.159
- 10.62.19.190
- 10.62.19.143
- 10.62.19.192
Answer: 10.62.19.190
A /27 has blocks of 32 addresses. Address 173 belongs to 160–191, whose ordinary host range is 161–190. The other choices are outside that block.
3.An allocation contains 10.62.20.0/25 and 10.62.20.128/26. What is the smallest exact CIDR list covering both without adding addresses?
Show answer and explanation
- 10.62.20.0/24 alone
- Keep those two prefixes
- 10.62.20.128/25 alone
- 10.62.20.0/25 alone
Answer: Keep those two prefixes
The occupied interval is .0–.191. A single CIDR block has a power-of-two size and alignment. A /24 adds .192–.255; neither listed /25 alone covers the full interval.
4.An IP plan labels 10.62.21.96/26 as a subnet boundary. What should validation report?
Show answer and explanation
- A /26 cannot occur inside a /24
- Host bits are set; its containing /26 starts at .64
- The containing /26 starts at .128
- The prefix is valid and starts at .96
Answer: Host bits are set; its containing /26 starts at .64
A /26 advances in blocks of 64. Address .96 lies in .64–.127, so a strict network-prefix parser should reject .96/26 or require explicit normalization.
5.A conventional IPv4 LAN needs 61 endpoints plus one gateway address in the subnet. What is the smallest sufficient prefix?
Show answer and explanation
- /27
- /28
- /26
- /25
Answer: /26
The requirement is 62 usable addresses. A conventional /26 has 64 total and 62 usable addresses. A /27 has only 30 usable; /25 is sufficient but not smallest.
6.Two RFC 3021-capable routers use 10.62.22.14/31 and 10.62.22.15/31 on a point-to-point link. Which address assignment is valid?
Show answer and explanation
- Only .15 can identify an endpoint
- Both addresses identify endpoints
- Neither address can identify an endpoint
- Only .14 can identify an endpoint
Answer: Both addresses identify endpoints
On an RFC 3021 point-to-point /31, both address values are endpoint addresses. Applying the conventional LAN network/broadcast exclusion would incorrectly remove both.
7.An IPv6 allocation is 2001:db8:6a00::/48. How many distinct /56 allocation blocks fit inside it?
Show answer and explanation
- 16
- 256
- 65,536
- 8
Answer: 256
The prefix grows by 56−48=8 bits, creating 2^8=256 equal blocks. This counts allocation blocks, not hosts or the number of /64 LANs in the whole /48.
8.A site receives 2001:db8:6a00:7c00::/56. Which /64 is inside that allocation?
Show answer and explanation
- 2001:db8:6a00:7bff::/64
- 2001:db8:6a00:7cff::/64
- 2001:db8:6a01:7c00::/64
- 2001:db8:6a00:7d00::/64
Answer: 2001:db8:6a00:7cff::/64
A /56 fixes the first three hextets and the high byte of the fourth. The fourth hextet can range from 7c00 to 7cff. The other choices change a fixed bit.
9.A database stores 2001:db8:6a00:0:0:0:0:9 and 2001:db8:6a00::9 as separate endpoint addresses because their strings differ. What must the key represent?
Show answer and explanation
- The lower 64 address bits only
- The original address spelling
- The written prefix of three hextets
- The parsed 128-bit address
Answer: The parsed 128-bit address
Zero compression changes text, not address identity. Normalize or compare parsed address values so alternate valid spellings do not become separate allocations.
10.A /24 has free intervals .0–.63 and .128–.191, while the rest is occupied. Can it satisfy a request for one aligned /25 without moving existing allocations?
Show answer and explanation
- No; total free space is fragmented
- No; a /24 cannot contain any /25
- Yes; 128 free addresses always form a /25
- Yes; use the range .64–.191
Answer: No; total free space is fragmented
A /25 must be either .0–.127 or .128–.255 within this /24. Each candidate intersects occupied space, despite 128 free addresses in total.
11.An allocator assigns 10.62.24.0/26, then 10.62.24.64/27. What is the first free aligned /27 after those blocks?
Show answer and explanation
- 10.62.24.96/27
- 10.62.24.64/27
- 10.62.24.128/27
- 10.62.24.80/27
Answer: 10.62.24.96/27
The first block ends at .63 and the second at .95. A /27 starts on a multiple of 32, so .96 is the first free aligned start after both.
12.A firewall object should cover exactly 10.62.25.64 through 10.62.25.95. Which prefix expresses it?
Show answer and explanation
- 10.62.25.64/26
- 10.62.25.0/27
- 10.62.25.64/27
- 10.62.25.64/28
Answer: 10.62.25.64/27
The interval contains 32 addresses, starts at a 32-address boundary, and ends at .95. Thus .64/27 is exact; /26 includes .96–.127 too.
13.An IPv4 inventory excludes network and broadcast addresses on ordinary LANs. For a /30, how many usable addresses remain after reserving one for the gateway?
Show answer and explanation
- 1
- 0
- 2
- 3
Answer: 1
A /30 contains four addresses and two conventional usable hosts. Reserving one usable address for the gateway leaves one for another endpoint.
14.A site wants each branch's routes summarized independently. Which allocation property supports that goal?
Show answer and explanation
- Give each branch a suitably sized aligned contiguous block
- Allocate solely by current endpoint count without reserving branch ranges
- Allocate the next unused subnet regardless of branch identity
- Assign each branch equal-sized subnets in every region block
Answer: Give each branch a suitably sized aligned contiguous block
Alignment and contiguity allow a branch's allocation to be represented without covering other branches. Equal host numbers or allocation order alone do not establish aggregatability.
15.A plan replaces two /25 routes with their enclosing /24. It also promises identical forwarding for every address. What condition is necessary?
Show answer and explanation
- The /24 must have a lower numeric metric
- Both halves must use the same DNS suffix
- Both halves must have the same intended forwarding action
- The two halves must contain equal numbers of active hosts
Answer: Both halves must have the same intended forwarding action
Exact coverage alone does not preserve forwarding. If the two halves require different next hops or discard behavior, one /24 action loses that distinction unless more-specific exceptions remain.
16.A capacity report treats every unleased address as available for a new subnet. What missing information can invalidate that conclusion?
Show answer and explanation
- Whether the current DHCP lease timer is shorter than a day
- Whether the current host count is below the subnet total
- Whether all unleased addresses respond to probes
- Existing reservations and aligned block boundaries
Answer: Existing reservations and aligned block boundaries
A subnet requires a free aligned address interval. Reserved addresses and fragmentation can prevent allocation even when the count of currently unleased addresses is large.
17.A route API accepts 10.62.26.23/24 but a strict intent file requires network addresses. Which behavior avoids silently changing the operator's intent?
Show answer and explanation
- Reject it with a proposed normalized prefix for review
- Silently advertise only the host as a /32
- Remove the prefix length and infer it later
- Silently replace it with 0.0.0.0/0
Answer: Reject it with a proposed normalized prefix for review
The input has host bits set. Explicit rejection with the containing .0/24 exposes the discrepancy; silently changing scope may advertise something the operator did not intend.
18.Four sites each receive one /26. Which arrangement fits exactly inside one /24 with no overlap or gap?
Show answer and explanation
- Starts at .1, .65, .129, and .193
- Starts at .0, .64, .128, and .224
- Starts at .0, .64, .128, and .192
- Starts at .0, .32, .64, and .96
Answer: Starts at .0, .64, .128, and .192
A /26 spans 64 addresses and must be aligned accordingly. The four aligned starts partition all 256 addresses of the /24 exactly.
19.An inventory compares subnet overlaps only when their prefix lengths are equal. Which conflict will it miss?
Show answer and explanation
- Two equal-size disjoint blocks in the same /16
- A reserved /24 and an equally sized block in a different /16
- A /28 entirely contained in an allocated /24
- Two adjacent /25s that partition one /24
Answer: A /28 entirely contained in an allocated /24
Overlap is intersection of address sets, regardless of prefix length. A nested /28 conflicts with its enclosing allocation even though their prefix lengths differ.
20.An IPv6 /60 is reserved solely for /64 LANs. Three /64s are already assigned. How many equal-size /64 slots remain?
Show answer and explanation
- 57
- 253
- 61
- 13
Answer: 13
A /60 contains 2^(64−60)=16 /64s. Three assigned slots leave 13. This is a count of prefixes, not usable addresses inside each LAN.
21.A FIB has 10.62.0.0/16→A, 10.62.40.0/24→B, and 10.62.40.128/25→C. Where does destination 10.62.40.170 go?
Show answer and explanation
- C
- A
- B
- It is equally split among A, B, and C
Answer: C
All three prefixes match, but /25 fixes the most destination bits. Longest-prefix forwarding selects C; overlap alone does not create equal-cost multipath.
22.A FIB contains 10.62.41.0/24→A and 10.62.41.7/32→discard. What happens to a packet addressed to .7?
Show answer and explanation
- It uses the router's default route instead
- It uses A because a /24 covers more hosts
- It is discarded by the /32 entry
- It alternates between discard and A
Answer: It is discarded by the /32 entry
The host route is the most specific matching entry. Its discard action wins; forwarding does not retry a less-specific route merely because the chosen action discards.
23.A route to 10.62.42.0/24 uses next hop 10.62.99.9. That address resolves via 10.62.99.0/24→192.0.2.6, and 192.0.2.6 is on link L. What is the final adjacency?
Show answer and explanation
- The destination host on every link
- 10.62.42.0 on L
- 10.62.99.0 on L
- 192.0.2.6 on L
Answer: 192.0.2.6 on L
Recursive resolution follows the next-hop route until reaching a usable connected adjacency. The destination prefix and intermediate network address are not themselves link neighbors.
24.Route P resolves only through Q, and Q resolves only through P. Neither has a connected terminal adjacency. What should a recursive resolver conclude?
Show answer and explanation
- The dependency cycle is unresolved
- The first route received is necessarily usable
- The routes provide two independent backups
- The shorter prefix automatically terminates recursion
Answer: The dependency cycle is unresolved
Mutual recursion provides no terminal forwarding adjacency. Detecting cycles prevents a control-plane dependency loop from being mistaken for a usable path.
25.A control plane selects a new route, but the hardware FIB still contains the previous next hop. Which evidence establishes the path packets currently use?
Show answer and explanation
- The selected control-plane route before hardware acknowledgment
- The desired route stored in the controller database
- The installed forwarding entry and data-plane observations
- The new route received from the preferred peer
Answer: The installed forwarding entry and data-plane observations
Selection, programming, and actual forwarding are separate states. Inspecting the installed FIB and observing packets is stronger evidence of present behavior than an intended or selected route.
26.After a /24 route is withdrawn, a router still has a matching /16 and a default. Assume ordinary destination lookup. Which route is now selected for that /24's addresses?
Show answer and explanation
- The default route
- The withdrawn /24 until a new connection starts
- The matching /16
- No route, because the /24 once existed
Answer: The matching /16
Lookup uses currently installed entries. The /16 is now the longest match; a withdrawal does not create a permanent negative route or bind all future packets to the old entry.
27.A router receives a packet with destination 10.62.43.9 and source 10.99.1.2. With only ordinary destination routing enabled, which field drives the route lookup?
Show answer and explanation
- The smaller of the two addresses
- Source 10.99.1.2
- The source subnet's gateway address
- Destination 10.62.43.9
Answer: Destination 10.62.43.9
Ordinary unicast forwarding selects by destination. Source-based policy or source validation requires additional rules and must not be assumed from the ordinary FIB alone.
28.Two installed next hops form an equal-cost group using a stable per-flow hash. A particular flow consistently uses A. What does this show about B?
Show answer and explanation
- Nothing by itself about B's health or selection for other flows
- B must be a standby despite membership in the installed equal-cost group
- B must be unusable because it did not carry this flow
- B must carry alternate packets of this same flow
Answer: Nothing by itself about B's health or selection for other flows
Per-flow hashing can keep one flow on A while other flows use B. A sample of one flow cannot establish balancing proportions or the other member's health.
29.A connected route remains installed while neighbor resolution for one host fails. Which inference is justified?
Show answer and explanation
- The connected route proves that the host is powered on
- The prefix lookup can succeed while adjacency delivery fails
- The prefix can no longer match any packet
- The host must be reachable through the default route
Answer: The prefix lookup can succeed while adjacency delivery fails
A connected prefix describes local attachment, not a guarantee that every address has a responding neighbor. Routing and link-layer resolution failures need separate evidence.
30.A router owns 10.62.44.1 and has a connected /24 for that LAN. Its FIB also has a local /32 receive action for .1. How is a packet to .1 handled?
Show answer and explanation
- Delivered to the router's local stack
- Broadcast to discover a second owner
- Sent upstream by the default route
- Forwarded toward another host on the LAN
Answer: Delivered to the router's local stack
The /32 receive entry is more specific than the connected /24 and represents a local address. It distinguishes traffic for the router from transit traffic on that subnet.
31.An operator adds a high-preference /16 route to steer one host away from an existing /32. Under destination-only longest-match forwarding, does it achieve that goal?
Show answer and explanation
- No; a /16 can never carry host traffic
- No; the /32 still determines that host's action
- Yes; every new route replaces older matching routes
- Yes; route preference overrides all prefix lengths
Answer: No; the /32 still determines that host's action
Route preference compares candidate routes for a prefix under the chosen routing model. Once both entries are installed, longest matching prefix selects the /32 for that host.
32.A policy route sends marked packets to table T. T has no match, and the documented next rule continues to the main table. What determines the result?
Show answer and explanation
- The last route ever installed in T
- The main table lookup after that rule
- An arbitrary equal-cost choice across both tables
- An unconditional drop whenever T has no match
Answer: The main table lookup after that rule
The stated rule explicitly continues on a miss. Policy-routing rule order and miss behavior matter; a separate table does not necessarily make a missing route terminal.
33.Table T has a matching explicit discard route. The policy engine treats a matching action as terminal. Should it fall through to the main table?
Show answer and explanation
- Only when the destination is inside a private prefix
- Yes; only forwarding actions count as matches
- Yes; discard is equivalent to no matching route
- No; a discard match is a terminal result
Answer: No; a discard match is a terminal result
A matched discard entry differs from a table miss. Under the stated terminal-action contract, the lookup ends with discard and cannot escape via a less restrictive table.
34.A policy uses source prefix 10.70.0.0/16 to choose table T, while forwarded packets from 10.71.0.0/16 use the main table. What must a test vary to exercise both decisions?
Show answer and explanation
- Only the destination port while keeping the source fixed
- The packet's source address
- Only the packet length while keeping all addresses fixed
- Only the destination address while keeping the source fixed
Answer: The packet's source address
The table-selection predicate is the source prefix. Keeping the same source while changing unrelated fields does not exercise the other routing rule.
35.The route table maps a remote loopback /32 through a tunnel. The tunnel's underlay destination also resolves through that same tunnel, with no exception. What is the key dependency defect?
Show answer and explanation
- The tunnel depends on itself for underlay reachability
- The loopback address cannot be routed as a /32
- The underlay must share the loopback's subnet
- The tunnel automatically creates an independent physical route
Answer: The tunnel depends on itself for underlay reachability
The encapsulated packet needs an underlay path independent of the tunnel it enables. A recursive self-dependency can prevent tunnel establishment or usable forwarding.
36.A route change moves egress from A to B. Existing NAT bindings still require A's translated source address, which B's upstream will reject. What did destination reachability alone fail to establish?
Show answer and explanation
- Whether the new path has fewer physical hops
- Whether the new FIB entry uses the same prefix length
- Compatibility of the new path with existing flow state
- Whether the new next hop responds to a control-plane ping
Answer: Compatibility of the new path with existing flow state
A route can exist while source translation and upstream acceptance make established flows unusable. Forwarding correctness for stateful traffic depends on more than a destination-prefix match.
37.A captured packet enters a router and the matching FIB entry points to interface L. The egress ACL denies it before transmission. Which claim is supported?
Show answer and explanation
- The incoming packet lacked a destination address
- The route was selected, but policy prevented egress
- The FIB necessarily pointed to another interface
- The packet reached the destination application
Answer: The route was selected, but policy prevented egress
Route selection is one stage of forwarding. A later policy drop can prevent transmission without invalidating the route lookup result.
38.A router's default points to U. U has a route for 10.62.45.0/24 back to the router, which has no more-specific route or discard for it. What path results for that destination?
Show answer and explanation
- A forwarding loop between the two routers
- Automatic delivery to any host in the /24
- Immediate selection of an unconfigured discard route
- A loop-free path because defaults have least specificity
Answer: A forwarding loop between the two routers
Each device forwards the destination back to the other. Longest-match lookup is local and does not guarantee loop freedom across independently chosen routes.
39.A packet to a missing component of an advertised aggregate matches a local discard for the aggregate. What property does that action provide?
Show answer and explanation
- It reconstructs a missing component route
- It proves every component network is reachable
- It terminates the aggregate's fallback loop risk locally
- It withdraws the aggregate from every peer immediately
Answer: It terminates the aggregate's fallback loop risk locally
The discard prevents missing component traffic from following a less-specific return path. It does not repair or certify component reachability or inherently withdraw advertisements.
40.A forwarding ASIC has capacity for 500 additional prefix entries. A proposal introduces 700 distinct host routes with no compression. What must the plan address?
Show answer and explanation
- All 700 fit because /32 entries do not consume prefix slots
- A successful control-plane import proves all 700 are hardware installed
- At least 200 entries exceed the stated available capacity
- Only 100 slots are needed because hosts share six leading octets
Answer: At least 200 entries exceed the stated available capacity
Under the stated entry model, 700 new entries need 700 slots but only 500 are free. Actual hardware resource models can differ and must be checked rather than inferred from control-plane acceptance.
41.An undirected graph has S–A cost 2, A–D cost 7, S–B cost 5, and B–D cost 3. Which first hop is on the least-cost path from S to D?
Show answer and explanation
- Both have equal cost
- A
- B
- Neither; the direct S–D edge is required
Answer: B
S–A–D costs 9 and S–B–D costs 8. B is the least-cost first hop in this graph; a route need not use the fewest-cost first edge.
42.Directed costs are S→A=1, A→D=8, D→A=1, A→S=1, S→D=6, and D→S=9. What is the least-cost D→S path?
Show answer and explanation
- D→A→S, cost 9
- The reverse of S→D, cost 6
- D→A→S, cost 2
- D→S, cost 9
Answer: D→A→S, cost 2
Direction matters. D→A→S costs 1+1=2, while the direct edge costs 9. The outward path or edge cost cannot simply be reversed.
43.S has paths S→A→D costing 4+4 and S→B→C→D costing 2+3+3. With equal-cost multipath supported, which first hops are eligible by cost?
Show answer and explanation
- Only A because its path has fewer hops
- Only B because its first edge is cheaper
- A and B
- A, B, and C because all appear on paths
Answer: A and B
Both complete paths cost 8, so A and B are equal-cost first hops. C is not directly adjacent to S in the stated graph.
44.A path costs 3+4+5 under an additive metric. A second path costs 7+4. Which is selected solely by that metric?
Show answer and explanation
- The second path, cost 11
- Both, because each has an edge of cost 4
- The first path, because its largest edge is smaller
- The first path, cost 12
Answer: The second path, cost 11
An additive objective sums the full path: 12 versus 11. Minimizing the largest edge is a different objective and cannot substitute for the stated rule.
45.A routing metric minimizes hop count. Candidate paths have two 10 Mb/s links or three 1 Gb/s links. What can be concluded about its selected path?
Show answer and explanation
- It splits every packet across both paths
- It selects two hops without establishing best throughput
- It proves the two-hop path has greater capacity
- It selects three hops because bandwidth always overrides hops
Answer: It selects two hops without establishing best throughput
A hop-count objective favors two hops. That says nothing by itself about throughput, queueing, or demand; metric optimality must be distinguished from application performance.
46.After a failure, R1's old route to D uses R2. R2 updates first and now uses R1 to reach D through R1's alternate link. Before R1 updates, what can occur?
Show answer and explanation
- A permanent loop even after R1 switches to its alternate
- A transient R1↔R2 forwarding loop
- No loop because both final routes are valid
- Guaranteed simultaneous convergence
Answer: A transient R1↔R2 forwarding loop
R2's new next hop and R1's old next hop point at each other. This is a mixed-state convergence problem even if the fully converged forwarding graph is loop-free.
47.A distance-vector router learns D at cost 4 from neighbor N over a cost-2 link. With ordinary additive distance-vector selection, what candidate distance does it compute?
Show answer and explanation
- 8
- 4
- 2
- 6
Answer: 6
The candidate distance includes the local link cost and the neighbor's advertised distance: 2+4=6. The advertised value alone omits the local step.
48.A router advertises a route back toward the neighbor from which it learned it. What mechanism specifically suppresses that advertisement on the same interface?
Show answer and explanation
- Longest-prefix lookup
- Split horizon
- Packet fragmentation
- Address resolution
Answer: Split horizon
Split horizon limits advertising a learned route back toward its source interface. It addresses a routing-information feedback pattern; the other mechanisms serve different purposes.
49.A protocol uses a finite unreachable metric of 16. A reachable route currently has metric 15, and another hop adds 1. What is the advertised candidate status under this rule?
Show answer and explanation
- Equal-cost with every default route
- Reachable with metric 15
- Unreachable
- Reachable with metric 16
Answer: Unreachable
The stated protocol interprets 16 as unreachable. Arithmetic distance 16 therefore does not represent another usable hop in that metric system.
50.Link costs have changed, but two routers temporarily compute shortest paths from different topology snapshots. Which guarantee is missing during that interval?
Show answer and explanation
- Agreement that both snapshots individually permit a path
- Agreement that every link has a nonnegative configured cost
- A common-state basis for loop-free forwarding
- Agreement on the destination prefix text alone
Answer: A common-state basis for loop-free forwarding
Each router can compute a correct result for its own snapshot while their combined forwarding decisions loop. Local shortest-path correctness does not establish transient network-wide consistency.
51.A planner removes directed edge C→B and verifies only that all destinations remain reachable from A. Why is that insufficient for all-pairs reachability?
Show answer and explanation
- Reachability from A automatically proves all source/destination pairs
- Another source can lose a required directed path
- Removing one directed edge cannot affect routes from other sources
- A remaining default route at A guarantees all-pairs connectivity
Answer: Another source can lose a required directed path
In directed graphs, A reaching everyone does not imply everyone reaches A or each other. The verification scope must match the required source/destination pairs.
52.An undirected topology has S–A=1, A–D=1, S–B=1, B–D=1, and A–B=1. The S–A link fails. What is S's shortest remaining route to D?
Show answer and explanation
- S–A–D, cost 2
- S–B–A–D, cost 3
- No route remains
- S–B–D, cost 2
Answer: S–B–D, cost 2
Removing S–A leaves S–B–D intact at cost 2. The longer detour through A exists but is not the minimum; the failed edge cannot remain in a valid path.
53.Two equal-cost paths share their final physical link into D. What failure can remove both paths simultaneously?
Show answer and explanation
- A different packet hash for one flow
- Failure of either unrelated access link
- A change in the source hostname alone
- Failure of that shared final link
Answer: Failure of that shared final link
Logical path count does not measure failure independence. The common final link is a cut for both stated paths and can defeat the apparent redundancy.
54.A route controller changes 100 routers sequentially. Every router eventually acknowledges. What additional check addresses transient forwarding safety?
Show answer and explanation
- Validate only the loop freedom of the final forwarding graph
- Analyze mixed old/new states or enforce a safe update order
- Require all commands to be acknowledged eventually
- Send all deletions first to avoid duplicate routes
Answer: Analyze mixed old/new states or enforce a safe update order
Successful final installation does not show what packets encounter during intermediate states. Safe ordering or consistent updates must account for combinations of old and new forwarding decisions.
55.An IGP cost is reduced on one link. Why can a remote node's traffic change even though its own configuration is unchanged?
Show answer and explanation
- Metrics determine DNS answers rather than paths
- Remote routes are fixed until their prefixes are renumbered
- Only directly attached nodes can observe metric changes
- Its recomputed least-cost path can include the changed link
Answer: Its recomputed least-cost path can include the changed link
Topology information can propagate throughout the routing domain. A remote node's best path can change when the cost of a later edge changes.
56.A test declares two routes equal because both contain three hops. The routing objective sums configured link costs. What is missing?
Show answer and explanation
- The route with the lowest cost on its first edge
- The count of interfaces attached to each router
- The sum of costs along each route
- The minimum cost of any single edge on each route
Answer: The sum of costs along each route
Hop counts do not establish equality for an additive nonuniform metric. Every traversed link's configured cost contributes to the objective.
57.A failover design detects a fault after 600 ms, computes routes in 100 ms, and programs forwarding in 200 ms, strictly in sequence. Ignoring propagation and queues, when is new forwarding ready?
Show answer and explanation
- 100 ms after the fault
- 600 ms after the fault
- 900 ms after the fault
- 200 ms after the fault
Answer: 900 ms after the fault
The stated stages are sequential: 600+100+200=900 ms. This is a readiness estimate under the model, not a guarantee of complete application recovery.
58.A new route is programmed in 20 ms after notification, but failure notification can take 3 seconds. Which stage dominates this model's worst-case restoration delay?
Show answer and explanation
- Neither stage, because their delays cancel
- Only route computation, regardless of the stated delays
- Failure detection/notification
- The 20 ms programming stage, because it happens last
Answer: Failure detection/notification
A fast programming stage cannot eliminate a much slower detection stage. End-to-end restoration includes the time before the route update even begins.
59.A router maintains a precomputed alternate, but its outgoing interface is in the same failed line card as the primary. What has not been established?
Show answer and explanation
- That the alternate survives the modeled fault
- That the selected primary route has a configured metric
- That the alternate can be computed before failure
- That the two routes have different logical next-hop addresses
Answer: That the alternate survives the modeled fault
An alternate must remain usable under the fault being protected against. Merely precomputing another logical next hop does not establish physical fault independence.
60.A link-state database is identical on two routers, but one installs no route to D because its forwarding programming failed. What does database agreement fail to prove?
Show answer and explanation
- Successful installation of the data-plane path
- That the two topology snapshots contain identical records
- That the same SPF input is available to both routers
- That the route can be computed from the shared topology
Answer: Successful installation of the data-plane path
Consistent topology knowledge is only one stage. Computation and successful FIB programming must also be verified before claiming data-plane convergence.
61.For one BGP prefix, policy first prefers higher LOCAL_PREF, then shorter AS_PATH. Route A has preference 180/path length 4; B has 120/length 2. Both are feasible. Which wins?
Show answer and explanation
- B
- Neither, because preference and path length disagree
- A
- They must be equal-cost
Answer: A
The explicit ordering compares preference first. A wins at 180 versus 120, so the path-length comparison is never reached. This does not assume a vendor's additional tie breakers.
62.Two feasible routes to the same prefix have equal preference. The stated next criterion is shorter AS_PATH. A has three AS_SEQUENCE entries; B has five. Which is preferred under that rule?
Show answer and explanation
- A
- Both necessarily share traffic
- B
- Whichever next-hop address is numerically larger
Answer: A
With the earlier criterion tied, three entries beat five under the specified rule. Equal preference alone does not make the paths equal under all later criteria.
63.A BGP UPDATE arrives with the receiver's own AS in its ordinary AS_SEQUENCE. No loop-acceptance exception is configured. What is the usual eligibility result?
Show answer and explanation
- Install it as a directly connected route
- Prefer it because it traverses the local AS
- Remove that AS and accept without review
- Reject the path as an AS loop
Answer: Reject the path as an AS loop
The own-AS check prevents accepting a path that appears already to traverse the local AS. An explicit exception would change the premise, so no such exception is assumed here.
64.A BGP route has a highly preferred policy value, but its NEXT_HOP cannot be resolved through any usable route. What should route selection do?
Show answer and explanation
- Replace NEXT_HOP with the destination prefix
- Exclude it from usable-route selection
- Install it because preference guarantees delivery
- Resolve it through the route itself without a terminal path
Answer: Exclude it from usable-route selection
Preference does not supply reachability. BGP route feasibility requires next-hop resolution; unresolved or mutually recursive dependencies cannot become usable solely through a high policy preference.
65.A policy accepts only 10.80.0.0/16 and its subprefixes up to /24. Which advertisement is outside that policy?
Show answer and explanation
- 10.80.7.0/24
- 10.80.0.0/16
- 10.80.7.0/25
- 10.80.32.0/20
Answer: 10.80.7.0/25
The /25 lies inside the address range but is more specific than the allowed /24 maximum. A prefix policy needs both containment and an allowed length range.
66.An exact-prefix filter permits 10.81.0.0/16 only. A peer advertises 10.81.4.0/24. What should an exact-match implementation do?
Show answer and explanation
- Accept it only when its AS path is shorter than the /16 path
- Normalize the /24 into the permitted /16 before accepting it
- Accept it because containment implies exact prefix equality
- Reject the /24
Answer: Reject the /24
Exact prefix equality differs from address containment. The /24 requires a separate permission or a rule explicitly allowing more-specific routes.
67.An AS raises LOCAL_PREF for one egress route inside its network. What should it avoid promising solely from that change?
Show answer and explanation
- That its internal peers can learn the chosen preference
- That higher preference can affect its own outbound choice
- That its own route-selection policy has changed
- That remote networks will send return traffic through that egress
Answer: That remote networks will send return traffic through that egress
LOCAL_PREF expresses preference within the AS and is normally not sent to ordinary external peers. Other networks choose return paths using their own available routes and policies.
68.A network prepends its AS to one external advertisement to influence inbound traffic. What is the defensible expectation?
Show answer and explanation
- It forces every remote AS to avoid that advertisement
- It may influence peers that consider the longer path after earlier policy
- It changes the advertised prefix's address range
- It directly changes all remote LOCAL_PREF values
Answer: It may influence peers that consider the longer path after earlier policy
AS-path length can influence selection, but remote preference and export policies can dominate. Prepending is not a universal instruction to other networks.
69.A peer's TCP session remains established while it withdraws its only route to a service prefix. Which monitoring conclusion is valid?
Show answer and explanation
- Session uptime proves the withdrawn route remains usable
- The withdrawal must close the established TCP session
- Session uptime does not prove service-prefix availability
- The withdrawal proves the physical peer link is down
Answer: Session uptime does not prove service-prefix availability
A live BGP transport session can carry withdrawals and leave a particular destination without a usable route. Session uptime alone does not prove prefix-level reachability.
70.A route is present in a peer's received-route inventory but denied by local import policy. What does its presence in that inventory prove?
Show answer and explanation
- It bypasses all local route policy
- It was received, not that it became an installed route
- It must already forward production traffic
- It must be re-advertised to every other peer
Answer: It was received, not that it became an installed route
Received, accepted, selected, installed, and exported states are distinct. The pre-policy inventory establishes receipt and must not be treated as an installation receipt.
71.Two providers advertise the same prefix. Local import policy rejects A and accepts B. A's advertised AS path is shorter. Which comparison is inappropriate?
Show answer and explanation
- Checking that B's next hop resolves
- Comparing A as an eligible best-path candidate
- Checking the final installed route
- Recording why A was denied
Answer: Comparing A as an eligible best-path candidate
Denied routes are outside the eligible candidate set. A shorter advertised path cannot override the import rejection unless policy itself changes.
72.An AS promises it will not carry transit between its two providers. Which export control directly supports that promise?
Show answer and explanation
- Apply the policy only to originated routes and leave learned exports unrestricted
- Permit provider-learned exports but lower their local preference
- Permit the exports whenever their AS paths are short
- Do not export routes learned from one provider to the other
Answer: Do not export routes learned from one provider to the other
Transit can arise when provider-learned reachability is exported to another provider. Export policy must enforce the relationship; link parameters or names do not express it.
73.A route's community is only an opaque value locally; no matching policy exists on any examined router. What effect can be assumed from adding it?
Show answer and explanation
- It must lower preference even without a matching rule
- It must prevent export because every community is a transit restriction
- It must select a different next hop at the receiving router
- None without a policy that interprets it
Answer: None without a policy that interprets it
A label needs defined handling. An ordinary community does not acquire an invented operational meaning merely because an operator assigns a descriptive name to it.
74.A route reflector advertises only its selected path for a prefix. A client sees one route although the reflector knows several. What follows?
Show answer and explanation
- Only one physical path exists in the network
- The client's visible alternatives may be incomplete
- Every unadvertised path is unreachable
- The client must have received every candidate
Answer: The client's visible alternatives may be incomplete
Selection and advertisement can hide alternatives. The client's received-route set is not necessarily a census of all paths known elsewhere in the AS.
75.A prefix-origin validation system confirms that AS 64520 is authorized to originate a /24. What does that result alone fail to prove?
Show answer and explanation
- That an origin check can return a validation state
- That the authorization covers that origin and prefix
- That prefix length can be part of the authorization
- That every AS hop in the advertised path is legitimate
Answer: That every AS hop in the advertised path is legitimate
Origin authorization checks the origin/prefix relationship, not the authenticity of the entire path or end-to-end forwarding behavior. Additional evidence is needed for those broader claims.
76.A route-authorization object permits 10.82.0.0/16 with maximum length /23 for one origin. A matching-origin /24 is announced. Under that rule, how is the length treated?
Show answer and explanation
- It is covered because address containment is sufficient
- It becomes authorized after a successful ping
- It exceeds the authorized maximum specificity
- It is equivalent to the authorized /16
Answer: It exceeds the authorized maximum specificity
A /24 is more specific than /23. The maximum-length constraint is separate from containment and origin equality; reachability does not change the stated authorization.
77.A policy accepts a route with a recognized origin but does not verify its advertised address range. Which mistake remains possible?
Show answer and explanation
- The path must loop whenever the origin is recognized
- Accepting an unauthorized prefix from that same origin
- A recognized origin makes prefix-length checks unnecessary
- Origin recognition automatically authorizes every prefix it sends
Answer: Accepting an unauthorized prefix from that same origin
Authorization usually scopes both who may originate and what may be originated. Trusting the origin alone can grant a wider address scope than intended.
78.An operator observes an internal LOCAL_PREF value of 200 but cannot see the competing route's eligibility or preference. What can be concluded about best-path selection?
Show answer and explanation
- The single value is insufficient to prove which route wins
- The observed route necessarily wins globally
- The route is necessarily exported to all external peers
- Every other route must have preference 100
Answer: The single value is insufficient to prove which route wins
Selection is relative to eligible alternatives and the applicable policy order. One attribute value without the candidate set cannot establish the selected route or export behavior.
79.A backup path is retained during a restart even though its neighbor may have lost forwarding state. What operational uncertainty matters?
Show answer and explanation
- Whether a retained route has a newer age than a withdrawn route
- Whether the retained route still has a working data plane
- Whether the retained prefix has the same spelling as before
- Whether the retained route keeps the same display ordering
Answer: Whether the retained route still has a working data plane
Retaining routing information can reduce churn but does not prove continued forwarding. Stale-route handling must account for whether the neighbor actually preserves the necessary forwarding state.
80.A peer advertises 40 routes, below its configured limit of 100. Which claim remains unjustified from that count alone?
Show answer and explanation
- The observed count is 60 below the threshold
- All 40 routes are individually authorized and correct
- The count itself has not exceeded 100
- The observed count is below the limit
Answer: All 40 routes are individually authorized and correct
A count threshold is a volume guard. A small set can still contain an unauthorized, harmful, or incorrect route, so prefix and relationship policies remain necessary.
81.A FIB has 2001:db8:6a00::/48→A, 2001:db8:6a00:9::/64→B, and 2001:db8:6a00:9::5/128→C. Which action serves destination 2001:db8:6a00:9::5?
Show answer and explanation
- A
- The /64 makes /128 forwarding invalid
- B
- C
Answer: C
IPv6 destination forwarding uses the longest matching installed prefix, including /128 host routes. A common LAN prefix length does not limit valid forwarding-prefix specificity.
82.Two interfaces each have a neighbor at fe80::7. Why is a next hop written only as fe80::7 insufficient to identify the link?
Show answer and explanation
- All IPv6 next hops require an IPv4 translation
- The last hextet always identifies the interface
- The address must be globally unique by definition
- A link-local address needs an interface scope
Answer: A link-local address needs an interface scope
Link-local address identity is scoped to a link. The outgoing interface or zone is required to distinguish identical link-local values on different interfaces.
83.An IPv6 host receives a prefix-information option with the autonomous flag set and the on-link flag clear. What distinction must its implementation preserve?
Show answer and explanation
- The prefix becomes an IPv4 route instead
- Autonomous configuration always makes the whole prefix on-link
- A clear on-link flag withdraws every default router
- Address-configuration permission differs from on-link determination
Answer: Address-configuration permission differs from on-link determination
The flags express different functions. A prefix used for address configuration need not thereby be treated as on-link; router/default information is a separate consideration.
84.An IPv6 router advertisement has router lifetime zero but includes a prefix option with a nonzero valid lifetime. What must not be inferred solely from the zero router lifetime?
Show answer and explanation
- That the prefix's addresses immediately become invalid
- That router and prefix lifetimes are distinct fields
- That prefix validity requires examining its own information
- That this advertisement does not retain the sender as a default router
Answer: That the prefix's addresses immediately become invalid
The default-router lifetime and prefix/address lifetimes serve different purposes. A zero router lifetime alone does not invalidate every address formed from accompanying prefix information.
85.A dual-stack host has an IPv4 default but no IPv6 default. It resolves a service to both families. What does IPv4 connectivity alone establish?
Show answer and explanation
- That both families use the same installed next-hop entry
- That the IPv4 default automatically supplies native IPv6 forwarding
- That an IPv6 address record guarantees an IPv6 default exists
- No guarantee of IPv6 reachability
Answer: No guarantee of IPv6 reachability
IPv4 and IPv6 routing state are distinct. One working family does not prove the other has a usable route, even when both names resolve.
86.A host has an on-link route for 10.83.0.0/16, but the actual LAN spans only 10.83.2.0/24 and has no proxy ARP. How will ordinary lookup treat 10.83.9.7?
Show answer and explanation
- As invalid because private addresses cannot cross routers
- As a broadcast to all routed subnets
- As remote, always using the default gateway
- As on-link, causing neighbor resolution on the local LAN
Answer: As on-link, causing neighbor resolution on the local LAN
The overly broad on-link prefix matches and makes the host try direct neighbor resolution. Without a responding neighbor or proxy, this can fail even if the gateway has a valid remote route.
87.A router can reach a remote service from its loopback source but not from a transit-interface source. Both probes use the same destination route. What next evidence distinguishes the paths?
Show answer and explanation
- Only the existence of a neighbor entry for the outbound next hop
- Return routes and policies for the two source addresses
- Only the common destination prefix in the outbound FIB
- Only the common outbound interface status
Answer: Return routes and policies for the two source addresses
Identical outbound destination selection does not imply identical return reachability or source-based policy. Probe source must be part of the test identity.
88.A destination /24 is advertised from two sites, but each site serves only its own /25 and has no path to the other half. Why is the shared /24 advertisement unsafe?
Show answer and explanation
- Either advertisement can attract traffic for the absent half
- All /25 routes are automatically visible to every upstream
- A /24 can never be advertised by two sites
- Equal prefix lengths force source-based routing
Answer: Either advertisement can attract traffic for the absent half
Each /24 claims the full address range. Without more-specific propagation or internal reachability, a selected site may blackhole the half it does not serve.
89.An IP anycast service announces one prefix from two locations. What is a correct expectation of ordinary routing selection?
Show answer and explanation
- It always duplicates each request to every advertising location
- It always chooses the site with the shortest geographic distance
- It follows routing policy and metrics, not necessarily geographic proximity
- It always gives each client a permanent site assignment
Answer: It follows routing policy and metrics, not necessarily geographic proximity
Anycast uses ordinary routing toward multiple origins of the same service address. Policy, topology, and changes can affect selection; geography and persistent flow affinity are not guaranteed by the address alone.
90.A subnet migrates to a new site. An old router still has a more-specific stale route to the previous site, while a correct less-specific aggregate reaches the new site. What blocks the intended path?
Show answer and explanation
- The stale more-specific forwarding entry
- The aggregate is too specific to carry traffic for a /24
- The correct aggregate must wait for DNS expiry to override the stale exception
- The new site needs a default before any upstream can select it
Answer: The stale more-specific forwarding entry
The old more-specific entry still wins lookup for its covered addresses. A correct aggregate does not override a stale exception merely because the aggregate points to the intended site.
91.A route-change test pings a gateway address owned by the router instead of a host behind it. What path behavior remains untested?
Show answer and explanation
- Transit forwarding to the remote host
- That the probe's target address exists at test time
- Delivery to the tested local router address
- That some response can return to the probe source
Answer: Transit forwarding to the remote host
A packet terminating on a router can take a receive path rather than the intended transit forwarding path. A successful response does not establish the downstream host's route and policy.
92.A default-route probe is sent through a tunnel, but the probe itself uses the backup default being evaluated. What can make the health result misleading?
Show answer and explanation
- The probe may succeed over a different path from the intended primary
- Only packet size can influence a probe route
- A probe can never traverse a tunnel
- Successful probes always identify their physical path automatically
Answer: The probe may succeed over a different path from the intended primary
Health checks need explicit source, target, and path binding where appropriate. A successful request through a backup does not establish the primary's service reachability.
93.A config diff removes a route from one table, but an equivalent route remains in a higher-priority policy table. What is required before claiming traffic has moved?
Show answer and explanation
- Verify only that the edited main-table entry disappeared
- Assume that main-table deletion overrides all policy tables
- Verify only that the total number of routes decreased
- Evaluate the effective rule/table lookup for the traffic class
Answer: Evaluate the effective rule/table lookup for the traffic class
Effective forwarding follows the policy-rule chain and active tables. A text deletion in one location does not prove the selected traffic's forwarding action changed.
94.A controller claims a route update is complete when it sends the request. The device may reject programming later. What status should be tracked separately?
Show answer and explanation
- Only the route-selection decision before FIB installation
- Only the request timestamp, treating later failures as success
- Only the desired-state database value
- Requested, acknowledged, installed, and observed forwarding
Answer: Requested, acknowledged, installed, and observed forwarding
Separating stages exposes partial or rejected installation. A send receipt is not proof of device acceptance, FIB programming, or actual packet behavior.
95.A network's intended invariant is that no destination forwards in a loop. Which model is most direct for checking one fixed FIB snapshot?
Show answer and explanation
- An undirected graph that merges all destinations
- A graph containing only configured routing adjacencies
- A per-destination directed graph of next-hop actions
- A count of next hops without their directed relationships
Answer: A per-destination directed graph of next-hop actions
For a fixed destination and routing context, next-hop actions form a forwarding graph. Reachable cycles indicate loop possibilities; terminal local/drop actions need explicit representation.
96.A snapshot checker uses only routers' main tables, while production traffic can select VRFs and policy tables. What limits its conclusion?
Show answer and explanation
- It omits forwarding contexts used by some traffic
- Separate VRFs cannot select different next hops for one destination
- A table-name change cannot alter which routes are examined
- Main-table loop freedom implies loop freedom in every VRF
Answer: It omits forwarding contexts used by some traffic
Routing context is part of forwarding state. A graph built from only main tables cannot establish invariants for traffic routed through omitted VRFs or policy rules.
97.A planned route replacement is safe only if the alternate is installed first. Which failure scenario must the execution plan handle?
Show answer and explanation
- The add and delete requests have different timestamps
- The alternate has a different next-hop address from the primary
- The add succeeds and its installation is confirmed before deletion
- The add fails while the delete could still proceed
Answer: The add fails while the delete could still proceed
The dependency must be enforced using observed installation success. Blindly proceeding to deletion after an unsuccessful add can remove the only working path.
98.A route verifier samples one address per /24, but policies include /32 exceptions. What coverage problem remains?
Show answer and explanation
- The sample can miss the exceptional host actions
- One sample necessarily exercises every nested prefix
- Sampling proves there are no more-specific entries
- Every /32 is equivalent to its parent /24
Answer: The sample can miss the exceptional host actions
Testing one representative is justified only where forwarding behavior is uniform. More-specific exceptions partition a /24 into different behavior classes and need their own checks.
99.Two route snapshots have the same number of entries but one replaces a service prefix with an unrelated prefix. What comparison detects the defect?
Show answer and explanation
- Compare only route installation times
- Compare next-hop counts without their destination prefixes
- Compare total entry counts and ignore the prefix keys
- Compare exact prefixes, actions, and relevant attributes
Answer: Compare exact prefixes, actions, and relevant attributes
Equal counts do not establish equal route identity or behavior. Exact key/action comparison exposes substitution even when totals remain unchanged.
100.A router now forwards a service prefix through the intended egress, but the test never checks return traffic. What completion claim is supported?
Show answer and explanation
- Outbound route selection is verified; bidirectional service remains unproven
- All source addresses have equal return reachability
- The entire application exchange is necessarily healthy
- The return path must mirror the outbound path
Answer: Outbound route selection is verified; bidirectional service remains unproven
Directional forwarding evidence has directional scope. Return routing, policy, state, and the service itself need separate evidence for a bidirectional success claim.
101.An engineer must prove an addressing-and-routing change preserved existing services. Which comparison best links the proof to the actual change?
Show answer and explanation
- Check before/after behavior for required address classes and routing contexts
- Verify only that the new prefix parses and installs
- Probe one address through the default routing table alone
- Verify only that the catalog contains one additional route
Answer: Check before/after behavior for required address classes and routing contexts
The requirement concerns preserved behavior for existing services. Representative classes must account for exceptions, source/routing context, and direction; syntax or one unrelated probe cannot establish that preservation.