nerdexam
Cisco

350-801 · Question #173

Which attribute contains an XMPP stanza?

The correct answer is C. type. In XMPP (Extensible Messaging and Presence Protocol), iq, message, and presence are the three core XML stanza elements. The type field, however, is a common attribute within these stanzas, used to specify their specific purpose or subtype.

Protocols and Endpoints

Question

Which attribute contains an XMPP stanza?

Options

  • Aiq
  • Bmessage
  • Ctype
  • Dpresence

How the community answered

(52 responses)
  • A
    6% (3)
  • B
    4% (2)
  • C
    88% (46)
  • D
    2% (1)

Why each option

In XMPP (Extensible Messaging and Presence Protocol), iq, message, and presence are the three core XML stanza elements. The type field, however, is a common attribute within these stanzas, used to specify their specific purpose or subtype.

Aiq

iq is one of the three core XMPP stanza elements, not an attribute that contains a stanza.

Bmessage

message is one of the three core XMPP stanza elements, used for instant messages, not an attribute.

CtypeCorrect

In the context of XMPP, iq, message, and presence are the names of the three fundamental XML stanza elements. The type field is an attribute that is commonly found within these stanzas (e.g., <message type='chat'>, <iq type='get'>, <presence type='unavailable'>), used to specify the specific nature or subtype of the stanza. While the phrasing "contains an XMPP stanza" is unusual, type is the only option that functions as an attribute.

Dpresence

presence is one of the three core XMPP stanza elements, used for communicating user availability, not an attribute.

Concept tested: XMPP stanza structure and attributes

Source: https://xmpp.org/rfcs/rfc6120.html

Topics

#XMPP#Stanza#Protocol syntax#Collaboration messaging

Community Discussion

No community discussion yet for this question.

Full 350-801 Practice