Bird
Raised Fist0
SCADA systemsdevops~10 mins

Network redundancy (ring topology) in SCADA systems - Interactive Code Practice

Choose your learning style10 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to define a ring topology with 4 nodes.

SCADA systems
ring_topology = ['Node1', 'Node2', 'Node3', [1]]
Drag options to blanks, or click blank then click option'
A'Node4'
B'Node6'
C'Node5'
D'Node7'
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing a node name that breaks the sequence.
2fill in blank
medium

Complete the code to add a link between the last and first node to form a ring.

SCADA systems
links = [('Node1', 'Node2'), ('Node2', 'Node3'), ('Node3', 'Node4'), [1]]
Drag options to blanks, or click blank then click option'
A('Node3', 'Node1')
B('Node4', 'Node2')
C('Node4', 'Node1')
D('Node1', 'Node3')
Attempts:
3 left
💡 Hint
Common Mistakes
Connecting nodes that do not close the ring.
3fill in blank
hard

Fix the error in the code to correctly check if the network is a ring.

SCADA systems
is_ring = (len(links) == len(nodes) and links[[1]] == ('Node4', 'Node1'))
Drag options to blanks, or click blank then click option'
A1
B-1
C0
D2
Attempts:
3 left
💡 Hint
Common Mistakes
Using 0 or 1 instead of -1 for the last element.
4fill in blank
hard

Fill both blanks to create a function that returns True if the network is a ring.

SCADA systems
def check_ring(nodes, links):
    return len(links) == len(nodes) and links[[1]] == (nodes[-1], [2])
Drag options to blanks, or click blank then click option'
A-1
Bnodes[0]
Cnodes[1]
Dnodes[-2]
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong indices for last link or first node.
5fill in blank
hard

Fill all three blanks to create a dictionary comprehension that maps each node to its next node in the ring.

SCADA systems
next_node = {nodes[[1]]: nodes[[2]] for [3] in range(len(nodes))}
Drag options to blanks, or click blank then click option'
Ai
B(i + 1) % len(nodes)
Dj
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong variable names or forgetting modulo for wrap-around.

Practice

(1/5)
1. What is the main advantage of using a ring topology in SCADA network redundancy?
easy
A. It provides a closed loop that allows data to travel in both directions for fault tolerance.
B. It reduces the number of cables needed compared to a star topology.
C. It eliminates the need for switches or routers in the network.
D. It ensures that only one device controls the entire network.

Solution

  1. Step 1: Understand ring topology structure

    A ring topology connects devices in a closed loop, allowing data to flow in both directions.
  2. Step 2: Identify redundancy benefit

    This loop allows the network to continue operating even if one connection breaks, providing fault tolerance.
  3. Final Answer:

    It provides a closed loop that allows data to travel in both directions for fault tolerance. -> Option A
  4. Quick Check:

    Ring topology = fault tolerance loop [OK]
Hint: Ring means loop for backup path [OK]
Common Mistakes:
  • Thinking ring topology reduces cables more than star
  • Believing ring removes need for switches
  • Assuming one device controls whole network
2. Which of the following is the correct description of RSTP in a ring topology?
easy
A. RSTP disables all redundant links permanently to avoid loops.
B. RSTP requires manual configuration of backup routes in the ring.
C. RSTP quickly blocks and unblocks links to prevent loops and maintain redundancy.
D. RSTP only works in star topologies, not ring topologies.

Solution

  1. Step 1: Understand RSTP function

    Rapid Spanning Tree Protocol (RSTP) manages network loops by blocking and unblocking links dynamically.
  2. Step 2: Apply to ring topology

    In ring topology, RSTP prevents loops while keeping backup paths ready for fast recovery.
  3. Final Answer:

    RSTP quickly blocks and unblocks links to prevent loops and maintain redundancy. -> Option C
  4. Quick Check:

    RSTP = dynamic loop prevention [OK]
Hint: RSTP blocks loops fast, keeps backups ready [OK]
Common Mistakes:
  • Thinking RSTP disables all backups permanently
  • Believing RSTP needs manual backup setup
  • Assuming RSTP only works in star topology
3. Given a ring network with 4 devices A, B, C, D connected in order, if the link between B and C fails, what happens to the data flow?
medium
A. Data flow stops completely until the link is repaired.
B. Data reroutes from B to A to D to C, maintaining communication.
C. Data flows only between A and B, and between C and D separately.
D. Data flows directly from B to C using a backup cable.

Solution

  1. Step 1: Identify ring topology behavior on failure

    In a ring, if one link breaks, data can travel the opposite way around the loop.
  2. Step 2: Trace data rerouting path

    With B-C link down, data from B goes back to A, then to D, and finally to C, keeping communication alive.
  3. Final Answer:

    Data reroutes from B to A to D to C, maintaining communication. -> Option B
  4. Quick Check:

    Ring reroutes data opposite way on failure [OK]
Hint: Ring sends data opposite way if link breaks [OK]
Common Mistakes:
  • Assuming data stops completely on one link failure
  • Thinking devices split into isolated pairs
  • Believing backup cable exists physically between B and C
4. A SCADA ring network is experiencing a broadcast storm causing network slowdown. What is the most likely cause?
medium
A. RSTP is not enabled, causing loops to flood the network.
B. All devices are configured with unique MAC addresses.
C. The ring topology has only one device connected.
D. The network cables are too long, causing signal loss.

Solution

  1. Step 1: Understand broadcast storm cause

    Broadcast storms happen when loops cause packets to circulate endlessly, flooding the network.
  2. Step 2: Identify missing loop prevention

    Without RSTP or similar protocol, ring loops cause broadcast storms.
  3. Final Answer:

    RSTP is not enabled, causing loops to flood the network. -> Option A
  4. Quick Check:

    Missing RSTP = broadcast storm [OK]
Hint: No RSTP means loops cause storms [OK]
Common Mistakes:
  • Thinking unique MAC addresses cause storms
  • Assuming single device causes broadcast storm
  • Blaming cable length for broadcast storms
5. In a SCADA ring topology with RSTP enabled, if two links fail simultaneously on opposite sides of the ring, what is the expected network behavior?
hard
A. The network remains fully operational with no data loss.
B. All devices shut down to prevent damage.
C. RSTP automatically repairs both links instantly to restore the ring.
D. The ring breaks into two isolated segments, causing partial network failure.

Solution

  1. Step 1: Analyze double link failure in ring

    Two opposite link failures break the ring into two separate parts.
  2. Step 2: Understand RSTP limits

    RSTP can block or unblock links but cannot repair physical breaks instantly.
  3. Step 3: Predict network state

    Network splits into two isolated segments, causing partial failure.
  4. Final Answer:

    The ring breaks into two isolated segments, causing partial network failure. -> Option D
  5. Quick Check:

    Two breaks = network splits [OK]
Hint: Two breaks split ring, partial failure [OK]
Common Mistakes:
  • Assuming RSTP fixes physical cable breaks instantly
  • Believing network stays fully operational
  • Thinking devices shut down automatically
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard