CCNA Network Topology Interview Questions and Answers
Network topology interviews ask how devices connect physically and how traffic can actually travel through those connections. Explain the difference before comparing star, mesh, ring, tree and hybrid layouts. The questions below use an invented three-switch triangle whose supplied forwarding edges differ from its physical cables.
Topic: Networking in IT Infrastructure · Interview preparation
Quick answer: Network topology interviews ask how devices connect physically and how traffic can actually travel through those connections. Explain the difference before comparing star, mesh, ring, tree and hybrid layouts. The questions below use an invented three-switch triangle whose supplied forwarding edges differ from its physical cables. A checked Python graph exercise demonstrates that distinction without simulating spanning tree or a live network. Choose a topology by its failure and operating requirements; a shape alone does not establish throughput, security or automatic recovery.
Key takeaways
- Physical connections and active forwarding paths are different views.
- A switch and a shared-media hub do not forward traffic in the same way.
- Redundant cables do not prove independent failures or immediate recovery.
- A full mesh requires n times n minus one divided by two undirected links.
- State the supplied graph and failure assumptions before interpreting a model.
Table of Contents
- What is the difference between physical and logical topology?
- How should you explain star, bus and tree layouts?
- What trade-offs distinguish full mesh and partial mesh?
- What should you say about rings and hybrid designs?
- How can a supplied graph reveal a missing active path?
- Which failure questions make a topology answer practical?
- How should you answer a topology selection scenario?
- References
What is the difference between physical and logical topology?
1. What does a physical diagram show? It shows devices, interfaces and physical connections, ideally including location and shared cable routes. It does not necessarily show every VLAN, tunnel, routing policy or active forwarding decision.
2. What does a logical diagram add? It shows the relationships relevant to forwarding or a service. Cisco’s spanning-tree guide demonstrates why physical Layer 2 redundancy can produce a different active tree.
3. Can an overlay differ from its underlay? Yes. RFC 7348 describes an overlay carried across an IP network. The logical adjacency does not imply a direct cable, and troubleshooting may require both views.
How should you explain star, bus and tree layouts?
4. What is a star topology? Endpoints attach to a central device. A failed endpoint cable can have a limited local effect, while failure of the central device can affect many attachments. Power and upstream connectivity can add further shared dependencies.
5. Is a hub-based star equivalent to a switched star? No. A hub repeats a shared-medium signal; a switch learns and forwards frames using MAC information. Cisco’s MAC learning guide explains the switching context. The same drawing shape does not imply the same collision or forwarding behaviour.
6. Where does bus topology fit today? Explain it as a shared-backbone arrangement and a historical Ethernet teaching example. Do not recommend a legacy coaxial bus simply because its basic diagram contains fewer cables.
7. What is a tree or extended-star layout? It links groups through a hierarchy. Review which upstream node or connection serves each branch and whether the structure matches operational and fault-containment requirements.
What trade-offs distinguish full mesh and partial mesh?
8. How many links does a full mesh need? For n nodes with one undirected link per pair, n(n-1)/2. Five nodes therefore need ten links. This counts a simplified graph, not interfaces, circuits, encapsulations or every possible service relationship.
9. Why choose a partial mesh? It provides selected additional paths without connecting every pair. Describe which failures those paths address and which nodes remain dependent on a single attachment.
10. Does mesh mean every path is used? No. RFC 2991’s multipath discussion explains considerations in distributing traffic across paths. Protocol policy, loop prevention and load-sharing choices determine usable paths.
| Layout | Useful question | Typical shared concern |
|---|---|---|
| Star | What happens if the centre fails? | Central device or its power |
| Partial mesh | Which pairs retain another path? | Unprotected edge attachments |
| Full mesh graph | Is the link count practical? | Cost, ports and operational complexity |
What should you say about rings and hybrid designs?
11. Does a ring guarantee collision-free or uninterrupted service? No universal guarantee follows from the shape. Media access, direction, protection mechanisms and fault conditions matter. Distinguish a historical token ring from an Ethernet ring using a specific loop-prevention or protection design.
12. What is a hybrid topology? It combines arrangements, such as stars joined through a redundant backbone. Name the actual parts and their forwarding relationships instead of using “hybrid” as a complete explanation.
13. Does a leaf-spine graph fit every network? No. RFC 7938 discusses a data-centre topology with particular routing assumptions. Cisco’s campus design guide addresses campus attachment and hierarchy, which can present different constraints.
How can a supplied graph reveal a missing active path?
Suppose A, B and C have all three physical links, but the supplied active edges are A-B and B-C. Removing B-C leaves a physical A-C link in the inventory, but no A-to-C path in that fixed active-edge list. This checked exercise uses Python’s deque to inspect the two supplied graphs.
from collections import deque
physical = [('A', 'B'), ('B', 'C'), ('A', 'C')]
forwarding = [('A', 'B'), ('B', 'C')]
def reachable(edges, start, end):
seen = {start}
queue = deque([start])
while queue:
node = queue.popleft()
for left, right in edges:
peer = right if left == node else left if right == node else None
if peer is not None and peer not in seen:
seen.add(peer)
queue.append(peer)
return end in seen
failed_link = {'B', 'C'}
for name, edges in [('physical', physical), ('forwarding', forwarding)]:
remaining = [(a, b) for a, b in edges if {a, b} != failed_link]
print(f'{name} A-to-C after B-C removal: {reachable(remaining, "A", "C")}')Expected output:
physical A-to-C after B-C removal: True forwarding A-to-C after B-C removal: False
The exercise deliberately keeps the forwarding list fixed after the removal. It does not model spanning-tree reconvergence, link negotiation, routing or packet loss. A real protocol might activate another path; that would require new observed state, not an assumption inserted into this graph result.
Which failure questions make a topology answer practical?
14. Are two lines on a diagram independent? Not necessarily. They may share a duct, patch panel, chassis or power source. Ask for the physical route and termination rather than counting two drawn lines as two independent protections.
15. How does aggregation affect the picture? An EtherChannel can present multiple compatible links as a logical bundle. Member failure and load distribution differ from a separate routed alternate path; one flow does not automatically use every member’s combined rate.
| Supplied observation | Reasonable conclusion | Unsupported leap |
|---|---|---|
| Three physical links exist | A triangle is inventoried | Every link currently forwards |
| An alternate path is configured | A recovery mechanism is intended | Recovery is lossless or instantaneous |
| Two circuits use different carriers | Contracts differ | Their last-mile cable routes are independent |
How should you answer a topology selection scenario?
16. What would you choose for a small office? Start with attachment count, cost, management, growth and acceptable failure impact. A switched star may fit, but explain its central dependency and any required uplink protection rather than calling it universally best.
17. What evidence would confirm the logical path? Compare the relevant VLAN, spanning-tree, aggregation or routing records with the physical inventory. Choose the records for the layer under discussion and preserve the observation time.
In the triangle case, the useful answer is that the inventory and forwarding list describe different things. Request the post-fault operational state before claiming that C recovered. This also tells the interviewer what the graph exercise establishes and what the network would still need to demonstrate.
Related reading: network design interview questions; spanning-tree interview questions.
References
Frequently Asked Questions
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Wow
0
Sad
0
Angry
0