CORRECT TEXT
A financial institution needs to expose a Web service tore turn the customer name using JavaBean with annotations. Which of the following is a valid Web service implementation?
A. Option C
B. Option A
C. Option D
D. Option B
正解:D
質問 2:
What is the environment variable that points to the location where the JDK is installed?
A. JAR_HOME
B. JDK_HOME
C. JAV_HOME
D. JAVA_HOME
正解:D
質問 3:
An online retailer would like to expand the supply chain Web service application by adding new third party suppliers. Some of the key non-functional requirements include: support for vendor interoperability, loose coupling, long running processes, and to coordinate the order fulfillment across multiple suppliers. The application logic needs to be able to adjust the business processes to accommodate the success or failure of downstream suppliers being able to satisfy the request. Which of the following quality of service standards should be used for the Web services?
A. WS-Business Activity
B. WS-Activity Session
C. WS-Reliable Messaging
D. WS-Business Transaction
E. WS-Atomic Transaction
正解:A
質問 4:
A media company would like to provide an online Web service to encode video in a different format for a fee. The encoding could take hours or days to finish based on the length of the video. The client machine may be restarted after submitting the request and should be able to receive the encoded video. Web services client implementation: 1) Asynchronous invocation 2) Wire level asynchronous invocation 3) Using two one way messages, one for request and one for response Quality of service: a) WS-Reliable Messaging b) WS-Reliable Messaging with Transaction enabled (enableTransactionalOneWay) What is the correct way to call the Web service including the qualities of service?
A. (2) with (b)
B. (2) with (a)
C. (3) with (b)
D. (1) with (b)
E. (3) with (a)
F. (1) with (a)
正解:C
質問 5:
A developer is testing a web application using a Li berty profile server. The application will also need to run on a Tomcat server and cannot make use of any APIs that are specific to the Liberty profile server. How can the user ensure that no classes outside of the specification classes are used by the application during the test?
A. In the Server Configuration editor, create a Classloader Service item under the application element and add the attribute apiTypeVisibility with the value of spec.
B. On the Server > Runtime Environment preference p age, edit the Liberty profile runtime entry and select only the Specification checkbox under the API visibility section.
C. Create a file server.env under the same directory as the server.xml file and add the following line: Class-Path-Visibility=spec
D. Open the meta-inf/manifest.mf file under the web project, add the following line: Class-Path-Visibility: specification
正解:A
質問 6:
Which of the following scenarios can be BEST monitored using TCP/IP Monitor?
A. WS-Coordination messages
B. synchronous message exchange pattern over HTTP
C. synchronous message exchange pattern over HTTPS/SSL
D. SOAP/JMS
正解:B
質問 7:
A developer has created a new Web service but now he wants to publicize the details of it so it can be discovered by other consumers. What technology(ies) or product(s) can the developer use?
A. WS-Metadata Exchange
B. Web Services Distributed Management
C. a custom registry
D. Web Sphere Service Registry and Repository
E. WS-Management
F. UDDI
正解:C,D,F
質問 8:
Which one of the mechanisms CANNOT be used directly by the JAX-WS dynamic APIs for Dispatch or Provider?
A. Source
B. Input Stream
C. Data Source
D. SOAP Message
E. JAXB Objects
正解:B