IOT Questions and Answers – MQTT Protocol

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

Answer: a
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

Answer: b
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

Answer: b
Explanation: MQTT is message oriented. Every message is a discrete chunk of data, opaque to the broker
advertisement
advertisement

4. Who created MQTT?
a) Robert Cailliau
b) Tim Berners-Lee
c) Andy Stanford-Clark
d) Vint Cerf
View Answer

Answer: c
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

Answer: a
Explanation: Yes, You can pass a user name and password with an MQTT packet in V3.1 of the protocol.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. Standard ports of MQTT are __________
a) I2C
b) SSL
c) USART
d) TCP/IP
View Answer

Answer: d
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

Answer: a
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.
advertisement

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

Answer: c
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

Answer: a
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).
advertisement

10. URI and content type support is which protocol feature?
a) SPI
b) UDP
c) HTTP
d) CoAP
View Answer

Answer: d
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]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.