Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
Azure IoT Hub is an IoT service offered through the Microsoft Azure cloud platform.
Question 14 of 60 · REST API integration · Easy
In a REST API, what does an endpoint usually represent?
Not quite. Try another option.
Answer: A URL for accessing a resource
A REST endpoint is a URL through which a client accesses or modifies a resource.
Question 15 of 60 · REST API integration · Easy
Which data format is commonly exchanged through REST APIs?
Not quite. Try another option.
Answer: JSON
JSON is commonly used because it provides a lightweight, structured format for exchanging data.
Question 16 of 60 · Real-time dashboards and visualization · Easy
What is the main purpose of a real-time IoT dashboard?
Not quite. Try another option.
Answer: To display current device data
A real-time dashboard presents current or continuously updated IoT data using charts, indicators, and other visuals.
Question 17 of 60 · Edge computing versus cloud computing · Easy
Where does edge computing process IoT data?
Not quite. Try another option.
Answer: Near the data source
Edge computing processes data close to the sensor or device that generates it.
Question 18 of 60 · Edge computing versus cloud computing · Easy
What is one common benefit of edge computing compared with cloud-only computing?
Not quite. Try another option.
Answer: Lower response latency
Processing data near its source can reduce transmission delays and provide faster responses.
Question 19 of 60 · OTA firmware updates · Easy
What does OTA stand for in IoT firmware updates?
Not quite. Try another option.
Answer: Over-the-Air
OTA means Over-the-Air, referring to software or firmware updates delivered through a wireless network.
Question 20 of 60 · OTA firmware updates · Easy
What is a key advantage of OTA firmware updates?
Not quite. Try another option.
Answer: Devices can be updated remotely
OTA updates allow firmware to be installed remotely without requiring physical access to each device.
Question 21 of 60 · IoT architecture · Medium
A smart irrigation system must continue controlling water valves when its internet connection fails. Which architecture best satisfies this requirement?
Not quite. Try another option.
Answer: Run control logic on a local gateway and synchronize with the cloud
A local gateway can make time-critical decisions without internet access and synchronize data with the cloud after connectivity returns.
Question 22 of 60 · IoT architecture · Medium
A factory has hundreds of sensors using Zigbee, but its cloud service accepts only IP-based traffic. Which component should translate and forward the sensor data?
Not quite. Try another option.
Answer: A protocol-aware IoT gateway
An IoT gateway can translate Zigbee messages into an IP-based protocol such as MQTT or HTTP before forwarding them to the cloud.
Question 23 of 60 · MQTT protocol · Medium
A temperature sensor publishes to building/room1/temperature, and several applications must receive each new reading. Which MQTT feature enables this behavior?
Not quite. Try another option.
Answer: Publish-subscribe messaging
MQTT publishers send messages to topics, and any number of clients subscribed to a topic can receive those messages.
Question 24 of 60 · MQTT protocol · Medium
An alarm message must reach the cloud at least once, but occasional duplicate delivery is acceptable. Which MQTT QoS level should be selected?
Not quite. Try another option.
Answer: QoS 1
QoS 1 provides at-least-once delivery, so the message is acknowledged and retried when necessary, although duplicates may occur.
Question 25 of 60 · MQTT protocol · Medium
A dashboard should immediately show the most recently published device status when it subscribes, even if the device has not sent a new message. What should the publisher use?
Not quite. Try another option.
Answer: A retained message
The broker stores a retained message and sends it immediately to new subscribers of the corresponding topic.
Question 26 of 60 · HTTP protocol · Medium
A battery-powered sensor wakes every minute, sends one reading using HTTP, and disconnects. What is the main disadvantage compared with MQTT?
Not quite. Try another option.
Answer: HTTP has greater per-message overhead
HTTP headers and repeated request-response setup generally consume more bandwidth and energy per reading than lightweight MQTT messaging.
Question 27 of 60 · HTTP protocol · Medium
A device submits a new telemetry record to /api/readings. Which HTTP method is most appropriate when the server assigns the record identifier?
Not quite. Try another option.
Answer: POST
POST is commonly used to create a subordinate resource when the server determines the identifier or final resource URI.
Question 28 of 60 · CoAP protocol · Medium
A constrained sensor network uses lossy links and requires lightweight request-response communication. Why is CoAP suitable for this environment?
Not quite. Try another option.
Answer: It uses UDP with compact message headers
CoAP is designed for constrained devices and networks, using UDP and compact binary headers to reduce communication overhead.
Question 29 of 60 · CoAP protocol · Medium
A CoAP client sends a critical actuator command over an unreliable network and needs acknowledgment-based retransmission. Which message type should it use?
Not quite. Try another option.
Answer: Confirmable
A confirmable CoAP message requires an acknowledgment and can be retransmitted if that acknowledgment is not received.
Question 30 of 60 · ThingSpeak cloud platform · Medium
A weather station sends temperature, humidity, and pressure to one ThingSpeak channel. What is the most appropriate data organization?
Not quite. Try another option.
Answer: Map each measurement to a separate channel field
A ThingSpeak channel supports multiple fields, allowing related measurements from one station to be stored and visualized together.
Question 31 of 60 · ThingSpeak cloud platform · Medium
A public ThingSpeak channel accepts sensor updates only from authorized devices. Which credential should a device include when writing data?
Not quite. Try another option.
Answer: The Write API key
The Write API key authorizes updates to a ThingSpeak channel, while a Read API key is used to access private channel data.
Question 32 of 60 · AWS IoT cloud platform · Medium
An application must display the latest reported state of an intermittently connected device. Which AWS IoT Core feature is designed for this purpose?
Not quite. Try another option.
Answer: Device Shadow
A Device Shadow stores the latest desired and reported device state, allowing applications to access state even while the device is offline.
Question 33 of 60 · AWS IoT cloud platform · Medium
Sensor messages arriving at AWS IoT Core must be stored in DynamoDB without modifying the device firmware. Which feature should route the messages?
Not quite. Try another option.
Answer: AWS IoT Rules Engine
The AWS IoT Rules Engine evaluates incoming messages and can route selected data to services such as DynamoDB.
Question 34 of 60 · Azure IoT Hub cloud platform · Medium
A cloud application sends a desired fan speed to an offline device. The device should retrieve the value when it reconnects. Which Azure IoT Hub capability is most appropriate?
Not quite. Try another option.
Answer: Device twin desired properties
Desired properties persist the cloud application's requested configuration and are synchronized to the device when it connects.
Question 35 of 60 · Azure IoT Hub cloud platform · Medium
An operator must request an immediate diagnostic action from a connected device and receive a result. Which Azure IoT Hub feature best fits this interaction?
Not quite. Try another option.
Answer: Direct method
A direct method supports synchronous command invocation on a connected device and returns a status and response payload.
Question 36 of 60 · REST API integration · Medium
A client sends the same complete configuration to /devices/42/config several times, and the final server state should remain unchanged after the first successful request. Which HTTP method best expresses this idempotent update?
Not quite. Try another option.
Answer: PUT
PUT replaces or creates the resource at a known URI and is idempotent when the same representation is submitted repeatedly.
Question 37 of 60 · REST API integration · Medium
An IoT application receives HTTP status code 429 while uploading telemetry through a REST API. What should the application do?
Not quite. Try another option.
Answer: Retry after a delay with backoff
Status 429 indicates too many requests. Delayed retries, preferably respecting Retry-After and using backoff, reduce continued rate-limit violations.
Question 38 of 60 · Real-time dashboards and visualization · Medium
A dashboard plots a sensor that reports once per second, but the chart redraws only once per minute. Which change most directly improves the dashboard's apparent real-time behavior?
Not quite. Try another option.
Answer: Increase the chart refresh frequency
A shorter refresh interval allows newly received sensor values to appear sooner, reducing visible dashboard latency.
Question 39 of 60 · Edge computing versus cloud computing · Medium
A camera system must stop a machine within 50 ms after detecting a safety hazard, while long-term video analytics can tolerate several seconds. Where should each workload run?
Not quite. Try another option.
Answer: Run detection at the edge and analytics in the cloud
Edge processing minimizes latency for the safety response, while the cloud provides scalable resources for less time-sensitive analytics.
Question 40 of 60 · OTA firmware updates · Medium
A device loses power while installing an OTA firmware update. Which design most effectively allows it to recover without becoming unusable?
Not quite. Try another option.
Answer: Use dual firmware partitions with rollback
Dual partitions preserve a known-good image, allowing the bootloader to roll back if the new firmware is incomplete or fails validation.
Question 41 of 60 · IoT architecture · Hard
A battery-powered vibration sensor must detect bearing faults within 200 ms, continue operating during intermittent Internet outages, and support fleet-wide analytics. Which architecture best satisfies all three requirements?
Not quite. Try another option.
Answer: Run feature extraction at the edge and send features plus selected raw windows to the cloud
Edge feature extraction satisfies the latency and connectivity requirements, while cloud transfer of features and selected raw windows preserves centralized analytics and long-term analysis.
Question 42 of 60 · MQTT protocol · Hard
An MQTT client publishes telemetry with QoS 1 and receives a PUBACK, but the application processes the message twice after a reconnect. Which design correctly addresses this behavior?
Not quite. Try another option.
Answer: Use a persistent session and deduplicate messages by an application-level event identifier
QoS 1 provides at-least-once delivery, so duplicates are possible. Persistent sessions help preserve delivery state, but application-level idempotency or deduplication is still required.
Question 43 of 60 · MQTT protocol · Hard
A device must receive commands while it is offline, but stale commands must not be delivered when it reconnects. Which MQTT configuration is most appropriate?
Not quite. Try another option.
Answer: Use a persistent session and publish commands with a short message expiry interval
A persistent session queues messages while the device is disconnected, while message expiry prevents commands from remaining valid beyond their useful lifetime.
Question 44 of 60 · HTTP protocol · Hard
A device sends a measurement using an HTTP POST request. The request times out, and the device cannot determine whether the server stored the measurement. Which server-side mechanism most directly prevents duplicate records after a retry?
Not quite. Try another option.
Answer: Add an idempotency key and enforce uniqueness for that key
A timeout can occur after persistence but before the response reaches the device. A unique idempotency key allows retries to return the original result without inserting a duplicate.
Question 45 of 60 · HTTP protocol · Hard
A constrained gateway exposes a resource whose representation changes frequently. Clients should avoid downloading unchanged content, while the gateway must remain compatible with standard HTTP caching. Which approach is best?
Not quite. Try another option.
Answer: Return an ETag and require clients to use If-None-Match
An ETag identifies a representation version. A conditional request using If-None-Match lets the gateway return 304 Not Modified when the resource has not changed.
Question 46 of 60 · CoAP protocol · Hard
A low-power sensor sends a confirmable CoAP POST through an unreliable network. It receives no acknowledgment after the retransmission limit is reached. What is the correct application-level conclusion?
Not quite. Try another option.
Answer: The request outcome is unknown and may require a safe retry strategy
Confirmable CoAP messages provide transport-level acknowledgment when received, but failure to receive an acknowledgment does not reveal whether the server processed the request before the response was lost.
Question 47 of 60 · CoAP protocol · Hard
A CoAP resource must be updated reliably, and repeating the operation after a lost response must not create an additional logical effect. Which method and design are most suitable?
Not quite. Try another option.
Answer: Use PUT with a stable resource URI and idempotent replacement semantics
PUT targets a known resource and is designed for idempotent replacement. Repeating the same request produces the same intended resource state rather than creating another resource.
Question 48 of 60 · ThingSpeak cloud platform · Hard
A ThingSpeak channel receives measurements from several devices, but the analysis must distinguish devices and preserve a consistent schema. Which design is most appropriate within a single channel?
Not quite. Try another option.
Answer: Use a stable field schema and include a device identifier in a defined field or encoded payload
ThingSpeak fields should retain stable meanings. An explicit device identifier allows downstream analysis to separate measurements without changing the channel structure.
Question 49 of 60 · ThingSpeak cloud platform · Hard
A device posts to ThingSpeak every second, but the channel has an update interval restriction that is longer than one second. What is the most robust device-side strategy?
Not quite. Try another option.
Answer: Buffer measurements locally, aggregate or select samples, and publish within the channel limit
The device should respect platform rate limits. Local buffering and aggregation preserve useful information while avoiding rejected requests and unnecessary network traffic.
Question 50 of 60 · AWS IoT cloud platform · Hard
An AWS IoT device policy should allow a device to publish only to its own telemetry topic and subscribe only to commands addressed to that same device. Which policy principle is essential?
Not quite. Try another option.
Answer: Use policy variables or certificates to bind topic permissions to the device identity
Topic permissions should be constrained by the authenticated device identity. AWS IoT policies can use identity-derived variables or certificate-specific authorization to prevent cross-device access.
Question 51 of 60 · AWS IoT cloud platform · Hard
A fleet uses AWS IoT Device Shadow documents. A device reconnects after being offline and reports a desired state version older than the cloud version. Which behavior best prevents stale state from overwriting newer state?
Not quite. Try another option.
Answer: Use shadow versioning or optimistic concurrency and reject stale updates
Version checks detect stale updates and prevent an offline device from replacing newer cloud state. The device can then resynchronize before applying changes.
Question 52 of 60 · Azure IoT Hub cloud platform · Hard
An Azure IoT Hub solution must route temperature messages to different storage systems based on a device-reported site identifier. Which feature is designed for this requirement?
Not quite. Try another option.
Answer: Message routing with query conditions and endpoints
Azure IoT Hub message routing evaluates message properties or body data and forwards matching messages to configured endpoints such as storage, Event Hubs, or service bus resources.
Question 53 of 60 · Azure IoT Hub cloud platform · Hard
A device is temporarily offline when a cloud service invokes an operational command. The command must be executed only once and must report a result tied to the request. Which mechanism is most suitable?
Not quite. Try another option.
Answer: A direct method with a request identifier and device-side deduplication
Direct methods support request-response interaction for connected devices. A request identifier and idempotent device handling address retries and prevent repeated execution.
Question 54 of 60 · REST API integration · Hard
A REST endpoint updates an actuator configuration containing a version number. Two clients read version 10 and then submit conflicting changes. Which API design prevents the second update from silently overwriting the first?
Not quite. Try another option.
Answer: Require If-Match with the version ETag and return 412 on mismatch
Conditional updates implement optimistic concurrency. The server accepts the change only when the client's ETag matches the current representation, otherwise it returns 412 Precondition Failed.
Question 55 of 60 · REST API integration · Hard
An IoT platform exposes a paginated REST endpoint, and records can arrive while a client is synchronizing. Which approach most reliably avoids missing or duplicating records?
Not quite. Try another option.
Answer: Use a stable cursor based on an immutable ordering and process pages idempotently
Cursor pagination over an immutable ordering is resilient to inserts during synchronization. Idempotent processing handles retries without creating duplicate records.
Question 56 of 60 · Real-time dashboards and visualization · Hard
A dashboard plots sensor data arriving through multiple gateways whose clocks are not synchronized. Which visualization strategy best avoids false causal ordering?
Not quite. Try another option.
Answer: Display event time with uncertainty indicators and monitor ingestion lag separately
Event time represents when sensing occurred, while ingestion time represents when the platform received data. Showing both, along with clock uncertainty, prevents transport delay from being mistaken for physical ordering.
Question 57 of 60 · Real-time dashboards and visualization · Hard
A real-time dashboard must remain responsive when ingesting 50,000 points per second while users inspect one-minute trends. Which architecture is most appropriate?
Not quite. Try another option.
Answer: Use server-side windowing or downsampling and stream aggregated updates to the client
Windowing and aggregation reduce rendering and transfer load while preserving the trend needed for visualization. Raw data can remain available in a separate analytical store.
Question 58 of 60 · Edge computing versus cloud computing · Hard
A safety controller must stop an industrial motor within 50 ms even when the wide-area network is unavailable, while historical optimization can tolerate several minutes of delay. Where should each workload execute?
Not quite. Try another option.
Answer: The safety controller should execute at the edge and optimization should execute in the cloud
The edge provides deterministic local response and outage tolerance. Cloud computing is appropriate for computationally intensive historical analysis that does not require immediate control.
Question 59 of 60 · Edge computing versus cloud computing · Hard
An edge gateway performs anomaly detection locally and sends only alerts to the cloud. Which additional design is most important for maintaining trustworthy fleet-wide analytics?
Not quite. Try another option.
Answer: Periodically upload representative raw samples and model metadata for cloud validation
Cloud validation requires evidence of local inputs, decisions, and model versions. Representative samples and metadata support drift detection, threshold tuning, and auditability without sending every sample.
Question 60 of 60 · OTA firmware updates · Hard
A firmware update may be interrupted by power loss, and a failed image must not permanently disable the device. Which update design provides the strongest protection?
Not quite. Try another option.
Answer: Use A/B partitions, signed images, boot validation, and rollback to the previous image
An inactive partition preserves the working image. Signature verification protects authenticity, boot validation detects failures, and rollback restores service after an unsuccessful update.
That's unit 6
Answer a few questions and your score shows up here.
Nearly through. Did unit 6 of ECE140 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 6 of ECE140 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.