Unit 3: IoT-Design Requirements - Practice Quiz

ECE128 — Introduction To Iot Networking Protocols 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is the main purpose of a message communication protocol in IoT?

Message communication protocols for connected devices Easy
A. To exchange data between devices
B. To cool network hardware
C. To increase battery size
D. To manufacture sensors

2 Which protocol is widely used for lightweight publish-subscribe messaging in IoT?

Message communication protocols for connected devices Easy
A. MQTT
B. Telnet
C. FTP
D. SMTP

3 In a publish-subscribe model, which component receives messages based on a topic?

Message communication protocols for connected devices Easy
A. Publisher
B. Subscriber
C. Compiler
D. Router

4 What type of communication does WebSocket support after a connection is established?

WebSocket Easy
A. Full-duplex communication
B. Offline communication
C. Paper-based communication
D. One-way communication

5 WebSocket is especially useful when an IoT application needs what?

WebSocket Easy
A. Manual cable testing
B. Physical device storage
C. Real-time data updates
D. Printed data reports

6 Which is a common IoT design requirement for battery-powered devices?

Internet of Things requirements and challenges Easy
A. Heavy metal casing
B. Large screen size
C. Low power consumption
D. High paper consumption

7 Which issue is a major challenge in large IoT systems?

Internet of Things requirements and challenges Easy
A. Scalability
B. Keyboard layout
C. Printer ink level
D. Handwriting quality

8 Which is an example of an IoT application?

Internet of Things services and applications Easy
A. Smart home lighting
B. Mechanical typewriter
C. Printed telephone book
D. Paper filing cabinet

9 How can IoT be used in agriculture?

Internet of Things services and applications Easy
A. Binding farm manuals
B. Monitoring soil moisture
C. Typing crop reports
D. Printing weather charts

10 What is the primary role of a sensor in an IoT device?

Internet of Things sensors and antennas Easy
A. To store paper records
B. To create user passwords
C. To display video content
D. To collect environmental data

11 Which sensor is commonly used to detect temperature?

Internet of Things sensors and antennas Easy
A. Power adapter
B. Network switch
C. Temperature sensor
D. Pressure valve

12 What is the main role of an antenna in a wireless IoT device?

Internet of Things sensors and antennas Easy
A. To measure room temperature
B. To process sensor readings
C. To store application files
D. To transmit and receive signals

13 Why is cloud computing useful for IoT systems?

Cloud computing and Internet of Things Easy
A. It removes all network cables
B. It creates physical antennas
C. It replaces all device sensors
D. It stores and processes IoT data

14 What can an IoT device send to a cloud platform?

Cloud computing and Internet of Things Easy
A. Mechanical parts
B. Paper documents
C. Printed labels
D. Sensor data

15 What does SaaS stand for?

Software as a Service Easy
A. Sensors as a System
B. Software as a Service
C. Storage as a Sensor
D. Security as a Signal

16 In a SaaS model, who usually manages the application software?

Software as a Service Easy
A. Cloud service provider
B. End-user antenna
C. Local network cable
D. Individual device sensor

17 What does PaaS provide to application developers?

Platform as a Service Easy
A. A physical sensor for measurement
B. A platform for building applications
C. A screen for data display
D. A cable for network connection

18 What does IaaS primarily provide?

Infrastructure as a Service Easy
A. Ready-to-use office software
B. Wireless antenna designs
C. Physical IoT sensor readings
D. Virtual computing resources

19 Which practice helps protect an IoT device from unauthorized access?

Security issues in the Internet of Things Easy
A. Sharing default passwords
B. Using strong passwords
C. Disabling all updates
D. Using open network access

20 Why are software updates important for IoT security?

Security issues in the Internet of Things Easy
A. They increase sensor size
B. They can fix security weaknesses
C. They remove wireless signals
D. They replace cloud storage

21 A battery-powered sensor sends a small temperature reading every 10 minutes over an unreliable network. Which protocol characteristic is most important for reducing device overhead?

Message communication protocols for connected devices Medium
A. A persistent video-streaming connection
B. A large payload format with rich metadata
C. A lightweight header and low connection overhead
D. A browser-dependent request-response model

22 In a publish-subscribe IoT system, what is the main role of a message broker?

