350-801 · Question #394
What are two common attributes of XMPP XML stanzas? (Choose two.)
The correct answer is A. from B. to. Two fundamental attributes of XMPP XML stanzas are 'from' and 'to', which are used to identify the sender and the intended recipient respectively.
Question
What are two common attributes of XMPP XML stanzas? (Choose two.)
Options
- Afrom
- Bto
- Cdestination
- Dversion
- ESource
How the community answered
(57 responses)- A88% (50)
- C4% (2)
- D2% (1)
- E7% (4)
Why each option
Two fundamental attributes of XMPP XML stanzas are 'from' and 'to', which are used to identify the sender and the intended recipient respectively.
The 'from' attribute within an XMPP XML stanza specifies the Jabber ID (JID) of the entity that originated the stanza, serving as the sender's address.
The 'to' attribute within an XMPP XML stanza designates the Jabber ID (JID) of the intended recipient, guiding the stanza to its correct destination.
'Destination' is not a standard attribute name in XMPP XML stanzas; 'to' is used for specifying the recipient.
'Version' is not a common attribute of XMPP stanzas themselves, but rather refers to protocol versions or capabilities.
'Source' is not a standard attribute name in XMPP XML stanzas; 'from' is used to identify the sender.
Concept tested: XMPP XML stanza attributes
Source: https://xmpp.org/rfcs/rfc6120.html
Topics
Community Discussion
No community discussion yet for this question.