nerdexam
CIW

1D0-437 · Question #25

Which of the following choices demonstrates the proper way to close a database connection given that$dbh is the database handle?

The correct answer is C. $dbh->disconnect. See the full explanation below for the reasoning.

Question

Which of the following choices demonstrates the proper way to close a database connection given that$dbh is the database handle?

Options

  • ADisconnect=>$dbh;
  • Bdisconnect$dbh;
  • C$dbh->disconnect;
  • Dclose($dbh);

How the community answered

(18 responses)
  • A
    11% (2)
  • C
    83% (15)
  • D
    6% (1)

Community Discussion

No community discussion yet for this question.

Full 1D0-437 Practice