Message communication protocols for connected devices Medium
A. It converts sensor data into electrical signals
B. It routes published messages to subscribed clients
C. It stores firmware permanently on each device
D. It assigns IP addresses to all edge devices

23 A smart-building system must ensure that a critical alarm message reaches the monitoring server even if the first transmission fails. Which communication feature is most suitable?

Message communication protocols for connected devices Medium
A. Broadcast without delivery confirmation
B. Payload compression without validation
C. Acknowledgment with message retransmission
D. Static addressing without session control

24 Why is WebSocket suitable for a dashboard that must show live updates from connected devices?

WebSocket Medium
A. It requires a new HTTP request for every update
B. It stores messages locally until the user refreshes
C. It supports full-duplex communication over one connection
D. It only transfers data from browser to server

25 A web client receives sensor alerts immediately without repeatedly polling a server. Which WebSocket behavior enables this?

WebSocket Medium
A. The device opens a separate TCP port per alert
B. The browser caches all alerts before connecting
C. The client downloads a complete page each time
D. The server can push messages to the client

26 A city deploys thousands of parking sensors that must continue working as more zones are added. Which IoT design requirement is being addressed?

Internet of Things requirements and challenges Medium
A. Portability
B. Scalability
C. Visualization
D. Localization

27 An industrial IoT controller must react to an overheating event within 50 ms. Which requirement is most critical?

Internet of Things requirements and challenges Medium
A. Large display resolution
B. High archival capacity
C. Low latency
D. Long report formatting

28 Devices from different vendors cannot exchange data because each uses an incompatible data format. This is primarily an issue of:

Internet of Things requirements and challenges Medium
A. Miniaturization
B. Virtualization
C. Redundancy
D. Interoperability

29 Which application best represents predictive maintenance in an IoT environment?

Internet of Things services and applications Medium
A. Replacing all machines after a fixed interval
B. Analyzing motor vibration to schedule maintenance
C. Switching office lights on at a fixed time
D. Displaying a factory map on a monitor

30 A smart irrigation system combines soil-moisture readings with weather forecasts before opening valves. What IoT service is mainly being used?

Internet of Things services and applications Medium
A. Data-driven automated control
B. Offline software installation
C. Static document archiving
D. Manual device inventory management

31 A cold-storage monitor must measure the physical quantity that indicates whether stored medicine remains within a safe range. Which sensor is required?

Internet of Things sensors and antennas Medium
A. Gas sensor
B. Temperature sensor
C. Proximity sensor
D. Light sensor

32 An IoT device has poor wireless range after being placed inside a metal enclosure. Which component should be reviewed first?

Internet of Things sensors and antennas Medium
A. Antenna placement and enclosure interference
B. Dashboard color palette and chart style
C. Cloud storage tier and retention period
D. Sensor sampling interval and calibration

33 A motion-activated security light should detect the presence of people without requiring them to touch a device. Which sensor is most appropriate?

Internet of Things sensors and antennas Medium
A. Humidity sensor
B. Pressure sensor
C. Passive infrared sensor
D. Temperature sensor

34 Why is cloud computing commonly used with IoT systems that generate large volumes of sensor data?

Cloud computing and Internet of Things Medium
A. It provides elastic storage and processing resources
B. It replaces all local control logic permanently
C. It guarantees that sensors need no power
D. It removes the need for device connectivity

35 An edge gateway filters raw camera data locally and sends only detected events to the cloud. What is the primary benefit?

Cloud computing and Internet of Things Medium
A. Elimination of all cloud storage needs
B. Reduced bandwidth use and faster local response
C. Removal of encryption requirements
D. Unlimited sensor battery capacity

36 A company uses a browser-based IoT dashboard provided by a vendor and does not manage its servers or application updates. This is an example of:

Software as a Service Medium
A. Software as a Service
B. Platform as a Service
C. Infrastructure as a Service
D. Network as a Sensor

37 A development team wants to build a custom IoT analytics application but does not want to manage operating systems, runtime installation, or server patching. Which cloud model fits best?

Platform as a Service Medium
A. Software as a Service
B. Platform as a Service
C. Infrastructure as a Service
D. Device as a Service

38 An organization needs virtual machines for an IoT data-processing system and wants control over the operating system and installed software. Which model should it choose?

