exam questions

Exam 1z0-134 All Questions

View all questions & answers for the 1z0-134 exam

Exam 1z0-134 topic 1 question 14 discussion

Actual exam question from Oracle's 1z0-134
Question #: 14
Topic #: 1
[All 1z0-134 Questions]

You are trying to set up a JMS Session with a specified acknowledgment mode. You want the application that receives the message to explicitly take care of the acknowledgment.
Which option represents a valid choice for the acknowledgment mechanism that you can use? (Choose the best answer.)

  • A. AUTO_ACKNOWLEDGE
  • B. CLIENT_ACKNOWLEDGE
  • C. DUPS_OK_ACKNOWLEDGE
  • D. DEFAULT_ACKNOWLEDGE
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
With CLIENT_ACKNOWLEDGE the Session object relies on the application to call an acknowledge method on a received message. Once the method is called, the session acknowledges all messages received since the last acknowledge.
Incorrect Answers:
A: With CLIENT_ACKNOWLEDGE the Session object acknowledges receipt of a message once the receiving application method has returned from processing it.
C: With DUPS_OK_ACKNOWLEDGE the Session object acknowledges receipt of a message once the receiving application method has returned from processing it; duplicate acknowledges are permitted.
D: There is no acknowledge mode named DEFAULT_ACKNOWLEDGE.
Reference:
http://docs.oracle.com/cd/E12840_01/wls/docs103/jms/fund.html

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
kathee
2 years, 4 months ago
Selected Answer: A
https://docs.oracle.com/cd/E19587-01/821-0029/aeqbk/index.html#:~:text=The%20standard%20JMS%20Session%20interface%2C%20defined%20in%20package,used%20as%20arguments%20to%20the%20connection%E2%80%99s%20createSession%20method.
upvoted 1 times
...
kathee
2 years, 5 months ago
https://docs.oracle.com/cd/E19587-01/821-0029/aeqbk/index.html#:~:text=The%20standard%20JMS%20Session%20interface%2C%20defined%20in%20package,used%20as%20arguments%20to%20the%20connection%E2%80%99s%20createSession%20method.
upvoted 2 times
...
Cosmin_D
4 years, 11 months ago
For the below statement, it should be AUTO_ACKNOWLEDGE instead of CLIENT_ACKNOWLEDGE : A: With CLIENT_ACKNOWLEDGE the Session object acknowledges receipt of a message once the receiving application method has returned from processing it.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago