nerdexam
LPI

117-301 · Question #139

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

(21 responses)
  • A
    10% (2)
  • B
    86% (18)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full 117-301 Practice