Oracle 1z0-897 Exam Practice Questions (P. 5)
- Full Access (120 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #21
In which order do LogicalHandlers and SOAPHandlers configured on a Web Service endpoint execute on an incoming message ? (Choose one)
- ASOAPHandlers in the order specified in configuration are executed first and later the LogicalHandlers specified in the order get executed
- BLogicalHandlers in the order specified in configuration are executed first and later the SOAPHandlers specified in the order get executed
- CAll the handlers are executed in the order specified in the configuration
- DAll the handlers are executed in the reverse order specified in the configuration.
Correct Answer:
A
A
send
light_mode
delete
Question #22

Assume the code is free of gross flaws and syntax errors. Which two statements are true? (Choose two.)
- ALine 8 specifies that addInventory accepts either a valid total or quantity.
- BLine 1 indicates the portType is LogInventory.
- CLine 3 shows the method is mapped to the WSDL operation called "checkProduct".
- DLine 4 means that a method is not expected to return a value unless requested.
- ELine 7 implies WSDL operation and method name are the same.
Correct Answer:
BE
BE
send
light_mode
delete
Question #23
A developer is asked to determine which Web services approach is correct for a new project. A SOAP-based Web service must be created and deployed in an environment where many customers will use it. These customers will be responsible for developing their own clients using different frameworks, based on the published WSDL. Which approach is correct to use first in this situation? (Choose one)
- AJava, because the WSDL generated later will be more accurate
- BWSDL, because the service and customers can benefit from the strongly typed schema
- CJava, because the service must be efficient to support many customers
- DWSDL, because tools allow existing classes to be easily mapped without modification
Correct Answer:
B
B
send
light_mode
delete
Question #24
Which of the following two EJB types can be used as web service endpoints ? (Choose two.)
- AStateful Session EJB
- BMessage-Driven EJB
- CStateless Session EJB
- DSingleton Session EJB
Correct Answer:
CD
CD
send
light_mode
delete
Question #25
Which of the following can an EJB-based web service endpoint may NOT be able to use ?
- AServlet sessions
- BJava EE 6 declarative security
- Ccontainer-managed transactions
- Ddependency injection
Correct Answer:
A
A
send
light_mode
delete
All Pages