nerdexam
LPI

300-100 · Question #63

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

(33 responses)
  • A
    3% (1)
  • B
    82% (27)
  • C
    6% (2)
  • D
    9% (3)

Community Discussion

No community discussion yet for this question.

Full 300-100 Practice