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 cool network hardware
B. To manufacture sensors
C. To exchange data between devices
D. To increase battery size

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

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

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

Message communication protocols for connected devices Easy
A. Compiler
B. Subscriber
C. Publisher
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. One-way communication
D. Paper-based communication

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

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

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

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

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

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

8 Which is an example of an IoT application?

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

9 How can IoT be used in agriculture?

Internet of Things services and applications Easy
A. Monitoring soil moisture
B. Binding farm manuals
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 collect environmental data
C. To display video content
D. To create user passwords

11 Which sensor is commonly used to detect temperature?

Internet of Things sensors and antennas Easy
A. Temperature sensor
B. Power adapter
C. Network switch
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 store application files
B. To measure room temperature
C. To process sensor readings
D. To transmit and receive signals

13 Why is cloud computing useful for IoT systems?

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

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

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

15 What does SaaS stand for?

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

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

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

17 What does PaaS provide to application developers?

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

18 What does IaaS primarily provide?

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

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

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

20 Why are software updates important for IoT security?

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

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 large payload format with rich metadata
B. A browser-dependent request-response model
C. A lightweight header and low connection overhead
D. A persistent video-streaming connection

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 stores firmware permanently on each device
C. It routes published messages to subscribed clients
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. Static addressing without session control
C. Acknowledgment with message retransmission
D. Payload compression without validation

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

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

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 client downloads a complete page each time
C. The browser caches all alerts before connecting
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. Visualization
B. Portability
C. Scalability
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. Low latency
C. High archival capacity
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. Redundancy
C. Interoperability
D. Virtualization

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

Internet of Things services and applications Medium
A. Switching office lights on at a fixed time
B. Replacing all machines after a fixed interval
C. Analyzing motor vibration to schedule maintenance
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. Manual device inventory management
C. Offline software installation
D. Static document archiving

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. Temperature sensor
B. Gas 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. Sensor sampling interval and calibration
B. Cloud storage tier and retention period
C. Antenna placement and enclosure interference
D. Dashboard color palette and chart style

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. Pressure sensor
B. Temperature sensor
C. Passive infrared sensor
D. Humidity 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 guarantees that sensors need no power
C. It removes the need for device connectivity
D. It replaces all local control logic permanently

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. Removal of encryption requirements
C. Reduced bandwidth use and faster local response
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. Infrastructure as a Service
B. Software as a Service
C. Platform 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. Device as a Service
B. Software as a Service
C. Platform as a Service
D. Infrastructure 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. Software as a Service
C. Infrastructure 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. Reduced antenna gain
B. Lower cloud storage capacity
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. Increasing the sensor sampling rate
B. Disabling device event logs
C. Using a larger local database
D. Encrypting communication with TLS

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 publisher must retransmit the publication after every reconnect
B. Every subscriber processed the publication exactly once before PUBACK
C. The broker stored the publication permanently before sending PUBACK
D. The broker received the publication, but the subscriber may receive a duplicate

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. Attach an application-level idempotency key cached by the server
D. Replace the confirmable request with a non-confirmable request

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 retains the original Host header during the handshake
B. It forwards HTTP but does not preserve the protocol upgrade tunnel
C. It allows TCP connections to remain idle for several minutes
D. It validates the server certificate before forwarding the request

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. Increase the maximum frame size on every backend node
B. Perform a separate TLS handshake for each application message
C. Move subscription and event distribution to a shared broker
D. Disable ping and pong frames on all client connections

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. Replicate the cloud database across several geographic regions
B. Stream raw samples to the cloud and wait for a control response
C. Buffer all samples locally and upload them after connectivity returns
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 MB/s
B. Approximately 20 GB/s
C. Approximately 2 MB/s
D. Approximately 200 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 ingestion-time windows and discard all delayed records
C. Use event-time windows with watermarks and bounded lateness
D. Sort events only by the order in which brokers receive them

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. Overwrite the latest reading using its broker arrival timestamp
B. Discard every reading that arrives after the current wall-clock time
C. Store immutable readings keyed by meter, interval, and sequence number
D. Increment the customer total whenever any reading is received

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. Append every delivery using the consumer's processing timestamp
C. Acknowledge each message before attempting the database write
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. Increase device retry frequency whenever processing becomes slower
B. Write telemetry directly to a single synchronous analytics worker
C. Maintain one permanent virtual machine for each registered device
D. Place a durable partitioned stream between ingestion and processing

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. Enforce tenant-scoped authorization in every server-side data query
B. Hide tenant identifiers from the dashboard's rendered HTML
C. Encrypt the shared database volume with one platform-wide key
D. Store each user's preferred dashboard layout in local storage

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. Use additive schemas first, migrate data, then remove old fields later
C. Maintain separate permanent databases for every client version
D. Rename required fields immediately and reject all older payloads

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. Replace failed storage disks in the provider's data center
B. Patch the physical hosts running the managed runtime
C. Maintain the provider's core network switching equipment
D. Implement application logic and configure access policies

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. Keep the HTTP request open until signing finishes
B. Queue the job for an asynchronous managed worker
C. Retry the same request handler every 60 seconds
D. Split the firmware into packets sent through browser cookies

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 device manufacturer producing sensor hardware
B. The provider operating the virtualization layer
C. The certificate authority issuing the broker certificate
D. The organization operating the guest operating system

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. Place all broker nodes on one large VM with local ephemeral storage
B. Replicate durable broker state across zones using quorum acknowledgments
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. Verify a monotonic counter or nonce within the authenticated payload
B. Increase the symmetric encryption key from 128 to 256 bits
C. Replace the device identifier with a randomly generated alias
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 firmware package encrypted with the same fleet-wide symmetric key
B. A bootloader that permanently trusts exactly one immutable signing key
C. A protected trust store that supports authenticated key revocation and rotation
D. A debug interface enabled remotely whenever signature verification fails