Exam Code: 1Z0-897 (Practice Exam Latest Test Questions VCE PDF)
Exam Name: Java Platform, Enterprise Edition 6 Web Services Developer Certified Expert Exam
Certification Provider: Oracle
Free Today! Guaranteed Training- Pass 1Z0-897 Exam.
♥♥ 2021 NEW RECOMMEND ♥♥
Free VCE & PDF File for Oracle 1Z0-897 Real Exam (Full Version!)
★ Pass on Your First TRY ★ 100% Money Back Guarantee ★ Realistic Practice Exam Questions
Free Instant Download NEW 1Z0-897 Exam Dumps (PDF & VCE):
Available on:
http://www.surepassexam.com/1Z0-897-exam-dumps.html
Q61. Given stock quote web service endpoint:
and the corresponding client side artifacts for the above web service are :
StockQuoteService is the Service class and StockQuoteProvider is the corresponding SEI.
Which of the following two options enable addressing feature for proxy for the StockQuoteProvider SEI ? (Choose two)
A. proxy = new StockQuoteService().getStockQuoteProvider()
B. proxy = new StockQuoteService().getStockQuoteProvider(new AddressingFeature())
C. proxy = new StockQuoteService().getStockQuoteProvider(new AddressingFeature(false))
D. proxy = new StockQuoteService().getStockQuoteProvider(new AddressingFeature(false, true))
Answer: AB
Q62. Choose three ways to enable MTOM on a web service endpoint deployed in an EE container ? (Choose three)
A. enabled by the container automatically
B. by specifying @MTOM annotation on the endpoint's class
C. by specifying <enable-mtom> in webservices.xml deployment descriptor
D. by specifying a wsoma:MTOM policy in WSDLE. by specifying <mtom> element in sun-jaxws.xml
Answer: BCD
Q63. In the following situation, Client C sends a SOAP request to Service S and the response is to be processed by a third party response processor R. Which of the following SOAP headers in the request message convey the intention? Assume the endpoint reference of Service S is
A. <s11:Header>
<wsa:Action>http://example.com/action/process</wsa:Action>
<wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address>
<wsa:ReplyTo>
</s11:Header>
B. <s11:Header>
<wsa:Action>http://example.com/action/process</wsa:Action>
<wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
<wsa:ReplyTo>
</s11:Header>
C. <s11:Header>
<wsa:Action>http://example.com/action/process</wsa:Action>
<wsa:ReplyTo>
<wsa:Address>http://example.com/responseprocessor</wsa:Address>
<wsa:ReplyTo>
</s11:Header>
D. <s11:Header>
<wsa:Action>http://example.com/action/process</wsa:Action>
<wsa:ReplyTo>
<wsa:Address>http://example.com/service</wsa:Address>
<wsa:ReplyTo>
</s11:Header>
Answer: C
Q64. A developer is writing a Web service method that needs to accept multiple types of requests. Based on the request's content, the service performs time-consuming steps, such as verifying the user's account, checking credit ratings, and building a list of offers. Which two approaches are appropriate to use in this situation? (Choose two.)
A. A synchronous, document-style approach.
B. A synchronous, procedure-style approach.
C. An asynchronous, document-style approach.
D. An asynchronous, procedure-style approach.
E. HTTP and HTTPS.
F. SMTP or other asynchronous protocol.
Answer: CF
Q65. Which of the following security technology is not covered in Metro project? (Choose one.)
A. WS-Trust
B. WS-SecurityPolicy
C. WS-SecureConversation
D. XACML
Answer: D
Q66. According to the WS-I Basic Profile 1.0a, what is true about the SOAP 1.1 encodingStyle attribute?
A. It can occur anywhere in a message.
B. It can only be declared on children Header elements.
C. It can be declared on any children of the Body elements of rpc-literal messages.
D. It cannot be used with elements qualified by the http://schemas.xmlsoap.org/soap/envelope namespace.
E. WS-I Basic Profile 1.1 does NOT give any guidance because encodingStyle is a SOAP 1.1 attribute.
Answer: D
Q67. What would be the HTTP content-type header when a message is optimized using MTOM ? (Choose one)
A. multipart/related
B. text/xml
C. application/soap+xml
D. application/xop+xml
Answer: A
Q68. Which two statements are true about the interoperability of Web services developed using the Java EE 6 platform? (Choose two.)
A. Interoperability is improved by restricting access only to Java clients.
B. EJB-based endpoints are more difficult for .NET clients to access.
C. Only servlet-based endpoints are used when exposing services to non-Java clients.
D. The signature of Web service methods is limited to parameters and return types that are concrete types and simple arrays of concrete types.
E. The service must be published in both the .NET and Java UDDIs.
F. Testing for WS-I Profile conformance improves interoperability.
Answer: DF
Q69. Given that StockQuoteService is a Service class and StockQuoteProvider is a corresponding SEI for a web service. Which of the following options enable MTOM feature for proxy for the StockQuoteProvider SEI ? (Choose one)
A. proxy = new StockQuoteService().getStockQuoteProvider()
B. proxy = new StockQuoteService().getStockQuoteProvider(new MTOMFeature())
C. proxy = new StockQuoteService(new MTOMFeature()).getStockQuoteProvider()
D. proxy = new StockQuoteService().getStockQuoteProvider(new RespectBindingFeature())
Answer: B
Q70. Given the class:
Choose the option that describes what would happen if this class were deployed (Choose one):
A. Any HTTP GET or POST request with the URL "/resource" would result in a call to getName().
B. Any HTTP GET or POST request with URLs that begin with "/resource" would result in a call to getName().
C. A runtime error would result, since a method cannot be responsible for both GET and POST requests.
D. A compile error would result, since a method cannot be responsible for both GET and POST requests.
Answer: A