Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-134 Topic 10 Question 102 Discussion

Actual exam question for Oracle's 1Z0-134 exam
Question #: 102
Topic #: 10
[All 1Z0-134 Questions]

Your application includes a message driven bean (MDB) that is listening to messages on a JMS Queue. You need to ensure that every message is processed exactly once by the MDB.

Which configuration allows you to achieve this requirement? (Choose the best answer.)

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

King
2 months ago
I'm not sure, but setting the MDB instance count to 1 could also work to process messages exactly once.
upvoted 0 times
...
Nicholle
2 months ago
Hmm, this is a tricky one. I'm going to have to go with C. Can't wait to see what the instructor thinks is the 'best' answer. Maybe they'll throw in a trick question just to keep us on our toes!
upvoted 0 times
...
Cherelle
2 months ago
A is not the right answer. An exception handler doesn't ensure that messages are processed exactly once, it just gives you a way to handle errors.
upvoted 0 times
Arlie
1 months ago
D) Set the MDB instance count to 1 in the deployment descriptor.
upvoted 0 times
...
Dominque
1 months ago
C) Use container-managed transactions, so that messages are redelivered if unacknowledged.
upvoted 0 times
...
Latanya
2 months ago
B) Set the Redelivery Limit for the Queue to zero.
upvoted 0 times
...
...
Denny
2 months ago
D seems like an odd choice. Setting the instance count to 1 doesn't guarantee that messages are processed exactly once, it just limits the parallelism.
upvoted 0 times
Renea
2 months ago
I'm not sure about C. Maybe B could work by setting the Redelivery Limit for the Queue to zero?
upvoted 0 times
...
Renea
2 months ago
I agree, C is the way to go. It's important to make sure every message is processed exactly once.
upvoted 0 times
...
Renea
2 months ago
I think C is the best option. Using container-managed transactions ensures messages are redelivered if unacknowledged.
upvoted 0 times
...
...
Arlette
3 months ago
I agree with Aleisha, using container-managed transactions ensures messages are redelivered if unacknowledged.
upvoted 0 times
...
Jolene
3 months ago
I'm not sure about C. Wouldn't setting the redelivery limit to zero (option B) also ensure that every message is processed exactly once?
upvoted 0 times
...
Gennie
3 months ago
I think C is the best answer. Using container-managed transactions ensures that messages are redelivered if the processing fails.
upvoted 0 times
Shelia
2 months ago
That might work too, but C seems like the safer option.
upvoted 0 times
...
Tuyet
2 months ago
But what about setting the MDB instance count to 1?
upvoted 0 times
...
Dustin
2 months ago
I agree, container-managed transactions ensure message redelivery.
upvoted 0 times
...
Mari
2 months ago
I think C is the best answer.
upvoted 0 times
...
...
Aleisha
3 months ago
I think the best answer is C) Use container-managed transactions.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77