This set of IOT Multiple Choice Questions & Answers (MCQs) focuses on “MQTT Protocol”.
1. MQTT is mainly used for __________
a) M2M communication
b) Device communication
c) Internet communication
d) Wireless communication
View Answer
Explanation: MQTT is a public messaging protocol designed for lightweight M2M communication. It was originally developed by IBM and is now an open standard.
2. Which is an open standard?
a) CoAP
b) MQTT
c) XMPP
d) HTTP
View Answer
Explanation: IoT needs standard protocols. Two of the most promising for small devices are MQTT and CoAP. Both ate standard protocols.
3. MQTT is _________ oriented.
a) Data
b) Message
c) Network
d) Device
View Answer
Explanation: MQTT is message oriented. Every message is a discrete chunk of data, opaque to the broker
4. Who created MQTT?
a) Robert Cailliau
b) Tim Berners-Lee
c) Andy Stanford-Clark
d) Vint Cerf
View Answer
Explanation: MQTT was created by Andy Stanford-Clark in 1999. It was originally developed by IBM and is now an open standard.
5. Does MQTT support security.
a) True
b) False
View Answer
Explanation: Yes, You can pass a user name and password with an MQTT packet in V3.1 of the protocol.
6. Standard ports of MQTT are __________
a) I2C
b) SSL
c) USART
d) TCP/IP
View Answer
Explanation: Standard ports of MQTT are TCP/IP. TCP/IP port 1883 is reserved with IANA for use with MQTT.
7. Full form of MQTT _____
a) Message Queuing Telemetry Transport
b) Message Queuing Telegram Transport
c) Message Queue Telegram Transport
d) Message Queue Telemetry Transport
View Answer
Explanation: MQTT (Message Queuing Telemetry Transport) is a lightweight messaging protocol that provides resource-constrained network clients with a simple way to distribute telemetry information.
8. What are the key components of a M2M system?
a) Vortex DDS
b) Smart Homes
c) Sensors and Wi-Fi
d) Protocols
View Answer
Explanation: Following are the key components of a M2M system.
Sensors
RFID (Radio Frequency Identification)
Wi-Fi
Autonomic Computing.
9. Request field is present in which message format?
a) Request message
b) Response message
c) Both request and response
d) Neither request nor response
View Answer
Explanation: The request message consists of a request line(e.g., GET /image/logo.png HTTP/1.1, which requests a resource called /image/logo.png from the server).
10. URI and content type support is which protocol feature?
a) SPI
b) UDP
c) HTTP
d) CoAP
View Answer
Explanation: CoAP needs to consider optimizing length of datagram and satisfying REST protocol to support URI. It also needs to provide dependable communication based on UDP protocol.
Sanfoundry Global Education & Learning Series – IOT.
To practice all areas of IOT, here is complete set of 1000+ Multiple Choice Questions and Answers.
Sanfoundry Global Education & Learning Series – IOT.
To practice all areas of IOT, here is complete set of 1000+ Multiple Choice Questions and Answers.
If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]
- Check IOT Books
- Practice Programming MCQs
- Practice Computer Science MCQs
- Check Programming Books
- Check Computer Science Books