nerdexam
LPI

117-202 · 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

(26 responses)
  • A
    4% (1)
  • B
    85% (22)
  • D
    4% (1)
  • E
    8% (2)

Community Discussion

No community discussion yet for this question.

Full 117-202 Practice