📖 Scenario: You work for a company that manages industrial machines using a SCADA system. The company wants to allow engineers to check machine status from their mobile phones securely and easily.
🎯 Goal: Build a simple configuration to enable mobile access to the SCADA system with basic security settings.
📋 What You'll Learn
Create a dictionary with SCADA device IPs and their names
Add a configuration variable for allowed mobile IP range
Filter devices accessible from the allowed mobile IP range
Print the list of accessible devices for mobile users
💡 Why This Matters
🌍 Real World
Industrial companies use SCADA systems to monitor and control machines remotely. Allowing mobile access helps engineers check system status on the go.
💼 Career
DevOps and system administrators often configure secure remote access to critical systems like SCADA for mobile users.
Progress0 / 4 steps
1
Create SCADA devices dictionary
Create a dictionary called scada_devices with these exact entries: '192.168.1.10': 'Pump Controller', '192.168.1.11': 'Valve Controller', '192.168.2.20': 'Temperature Sensor', '192.168.2.21': 'Pressure Sensor'.
SCADA systems
Hint
Use a Python dictionary with IP addresses as keys and device names as values.
2
Add allowed mobile IP range
Add a variable called allowed_mobile_ip_prefix and set it to the string '192.168.1.' to represent the allowed mobile IP range prefix.
SCADA systems
Hint
Use a string variable to hold the IP prefix for allowed mobile devices.
3
Filter accessible devices for mobile
Create a dictionary called mobile_access_devices that includes only devices from scada_devices whose IP starts with allowed_mobile_ip_prefix. Use a dictionary comprehension with ip and name as variables.
SCADA systems
Hint
Use ip.startswith(allowed_mobile_ip_prefix) inside the dictionary comprehension.
4
Display accessible devices for mobile users
Write a print statement to display the mobile_access_devices dictionary.
SCADA systems
Hint
Use print(mobile_access_devices) to show the filtered devices.
Practice
(1/5)
1. What is the main benefit of mobile SCADA access for operators?
easy
A. Allows monitoring and control from anywhere
B. Requires physical presence at the control room
C. Eliminates the need for any security measures
D. Only works on desktop computers
Solution
Step 1: Understand mobile SCADA access purpose
Mobile SCADA access is designed to let operators monitor and control systems remotely.
Step 2: Identify the benefit for operators
This remote access improves flexibility and response time by allowing control from anywhere.
Final Answer:
Allows monitoring and control from anywhere -> Option A
Quick Check:
Mobile SCADA access = Remote control [OK]
Hint: Mobile SCADA means control from any location [OK]
Common Mistakes:
Thinking mobile SCADA requires being onsite
Assuming no security is needed
Believing it only works on desktops
2. Which of the following is the correct way to secure mobile SCADA access?
easy
A. Disable all encryption protocols
B. Use open Wi-Fi without passwords
C. Implement VPN and strong authentication
D. Share passwords via email
Solution
Step 1: Identify security best practices for mobile access
Secure mobile SCADA access requires encrypted connections and strong user verification.
Step 2: Match options with best practices
Using VPN and strong authentication protects data and access effectively.
Final Answer:
Implement VPN and strong authentication -> Option C
Quick Check:
Secure access = VPN + strong login [OK]
Hint: Secure mobile access needs VPN and strong login [OK]
Common Mistakes:
Using open Wi-Fi without protection
Disabling encryption
Sharing passwords insecurely
3. Given this simplified SCADA mobile access log snippet: