nerdexam
Oracle

1Z0-899 · Question #95

Which three are true about servlet filters? (Choose three.)

The correct answer is A. A filter must implement the destroy method. B. A filter must implement the doFilter method. C. A servlet may have multiple filters associated with it. See the full explanation below for the reasoning.

Question

Which three are true about servlet filters? (Choose three.)

Options

  • AA filter must implement the destroy method.
  • BA filter must implement the doFilter method.
  • CA servlet may have multiple filters associated with it.
  • DA servlet that is to have a filter applied to it must implement the javax.servlet.FilterChain interface.
  • EA filter that is part of a filter chain passes control to the next filter in the chain by invoking the
  • FFor each <filter> element in the web application deployment descriptor, multiple instances of a filter

How the community answered

(29 responses)
  • A
    76% (22)
  • D
    3% (1)
  • E
    7% (2)
  • F
    14% (4)

Community Discussion

No community discussion yet for this question.

Full 1Z0-899 Practice