Oracle
1Z0-899 · Question #187
1Z0-899 Question #187: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-899 to reveal the answer and full explanation for question #187. The question stem and answer options stay visible for context.
Question
Given: 3. class MyServlet extends HttpServlet { 4. public void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { 5. // servlet code here ... 26. } 27. } If the DD contains a single security constraint associated with MyServlet and its only <http- method> tags and <auth-constraint> tags are: <http-method>GET</http-method> <http-method>PUT</http-method> <auth-constrain>Admin</auth-constrain> Which four requests would be allowed by the container? (Choose four)
Options
- AA user whose role is Admin can perform a PUT.
- BA user whose role is Admin can perform a GET.
- CA user whose role is Admin can perform a POST.
- DA user whose role is Member can perform a PUT.
- EA user whose role is Member can perform a POST.
- FA user whose role is Member can perform a GET.
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.