0
0
SCADA systemsdevops~10 mins

Networked SCADA architecture in SCADA systems - Interactive Code Practice

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

Complete the code to define the main communication protocol used in a Networked SCADA system.

SCADA systems
protocol = "[1]"
Drag options to blanks, or click blank then click option'
AFTP
BHTTP
CModbus
DSMTP
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing HTTP or FTP which are not typical SCADA protocols.
2fill in blank
medium

Complete the code to specify the device that collects data from sensors in a Networked SCADA system.

SCADA systems
device = "[1]"
Drag options to blanks, or click blank then click option'
AFirewall
BRouter
CSwitch
DPLC
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing network devices like routers or switches with control devices.
3fill in blank
hard

Fix the error in the code that sets the SCADA server IP address.

SCADA systems
scada_server_ip = "[1]"
Drag options to blanks, or click blank then click option'
A256.100.50.25
B192.168.1.100
C192.168.300.1
D192.168.1
Attempts:
3 left
💡 Hint
Common Mistakes
Using numbers greater than 255 or incomplete IP addresses.
4fill in blank
hard

Fill both blanks to create a dictionary mapping device names to their IP addresses in a Networked SCADA system.

SCADA systems
devices = {"PLC1": "[1]", "RTU1": "[2]"}
Drag options to blanks, or click blank then click option'
A192.168.0.10
B10.0.0.5
C300.168.0.1
D192.168.1
Attempts:
3 left
💡 Hint
Common Mistakes
Using invalid IP addresses like 300.168.0.1 or incomplete ones.
5fill in blank
hard

Fill all three blanks to define a function that sends a command to a SCADA device over the network.

SCADA systems
def send_command(device_ip, command):
    import socket
    s = socket.socket(socket.AF_INET, socket.SOCK_[1])
    s.connect((device_ip, [2]))
    s.sendall(command.[3]())
    s.close()
Drag options to blanks, or click blank then click option'
ASTREAM
B502
Cencode
DDGRAM
Attempts:
3 left
💡 Hint
Common Mistakes
Using UDP socket type (DGRAM) or wrong port numbers, forgetting to encode the command.