0
0
SCADA systemsdevops~10 mins

Alarm flooding prevention 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 set the maximum number of alarms per minute.

SCADA systems
alarm_config.set_max_alarms_per_minute([1])
Drag options to blanks, or click blank then click option'
A100
B50
C200
D0
Attempts:
3 left
💡 Hint
Common Mistakes
Setting the limit too high causes alarm flooding.
Setting it to 0 disables alarms completely.
2fill in blank
medium

Complete the code to enable alarm suppression after {{BLANK_1}} repeated alarms.

SCADA systems
alarm_manager.enable_suppression_after([1])
Drag options to blanks, or click blank then click option'
A5
B1
C3
D10
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing too high a number delays suppression.
Choosing 1 suppresses alarms too early.
3fill in blank
hard

Fix the error in the code to correctly reset the alarm flood counter.

SCADA systems
alarm_flood_counter.[1]()
Drag options to blanks, or click blank then click option'
Areset
Bclear
Crestart
Dflush
Attempts:
3 left
💡 Hint
Common Mistakes
Using clear() which may not exist.
Using flush() which is for buffers.
4fill in blank
hard

Fill both blanks to create a filter that only allows alarms with severity {{BLANK_1}} or higher and from source {{BLANK_2}}.

SCADA systems
alarm_filter = AlarmFilter(severity=[1], source='[2]')
Drag options to blanks, or click blank then click option'
Ahigh
Bmedium
Csensor_42
Dsensor_7
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'medium' severity allows less important alarms.
Choosing wrong sensor source filters wrong alarms.
5fill in blank
hard

Fill all three blanks to create a dictionary comprehension that maps alarm IDs to their timestamps only if the alarm severity is {{BLANK_1}}, the source is {{BLANK_2}}, and the alarm is active ({{BLANK_3}} is True).

SCADA systems
active_alarms = {alarm.id: alarm.timestamp for alarm in alarms if alarm.severity == '[1]' and alarm.source == '[2]' and alarm.[3]
Drag options to blanks, or click blank then click option'
Acritical
Bsensor_99
Cis_active
Dis_acknowledged
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'is_acknowledged' instead of 'is_active' includes inactive alarms.
Choosing wrong severity or source filters wrong alarms.