nerdexam
Oracle

1Z0-897 · Question #102

Given the JAX-RS root resource class fragment: Choose the statement that best describes the configuration that would be required to support the access control constraint shown:

The correct answer is B. The developer will have to configure the web container to require authenticated access to the URLs. See the full explanation below for the reasoning.

Question

Given the JAX-RS root resource class fragment:

Choose the statement that best describes the configuration that would be required to support the access control constraint shown:

Options

  • ANo further configuration is required - the JavaEE runtime will pick up the security constraint and configure
  • BThe developer will have to configure the web container to require authenticated access to the URLs
  • CThe developer will have to turn on authentication in the web container configuration file, so that all incoming
  • DThe developer will have to configure the web container to require authenticated access to the URLs

How the community answered

(60 responses)
  • A
    10% (6)
  • B
    82% (49)
  • C
    3% (2)
  • D
    5% (3)

Community Discussion

No community discussion yet for this question.

Full 1Z0-897 Practice