1Z0-897 Exam Questions
87 real 1Z0-897 exam questions with expert-verified answers and explanations. Page 2 of 2.
- Question #74
Given the class: Choose the URL path that would result in a call to getToken()? (Choose one)
- Question #75
A team of developers is designing RESTful Web services for a new application. What are three properties of the services? (Choose three.)
- Question #76
Given the class: Choose the annotation to add on line 4 to enable the client to receive a JSON representation of the instance of Value that is returned (Choose one):
- Question #77
A developer is writing a Web service method that needs to accept multiple types of requests. Based on the request's content, the service performs time-consuming steps, such as veri...
- Question #78
A developer is tasked with analyzing a new Web services project and must decide to use either SOAP or REST. Based on requirements, the developer determines the service must be stat...
- Question #79
Which two statements are true about WSDL 1.1 and the Basic Profile? (Choose two.)
- Question #80
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 i...
- Question #81
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 dat...
- Question #82
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 #83
What are three best practices that can be implemented when generating WS-I Basic Profile compliant Web services? (Choose three.)
- Question #84
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 differ...
- Question #85
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 ha...
- Question #86
Which two statements are true about the I-Stack and annotations technologies? (Choose two.)
- Question #87
Which three statements about parsers are true? (Choose three.)
- Question #88
Which two code fragments are valid for adding an attachment in SAAJ? (Choose two.)
- Question #89
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 update...
- Question #91
What are two features of a WSDL 1.1 document? (Choose two.)
- Question #92
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 ret...
- Question #93
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 t...
- Question #95
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 ser...
- Question #96
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, t...
- Question #97
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...
- Question #98
Given the resource class fragment: Choose the code fragment below that would secure access only to the Resource update() method (Choose one):
- Question #100
A developer creates a Web service for his company's inventory service. He uses servlet container to deploy the web service and wants to enable basic authentication for all web serv...
- Question #101
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):
- Question #102
Given the JAX-RS root resource class fragment: Choose the statement that best describes the configuration that would be required to support the access control constraint shown:
- Question #110
Assume the code is free of gross flaws and syntax errors. Which two statements are true? (Choose two.)
- Question #111
A developer is asked to determine which Web services approach is correct for a new project. A SOAP-based Web service must be created and deployed in an environment where many custo...
- Question #112
Which of the following two EJB types can be used as web service endpoints ? (Choose two.)
- Question #113
Which of the following can an EJB-based web service endpoint may NOT be able to use?
- Question #114
A developer is creating a web service endpoint using a stateless session EJB . What must be the value for <ejb-link> for the above service in the webservices.xml ? (Choose one)
- Question #115
An engineer is creating a WSDL 1.1 document, and is having difficulty with the wsdl:messages section. Which two statements are true about wsdl:messages in a WSDL 1.1 document? (Cho...
- Question #116
Given the class: Choose the option that describes what would happen if this class were deployed (Choose one):
- Question #117
Which of the following is NOT true about configuring handlers on a Web Service endpoint? (Choose one)
- Question #118
Choose the JAX-RS type that is used to produce URLs to resources, given the resource class, to incorporate into resource responses (Choose one):
- Question #119
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):
- Question #120
Which two statements are true about creating a Web service with JAX-WS? (Choose two.)