Study

L7_IIoT_Architecture_and_Cloud

  •   0%
  •  0     0     0

  • What is the default MQTT broker address for ThingSpeak?
    mqtt3.thingspeak.com.
  • What is the role of the Connectivity Layer in IoT?
    Handles communication between devices, networks, and cloud services.
  • Why was the Internet invented?
    To create a robust network that can withstand partial outages.
  • What is an MQTT Broker?
    A server that filters and distributes messages to subscribers.
  • How does an MQTT wildcard work?
    Allows subscribing to multiple topics (e.g., home/# covers all subtopics).
  • What is an MQTT topic?
    A hierarchical address system for messages (e.g., home/livingroom/temp).
  • What is the Internet of Things (IoT)?
    A system of physical objects that can be discovered, monitored, controlled, or interacted with via electronic devices over the internet.
  • How can you check if an MQTT publish operation was successful?
    Monitor the ThingSpeak dashboard or check the Serial Monitor.
  • What makes a device smart in IoT?
    Sensors, Actuators, Computation, Communication Interfaces.
  • What is the function of the MQTT Client ID in ThingSpeak?
    It uniquely identifies the device to the MQTT broker.
  • What are the five Internet Eras?
    Internet of Documents, Internet of Commerce, Internet of Applications, Internet of People, Internet of Things.
  • Which protocol does ThingSpeak MQTT use?
    MQTT over TCP.
  • What is the difference between MQTT 'publish' and 'subscribe'?
    Publish sends messages, Subscribe receives messages.
  • What is the topic format for publishing to a ThingSpeak channel?
    channels/{channel_id}/publish/fields/field{field_number}.
  • Where can you find the MQTT API Key in ThingSpeak?
    Under 'Devices' -> 'MQTT' -> 'Download Credentials'.
  • Which mobile app is used to test MQTT on iOS?
    MQTTool.
  • How is an MQTT session maintained?
    Using clean session (temporary) or persistent session (retains subscriptions).
  • What are the advantages and disadvantages of Internet Protocols?
    Stable and well-tested but high power consumption and lack of IP addresses.
  • What are key requirements of IoT protocols?
    Low power, real-time delivery, message persistence, security.
  • How do you create an MQTT device in ThingSpeak?
    Go to 'Devices' -> 'MQTT' -> 'Add a new device'.
  • What are the four key layers of IoT architecture?
    Smart Things Layer, Connectivity Layer, Data Layer, Application Layer.
  • What is the Internet?
    A global network of interconnected computers.
  • What is MQTT?
    Message Queuing Telemetry Transport, a lightweight messaging protocol for IoT.
  • What is an IoT Gateway?
    A bridge that translates different communication protocols.
  • Why is MQTT used in IoT?
    Low bandwidth, low power, real-time messaging with publish/subscribe model.
  • What function in PubSubClient is used to subscribe to a topic?
    client.subscribe(topic).
  • What credentials are required for MQTT communication in Arduino?
    WiFi credentials, MQTT credentials, and Channel ID.
  • What is the maximum number of authorized channels per MQTT device in ThingSpeak?
    10 channels.
  • What are examples of IoT application layer protocols?
    MQTT, CoAP, HTTP.
  • Give an example of a basic IoT interaction.
    A smart TV communicating with an electric curtain to adjust lighting.
  • How is the 15-second ThingSpeak update limitation maintained in MQTT?
    By implementing non-blocking code instead of delay().
  • What is data abstraction in IoT?
    Analyzing data to extract meaningful insights and predictions.
  • What is the primary advantage of MQTT over HTTP?
    MQTT is lightweight and uses less bandwidth, making it ideal for IoT.
  • What are the three MQTT QoS (Quality of Service) levels?
    QoS-0 (at most once), QoS-1 (at least once), QoS-2 (exactly once).
  • What is the final challenge in Lab 7?
    Control an RGB LED using MQTT.
  • What is the advantage of using MQTT over ThingSpeak instead of HTTP?
    MQTT allows real-time data transmission with lower latency.
  • Who led the invention of the Internet?
    US Department of Defense.
  • What is a single-tier vs multi-tier IoT architecture?
    Single-tier is direct communication, multi-tier uses multiple transport layers like gateways.
  • What is the role of the Application Layer in IoT?
    Provides user-facing applications that utilize processed IoT data.
  • What are IoT protocols used for?
    Enable devices, gateways, and cloud services to communicate effectively.
  • What is the key difference between ThingSpeak MQTT broker and a general MQTT broker?
    ThingSpeak has built-in data storage, whereas general brokers only route messages.
  • How can MQTT improve productivity in IoT?
    It enables real-time data exchange between multiple devices with minimal power usage.
  • What are examples of IoT transport layer protocols?
    TCP, UDP.
  • What are common IoT connectivity technologies?
    Ethernet, WiFi, Bluetooth, Zigbee, NFC, LPWAN, Cellular.
  • What is the purpose of the Data Layer in IoT?
    Accumulate, store, process, and analyze IoT data.
  • Which Arduino library is used for MQTT communication?
    PubSubClient by Nick O'Leary.
  • What is the purpose of the WiFiNINA library in MKR_WiFi1010?
    It enables WiFi connectivity for MQTT communication.
  • When was the Internet invented?
    Around late 1960s (October 1969).
  • Which mobile app is used to test MQTT on Android?
    MQTT Dash.
  • How do you set up an MQTT Broker in MQTT Dash?
    Enter the broker address, Client ID, username, and API key.
  • What is the difference between publishing and subscribing in MQTT?
    Publishers send messages to a topic, subscribers receive messages from a topic.
  • What is the function of an MQTT Broker?
    It manages message distribution between publishers and subscribers.
  • What function in PubSubClient is used to publish data?
    client.publish(topic, message).
  • What are examples of IoT sensors?
    Temperature, Humidity, GPS, Pressure, Light.
  • Where is the MQTT subscribe function called in Arduino code?
    Inside the loop() function to handle real-time updates.
  • What is the purpose of the MQTT callback function?
    Handles incoming messages from subscribed topics.
  • What are the two main MQTT communication methods?
    Publish and Subscribe.
  • What is the maximum number of MQTT devices per user in ThingSpeak?
    100 devices.
  • What is the topic format for subscribing to a ThingSpeak channel?
    channels/{channel_id}/subscribe/fields/field{field_number}.
  • What is the purpose of the MQTT Last Will Message?
    Notifies subscribers if a client unexpectedly disconnects.
  • How does MQTT differ from HTTP?
    MQTT is lightweight and asynchronous, HTTP is heavy and synchronous.
  • Name two free MQTT brokers available online.
    HiveMQ and Eclipse Mosquitto.
  • What does MQTT stand for?
    Message Queuing Telemetry Transport.
  • What is the role of the Internet in IoT?
    Provides connectivity for devices to communicate and interact remotely.
  • What are the benefits of using an IoT Gateway?
    Pre-process data, improve security, save energy, translate protocols.