Q23
Which of the following is not a messaging mode in CoAP?
A.
Confirmable
B.
Separate
C.
Direct
AnswerD.
Piggyback
Answer: Option C
Solution
Answer: Option C
Solution:
Option A: Confirmable is a valid messaging mode in CoAP (Constrained Application Protocol). In this mode, the sender expects an acknowledgment from the receiver, ensuring reliable message delivery.Option B:
Separate is also a valid messaging mode in CoAP. It allows a server to send a response separately from the request, useful when the response cannot be sent immediately.Option C:
Direct is not a recognized messaging mode in CoAP. CoAP uses specific messaging modes like confirmable, non-confirmable, separate, and piggyback, but "Direct" is not part of the standard terminology used for messaging modes.Option D:
Piggyback is a valid messaging mode in CoAP. In this mode, the server sends the acknowledgment along with the response in a single message, providing efficiency in communication.Conclusion: The correct answer is Option C:
Direct, as it is not a valid messaging mode in CoAP, unlike the other options, which are part of the CoAP messaging system.