nerdexam
Linux_FoundationLinux_Foundation

LFCS · Question #170

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

The correct answer is A: With the -x option, the simple bind authentication method will be used.. The ldapsearch command supports simple bind authentication with -x, specifying a server with -h, and displaying results in LDIF format with -L.

Submitted by daniela_cl· Apr 18, 2026User and Group Management

Question

Which of the following statements about the ldapsearch command are true? (Select THREE correct answers.)

Options

  • AWith the -x option, the simple bind authentication method will be used.
  • BIt is possible to configure a specific LDAP server for the search with the -h option.
  • CThe -b option specifies the database where the LDIF file will be included.
  • DThe -L option is useful when for viewing details of LDIF files.
  • EThe -Z option requires a successful StartTLS operation in order to continue.

Explanation

The ldapsearch command supports simple bind authentication with -x, specifying a server with -h, and displaying results in LDIF format with -L.

Common mistakes.

  • C. The -b option specifies the base distinguished name (Base DN) for the search operation, which defines the starting point within the directory tree, not the database where an LDIF file will be included.
  • E. The -Z option attempts to establish a StartTLS session for encrypted communication. If the StartTLS operation fails (e.g., due to server non-support or certificate issues), ldapsearch typically terminates with an error or warning, rather than continuing without a successful StartTLS operation.

Concept tested. ldapsearch command options

Topics

#ldapsearch#LDAP#Directory Services#Authentication

Community Discussion

No community discussion yet for this question.

Full LFCS PracticeBrowse All LFCS Questions