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.
Question
Options
- AJohnDoe
- Bcn=John Doe
- Ccn=JohnDoe,ou=people,o=example
- Dcn=John Doe, ou=people, o=example
How the community answered
(30 responses)- A7% (2)
- B87% (26)
- C3% (1)
- D3% (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.
"JohnDoe" is just a value; an RDN must include an attribute name and an equals sign (`=`) to assign that value to the attribute.
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.
`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.
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
Community Discussion
No community discussion yet for this question.