Infrastructure as a Service Medium
A. Sensor as a Service
B. Infrastructure as a Service
C. Software as a Service
D. Platform as a Service

39 A smart camera still uses the manufacturer's default administrator password after installation. Which risk is most directly increased?

Security issues in the Internet of Things Medium
A. Lower cloud storage capacity
B. Reduced antenna gain
C. Increased sensor precision
D. Unauthorized device access

40 A device sends health-monitoring data to a cloud platform over a public Wi-Fi network. Which control best protects the data while it is being transmitted?

Security issues in the Internet of Things Medium
A. Encrypting communication with TLS
B. Using a larger local database
C. Increasing the sensor sampling rate
D. Disabling device event logs

41 A battery-powered sensor publishes QoS 1 messages through MQTT and may disconnect immediately after receiving a PUBACK. Which conclusion about delivery to the application subscriber is correct?

Message communication protocols for connected devices Hard
A. The broker stored the publication permanently before sending PUBACK
B. The broker received the publication, but the subscriber may receive a duplicate
C. The publisher must retransmit the publication after every reconnect
D. Every subscriber processed the publication exactly once before PUBACK

42 A constrained device uses CoAP confirmable requests through a proxy. After a timeout, it retransmits the same request. Which design best prevents a non-idempotent operation from executing twice?

Message communication protocols for connected devices Hard
A. Treat every POST request as inherently idempotent
B. Assign a new CoAP message ID to each retransmission
C. Replace the confirmable request with a non-confirmable request
D. Attach an application-level idempotency key cached by the server

43 A browser opens a secure WebSocket connection through an HTTP reverse proxy. The initial handshake succeeds, but bidirectional frames fail immediately afterward. Which proxy behavior is the most likely cause?

WebSocket Hard
A. It allows TCP connections to remain idle for several minutes
B. It validates the server certificate before forwarding the request
C. It forwards HTTP but does not preserve the protocol upgrade tunnel
D. It retains the original Host header during the handshake

44 Ten thousand IoT dashboards maintain WebSocket connections to a clustered backend. Clients currently depend on process-local subscription state. Which change most directly enables reliable horizontal scaling without mandatory sticky sessions?

WebSocket Hard
A. Disable ping and pong frames on all client connections
B. Move subscription and event distribution to a shared broker
C. Perform a separate TLS handshake for each application message
D. Increase the maximum frame size on every backend node

45 A remote actuator must enter a safe state within 50 ms when hazardous vibration is detected, even during a WAN outage. Which architecture best satisfies the requirement?

Internet of Things requirements and challenges Hard
A. Buffer all samples locally and upload them after connectivity returns
B. Stream raw samples to the cloud and wait for a control response
C. Replicate the cloud database across several geographic regions
D. Run detection and control locally, then synchronize events to the cloud

46 A deployment grows from to devices, and each device sends one 200-byte reading every 10 seconds. Ignoring protocol overhead, what sustained ingress throughput is required?

Internet of Things requirements and challenges Hard
A. Approximately 20 GB/s
B. Approximately 200 MB/s
C. Approximately 2 MB/s
D. Approximately 20 MB/s

47 A predictive-maintenance service combines vibration, temperature, and maintenance records. Sensor clocks can drift by several seconds. Which processing strategy best preserves the meaning of cross-sensor correlations?

Internet of Things services and applications Hard
A. Aggregate each sensor independently without retaining timestamps
B. Use event-time windows with watermarks and bounded lateness
C. Sort events only by the order in which brokers receive them
D. Use ingestion-time windows and discard all delayed records

48 A smart-meter billing service receives duplicate and out-of-order readings because devices retry transmissions. Which data model most reliably prevents double billing while preserving auditability?

Internet of Things services and applications Hard
A. Store immutable readings keyed by meter, interval, and sequence number
B. Discard every reading that arrives after the current wall-clock time
C. Increment the customer total whenever any reading is received
D. Overwrite the latest reading using its broker arrival timestamp

49 An IoT node transmits 14 dBm. Cable loss is 2 dB, transmit-antenna gain is 3 dBi, free-space path loss is 100 dB, receive-antenna gain is 2 dBi, and receiver sensitivity is dBm. What is the link margin?

Internet of Things sensors and antennas Hard
A. dB
B. dB
C. dB
D. dB

