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
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
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
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
b) Foundation
c) Federation
d) Jabber ID
View Answer
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?
a) XMPP
b) HTTP
c) CoAP
d) MQTT
View Answer
Explanation: 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
View Answer
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
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
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
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
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
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
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
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
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
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.
- Get Free Certificate of Merit in IOT
- Participate in IOT Certification Contest
- Become a Top Ranker in IOT
- Take IOT Tests
- Chapterwise Practice Tests: Chapter 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
- Chapterwise Mock Tests: Chapter 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
- Buy Computer Science Books
- Buy Programming Books
- Buy IOT Books
- Apply for Computer Science Internship
- Practice Programming MCQs