CoAP & MQTT Flashcards

1
Q

MQTT is _______ oriented.

A

Message

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the default port number for MQTT?

A

1833 (actual answer shouldbe 1883)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the following is not a client type in MQTT?

A

Producer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which protocol is CoAP closely modeled after?

A

HTTP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which layer is CoAP?

A

Application Layer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does CoAP stand for?

A

Constrained Application Protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does MQTT stand for?

A

Message Queuing Telemetry Transport (MQTT)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What type of protocol is MQTT?

A

Application protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which of the following QoS levels in MQTT ensures message delivery at least once?

A

QoS 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

MQTT transmits data to and from a broker in which format. (Choose the best option)

A

Binary data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the maximum number of clients that can subscribe to a single topic in MQTT?

A

Unlimited

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What transport layer protocol does CoAP use?

A

UDP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

CoAP is specialised in?

A

Internet applications

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

CoAP supports which of the following methods similar to HTTP?

A

GET, POST, PUT, DELETE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

CoAP is a specialised _________ protocol.

A

Application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

CoAP is designed for which kind of network?

A

Resource-constrained networks

17
Q

Which of the following is not a characteristic of MQTT?

A

Request/response messaging model

18
Q

What is a topic in MQTT?

A

A string used to filter messages in a publish/subscribe model

19
Q

CoAP messages can be of which types?

A

Confirmable and Non-Confirmable

20
Q

The core of the protocol is specified in ______?

21
Q

To receive a retained message?

A

You must subscribe to a topic that has been published with the retained message set

22
Q

CoAP provides which of the following requirements?

A

Multicast support, lower overhead and simplicity

23
Q

Select the TRUE statement(s) for CoAP protocol

A

Uses GET message request to retrieve subscription.
Uses PUT message requests to create subscription.

24
Q

The Last Will Message is used to:

A

Notify clients of a failure in the publisher

25
Q

MQTT uses the publish/subscribe model.
How does the publisher know who is subscribing?

A

The publisher doesn’t know

26
Q

CoAP is designed for which kind of networks?

A

Resource-constrained networks

27
Q

CoAP Protocol is comprised of which sub-layers?

A

Request & Response

Message