Java Platform, Enterprise Edition 6 Web Services Developer Certified Expert Exam 試験
Question No : 1
An organization has business logic implemented in EJB components. Current clients use container-managed, role-based security to access the business logic using RMI. Management has determined that the business logic must be made available to non-RMI clients using a Web service.
Which container-managed Web service security mechanism would the development team? use to allow Web service clients to use the current security model? (Choose one)
Question No : 2
A student developer has created a new library of math functions to share with friends in a linear algebra class. The developer is having difficulty getting people to come over to the dorm to see the new code library, so he decides to deploy it as a Web service so that everyone can enjoy the features via the Internet. One of the functions has this WSDL definition:
<portType name="MyMathLib"><operation name="incCtr"><input
Which two statements are true about this Web service? (Choose two.)
Question No : 3
Given that a developer implemented a web service using Stateless Session EJB:
If a web service client invokes increment web service method twice consecutively, what must be the returned value after the second invocation ? (Choose one)
Question No : 4
What are two features of a WSDL 1.1 document? (Choose two.)
Question No : 5
Which two statements are true about creating a Web service with JAX-WS? (Choose two.)
Question No : 6
A developer must create a program to parse a medium-sized XML file looking for an instance of a specific element. Once the developer has found the element, the value must be updated and saved to disk. Which two XML parsing APIs should be used in this situation? (Choose two.)
Question No : 7
Which two code fragments are valid for adding an attachment in SAAJ? (Choose two.)
Question No : 8
Which three statements about parsers are true? (Choose three.)
Question No : 9
Which two statements are true about the I-Stack and annotations technologies? (Choose two.)
Question No : 10
Enterprise A invokes a Web service provided by enterprise B with some parameters, and receives a response. A developer is making this interaction asynchronous so that A does not have to wait for B to finish processing. Which two actions would be appropriate to fulfill this requirement? (Choose two.)
Question No : 11
A company is building a customer relationship management system that is to be deployed on a customer's network, and they want software functions to be reused and combined in different modules in the system. The Director of Technology has determined that the new system should utilize both Web services and a Service Oriented Architecture (SOA). Which two statements about
Web services in an SOA are correct? (Choose two.)
A. A Web service must be discovered from a UDDI registry in an SOA.
B. SOA and Web services both use the HTTP protocol at the transport layer.
C. A Web service must publish itself to a UDDI registry to become part of an SOA.
D. SOA is a way to design a system and Web services are a possible implementation.
E. SOA is used for stateless invocations, and Web services for stateful invocations.
F. SOA emphasizes the concept of service encapsulation and Web services fulfill a service contract.
Question No : 12
What are three best practices that can be implemented when generating WS-I Basic Profile compliant Web services? (Choose three.)
Question No : 13
A team of developers is describing a set of endpoints in their new SOA application. Given the WSDL extract:
Which statement is true about this WSDL extract?
Question No : 14
A company has contracted a developer to create their new accounting system. The system the developer will replace runs a monolithic web application using one web server and one database server. Technical requirements state the developer must write the business logic in Java, deploy to the application server and push the presentation logic onto the web servers. What are three characteristics that services in the proposed Service Oriented Architecture should honor? (Choose three.)
Question No : 15
A company is implementing an accounting system, where every transaction is monitored and audited. They must implement message-oriented Web services in their accounting package to integrate various modules. All errors in computation or transmission must be logged. Which technology will they use?