nerdexam
Linux_FoundationLinux_Foundation

LFCS · Question #433

LFCS Question #433: Real Exam Question with Answer & Explanation

The correct answer is A: Add the correct indexes in slapd.conf, stop the server and run slapindex.. This question addresses how to improve slow, sequential LDAP searches by optimizing the server configuration.

Submitted by valeria.br· Apr 18, 2026Service Configuration

Question

An administrator notices that searches are being processed sequentially and taking a long time to complete. What should be done to speed up the searches?

Options

  • AAdd the correct indexes in slapd.conf, stop the server and run slapindex.
  • BRefine the search filter.
  • CUse the -binarytreesearch option with ldapsearch.
  • DUse the -fuzzy option with ldapsearch.

Explanation

This question addresses how to improve slow, sequential LDAP searches by optimizing the server configuration.

Common mistakes.

  • B. Refining the search filter may reduce the number of results, but it does not change the underlying sequential processing method if the relevant attributes are not indexed, thus not fundamentally speeding up search processing for the server.
  • C. The -binarytreesearch option is not a standard or documented ldapsearch client option for optimizing server-side search performance.
  • D. The -fuzzy option is not a standard or documented ldapsearch client option for optimizing server-side search performance.

Concept tested. OpenLDAP indexing for search performance

Reference. https://www.openldap.org/doc/admin24/tuning.html#Indexing

Topics

#LDAP#Indexing#Performance Tuning#slapd

Community Discussion

No community discussion yet for this question.

Full LFCS PracticeBrowse All LFCS Questions