nerdexam
LPI

202-400 · Question #231

Which of these sets of entries will the following command return? ldapsearch -x "(|(cn=marie)(!(telephoneNumber=9*)))"

The correct answer is B. Entries that have a cn of marie or don't have a telephoneNumber beginning with 9. See the full explanation below for the reasoning.

Question

Which of these sets of entries will the following command return? ldapsearch -x "(|(cn=marie)(!(telephoneNumber=9*)))"

Options

  • AEntries that don't have a cn of marie or don't have a telephoneNumber that begins with 9.
  • BEntries that have a cn of marie or don't have a telephoneNumber beginning with 9.
  • CEntries that have a cn of marie and a telephoneNumber ending with 9.
  • DEntries that don't have a cn of marie and don't have a telephoneNumber beginning with 9.
  • EEntries that have a cn of marie or have a telephoneNumber beginning with 9.

How the community answered

(48 responses)
  • A
    6% (3)
  • B
    75% (36)
  • C
    13% (6)
  • D
    2% (1)
  • E
    4% (2)

Community Discussion

No community discussion yet for this question.

Full 202-400 Practice