1Z0-897 Exam Questions
87 real 1Z0-897 exam questions with expert-verified answers and explanations. Page 1 of 2.
- Question #1
Which of the following WS-Security token profiles is not supported in Metro?
- Question #5
A developer wants to use WebServiceContext in the web service endpoint. Which of the following is the correct way to get WebServiceContext object ? (Choose one)
- Question #7
If you are developing a Web Service starting from WSDL 1.1, how would you declare in wsdl that the Web Service requires the use of Addressing in a standard and interoperable way.
- Question #8
In the following situation, Client C sends a SOAP request to Service S and the response is to be processed by a third party response processor R. Which of the following SOAP header...
- Question #9
Given stock quote web service endpoint: and the corresponding client side artifacts for the above web service are : StockQuoteService is the Service class and StockQuoteProvider is...
- Question #11
Which two statements are true about JAX-WS support for data bindings? (Choose two.)
- Question #12
Which three statements are true about JAXP APIs? (Choose three.)
- Question #13
An engineer is studying the architecture of the JAXB implementation. What are three components in its design? (Choose three.)
- Question #14
Which statement is true about StAX?
- Question #16
When working directly with SOAP, which two statements are true about the encoding of compound values? (Choose two.)
- Question #17
Given that: What is X in the above code ? (Choose one)
- Question #22
Which two statements are true about elements in a WSDL document? (Choose two.)
- Question #23
A developer is asked to consult on a Web services project and assist the team with a good design approach on a new project. The team members disagree on whether to use WSDL or Java...
- Question #24
Which two statements are true about the interoperability of Web services developed using the Java EE 6 platform? (Choose two.)
- Question #25
A purchase order Web service is designed to be synchronous, request-response, and HTTPbased. The existing service processes the request immediately. Because of new business require...
- Question #26
An enterprise has a requirement to create a Web service to accept purchase orders. The order data contains some authorization information that is specific to each order (such as, w...
- Question #27
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 #28
Which two statements are true about WSIT client development and using the WSIT configuration file? (Choose two.)
- Question #29
What are two valid facts about WS-I? (Choose two.)
- Question #31
Choose the types of Enterprise Beans that can be made into JAX-RS root resources (Choose two):
- Question #32
Choose the statement that best describes the use of Enterprise Beans as JAX-RS root resources:
- Question #34
Given this class: Choose the statement that best describes the potential to write a client implemented using JAXWS to interact with the JAX-RS (restful) web service defined by this...
- Question #35
Given that a web service endpoint is based on the stateless session EJB: Which is true about the security roles of clients of MrBean? (Choose one)
- Question #36
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 #37
A developer needs to write a Web service that supports user sessions that timeout after 120 seconds. Which configuration file is correct for the developer use? (Choose one)
- Question #38
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 th...
- Question #39
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 relativ...
- Question #40
Given the resource class fragment: Choose the code fragment below that would secure access only to the Resource update() method (Choose one):
- Question #41
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 #43
Choose two options from the following that can be achieved by setting the standard BindingProvider properties on a SEI proxy: (Choose two)
- Question #44
Given the following web service: How many web methods are there in the above web service ? (Choose one)
- Question #45
What does the <service-name-pattern> element in the following set of XML statements do:
- Question #46
Given that: What is X in the above code ? (Choose one)
- Question #51
An MTOM optimized infoset+attachment on the wire for a large binary data saves around X% in size when compared to original infoset, where X is: (Choose one)
- Question #54
A Java EE application contains business logic composed of EJB beans. All current clients are Java applications accessing the business logic using RMI. Some clients are remote (runn...
- Question #55
Given the two classes: Choose the option that best evaluates the example:
- Question #56
What is an accurate description of the handling of application exceptions thrown by a JAX-WS service endpoint?
- Question #57
Given the resource class: Choose the fragment that a client could use to request "/res/value" using its JSON representation (Choose one):
- Question #58
Which of the following is NOT a correct way of configuring handlers on a Web Service client? (Choose one)
- Question #59
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 approp...
- Question #60
A Web service needs to encrypt certain SOAP headers when responding. Which statement about this encryption is true?
- Question #61
Which two statements are true about public key digital signatures applied to Web services? (Choose two)
- Question #63
XML Signature and XML Encryption provide the foundation for message level security in Web services. Which statement about XML signature is NOT true?
- Question #64
Which of the following security technology is not covered in Metro project? (Choose one.)
- Question #66
An automobile manufacturer publishes a Web service for use by their suppliers. The manufacturer has stringent security requirements that require suppliers to verify their identity....
- Question #68
Which of the following option represents the behavior of the endpoint, when the addressing feature is enabled on the service with the use of @Addressing() annotation.
- Question #70
Given stock quote web service endpoint: and the corresponding client side artifacts for the above web service are: StockQuoteService is the Service class and StockQuoteProvider is...
- Question #71
In the following situation, Client C sends a SOAP request to Service S and the response is to be processed by a third party response processor R. Which of the following SOAP header...
- Question #72
HTTP clients can provide authentication information to the server via the "Authorization" header in the HTTP request. Choose the alternative, if any, that would serve as the defini...
- Question #73
Given the class: Choose the URL path that would result in a call to getToken()? (Choose one)