50 A quarter-wave antenna is designed for 915 MHz in free space. Using m/s, what is its approximate physical length before accounting for material and end effects?

Internet of Things sensors and antennas Hard
A. cm
B. cm
C. cm
D. cm

51 A cloud IoT pipeline accepts telemetry through an at-least-once broker. Autoscaled consumers may crash after writing data but before acknowledging messages. Which storage operation best preserves correctness?

Cloud computing and Internet of Things Hard
A. Use an idempotent upsert keyed by device and message identifier
B. Acknowledge each message before attempting the database write
C. Append every delivery using the consumer's processing timestamp
D. Delete duplicate-looking records through a weekly batch process

52 An IoT analytics system experiences unpredictable bursts but must retain every event while scaling consumers gradually. Which cloud design most effectively absorbs the bursts?

Cloud computing and Internet of Things Hard
A. Maintain one permanent virtual machine for each registered device
B. Place a durable partitioned stream between ingestion and processing
C. Write telemetry directly to a single synchronous analytics worker
D. Increase device retry frequency whenever processing becomes slower

53 A multi-tenant SaaS dashboard queries a shared telemetry database. Which control most directly prevents a valid user from reading another tenant's device data through a modified API request?

Software as a Service Hard
A. Hide tenant identifiers from the dashboard's rendered HTML
B. Enforce tenant-scoped authorization in every server-side data query
C. Store each user's preferred dashboard layout in local storage
D. Encrypt the shared database volume with one platform-wide key

54 An IoT SaaS vendor deploys a schema change while customer devices and API clients upgrade over several weeks. Which release strategy best preserves service continuity?

Software as a Service Hard
A. Pause ingestion until every customer confirms a client upgrade
B. Rename required fields immediately and reject all older payloads
C. Maintain separate permanent databases for every client version
D. Use additive schemas first, migrate data, then remove old fields later

55 A team uses a managed IoT application platform that supplies device registries, message routing, runtime scaling, and managed databases. Which responsibility normally remains with the application team under PaaS?

Platform as a Service Hard
A. Patch the physical hosts running the managed runtime
B. Replace failed storage disks in the provider's data center
C. Implement application logic and configure access policies
D. Maintain the provider's core network switching equipment

56 An IoT application on a PaaS must perform a 20-minute firmware-signing job, but request handlers have a 60-second execution limit. Which redesign best fits the platform model?

Platform as a Service Hard
A. Split the firmware into packets sent through browser cookies
B. Retry the same request handler every 60 seconds
C. Queue the job for an asynchronous managed worker
D. Keep the HTTP request open until signing finishes

57 An organization runs its IoT broker on IaaS virtual machines. The cloud provider patches the hypervisor, but a broker VM is compromised through an outdated operating-system package. Who was primarily responsible for that patch?

Infrastructure as a Service Hard
A. The provider operating the virtualization layer
B. The organization operating the guest operating system
C. The certificate authority issuing the broker certificate
D. The device manufacturer producing sensor hardware

58 A stateful MQTT broker cluster runs on IaaS across three availability zones. Which design best limits message loss during a single-zone failure?

Infrastructure as a Service Hard
A. Replicate durable broker state across zones using quorum acknowledgments
B. Place all broker nodes on one large VM with local ephemeral storage
C. Resolve one broker address through a long-lived client DNS cache
D. Back up broker data weekly to storage in the same availability zone

59 A captured IoT command is encrypted and authenticated with a valid device key. An attacker retransmits it later, causing the actuator to repeat the action. Which additional mechanism most directly blocks this attack?

Security issues in the Internet of Things Hard
A. Replace the device identifier with a randomly generated alias
B. Increase the symmetric encryption key from 128 to 256 bits
C. Verify a monotonic counter or nonce within the authenticated payload
D. Compress the command before applying authenticated encryption

60 A manufacturer discovers that a signing key used for IoT firmware updates has been compromised. Devices enforce secure boot and accept only signed images. Which prior design most effectively supports recovery without physically recalling every device?

Security issues in the Internet of Things Hard
A. A bootloader that permanently trusts exactly one immutable signing key
B. A debug interface enabled remotely whenever signature verification fails
C. A protected trust store that supports authenticated key revocation and rotation
D. A firmware package encrypted with the same fleet-wide symmetric key