0
0
Computer Networksknowledge~20 mins

BGP and inter-domain routing in Computer Networks - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
BGP Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
What is the primary role of BGP in inter-domain routing?

Border Gateway Protocol (BGP) is crucial for routing between different networks on the internet. What is its main function?

ATo exchange routing information between different autonomous systems
BTo manage routing within a single local network
CTo encrypt data packets between routers
DTo assign IP addresses to devices
Attempts:
2 left
💡 Hint

Think about how different large networks communicate routing information.

📋 Factual
intermediate
2:00remaining
Which attribute in BGP is used to select the best path when multiple routes exist?

When BGP routers receive multiple routes to the same destination, which attribute do they primarily use to decide the best path?

AMAC address
BSubnet mask
CTTL value
DAS_PATH length
Attempts:
2 left
💡 Hint

Consider which attribute reflects the number of networks a route passes through.

🔍 Analysis
advanced
2:00remaining
What happens if a BGP router receives a route with its own AS number in the AS_PATH?

Consider a BGP router that receives a route advertisement containing its own AS number in the AS_PATH attribute. What is the expected behavior?

AThe router resets the BGP session with the neighbor
BThe router rejects the route to prevent routing loops
CThe router modifies the AS_PATH by removing its AS number
DThe router accepts the route and forwards it normally
Attempts:
2 left
💡 Hint

Think about how BGP avoids routing loops between autonomous systems.

Comparison
advanced
2:00remaining
How does BGP differ from interior gateway protocols (IGPs) like OSPF in inter-domain routing?

Compare BGP with IGPs such as OSPF regarding their roles and characteristics in routing.

ABGP automatically discovers neighbors, but IGPs require manual configuration
BBGP uses link-state algorithms, whereas IGPs use path-vector algorithms
CBGP is used for routing between autonomous systems, while IGPs operate within a single autonomous system
DBGP does not support policy-based routing, unlike IGPs
Attempts:
2 left
💡 Hint

Think about the scope of routing each protocol handles.

Reasoning
expert
3:00remaining
Why is BGP considered a path-vector protocol rather than a distance-vector or link-state protocol?

BGP is classified as a path-vector protocol. What reasoning best explains this classification compared to distance-vector and link-state protocols?

ABecause BGP maintains the full path of autonomous systems for each route, enabling loop detection and policy enforcement
BBecause BGP only shares the cost of routes without path information
CBecause BGP floods link-state information to all routers in the network
DBecause BGP uses shortest path first algorithm like link-state protocols
Attempts:
2 left
💡 Hint

Consider how BGP tracks route information differently from other protocols.