IOT Questions and Answers – XMPP Protocol


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
View Answer

Answer: a
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?
a) XPL
b) XML
c) XHL
d) MPL
View Answer

Answer: b
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.
a) device
b) email
c) message
d) data
View Answer

Answer: a
Explanation: XMPP creates a device identity also called a Jabber ID. In MQTT, identities are created and managed separately in broker implementations.
Note: Join free Sanfoundry classes at Telegram or Youtube

4. XMPP supports __________
a) Structured data
b) Foundation
c) Federation
d) Jabber ID
View Answer

Answer: c
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?
c) CoAP
View Answer

Answer: d
Explanation: MQTT has different levels of quality of services. This flexibility is not available in XMPP.
Take IOT Tests Now!

6. The original transport protocol for XMPP.
a) FCP
b) TCP
c) MCP
d) HCP
View Answer

Answer: b
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
View Answer

Answer: c
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
c) Message
d) Public/subscriber
View Answer

Answer: a
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 ________
a) CoAP
b) Gaming
c) Email
d) Polling
View Answer

Answer: d
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.
a) True
b) False
View Answer

Answer: a
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
c) Gaming
d) Email
View Answer

Answer: d
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.
a) True
b) False
View Answer

Answer: b
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 __________
a) High
b) Very high
c) Limited
d) Ultra high
View Answer

Answer: c
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
View Answer

Answer: c
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
View Answer

Answer: a
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.

Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.