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)- A6% (3)
- B75% (36)
- C13% (6)
- D2% (1)
- E4% (2)
Community Discussion
No community discussion yet for this question.