nerdexam
Oracle

1Z0-895 · Question #13

1Z0-895 Question #13: Real Exam Question with Answer & Explanation

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

Question

FooBean and BarBean are both EJB 3.x stateless session beans with bean-managed transaction demarcation. The business method foo in FooBean starts a UserTransaction and invokes the business method bar in BrBean. Given: What is the expected result of this method invocation assuming control reaches Line 12?

Options

  • AFooBean.foo method receives MyAppException.
  • BThe container discards the BarBean bean instance.
  • CFooBean.foo method receives a javax.ejb.EJBException that wraps MyAppException.
  • DFooBean.foo method receives javax.transaction.TransactionRolledbackException.

Unlock 1Z0-895 to see the answer

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