AP CSP fault tolerance and routing practice questions
Practice questions for AP Computer Science Principles focusing on fault tolerance and routing in networks, covering essential concepts and real-world applications.
Quiz(28 questions)
1. What is fault tolerance?
Terms in this Study Set(28)
Fault Tolerance Concepts(16)
Fault tolerance definition
The ability of a system to continue functioning despite failures or errors.
True or False: Redundancy increases fault tolerance.
True. Redundancy provides backups that maintain system functionality during failures.
Example of fault tolerance in everyday life
Using two power supplies; if one fails, the other maintains power.
What is a failover system?
A backup operational mode that automatically activates when the primary system fails.
Comparison: Active vs. Passive Redundancy
Active: Uses backup resources continuously. Passive: Activates backups only during failures.
Fill in the blank: RAID stands for _____.
Redundant Array of Independent Disks.
Cause → Effect: What causes data loss?
System failure or hardware malfunction can lead to data loss.
What role do backups play in fault tolerance?
Backups ensure data can be restored after a failure occurs.
True or False: Fault tolerance can eliminate all risks.
False. It reduces risks but cannot eliminate them entirely.
What is a distributed system?
A system that consists of multiple interconnected computers that share resources and handle failures.
Example of a fault-tolerant network
A mesh network where multiple paths exist between devices, ensuring connectivity despite any single failure.
What is hot swapping?
The ability to replace or add components without shutting down the system.
Comparison: Hardware vs. Software Fault Tolerance
Hardware: Uses physical redundancy. Software: Uses algorithms to handle errors.
Fill in the blank: A ____ can detect and correct errors.
Checksum.
What does it mean for a system to be highly available?
It is designed to be operational and accessible most of the time, minimizing downtime.
Cause → Effect: What happens without fault tolerance?
Increased risk of system outages and data loss.
Routing Algorithms and Protocols(12)
What is a routing algorithm?
A method that determines the optimal path for data to travel across a network.
True or False: Distance vector routing sends the entire routing table.
False. Distance vector routing sends only the distance and direction to reach a destination.
Fill in the blank: OSPF stands for _____
Open Shortest Path First.
Compare link-state and distance vector routing.
- Link-state: Each router knows the entire network topology. - Distance vector: Each router only knows the distance to neighbors.
What is RIP?
Routing Information Protocol, a distance vector routing protocol using hop count for path selection.
Cause → Effect: What happens when a routing loop occurs?
Data packets circulate endlessly, leading to network congestion and performance degradation.
What is BGP used for?
Border Gateway Protocol is used for routing between autonomous systems on the internet.
True or False: Link-state algorithms are more scalable than distance vector algorithms.
True. Link-state algorithms update less frequently and can handle larger networks.
Calculate: If a packet travels 300 miles at 100 mph, how long does it take?
Time = Distance / Speed = 300 miles / 100 mph = 3 hours.
What is the purpose of a routing table?
To store routes and their associated next-hop addresses for packet forwarding decisions.
Name one advantage of using OSPF.
Supports large networks with fast convergence and efficient use of bandwidth.
Characteristics of a hybrid routing protocol.
- Combines features of distance vector and link-state. - Examples: EIGRP, uses DUAL algorithm.
Questions in this Study Set(28)
1. What is fault tolerance?
2. What is the primary function of a routing algorithm?
3. True or False: Redundancy in a system can help enhance fault tolerance.
4. Which of the following statements accurately describes link-state routing protocols?
5. An example of fault tolerance in a daily scenario involves:
6. What does the acronym RIP stand for in networking?
7. What is a failover system?
8. Which of the following is NOT a characteristic of distance vector routing?
9. Active redundancy differs from passive redundancy because:
10. What is the primary purpose of a routing table in a router?
11. Fill in the blank: RAID stands for _____.
12. Which routing protocol would you expect to use the DUAL algorithm?
13. What can cause data loss?
14. True or False: Border Gateway Protocol (BGP) is used for routing within a single autonomous system.
15. What is the role of backups in fault tolerance?
16. What happens during a routing loop?
17. True or False: Fault tolerance can completely eliminate all risks associated with system failures.
18. Which of the following routing protocols uses hop count as its metric?
19. Which of the following best describes a distributed system?
20. What is one advantage of using OSPF over distance vector protocols?
21. An example of a fault-tolerant network is:
22. Which statement best compares distance vector and link-state routing protocols?
23. What is hot swapping?
24. Fill in the blank: OSPF is classified as a _____ protocol.
25. Comparison: Hardware fault tolerance vs. software fault tolerance involves:
26. Fill in the blank: A ____ can detect and correct errors.
27. What does it mean for a system to be highly available?
28. Without fault tolerance, what is the likely outcome?
Related Study Sets
OSI-Modell Schichten Karteikarten
Klausur: TCP Flusskontrolle und Staukontrolle
IP-Subnetting Subnetzmaske Definitionen
Test: Was ein Router tut
HTTP und HTTPS Schritt für Schritt
Wiederholung: IP-Adresse und DNS
TCP IP Schichtenmodell Abiturvorbereitung
Client und Server Notizen
Create Your Own Study Set
Upload a PDF, paste your notes, or describe a topic – AI generates flashcards, quizzes and more in seconds.

