CoAP & MQTT Flashcards
MQTT is _______ oriented.
Message
What is the default port number for MQTT?
1833 (actual answer shouldbe 1883)
Which of the following is not a client type in MQTT?
Producer
Which protocol is CoAP closely modeled after?
HTTP
Which layer is CoAP?
Application Layer
What does CoAP stand for?
Constrained Application Protocol
What does MQTT stand for?
Message Queuing Telemetry Transport (MQTT)
What type of protocol is MQTT?
Application protocol
Which of the following QoS levels in MQTT ensures message delivery at least once?
QoS 1
MQTT transmits data to and from a broker in which format. (Choose the best option)
Binary data
What is the maximum number of clients that can subscribe to a single topic in MQTT?
Unlimited
What transport layer protocol does CoAP use?
UDP
CoAP is specialised in?
Internet applications
CoAP supports which of the following methods similar to HTTP?
GET, POST, PUT, DELETE
CoAP is a specialised _________ protocol.
Application
CoAP is designed for which kind of network?
Resource-constrained networks
Which of the following is not a characteristic of MQTT?
Request/response messaging model
What is a topic in MQTT?
A string used to filter messages in a publish/subscribe model
CoAP messages can be of which types?
Confirmable and Non-Confirmable
The core of the protocol is specified in ______?
RFC 7252
To receive a retained message?
You must subscribe to a topic that has been published with the retained message set
CoAP provides which of the following requirements?
Multicast support, lower overhead and simplicity
Select the TRUE statement(s) for CoAP protocol
Uses GET message request to retrieve subscription.
Uses PUT message requests to create subscription.
The Last Will Message is used to:
Notify clients of a failure in the publisher
MQTT uses the publish/subscribe model.
How does the publisher know who is subscribing?
The publisher doesn’t know
CoAP is designed for which kind of networks?
Resource-constrained networks
CoAP Protocol is comprised of which sub-layers?
Request & Response
Message