nerdexam
LPI

117-300 · Question #266

You're writing a simple Perl script to query an LDAP directory using the Net::LDAP module. Which method would you use to determine if the start_tls() operation was successful?

The correct answer is B. code(). See the full explanation below for the reasoning.

Question

You're writing a simple Perl script to query an LDAP directory using the Net::LDAP module. Which method would you use to determine if the start_tls() operation was successful?

Options

  • Aerr()
  • Bcode()
  • Cresult()
  • Dmsg()

How the community answered

(43 responses)
  • A
    5% (2)
  • B
    81% (35)
  • C
    12% (5)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 117-300 Practice