nerdexam
CompTIA

LX0-104 · Question #203

Which ONE of the following is a correct example of an RDN?

The correct answer is B. cn=John Doe. An RDN (Relative Distinguished Name) is the most specific component of a DN, consisting of one or more attribute-value pairs separated by commas or plus signs.

Essential System Services

Question

Which ONE of the following is a correct example of an RDN?

Options

  • AJohnDoe
  • Bcn=John Doe
  • Ccn=JohnDoe,ou=people,o=example
  • Dcn=John Doe, ou=people, o=example

How the community answered

(30 responses)
  • A
    7% (2)
  • B
    87% (26)
  • C
    3% (1)
  • D
    3% (1)

Why each option

An RDN (Relative Distinguished Name) is the most specific component of a DN, consisting of one or more attribute-value pairs separated by commas or plus signs.

AJohnDoe

"JohnDoe" is just a value; an RDN must include an attribute name and an equals sign (`=`) to assign that value to the attribute.

Bcn=John DoeCorrect

An RDN identifies an entry within its immediate parent. It is expressed as one or more attribute-value pairs (e.g., `attribute=value`). `cn=John Doe` is a correct and common format for a single-attribute RDN.

Ccn=JohnDoe,ou=people,o=example

`cn=JohnDoe,ou=people,o=example` is a complete Distinguished Name (DN), not just an RDN. An RDN is only the leftmost, most specific component of a DN.

Dcn=John Doe, ou=people, o=example

Similar to C, `cn=John Doe, ou=people, o=example` is a complete Distinguished Name (DN), not solely an RDN. The additional spaces around commas are also not standard for DNs but don't fundamentally change it from a DN to an RDN.

Concept tested: LDAP Relative Distinguished Name (RDN) format

Source: https://ldapwiki.com/wiki/Relative%20Distinguished%20Name

Topics

#LDAP#RDN structure#Distinguished Name

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice