Oracle Java EE 7 Application Developer - 1Z1-900 Exam Practice Test

You need to develop a chat application, which allows the display of emoticons and images together with text messages.
How should you configure a WebSocket endpoints to receive both text and binary messages?
Correct Answer: A
Your organization is using min-max planning to replenish stock and the planning parameters are set at item organization level with a default subinventory.
Item: A, Min Qty: 25, Max Qty: 150 and Current Level: 20
The item above is purchased from a supplier. Although there is subinventory on hand, the subinventory is below the minimum required level. This should trigger a Min-Max report entry, but the requisition is not generated. Why?
Correct Answer: D
Given the code fragment:

How long does this cookie persist?
Correct Answer: B
You set up an item organization and an inventory organization as part of your customer's requirement.
Your customer has, by mistake, performed a receipt transaction in the item organization instead of the inventory organization. How will you rectify this error?
Correct Answer: D
Identify two statements that are true about the cost-organization relationship.
Correct Answer: A,B
On your JSF page, you have a form in which you have a command button:

A user submits the form by clicking the button, and no errors occur while processing the request. Which statement is true?
Correct Answer: C
Which code snippet indicates that the page you are designing is capable of handling errors?
Correct Answer: C
You have orders that were due for shipping last week, but as for now they have not been shipped.
Which dashboard should you check at the end of the day to determine which orders have been shipped?
Correct Answer: A
How can you configure, in a portable way, the number of threads used by a ManagedExecutorService?
Correct Answer: B
You are building the User Preferences page of an application. A user can change values, such as his or her name, password, address, company, and so on. These values are sent to a CDI backing bean via AJAX when the user tabs out of each field. However, the values must be retained in the CDI bean and stored in the database only when the user clicks the Save button.
Which two scopes will allow your CDI bean to retain its state while the user is interacting with the User Preferences page? (Choose two.)
Correct Answer: B,C