Bird
Raised Fist0
SCADA systemsdevops~10 mins

Alarm suppression and shelving in SCADA systems - Interactive Code Practice

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to suppress alarms temporarily.

SCADA systems
alarm.suppress([1])
Drag options to blanks, or click blank then click option'
Aduration=60
Bduration=30
Cduration=10
Dduration=5
Attempts:
3 left
💡 Hint
Common Mistakes
Using too short or too long duration values that don't fit typical suppression needs.
2fill in blank
medium

Complete the code to shelve an alarm with a reason.

SCADA systems
alarm.shelve(reason=[1])
Drag options to blanks, or click blank then click option'
A"error"
B"maintenance"
C"urgent"
D"resolved"
Attempts:
3 left
💡 Hint
Common Mistakes
Using reasons that do not explain shelving, like "error" or "resolved".
3fill in blank
hard

Fix the error in the shelving command to include a valid duration.

SCADA systems
alarm.shelve(duration=[1])
Drag options to blanks, or click blank then click option'
A120
BNone
C-30
D"two hours"
Attempts:
3 left
💡 Hint
Common Mistakes
Using negative numbers, strings, or None as duration.
4fill in blank
hard

Fill both blanks to suppress and shelve an alarm with a reason and duration.

SCADA systems
alarm.suppress([1])
alarm.shelve(reason=[2])
Drag options to blanks, or click blank then click option'
Aduration=45
B"testing"
C"maintenance"
Dduration=15
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up durations or using unclear shelving reasons.
5fill in blank
hard

Fill all three blanks to create a dictionary of alarms with their suppression duration and shelving reason.

SCADA systems
alarm_settings = { [1]: [2] for alarm in alarms if alarm.status == 'active' and alarm.shelved == [3] }
Drag options to blanks, or click blank then click option'
Aalarm.id
Balarm.suppression_duration
CFalse
Dalarm.reason
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong keys or filtering shelved alarms incorrectly.

Practice

(1/5)
1. What is the main purpose of alarm shelving in SCADA systems?
easy
A. Temporarily pause alarms for a set time
B. Permanently disable alarms
C. Increase alarm frequency
D. Change alarm priority

Solution

  1. Step 1: Understand alarm shelving concept

    Alarm shelving means putting alarms on hold temporarily, so they don't alert immediately.
  2. Step 2: Compare options with definition

    Only Temporarily pause alarms for a set time matches the idea of pausing alarms for a set time, others do not.
  3. Final Answer:

    Temporarily pause alarms for a set time -> Option A
  4. Quick Check:

    Alarm shelving = pause alarms temporarily [OK]
Hint: Shelving means pause alarms temporarily, not disable [OK]
Common Mistakes:
  • Confusing shelving with permanent disabling
  • Thinking shelving increases alarm frequency
  • Assuming shelving changes alarm priority
2. Which of the following is the correct syntax to shelve an alarm for 30 minutes in a SCADA system command line?
easy
A. shelve --alarm alarm_id 30min
B. shelve alarm_id -time 30
C. alarm shelve 30 alarm_id
D. shelve alarm_id --duration 30m

Solution

  1. Step 1: Identify correct command format

    Common syntax uses 'shelve alarm_id --duration 30m' to specify alarm and time.
  2. Step 2: Check other options for syntax errors

    Options B, C, D have incorrect flag names or argument order.
  3. Final Answer:

    shelve alarm_id --duration 30m -> Option D
  4. Quick Check:

    Correct shelve syntax uses --duration flag [OK]
Hint: Look for '--duration' flag with time unit for shelving [OK]
Common Mistakes:
  • Using wrong flag names like -time
  • Placing alarm ID after duration
  • Omitting time unit (m for minutes)
3. Given this SCADA alarm suppression rule snippet:
if temperature > 100 then suppress alarm until temperature < 95

What happens when temperature rises to 105 and stays at 102?
medium
A. Alarm triggers once temperature exceeds 100
B. Alarm is suppressed while temperature stays above 95
C. Alarm triggers repeatedly every time temperature changes
D. Alarm never triggers regardless of temperature

Solution

  1. Step 1: Analyze suppression condition

    Alarm suppresses when temperature > 100 and stays suppressed until temperature < 95.
  2. Step 2: Apply to given temperature values

    Temperature is 105 then 102, both > 95, so alarm stays suppressed.
  3. Final Answer:

    Alarm is suppressed while temperature stays above 95 -> Option B
  4. Quick Check:

    Suppression holds until condition clears [OK]
Hint: Suppression stops alarms until condition resets [OK]
Common Mistakes:
  • Thinking alarm triggers immediately above 100
  • Assuming alarm triggers repeatedly while suppressed
  • Ignoring suppression release condition
4. You wrote this shelving command but alarms are not paused:
shelve alarm_123 -duration 15

What is the likely error?
medium
A. Wrong alarm ID format
B. Shelving command requires --duration flag
C. Missing time unit (e.g., 'm' for minutes)
D. Shelving only works for critical alarms

Solution

  1. Step 1: Check shelving command syntax

    Correct syntax requires time unit with duration, e.g., '15m' for 15 minutes.
  2. Step 2: Identify error in given command

    Command uses '-duration 15' without unit, so system ignores or errors.
  3. Final Answer:

    Missing time unit (e.g., 'm' for minutes) -> Option C
  4. Quick Check:

    Duration needs time unit to work [OK]
Hint: Always add time unit like 'm' for minutes in duration [OK]
Common Mistakes:
  • Omitting time unit in duration
  • Using single dash instead of double dash for flags
  • Assuming shelving only works on critical alarms
5. You want to reduce alarm noise during scheduled maintenance by suppressing alarms except for critical ones. Which approach is best?
hard
A. Suppress non-critical alarms conditionally during maintenance
B. Use alarm shelving on all alarms for maintenance duration
C. Disable all alarms permanently
D. Increase alarm thresholds for all alarms

Solution

  1. Step 1: Understand maintenance alarm needs

    During maintenance, critical alarms must still alert; non-critical can be paused.
  2. Step 2: Evaluate options for selective control

    Shelving all alarms pauses critical ones too; disabling is permanent; increasing thresholds may miss alarms.
  3. Step 3: Choose conditional suppression

    Suppressing only non-critical alarms during maintenance keeps critical alerts active.
  4. Final Answer:

    Suppress non-critical alarms conditionally during maintenance -> Option A
  5. Quick Check:

    Selective suppression keeps critical alarms active [OK]
Hint: Suppress only non-critical alarms during maintenance [OK]
Common Mistakes:
  • Shelving all alarms including critical
  • Disabling alarms permanently
  • Raising thresholds instead of suppressing selectively