0
0
IOT Protocolsdevops~10 mins

Why cloud platforms scale IoT deployments in IOT Protocols - Test Your Understanding

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

Complete the code to show the cloud feature that helps IoT devices connect easily.

IOT Protocols
iot_connection = cloud_platform.[1]()
Drag options to blanks, or click blank then click option'
Aanalytics_tool
Bdevice_manager
Cdata_storage
Dconnect_device
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing data storage or analytics instead of device management.
2fill in blank
medium

Complete the code to show how cloud platforms handle data from many IoT devices.

IOT Protocols
data_stream = cloud_platform.[1](source=iot_devices)
Drag options to blanks, or click blank then click option'
Adata_ingestion
Buser_interface
Cdevice_manager
Dsecurity_module
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing device management with data handling.
3fill in blank
hard

Fix the error in the code to enable cloud scaling for IoT data processing.

IOT Protocols
cloud_platform.scale_[1](resources='auto')
Drag options to blanks, or click blank then click option'
Aprocessing
Bstorage
Csecurity
Dinterface
Attempts:
3 left
💡 Hint
Common Mistakes
Trying to scale storage or security instead of processing.
4fill in blank
hard

Fill both blanks to create a dictionary comprehension that filters IoT devices with active status and high data rate.

IOT Protocols
active_devices = {device: data for device, data in devices.items() if data['status'] == [1] and data['rate'] [2] 100}
Drag options to blanks, or click blank then click option'
A'active'
B>
C<
D'inactive'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'inactive' status or wrong comparison operators.
5fill in blank
hard

Fill all three blanks to build a dictionary comprehension that maps device IDs to their data size if the device is online and data size is above 500.

IOT Protocols
filtered_data = [1]: info[[2]] for [3], info in device_data.items() if info['status'] == 'online' and info['size'] > 500}
Drag options to blanks, or click blank then click option'
Adevice_id
B'size'
Ddevice
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing keys and values or using wrong variable names.