CS 6250 Quiz 3 (All Quizzes) Latest Update | Verified
Questions and Correct Answers | Complete Study Guide –
Georgia Institute of Technology
2026/202
...
7 | GRADED A+ | 100 out of 100
Question:
What is the drawback to using the traditional approach of having a single, publicly accessible web server?
Answer:
Geographical distance to all users
Wasteful for a single data center to send the same data over and over
Single point of failure
Question:
What is a CDN?
Answer:
Multiple geographically distributed data centers with copies of content that direct users to server to best serve their
request.
Question:
What are the six major challenges that Internet applications face?
Answer:
Peering point congestion
Inefficient routing protocols
Unreliable networks
Inefficient communication protocols
Scalability
Application limitations
Question:
What are the major shifts that have impacted the evolution of the Internet ecosystem?
Answer:
Increased demand for online content, especially videos
"Topological Flattening"
Question:
Compare the "enter deep" and "bring home" approach of CDN server placement.
Answer:
Enter Deep: Deploy many small networks around the world. Goal is to make distance between user and closest server
as small as possible
Bring Home: Deploy fewer, larger servers in critical areas. Fewer clusters to maintain, but users will experience higher
delay and slower throughput
Question:
What is the role of DNS in the way CDN operates?
Answer:
DNS intercepts requests so that CDNs can choose where to direct users based on location/other conditions
Question:
What are the two main steps in CDN server selection?
Answer:
Map a client to a cluster
Select a server from the cluster
Question:
What is the simplest approach to select a cluster? What are the limitations of this approach?
Answer:
"As the crow flies": Pick the closest geographic cluster
Limitations: actually picking the location closest to the Local Domain Name Server, not the user. The closest
geographical server may also not be the best in end-to-end performance
Question:
What metrics could be considered when using measurements to select a cluster?
Answer:
Network-layer metrics: delay, bandwidth
Application-layer metrics: re-buffering ratio, average bitrate
Question:
How are the metrics for cluster selection obtained?
Answer:
Active measurements: LDNS can probe multiple clusters. Most cannot do this though and it would create a lot of
traffic
Passive measurements: server in CDN can track performance metrics based on current traffic conditions. This would
require a real-time controller with real-time view at all cluster-client pairs
Question:
Explain the distributed system that uses a 2-layered system. What are the challenges of this system?
Answer:
Coarse-grained global layer: Operates at large time scales. Has global view of client quality metrics. Builds prediction
model of video quality
Fine-grained per-client layer: Operates at millisecond timescale. Makes decisions upon client request
Challenges: Hard to design a centralized system with scale of today's networks. Needs data for different subnet pairs,
so some clients need to be routed to sub-optimal clusters
Question:
What are the strategies for server selection? What are the limitations of these strategies?
Answer:
Assign server randomly: might end up assigning server with high workload while lower workload was available
Load-Balancing to route to least-loaded server: not all servers have same content so they'd need to fetch all content for
every server
Question:
What is consistent hashing? How does it work?
Answer:
Tends to balance load by assigning roughly the same number of content IDs, and little movement is needed as nodes
join and leave the system. (uniform circle example)
Question:
Why would a centralized design with a single DNS server not work?
Answer:
Single point of failure
Difficult to handle all volume of querying traffic
Cannot be close to all clients
Updating a huge db for every host on Internet
Question:
What are the main steps that a host takes to use DNS?
Answer:
User host runs client side of DNS application
Browser extracts hostname and passes it to client side of DNS application
DNS client sends a query containing the hostname of DNS
DNS client receives a reply including IP address for the hostname
Host can initiate TCP connection to HTTP server at that port IP
Question:
What are the services offered by DNS, apart from hostname resolution?
Answer:
Mail server/Host aliasing
Load distribution
Question:
What is the structure of DNS hierarchy?
Answer:
Root DNS servers
Top level domain (TLD) servers
Authoritative servers
Local DNS servers
Question:
Why does DNS use a hierarchical scheme?
Answer:
Hierarchy scheme solves the scaling issue
Question:
What is the difference between iterative and recursive DNS queries?
Answer:
Iterative: querying host is referred to a different DNS server in the chain until it can fully resolve the request
Recursive: querying host and each DNS server in chain queries next server and delegates query to it
Question:
What is DNS caching?
Answer:
Once a server receives the DNS reply of mapping any host to IP address, it stores that info in the Cache memory before
sending it to the client
Question:
What is a DNS resource record?
Answer:
Mapping between hostnames and IP addresses
Question:
What are the most common types of resource records?
Answer:
TYPE=A: domain name - IP address
TYPE=NS: domain name - DNS server that can get IP addresses for hosts in that domain
TYPE=CNAME: alias hostname - canonical name
TYPE=MX: alias hostname of mail server - canonical name of email server
Question:
Describe the DNS message format.
Answer:
ID: So client can match queries with responses
Flags: Specifications about DNS message, query, etc
Question: Info about the query like the hostname
Answer: Resource record for hostname that was queried
Authority: Resource records for more authoritative servers
Additional Info
Question:
What is IP Anycast?
Answer:
Route a client to the "closest" server as determined by BGP.
Question:
What is HTTP Redirection?
Answer:
If a client sends a GET request to a server A, it can redirect the client to another server B by sending a HTTP response
with code 3xx and name of new server. Can slow things down but useful for load balancing. Does not require any
central coordination
What is the difference between forwarding and routing?
Answer:
Forwarding refers to transferring a packet from an incoming link to an outgoing link within a single router.
Routing refers to how routers work together using routing protocols to determine the good paths (or good routes as we
call them) over which the packets travel from the source to the destination node
What is the main idea behind a link-state routing algorithm?
Answer:
Link state routing protocols are underpinned by Dijkstra's algorithm. The link costs and network topology are known
to all nodes.
Key equation
D(v) = min(D(v), D(w) + c(w, v))
What is an example of a link-state routing algorithm?
Answer:
OSPF - Open Shortest Path First protocol
Walk through an example of the link-state routing algorithm.
Answer:
Lecture slides.
What is the computational complexity of the link-state routing algorithm?
Answer:
O(N^2)
This is derived from the fact that each iteration, we need to search through the nodes not in N' for the node with
smallest D. This group starts off as size N and decreases by 1 each iteration
N + (N - 1) + .. + 1 = O(N^2)
What is the main idea behind the distance vector routing algorithm?
Answer:
The distance vector routing algorithm is underpinned by the Bellman Ford algorithm. Unlike link state, DV is a
distributed algorithm. Nodes exchange information to update their view of the network.
Key equation:
For node x,
Dx(y) = minv{c(x,v) + Dv(y)} for each destination node y in the network
where minv in the equation is taken over all of x's neighbors v
Walk through an example of the distance vector algorithm.
Lecture slides.
When does the count-to-infinity problem occur in the distance vector algorithm?
A count-to-infinity problem occurs when we have a routing loop e.g. in order to get to x, y routes through z, and z
routes through y.
We saw in the lecture where this happened with a large increase in link cost, that took a long time to propagate among
nodes in the network.
How does poison reverse solve the count-to-infinity problem?
The idea of poison reverse is to lie about a node z's ability to reach a particular other node x, so that other nodes y don't
try to reach x via z. In this manner, we prevent a routing loop.
This technique will solve the problem with 2 nodes, however poison reverse will not solve a general count to infinity
problem involving 3 or more nodes that are not directly connected.
What is the Routing Information Protocol (RIP)?
RIP is a distance vector routing protocol. It uses hop count as a metric (link cost = 1), and messages exchanged are
known as RIP advertisements.
RIP uses UDP to send request and response messages, and is actually implemented as an application-level process.
Some of the challenges with RIP include updating routes, reducing convergence time, and avoiding loops/count-to
infinity problems.
What is the Open Shortest Path First (OSPF) protocol?
OPSF is a link-state routing protocol. OSPF was introduced as an advancement of the RIP Protocol, operating in
upper-tier ISPs. It is a link-state protocol that uses flooding of link-state information and a Dijkstra least-cost path
algorithm.
OPSF involves configuring an AS into areas. One area in an AS is the backbone area.
Routing topologies are communicated between routers in an area with link state advertisements (LSAs).
How does a router process advertisements?
In the context of OSPF: Updating the link-state database, calculating the shortest path using the shortest path first
SPF algorithm., feeding information to the Forwarding Information Base...
What is hot potato routing?
A technique/practice of choosing a path within the network, by choosing the closest egress point based on intradomain
path cost (Interior Gateway Protocol/IGP cost).
This is useful when packets are intended for destinations outside the current network, and we want to get the traffic
out ASAP.
Hot potato routing simplifies computations for the routers as they are already aware of the IGP path costs. It makes
sure that the path remains consistent, since the next router in the path will also choose to send the packet to the same
egress point.
"Routing" and "forwarding" are interchangeable terms.
True
False
False
Consider a source and destination host. Before packets leave the source host, the host needs to define the path over
which the packets will travel to reach the destination host.
True
False
False
Intradomain routing refers to routing that takes place among routers that belong to the same administrative domain.
In contrast when routers belong to different administrative domains, we refer to routing as interdomain routing.
True
False
True
Consider the link-state routing protocol. The link costs are known to all nodes.
True
False
True
As is the network topology
Consider the link-state routing protocol. The network topology is known to all nodes.
True
False
True
As are all link costs.
Consider the link-state routing protocol and a node u as our source node. The goal of the algorithm is to compute the
least-cost paths from the source node u to every other node in the network.
True
False
True
Consider the link-state routing protocol with a node u as our source node. Consider the initialization of the algorithm.
We initialize the least-cost path from node u to directly attached neighbors to be the cost of the direct links, and for
non-directly attached neighbors we initialize the least-cost path to be infinity.
True
False
True
The distance vector (DV) routing algorithm continues iterating as long as neighbors send new updates to each other.
True
False
True
The distance vector (DV) routing algorithm is an example of a ______________ algorithm.
A. decentralized
B. centralized
A.
The distance vector (DV) routing algorithm requires synchronization between routers.
True
False
False
In the distance vector (DV) routing algorithm, each node maintains and updates its own view of the network.
True
False
True
Consider the distance (DV) routing algorithm. Which is used by each node to update the node's distance vector?
A. Dijkstra's algorithm
B. None of the above
C. The spanning tree protocol
D. The Bellman Ford equation
D.
The count-to-infinity problem states that good news (e.g., a decrease in a link cost) propagates slowly among nodes in
the network.
True
False
False
Bad news (increased link cost) propagates slowly.
The poison reverse technique solves the count-to-infinity problem for all network topologies.
True
False
False
Not a general solution.
The Routing Information Protocol (RIP) is based on the Distance Vector protocol.
True
False
True
Open Shortest Path First (OSPF) is based on the link state routing algorithm.
True
False
True
The number of egress points that a network has is upper bounded, e.g., two or three egress points per network.
True
False
False
Consider a network with multiple egress points. Further consider that these egress points offer different paths to the
same external destinations. Then these paths must have different costs.
True
False
False
According to the hot potato routing technique, it is in a network's best interest to route the traffic so that it exits the
network at the router geographically closest to the one from which it entered the network.
True
False
False
The one with the best IGP cost
Assume a source and a destination host. As packets travel over a path from the source host to the destination host the
packets are handled by multiple routers over that path. If these routers belong to different administrative domains,
they need to run the same intradomain routing algorithm, since they are on the same path for that pair of hosts.
True
False
False
What is the difference between forwarding and routing.
We refer to forwarding as the action of transferring a packet from an incoming link to an outgoing link within a single
router.
By routing we refer to how routers work together using routing protocols to determine the good paths over which the
packets travel from the source to the destination node.
Dijkstra's algorithm is an example of what?
A Global, Link State Algorithm
What is the main idea behind link state algorithm
The link state routing algorithm looks to determine the shortest paths (determined by the link costs) between a source
node and all other nodes in the network. The link costs and the network topology are known to all nodes
In the initialization step, we initialize the least cost path to all directly attached neighbors and set all others to infinity.
What is the computational complexity of the link state routing algorithm?
The complexity of the algorithm is in the order of n squared O(n^2). The algorithm searches through n (n+1) / 2
nodes.
What is the main idea behind distance vector routing algorithm?
Each node maintains its own distance vector, with the costs to reach every other node in the network. The neighboring
nodes exchange their distance vectors to update their own view of the network.
Algorithm is Iterative, Asynchronous, distributed, and based on BFA.
When does the count-to-infinity problem occur in the distance vector algorithm?
___ occurs in the distance vector algorithm when the cost of a link increases and two nodes think they can get to a
third node through each other based on their previous outdated costs. This link cost change took a long time to
propagate among the nodes of the network
How does poison reverse solve the count-to-infinity problem?
The way it works is that a node a, that uses node b to get a node c, will tell node b that the cost for its path to node c is
infinity (Da(c)=infinity). Node b assumes that node a has no path to node c except through node b, so it will never send
packets to node c via node a.
Poison reverse helps prevent the count-to-infinity problem only for 2 nodes, it does not solve a general count to
infinity involving 3 or more nodes that are not directly connected.
What is the Routing Information Protocol (RIP)?
is based on the Distance Vector protocol.
The metric for choosing a path could be shortest distance, lowest cost or a load-balanced path.
Routing updates between neighbors are done periodically, using ___ advertisements which contain information about
sender's distances to destination subnets.
Each router maintains a routing table, which contains its own distance vector as well as the router's forwarding table.
Routers send request and response messages over UDP, using port number 520, which is layered on top of network
layer IP protocol.
Some of the challenges with RIP include updating routes, reducing convergence time, and avoiding loops/count-to
infinity problems.
What is Open Shortest Path First (OSPF)?
is a routing protocol which uses a link state routing algorithm to find the best path between the source and the
destination router. intradomain.
How does a router process advertisements?
Process begins when an LS update is received.
a. Every Link State Advertisements (LSA) is unpacked, the OSPF protocol checks whether it is a new or a duplicate
LSA, compared to the link-state (LS) DB.
i.If it is a duplicate, it sends an LS ACK packet back immediately.
ii.If it is new, it updates the LS DB, schedules a Shortest Path First (SPF) algorithm calculation and it determines
which interface the LSA needs to be flooded out of.
Once the LS update packet has been processed, it prepares new LSAs updates into a new LS update packet and sends it
to the next router.
After this, the SPF calculations are computed.
And finally the Forwarding Information Base (FIB) is updated. The information in the FIB is used to decide which
outgoing interface card is the incoming packet forwarded to.
What is hot potato routing?
is a technique/practice of choosing a path within the network, by choosing the closest egress point based on intra
domain path cost (Interior Gateway Protocol/IGP cost).
effectively reduces the network's resource consumption by getting the traffic out as soon as possible.
simplifies computations for the routers as they are already aware of the IGP path costs. It makes sure that the path
remains consistent, since the next router in the path will also choose to send the packet to the same egress point.
What could weights on the graph edges be represented by when we are seeking the least cost path between two nodes?
Cable Length, Time Delay, Monetary Cost, Link Capacity, Current load on the link.
Forwarded
A packet is ___ when it is moved from the routers input link to the appropriate output link.
What is true about the link state algorith?
The number of immediate neighbors a node has will have no impact on the number of iterations required to complete
the algorithm.
Routing loops
Can cause the count to infinity problem.
The Routing Information Protocol (RIP) is an example of
a DV algorithm and intradomain algorithm.
what is Interior gateway protocol (IGP)
a type of protocol used for exchanging routing information between gateways (commonly routers) within an
autonomous system. ___ can be divided into two categories: distance-vector routing protocols and link-state routing
protocols.
Additional details of the Distance Vector Algorithm
Each node maintains and updates its own view of the network (doesn't have the complete picture).
Keeps iterating as long as neighbors send new updates
CS 6250 Quiz 2 (All Quizzes) Latest Update | Verified
Questions and Correct Answers | Complete Study Guide –
Georgia Institute of Technology
2026/202
...
7 | GRADED A+ | 100 out of 100
Questions:
What are 2 reasons computer networks are complex and difficult to manage that led to the development of SDN?
Answer
1. Diversity of network equipment
2. Proprietary technology required for equipment
Questions:
Why would equipment diversity cause complexity when managing a network?
Answer
Different software must be used for different protocols (7)
Questions:
Why do proprietary technologies cause complexity when managing networks?
Answer
Some equipment (router, switch, etc.) run on closed/proprietary software
Configuration interfaces vary as a result.
This causes issues for managing devices centrally. (7)
Questions:
What is the simple idea of SDN that helps make networks more manageable?
Answer
Separate tasks into control plane and data plane. (7)
Questions:
What are the 3 phases of history of SDN?
Answer
1. Active networks
2. control plane and data plane separation
3. OpenFlow API and network operating systems (7)
Questions:
What led to the growth of active networks, and what is their goal?
Answer
1. the tediousness of standardizing new protocols
2. goal is to open up network control with an API that exposes resources and supports customization of functionalities
for subsets of packets passing through network nodes
(7)
Questions:
Why do active networks conflict with idea of E2E?
Answer
They require customization at network nodes (not simplicity at network core)
(7)
Questions:
What were the two types of programming models in active networking? How are thy different?
Answer
1. Capsule model - carries in band data packets - most used in relation to active networking - code distribution ACROSS networks - data plane
2. Programmable router/switch model - out of band mechanisms - decision-making a job for the NETWORK OPERATOR - Difference is where the code to execute at the nodes was carried (7)
Questions:
What are 4 tech developments that encouraged active networking?
Answer
1. reduction in computation cost (more processing can take place in the network)
2. advancement in programming languages
3. advancement in rapid code compilation and formal methods
4. funding agencies promoted interoperability among projects - necessary because there were no short-term use cases
(7)
Questions:
What are 4 problems that encouraged active networking?
Answer
1. developing network services took a long time
2. third party interests to dynamically meeting needs of app and network conditions
3. researches needed a network for large-scale experiments
4. disadvantage of diverse models and vendors meant a desire for unified control over middleboxes (7)
Questions:
What are 3 contributions of SDN?
Answer
1. programmable functions in network = lower barrier to innovation
2. network virtualization and ability to demultiplex based on packet headers
3. vision of unified architecture for middlebox orchestration
(7)
Questions:
Which plane are active networks associated with?
Answer
Data plane (7)
Questions:
What plane do programmable functions in active networks focus on increasing programmability, and why?
Answer - Data plane - isolate experimental traffic from normal traffic (7)
Questions:
What were some downfalls of active networking?
Answer - it was too ambitions - didn't emphasize performance and security - it didn't solve any short term problems - end users need to be ale to write in java (7)
Questions:
Did active network do anything for performance? Security?
Answer
No (7)
Questions:
What challenge did control and data plane separation tackle?
Answer
Challenging how existing routers and switches tightly integrated the data and control plane (7)
Questions:
What were 4 tech developments that paved the way for control and data plane separation?
Answer
1. packet forwarding (data plane) was implemented in hardware (separate from control plane)
2. ISPs couldn't meet increasing demands for greater reliability and new services b/c of increasing scope and size
3. servers have much more memory and processing resources - routing decisions could be done on one server for one
ISP network
4. open-source routing lowers barrier to creating prototypes of centralized routing controllers
(7)
Questions:
How did higher link speeds in backbone networks encourage control and data plane separation?
Answer
packet forwarding implemented in hardware, separate from control plane (7)
Questions:
What 2 innovations led to the control and data plane separation?
Answer
1. open interface between control and data plane
2. logically centralized control of network(7)
Was the network centrally controlled logically, physically, or both under control and data plane separation?
Answer
LOGICALLY centrally controlled(7)
What are 3 ways control plane and data plane separation differed form active networks?
Answer
1. Spurred innovation for network ADMINS instead of users
2. emphasized programmability in CONTROL domain instead of data domain
3. worked towards NETWORK-WIDE visibility and control rather than device level configurations(7)
Was visibility and control at network level or device level for active networks? Control/data plane separation?
Device level
Network level
(7)
Was programmability in control domain or data domain for active networks? Control/data plane separation?
Data domain
control domain
(7)
Was innovation for network admins or users for active networks? Control/data plane separation?
Users
Admins
(7)
What are 5 use cases for control plane/data plane?
1. path selection based on network traffic load
2. minimized disruptions during planned routing changes
3. redirecting or dropping suspected attack traffic
4. allow customer networks more control over network flow
5. offer value added services for virtual private network customers
(7)
Were control plane and data plane separation efforts focused on managing routing WITHIN ONE ISP?
No
some wanted to enable flexible route control across many ASes
(7)
What 2 concepts resulted from control and data plane separation?
1. LOGICALLY centralized control w/ open interface to data plane
2. DISTRiBUTED state management
(7)
Was control plane/data plane separation logically distributed?
No logically CENTRALIZED (7)
Was control plane/data plane state management distributed or centralized?
Distributed (7)
Why was OpenFlow built on existing hardware? What was the weakness of this?
Enabled immediate deployment
Less flexibility
(7)
How does an openflow switch work?
Switch has TABLE OF PACKET HANDLING RULES
each rule has a pattern, list of actions, set of counters, and priority
when packet is received, the switch: - determines highest priority matching rule - performs action - increments counter
(7)
What happens when an openflow switch receives a packet? - determines highest priority matching rule - performs action - increments counter
(7)
Which SDN tech was adopted in the industry: active networks, control/data plane separation, Openflow?
Openflow (7)
What are 3 tech developments that encouraged openflow?
1. programmers could control some forwarding behavior (b/c of switch chipset vendors)
2. companies could build switches without designing their own DATA PLANE
3. early versions of openflow were built on tech that switches ALREADY SUPPORTED - just a firm upgrade
(7)
Were early versions of openflow built from the ground up?
No, built on tech that switches already supported (7)
Was it difficult to integrate openflow? Why?
No, built on already supported tech (7)
What were 3 use cases for openflow?
1. large scale experiments on network
2. managing traffic at large scales in data-center networks
3. investing in programmers to write control programs, and less in proprietary switches that couldn't support new
features
(7)
Did openflow prevent small players from being competitve? Why
No, became more competitive b/c they could just focus on writing control programs instead of proprietary switches
(7)
What are 3 key effects of openflow?
1. GENERALIZATION of network devices and functions
2. Vision of NETWORK OPERATING SYSTEM
3. DISTRIBUTE STATE MANAGEMENT techniques
(7)
What does the control plane do?
Logic that controls forwarding behavior of routers such as ROUTING PROTOCOLS and NETWORK MIDDLEBOX
configurations
DICTATES forwarding behavior
(7)
What does the data plane do?
PERFORMS actual forwarding as dictated by control plane
IP FORWARDING and LAYER 2 SWITCHING
(7)
What are 2 reasons to separate control and data plane?
1. independent evolution and development of both planes - ex. routing algorithms can improve WITHOUT AFFECTING EXISTING ROUTERS
2. Control from HIGH LEVEL software program - SDN uses software to COMPUTE forwarding tables - software to CONTROL router's behavior - DEBUGGING IS EASIER
(7)
What are 4 areas the separation of control/data plane helps?
1. Data centers - network management is easier
2. routing - SDN makes it easier to update state - more control over path selection
3. enterprise networks - SDN improves security applications - drop traffic at strategic locations
4. research networks - research can coexist w/ production networks
(7)
what are 2 important functions of network layer?
1. forwarding - determine which output link a packet should be sent to using forwarding table - LOCAL function implemented in HARDWARE - data plane - nanoseconds
2. determines path from sender to receiver across the network (usually with routing algorithms)
Exam
$16.95
0
37
Purchase the bundle to get the full access instantly