0
0
IOT Protocolsdevops~10 mins

Client-server vs publish-subscribe models in IOT Protocols - Interactive Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to identify the main component that acts as a middleman in the publish-subscribe model.

IOT Protocols
In the publish-subscribe model, the [1] is responsible for receiving messages from publishers and forwarding them to subscribers.
Drag options to blanks, or click blank then click option'
Aclient
Bdatabase
Cserver
Dbroker
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing the broker with the client or server.
2fill in blank
medium

Complete the sentence to describe the communication style of the client-server model.

IOT Protocols
In the client-server model, communication is typically [1], where clients request and servers respond.
Drag options to blanks, or click blank then click option'
Amulticast
Bsynchronous
Cbroadcast
Dasynchronous
Attempts:
3 left
💡 Hint
Common Mistakes
Thinking client-server uses asynchronous or broadcast communication.
3fill in blank
hard

Fix the error in the statement about message delivery in publish-subscribe.

IOT Protocols
In publish-subscribe, messages are sent directly from publishers to subscribers without any [1].
Drag options to blanks, or click blank then click option'
Aserver
Bclient
Cbroker
Ddatabase
Attempts:
3 left
💡 Hint
Common Mistakes
Assuming direct message delivery without a broker.
4fill in blank
hard

Fill both blanks to complete the description of client-server and publish-subscribe models.

IOT Protocols
In the client-server model, clients [1] requests to a server, while in publish-subscribe, publishers send messages to a [2].
Drag options to blanks, or click blank then click option'
Asend
Breceive
Cbroker
Ddatabase
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up send and receive, or confusing broker with database.
5fill in blank
hard

Fill all three blanks to complete the code snippet describing message flow in publish-subscribe.

IOT Protocols
Messages are published by [1], sent to the [2], and then delivered to [3] who subscribed to the topic.
Drag options to blanks, or click blank then click option'
Aclients
Bsubscribers
Cbroker
Dpublishers
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing publishers with subscribers or clients.