Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

mqtt

Total questions: 20

Worksheet time: 19mins

Name
Class
Date
1.

Is MQTT a Standard?

a)

Yes

b)

No

2.

Standard port number for secure MQTT is:

a)

1883

b)

8000

c)

8883

d)

8888

3.

Each IP packet must contain:

a)

Only Destination IP Address

b)

Only Source IP Address

c)

None of Above

d)

Source and destination IP Addresses

4.

MQTT is:

a)

Based on client-server architecture

b)

Based on publish-subscribe architecture

c)

Based on both of the above

d)

Based on none of the above

5.

What is WPA?

a)

wi-fi protected access

b)

wired process acces

c)

wired protected access

d)

wi-fi process access

6.

Which of the following is true?

a)

IoT is a subset of M2M

b)

M2M is a subset of IoT

c)

IoT is a subset of CPS

d)

CPS is a subset of Web of Things(WoT)

7.

What is the main purpose of MQTT?

a)

Real-time communication

b)

Data storage

c)

Video streaming

d)

Audio recording

8.

Where can you find MQTT protocol being used?

a)

Smartphones

b)

Smartwatches

c)

Smart homes

d)

Smart TVs

9.

What is the role of a Publisher in MQTT?

a)

Sending messages to the Broker

b)

Receiving messages from the Broker

c)

Storing messages in a database

d)

Deleting messages from the Broker

10.

What does MQTT use to send a new message to all subscribers of a topic?

a)

Whatsapp

b)

Broker

c)

Speech

d)

Email

11.

What is a Broker in MQTT?

a)

A person who deals with messages

b)

A subscribers to a topic

c)
A server that receives and routes messages
d)

A Publisher to a topic

12.

What is MQTT?

a)

A messaging protocol

b)

A type of bird

c)

A cooking recipe

d)

A dance move

13.

What concept does MQTT use for messaging?

a)

Topics

b)

Phrases

c)

Hashtags

d)

Keywords

14.

Which security type is used for the Wi-Fi network?

a)

WPA2-Personal

b)

WEP

c)

WPA-Mixed

d)

Open

15.

What is the port number used for TCP communication in the Wi-Fi configuration?

a)

1883

b)

443

c)

8080

d)

1234

16.

What IP address is used for the MQTT server?

a)

192.168.1.1

b)

io.adafruit.com

c)

mqtt.example.com

d)

127.0.0.1

17.

What port is used for MQTT communication?

a)

1883

b)

8080

c)

443

d)

80

18.

Which function is responsible for initializing the MQTT client?

a)

mqtt_init()

b)

mqtt_publish()

c)

WIFI_Init()

d)

WIFI_MQTTClientInit()

19.

What happens if the MQTT publish operation fails?

a)

The message is queued for retry

b)

The system prints an error message

c)

The program enters an error handler

d)

The message is logged for debugging

20.

What credentials are used for MQTT authentication?

a)

API key only

b)

User name and password

c)

No authentication

d)

Token-based authentication