nerdexam
Oracle

1Z0-860 · Question #23

1Z0-860 Question #23: Real Exam Question with Answer & Explanation

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

Question

An Application Assembler is given the following stateless session bean: 10. ©Stateless public class MyBean implements Mylnt { 11. @RolesAllowed("SECRET") 12. public void methodA(int x) {} 13. public void methodA(String y) {} 14. public void methodB(String z) {} 15. } A deployment descriptor is also supplied, a portion of which reads as follows: 20. <method-permission> 21. <role-name>AGENT</role-name> 22. <method> 23. <ejb-name>MyBean</ejb-name> 24. <method-name>methodA</method-name> 25. </method> 26. </method-permission> Which statement is true?

Options

  • AA client in any role will be able to access any of the methods.
  • BA client in the role "AGENT" will be able to access any of the methods.
  • CA client in the role"SECRET" will be able to access any of the methods.
  • DA client in the role "AGENT" will be able to access methodB and methodA(String), but not methodA(int).
  • EA client in the role "SECRET" will be able to access methodA(int) and methodB, but NOT

Unlock 1Z0-860 to see the answer

You've previewed enough free 1Z0-860 questions. Unlock 1Z0-860 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-860 Practice