nerdexam
CompTIA

LX0-102 · Question #197

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

(42 responses)
  • A
    5% (2)
  • B
    81% (34)
  • C
    2% (1)
  • D
    12% (5)

Community Discussion

No community discussion yet for this question.

Full LX0-102 Practice