Exam Code: 1Z0-862 (Practice Exam Latest Test Questions VCE PDF)
Exam Name: Java Enterprise Edition 5 Web Services Developer Certified Professional Exam
Certification Provider: Oracle
Free Today! Guaranteed Training- Pass 1Z0-862 Exam.

2021 May 1Z0-862 Study Guide Questions:

Q51. Which two statements are true about the properties used to configure a JAXR ConnectionFactory?(Choose two.)

A. They cannot be configured by the client.

B. A JAXR provider can define a set of provider-specific properties.

C. Configuration properties must never be qualified by a package name.

D. There are a set of standard properties that all JAXR providers must support.

E. All of the properties are implementation-specific and may vary between JAXR providers.

Answer: BD


Q52. A company is refactoring an existing website to use Web services clients. The application retrieves lists of parts and displays them to the users in a browser window. Previously, the data was stored as files on the web server and, in order to access the files, the user would simply click on a hyperlink. Now the data must be dynamically generated via a service that another developer has created. They want the easiest way to refactor their website to use Web services. Which three technologies should they use? (Choose three.)

A. SOAP

B. REST

C. Javascript

D. XML

E. JSON

F. Java

Answer: BCE


Q53. Which two statements are true about the interoperability of Web services developed using the Java EE 5 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. Exposure is limited to simple arrays of concrete types as the signature of Web service methods.

E. The service must be published in both the .NET and Java UDDIs.

F. Testing for WS-I Profile conformance improves interoperability.

Answer: DF


1Z0-862  braindumps

Updated 1Z0-862 exam answers:

Q54. Which three are valid JAX-WS clients? (Choose three.)

A. UDDI

B. Java SE 6 classes

C. SOAP

D. a WSDL presented by Ajax

E. stateful session bean

F. JSPs

Answer: BEF


Q55. An engineer is describing a function call that is being used in a Web service.Which code fragment correctly describes this call?

A. <wsdl:definitions .... >

<wsdl:port .... > *

<wsdl:operation name="nmtoken" parameterOrder="nmtokens"> <wsdl:input name="nmtoken"? message="qname"/>

<wsdl:output name="nmtoken"? message="qname"/>

<wsdl:fault name="nmtoken" message="qname"/>*

</wsdl:operation>

</wsdl:port >

</wsdl:definitions>

B. <wsdl:definitions .... >

<wsdl: operation.... > *

<wsdl: portType name="nmtoken" parameterOrder="nmtokens"> <wsdl:input name="nmtoken"? message="qname"/>

<wsdl:output name="nmtoken"? message="qname"/>

<wsdl:fault name="nmtoken" message="qname"/>*

</wsdl: portType >

</wsdl: operation >

</wsdl:definitions>

C. <wsdl:definitions .... >

<wsdl:portType .... > *

<wsdl:operation name="nmtoken" parameterOrder="nmtokens"> <wsdl:input name="nmtoken"? message="qname"/>

<wsdl:output name="nmtoken"? message="qname"/>

<wsdl:fault name="nmtoken" message="qname"/>*

</wsdl:operation>

</wsdl:portType >

</wsdl:definitions>

D. <wsdl:definitions .... >

<wsdl: operation.... > *

<wsdl:port name="nmtoken" parameterOrder="nmtokens"> <wsdl:input name="nmtoken"? message="qname"/>

<wsdl:output name="nmtoken"? message="qname"/>

<wsdl:fault name="nmtoken" message="qname"/>*

</wsdl:port>

</wsdl: operation >

</wsdl:definitions>

Answer: C


Q56. A developer is creating an XML schema using the xsd:all operator.Given the code:

<types>

<schema targetNamespace="http://sun.cert/types" xmlns:tns="http://sun.cert/types"

xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<xsd:complexType name="Person">

<xsd:all>

<!-- insert code here -->

</xsd:all>

</xsd:complexType>

</schema>

</types>

Which two element definitions, when inserted into the given schema fragment, result in a correct schema type definition? (Choose two.)

A. <xsd:element name="first" type="xsd:string"/>

B. <xsd:element name="items" type="xsd:long" maxOccurs="5"/>

C. <xsd:element name="last" type="xsd:string" minOccurs="1" maxOccurs="1"/>

D. <xsd:element name="first" type="xsd:string" minOccurs="0" maxOccurs="5"/>

E. <xsd:element name="last" type="xsd:string" minOccurs="1" maxOccurs="5"/>

F. <xsd:element name="ssn" type="xsd:string" minOccurs="1" maxOccurs="unlimited"/>

Answer: AC


2passeasy.com

Download 1Z0-862 :

Q57. A Java client, running behind a firewall, needs to connect to a UDDI registry that is deployed outside the firewall. The client is using the Java EE 5 implementation of JAXR.

The client creates a set of properties that specify the proxy host and port information for the network in which the client is running. What are the remaining steps required by the JAXR client to connect to the UDDI registry?

A. assign the properties to a connection factory and create the connection

B. specify the URL of the UDDI registry in the properties, assign the properties to a connection factory, and create the connection

C. specify the URL of the UDDI registry in the properties, assign the properties to a connection factory, assign the properties to a service binding, and create the connection

D. specify the URL for the UDDI registry and the tModel in the properties, specify the search criteria for services, assign the properties to a service binding, and create the connection

Answer: B


Q58. Which two statements are true about JAXR support for XML registries? (Choose two.)

A. The CapabilityProfile tells a client the capability level of a registry.

B. UDDI registries must support ebXML to be compatible with JAXR.

C. The UnsupportedCapabilityException is processed for errors from non-Java providers.

D. The JAXR API declares methods as level 0 or level 1.

E. JAXR registry clients present an XML schema that defines the infomodel for the provider.

Answer: AD


Q59. What are two characteristics of the UDDI Inquiry API? (Choose two.)

A. It requires user authentication.

B. It can be used to query the Internet.

C. It does NOT require user authentication.

D. find_binding is used to get full bindingTemplate information suitable for making one or more service requests.

E. It provides a mechanism to perform a case-sensitive search on services.

F. It provides a mechanism to get a list of services ordered by their creation date.

Answer: CE


Q60. A developer plans to refactor some of the company's existing Java EE 5 business services, moving them out of the existing monolithic application and into Web services. What are two benefits of exposing existing Java EE 5 functionality as a Web service? (Choose two.)

A. improved manageability

B. more finely-grained

C. enhanced security

D. loose coupling of functionality

E. self-describing

F. automatic session management

Answer: DE