nerdexam
Oracle

1Z0-899 · Question #109

1Z0-899 Question #109: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-899 to reveal the answer and full explanation for question #109. The question stem and answer options stay visible for context.

Question

Your web application requires the adding and deleting of many session attributes during a complex use case. A bug report has come in that indicates that an important session attribute is being deleted too soon and a NullPointerException is being thrown several interactions after the fact. You have decided to create a session event listener that will log when attributes are being deleted so you can track down when the attribute is erroneously being deleted. Which listener class will accomplish this debugging goal?

Options

  • ACreate an HttpSessionAttributeListener class and implement the attributeDeleted method and log the
  • BCreate an HttpSessionAttributeListener class and implement the attributeRemoved method and log
  • CCreate an SessionAttributeListener class and implement the attributeRemoved method and log the
  • DCreate an SessionAttributeListener class and implement the attributeDeleted method and log the

Unlock 1Z0-899 to see the answer

You've previewed enough free 1Z0-899 questions. Unlock 1Z0-899 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 1Z0-899 Practice