1Z0-897 Exam Details

  • Exam Code
    :1Z0-897
  • Exam Name
    :Java EE 6 Web Services Developer Certified Expert
  • Certification
    :Oracle Certifications
  • Vendor
    :Oracle
  • Total Questions
    :120 Q&As
  • Last Updated
    :Dec 13, 2021

Oracle 1Z0-897 Online Questions & Answers

  • Question 11:

    Choose the option that best describe the deployer's choices, when deploying an EJB that is also exposed as a RESTful web service using JAX-RS (Choose one):

    A. The EJB can only be deployed to a web container, since RESTful access to the EJB requires a web container to support the HTTP interaction needed.
    B. The EJB can be deployed to any EJB or web container that would support local references to the EJB from the JAX-RS runtime in the ejb container.
    C. The EJB can be deployed to any EJB or web container that would support local references to the EJB from the JAX-RS runtime in the web container.
    D. The EJB can be deployed to an EJB or web container that is visible to the JAX-RS runtime, even on an application server separate from the JAX-RS runtime, since EJBs support local or remote interactions via RMI.

  • Question 12:

    Which statement is true about StAX?

    A. StAX provides client parsing control with memory usage similar to DOM.
    B. StAX allows clients to start, pause and resume the parsing process.
    C. StAX is the only XML parsing approach supported with JAX-WS.
    D. StAX is a more efficient version of SAX, based on newer XML technology.

  • Question 13:

    What are two valid facts about WS-I? (Choose two.)

    A. The I-Stack is a great development tool.
    B. The WS-I promotes and supports generic protocols for the interoperable exchange of messages.
    C. The WS-I governs languages and protocols such as SOAP, WSDL, and UDDI.
    D. The WS-I specifies specific rules that address either weaknesses in component specifications or issues of how to combine the collected technology.
    E. The WS-I has been a guiding force in creating StAX.

  • Question 14:

    Assume the code is free of gross flaws and syntax errors. Which two statements are true? (Choose two.)

    A. Line 8 specifies that addInventory accepts either a valid total or quantity.
    B. Line 1 indicates the portType is LogInventory.
    C. Line 3 shows the method is mapped to the WSDL operation called "checkProduct".
    D. Line 4 means that a method is not expected to return a value unless requested.
    E. Line 7 implies WSDL operation and method name are the same.

  • Question 15:

    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)

    B. 1
    C. 2
    D. 3
    E. Undefined

  • Question 16:

    When a SOAP envelope is optimized on the wire, the following can be said about the optimized infoset : (Choose one)

    A. optimized infoset contains xop:Include elements with href attribute pointing to attachment data
    B. optimized infoset contains mtom:Import with location attribute pointing to attachment data
    C. optimized infoset doesn't have any specific elements for MIME attachment.
    D. optimzed infoset's element contain cid:Content-ID as the text and Content-ID refers to the associated attachment

  • Question 17:

    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:

    Which two statements are true about this Web service? (Choose two.)

    A. This is an asynchronous receive.
    B. This indicates a one-way message exchange pattern
    C. The client must use SOAPFaultException to display any errors.
    D. It must send a SOAP fault back to the sender.
    E. It must NOT send a SOAP fault back to the sender.

  • Question 18:

    A developer is creating a web service endpoint using a stateless session EJB.

    What must be the value for for the above service in the webservices.xml ? (Choose one)

    A. CounterEJB
    B. Counter
    C. CounterService
    D. CounterPort

  • Question 19:

    A developer creates the following web service:

    Assuming that he packages the class in a war file without deployment descriptors, the web service is hosted by a EE container relative to module context at ? (Choose one)

    A. "/Invoice"
    B. "/InvoicePort"
    C. "/InvoiceService"
    D. "/InvoiceWebService"

  • Question 20:

    Choose the code fragment that corresponds to a resource delegating processing of a request to a subresource correctly, when processing the URL "/parent/child" (Choose one):

    A. @Path("/parent") class Parent { @Path("/child") Child getChild() { return new Child(); } } class Child { @GET String getName() { return "name"; } }
    B. @Path("/parent") class Parent { @GET @Path("/child") Child getChild() { return new Child(); } } class Child { @GET String getName() { return "name"; } }
    C. @Path("/parent") class Parent { @Path("/child") Child getChild() { return new Child(); } } @Path("/child") class Child { @GET String getName() { return "name"; } }
    D. @Path("/parent") class Parent { @Path("/child") Child getChild() { return new Child(); } } class Child { String getName() { return "name"; } }

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Oracle exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 1Z0-897 exam preparations and Oracle certification application, do not hesitate to visit our Vcedump.com to find your solutions here.