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 91:

    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.)

    A. DOM
    B. StAX
    C. JAXM
    D. SAAJ

  • Question 92:

    A developer is creating a web service endpoint using a stateless session EJB for the business logic of an application. Choose two methods to select role based access control for the business logic ? (Choose two)

    A. Using method-permission element in ejb-jar.xml
    B. Using .htaccess file in the application's ear
    C. Using element in web.xml
    D. By specifying security annotations like @RolesAllowed in the EJB class

  • Question 93:

    Which two statements are true about WSDL 1.1 and the Basic Profile? (Choose two.)

    A. WSDL does NOT recommend a specific system for user-defined datatypes.
    B. WSDL recommends the use of XML Schema for user-defined datatypes.
    C. WSDL mandates the use of XML Schema for user-defined datatypes.
    D. Basic Profile recommends the use of XML Schema for user-defined datatypes.
    E. Basic Profile mandates the use of XML Schema for user-defined datatypes.
    F. Basic Profile recommends the use of either XML Schema or DTD for user-defined datatypes.

  • Question 94:

    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 client-side technologies should they use? (Choose three.)

    A. SOAP
    B. REST
    C. Javascript
    D. XML
    E. JSON
    F. JAVA

  • Question 95:

    Which two statements are true about elements in a WSDL document? (Choose two.)

    A. Operation is an abstract set of port types supported by one or more endpoints.
    B. Service is an abstract set of operations supported by one or more endpoints.
    C. Message is an abstract description of an action supported by the service.
    D. Operation is an abstract description of an action supported by the service.
    E. Binding is a single endpoint defined as a combination of an operation and a network address.
    F. Message is an abstract, typed definition of the data being communicated.

  • Question 96:

    In the code fragment below, the client will use os to upload data to the web service provider.

    Choose the statement that must be placed in line 5, to ensure this fragment works as intended. (Choose one)

    A. connection.setDoOutput(true);
    B. connection.setAllowUserInteraction(true);
    C. connection.setIfModifiedSince(new Date().getTime());
    D. connection.setUseCaches(false);

  • Question 97:

    Choose the types of Enterprise Beans that can be made into JAX-RS root resources (Choose two):

    A. Stateful Session Beans
    B. Stateless Session Beans
    C. Message-Driven Beans
    D. Singleton Beans

  • Question 98:

    Given the resource class:

    Choose the fragment that a client could use to request "/res/value" using its JSON representation (Choose one):

    A. WebResource resource = client.resource("/res/value"); Value val = resource.accept("application/json").get(Value.class);
    B. WebResource resource = client.resource("/res/value"); Value val = resource.type("application/json").get(Value.class);
    C. WebResource resource = client.resource("/res"); Value val = resource.accept("value").type("application/json").get(Value.class);
    D. WebResource resource = client.resource("/res/value"); Value val = resource.get(Value.class);

  • Question 99:

    A client sends a required SOAP header in a SOAP message. The server-side process determines that information in the header is invalid and generates a SOAP fault. What is the appropriate fault code for this type of SOAP fault? (Choose one)

    A. Client
    B. Server
    C. MustUnderstand
    D. VersionMismatch
    E. HeaderError
    F. InvalidHeader

  • Question 100:

    Given the two classes:

    Choose the option that best evaluates the example:

    A. This is a valid example of two EJBs used as JAX-RS resources, one a root resource and the other a subresource.
    B. This is an invalid example, because EJBs that are to be used as JAX-RS subresources have to match the type of EJB of their "parent" resource.
    C. This is an invalid example, because singleton EJBs used as JAX-RS resources must explicitly state what locking strategy they will require.
    D. This is an invalid example, because the JAX-specification only allows root resource types to also be EJBs.

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.