Network segmentation (IT/OT separation)
📖 Scenario: You are working in a factory that uses SCADA systems to control machines. The factory wants to keep its IT network (office computers, email) separate from its OT network (machines, sensors) to improve security. You will create a simple representation of this network segmentation using Python dictionaries.
🎯 Goal: Build a Python dictionary that represents two separate networks: IT and OT. Then add a configuration variable to define which network is active. Finally, write code to list all devices in the active network.
📋 What You'll Learn
Create a dictionary called
networks with two keys: 'IT' and 'OT'Each key should map to a list of device names as strings
Create a variable called
active_network and set it to either 'IT' or 'OT'Write a
for loop to iterate over the devices in the active networkPrint each device name on its own line
💡 Why This Matters
🌍 Real World
Factories and industrial plants separate IT and OT networks to protect machines from cyber attacks and keep operations safe.
💼 Career
Understanding network segmentation is important for roles in industrial cybersecurity, network administration, and SCADA system management.
Progress0 / 4 steps