Complete the code to start the performance monitoring service.
systemctl [1] scada-monitoring.serviceThe start command activates the performance monitoring service.
Complete the command to check CPU usage in the SCADA system.
top -b -n 1 | grep [1]
The cpu keyword filters the output to show CPU usage details.
Fix the error in the command to monitor network traffic on interface eth0.
iftop -i [1]The interface eth0 is the correct network interface to monitor traffic on.
Fill both blanks to create a dictionary comprehension that maps sensor IDs to their load if load is above 70.
{sensor_id: [1] for sensor_id, load in sensor_data.items() if load [2] 70}We want to map sensor IDs to their load values where load is greater than 70.
Fill all three blanks to filter and map sensor IDs to their status if status is 'active'.
{ [1]: [2] for [3], status in sensors.items() if status == 'active' }We use sensor_id as key, status as value, and filter by active status.
