This set of IOT Multiple Choice Questions & Answers (MCQs) focuses on “XMPP Protocol”.
1. XMPP Full form is ________
a) Extensible Messaging and Presence Protocol
b) Extensible Module and presence protocol
c) Extra Message and Presence Protocol
d) Extensible Messaging and Particular Protocol
Explanation: XMPP is used in IOT which covers XMPP core, XMPP addressing, XMPP server and XMPP client communication. XMPP is the short form of Extensible Messaging and Presence Protocol.
2. XMPP is used for streaming which type of elements?
Explanation: XMPP is an open protocol for streaming XML elements in order to exchange messages and presence information in close to real time.
3. XMPP creates _________ identity.
Explanation: XMPP creates a device identity also called a Jabber ID. In MQTT, identities are created and managed separately in broker implementations.
4. XMPP supports __________
a) Structured data
d) Jabber ID
Explanation: XMPP supports federation, meaning devices from different manufactures connected to different platforms can talk to each other with a standard communication protocol.
5. Which protocol has a quality of service?
Explanation: MQTT has different levels of quality of services. This flexibility is not available in XMPP.
6. The original transport protocol for XMPP.
Explanation: The original and native transport protocol for XMPP is Transmission Control Protocol (TCP), using open ended XML stream over long-lived TCP connections.
7. Which XMPP core describes client server messaging?
a) RFC 6122
b) RFC 4854
c) RFC 6120
d) RFC 3923
Explanation: RFC 6120 is an XMPP core which describes client-server messaging using two open-ended XML streams.
8. XMPP uses ________ architecture.
a) Decentralized client-server
b) Centralized client-server
Explanation: The XMPP uses a decentralized client-server architecture where clients do not talk directly to one another, but there is no central server.
9. XMPP implementation uses ________
Explanation: Most XMPP implementations use polling, or checking for updates only on demand. A protocol called BOSH lets server push messages.
10. XMPP feature such as federation across domains used to implement the Internet of Things.
Explanation: XMPP features such as federation across domains, public/subscriber, authentication and its security even for mobile endpoints are being used to implement the Internet of Things.
11. The architecture of the XMPP network is similar to __________
a) Chat box
b) Web browser
Explanation: The architecture of the XMPP network is similar to email; anyone can run their own XMPP server and there is no central master server.
12. Does XMPP have text based communication.
Explanation: Since XML is text based, normal XMPP has a higher network overhead compared to purely binary solution. This issue is being addressed by the experimental XEP -0322.
13. In XMPP In band binary data format is __________
b) Very high
d) Ultra high
Explanation: Binary data must be first base64 encoded before it can be transmitted in band. Therefore, any significant amount of binary data is best transmitted out of band, using in band message to coordinate.
14. IRC stands for __________
a) Internet Reduce Chat
b) Interconnection Relay Chat
c) Internet Relay Chat
d) Interconnect Reduce Chat
Explanation: The XMPP extension for multi user chat can be seen a competitor to Internet Relay Chat, although IRC is far simpler, has far fewer features, and is far widely used.
15. SIP stands for ___________
a) Session Initiation Protocol
b) Session Internet Protocol
c) Simple Initiation Protocol
d) Session Internet Protocol
Explanation: XMPP has often regarded as a competitor to SIMPLE/SIP, based on Session Initiation Protocol (SIP), as the standard protocol for instant messaging and presence notification.
Sanfoundry Global Education & Learning Series – IOT.
To practice all areas of IOT, here is complete set of 1000+ Multiple Choice Questions and Answers.