0
0
SCADA systemsdevops~10 mins

Hot standby and warm standby 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 a hot standby system status check.

SCADA systems
if system_status == '[1]':
    activate_backup()
Drag options to blanks, or click blank then click option'
Astandby
Bactive
Cwarm
Dhot
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing 'warm' with 'hot' standby status.
2fill in blank
medium

Complete the code to set the warm standby system to sync mode.

SCADA systems
backup_system.mode = '[1]'
Drag options to blanks, or click blank then click option'
Aactive
Bsync
Cstandby
Doffline
Attempts:
3 left
💡 Hint
Common Mistakes
Setting mode to 'active' instead of 'sync'.
3fill in blank
hard

Fix the error in the code to correctly switch from warm standby to active system.

SCADA systems
if backup_system.status == 'warm':
    backup_system.status = '[1]'
Drag options to blanks, or click blank then click option'
Aactive
Bstandby
Chot
Doffline
Attempts:
3 left
💡 Hint
Common Mistakes
Setting status to 'hot' or 'standby' instead of 'active'.
4fill in blank
hard

Fill both blanks to create a dictionary representing system states and their descriptions.

SCADA systems
system_states = {
    'hot': '[1]',
    'warm': '[2]'
}
Drag options to blanks, or click blank then click option'
AFully running backup system
BBackup synchronized but not active
CBackup offline
DPrimary system active
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing descriptions of hot and warm standby.
5fill in blank
hard

Fill all three blanks to complete the function that switches system modes based on standby type.

SCADA systems
def switch_mode(standby_type):
    if standby_type == '[1]':
        return '[2]'
    elif standby_type == '[3]':
        return 'sync'
Drag options to blanks, or click blank then click option'
Ahot
Bactive
Cwarm
Dstandby
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing standby types or modes in the function.