nerdexam
Oracle

1Z0-895 · Question #60

Given a session bean defines: 11. @Stateless (name = "MrBean") 12. public class source SecureBean implements local business, remoteBusiness { Where LocalBusiness is a local business interface and…

The correct answer is C. Both LocalBusiness and RemoteBusiness Clients must be in role A. See the full explanation below for the reasoning.

Question

Given a session bean defines: 11. @Stateless (name = "MrBean") 12. public class source SecureBean implements local business, remoteBusiness { Where LocalBusiness is a local business interface and RemoteBusines is a remote business interface. The following deployment descriptor entries represent the only security-related metadata: Which is true about the security roles of clients MrBean?

Exhibit

1Z0-895 question #60 exhibit

Options

  • AOnly LocalBusiness clients must be in role A.
  • BOnly LocalBusiness clients must be in role B.
  • CBoth LocalBusiness and RemoteBusiness Clients must be in role A.
  • DBoth LocalBusiness and RemoteBusiness clients must NOT be in role A.

How the community answered

(33 responses)
  • A
    6% (2)
  • B
    12% (4)
  • C
    79% (26)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-895 Practice