Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
sale

Want to Unlock All Questions for this Exam?

Full Exam Access, Discussions, No Robots Checks

Oracle 1z0-897 Exam Actual Questions

The questions for 1z0-897 were last updated on April 29, 2024.
  • Viewing page 1 out of 30 pages.
  • Viewing questions 1-4 out of 123 questions

Topic 1 - Volume A

Question #1 Topic 1

An airline built and deployed a back-end application to manage reservations. To support interoperability with as large a base of standalone client applications as possible, the services provided by this back-end application are exposed as XML-based restful web services. Management just added a new requirement that
AJAX-based web application clients be supported, too. One of the developers suggested that it is enough to extend the existing application to support both XML- based and JSON-based restful web services. Assuming the developer is correct, choose the sentence that best describes an attempt to introduce this ability as this developer suggests (Choose one):

  • A. The attempt will fail, because JAX-RS does not support both XML- and JSON- based restful services in parallel.
  • B. The attempt will be trivial to implement, since JAX-RS just needs for the application to specify that both XML- and JSON-based interaction will be supported.
  • C. The attempt can succeed, but it will require a significant amount of new code, since JAX-RS does support both XML- and JSON-based interaction - but not single resource can support both kinds of interaction simultaneously.
  • D. The attempt will fail, because there is more to the difference between XML-based and JSON-based interactions than just the data representation used.
Reveal Solution Hide Solution   Discussion  

Correct Answer: B 🗳️

Question #2 Topic 1

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
Reveal Solution Hide Solution   Discussion  

Correct Answer: BCE 🗳️

Question #3 Topic 1

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);
Reveal Solution Hide Solution   Discussion  

Correct Answer: A 🗳️

Question #4 Topic 1

Given the resource class fragment:

Choose the code fragment below that would secure access only to the Resource update() method (Choose one):

  • A. <security-constraint> <web-resource-collection> <url-pattern>/rest</url-pattern> <http-method>GET</http-method> <http-method>POST</http-method> </web-resource-collection>
  • B. <security-constraint> <web-resource-collection> <url-pattern>/rest</url-pattern> <http-method>POST</http-method> </web-resource-collection>
  • C. <security-constraint> <web-resource-collection> <url-pattern>/rest/id</url-pattern> <http-method>POST</http-method> <http-method>GET</http-method> </web-resource-collection>
  • D. <security-constraint>D.<security-constraint> <web-resource-collection> <url-pattern>/id</url-pattern> <http-method>POST</http-method>
Reveal Solution Hide Solution   Discussion  

Correct Answer: B 🗳️

Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...