250+ TOP MCQs on XMPP Protocol and Answers

IOT Multiple Choice Questions on “XMPP Protocol”.

1. XMPP Full form is ________
a) Extensible Messaging and Presence Protocol
b) Extensible Module and presence protocol
c) Extensible Messaging and Presence Protocol
d) Extensible Messaging and Presence Protocol

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

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

Answer: a
Clarification: 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
b) Foundation
c) Federation
d) Jabber ID

Answer: c
Clarification: 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?
a) XMPP
b) HTTP
c) CoAP
d) MQTT

Answer: a
Clarification: MQTT has different levels of quality of services. This flexibility is not available in XMPP.

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

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

Answer: c
Clarification: RFC 6120, Extensible Messaging and Presence Protocol (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

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

Answer: d
Clarification: 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

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

Answer: d
Clarification: 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

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

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

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

Answer: a
Clarification: XMPP has often regarded as a competitor to simple, based on Session Initiation Protocol, as the standard protocol for instant messaging and presence notification.

Leave a Reply

Your email address will not be published. Required fields are marked *