EMT Practice Test

1. Question Content...


Question List

Question1: Refer to the exhibit.

Using the JavaBean in Exhibit 1, the developer runs the following: wsgen -class path.\classes wsdl test.Book. What artifacts are generated when the command completes?

Question2: Select the scenario where the specification WS-Make Connection should be used.

Question3: Which of the following are TRUE statements about the WS-I Basic Security Profile (BSP)?

Question4: A developer is using the WebSphere Server application Developer Tools to convert their existing JPA project to an OSGi JPA bundle. The original JPA project has a persistence.xml file that is by default located in the src/META-INF folder of the project.
The developer invokes the action to convert the JPA project to an OSGi bundle project.
Which changes are expected to be performed by the tools to the original project when it is converted to an OSGi bundle?

Question5: Which of the following is TRUE of the endptEnabler command?

Question6: A developer is creating a new Web service from a Java bean. Which of the following tasks CANNOT be performed using the Create Web Service Wizard in IBM Rational Application Developer V7.5?

Question7: A developer would like to create a generic endpoint implementation to handle XML-based Web service and use it to host multiple endpoints. Which of the following annotations would BEST be used to support that Service Implementation Bean?

Question8: An IBM WebSphere Application Server, V5.0 log file contains a message type of "E". What does the "E" signify?

Question9: Which statements below are TRUE in IBM Web Sphere Application Server V7.0?

Question10: A developer suspects there is a problem in JAX-B serialization in the client side. Which tool can be used to test the Web Services by bypassing JAXB?

Question11: Which IBM Rational Application Developer V7.5 tool can be used to validate the SOAP messages against WS-I standards?

Question12: A user wants to specify the WSDL style of a new JAX-WS Web service based on a JavaBean. Using the Web service generation wizard, which of the following are valid combinations?

Question13: A financial institution needs to expose a Web service tore turn the customer name using JavaBean with annotations. Which of the following is a valid Web service implementation?

Question14: Which of the following are the benefits of using the UDDI Registry?

Question15: In WebSphere Application Server Developer Tools with default settings, which situation will cause validation errors instead of warnings in the Problems view?

Question16: The removeNode command line utility, when executed from any node to detach itself from a cell, does which of the following actions?

Question17: A developer using WebSphere Application Server Developer Tools has written a web application that is shared by multiple EAR projects. Which statement is true if the developer deletes the web application?

Question18: Which task is supported on WebSphere Application Server Developer Tools when targeting the Liberty runtime?

Question19: Refer to the exhibits.

Question20: A developer is building a JAX-WS Web service to be deployed on IBM Web Sphere Application Server V7.0. The service consumers are financial institutions with client applications using Microsoft .NET V3.5.
The service will be used to retrieve image files and send them to the financial institutions. What is the recommended approach to send the image files?

Question21: A developer is installing a Liberty profile runtime environment on a Windows machine and has specified the following installation path:
C:\IBM\WebSphere
When the installation is finished, in which directory will all of the Liberty profile files be stored?

Question22: Which of the following options for sending binary data are compliant to either WS-I Basic Profile (BP) V1.1 or V1.2?

Question23: The manifest file of an OSGi application project contains the following headers:
Application-Content: BundleA; version=1.0.0, BundleB; version=1.0.0
Use-Bundle: BundleC; version=1.0.0
Which statement is true about the bundle content of this OSGi application?

Question24: A developer runs a servlet from an OSGi web project named CounterWebBundle on a Liberty server and gets the following error message when the doGet method of the servlet is run:
[ERROR ] SRVE0777E: Exception thrown by application class
'com.ibm.ws.eba.servlet.CounterServlet.doGet():42' java.lang.NoClassDefFoundError:
javax.naming.InitialContext
How should the developer resolve the problem?

Question25: Which of the following is TRUE about specifying the SOAP version in JAX-WS?

Question26: A developer is writing a Web service operation namedgetQuote? Select the proper code to obtain the HTTP Query String used in the request:

Question27: Refer to the Exhibit. While creating a new TCP/IP Monitor on IBM Rational Application DeveloperV7.5, if the HTTP option is selected, which one of the following is a valid statement?

Question28: A developer has created a Liberty server in WebSphere Application Server Developer Tools for Eclipse.
How can the developer start the Liberty server from the Servers view using a JRE different from the default JRE?

Question29: A company is developing a travel portal application using three Web services to complete the booking process for flights, hotels and car rental. The booking process is successful only if all three Web services are successful in completing the booking of flights, hotels and car rental. Which of the following statement is true for the Web service client implementation to accomplish the booking process requirement?

Question30: How can a developer ensure that a fault will occur if the service does not recognize a SOAP header entry containing a transaction number?

Question31: What must be included in a SOAP fault message when an error occurs due to a value in the message Body element?

Question32: Refer to the exhibit.

What could be preventing the developer from modifying some properties in the wizard?

Question33: Refer to the exhibit. Weather? Web service is configured under the WeatherBeanWeb context. From the diagram in the exhibit, what is the correct URI for TCP/IP Monitor to work?

Question34: Which one of the following is NOT a standard property of the Binding Provider class from the JAX-WS API?

Question35: A developer has a Web service-enabled EnterpriseJavaBean Java archive (JAR) module within an EAR file. Which of the following command line tools will add one or more router modules to the EAR file?

Question36: What is the environment variable that points to the location where the JDK is installed?

Question37: A developer is creating a JAX-WS Web service. The Web service will be used to send cheque image file from the provider to the requestor. Given the following extract:
@ MTOM(enabled=true, threshold=50)
@ Web Service(name="Image Service",
target Namespace="http://com.test.ImageService")
public class Image Provider {
What does the threshold parameter indicate?

Question38: Which one of these steps does NOT apply when a developer is setting a JAX-WS Web service to be SOAP 1.2 compliant?

Question39: A company is planning to deploy a key business function implemented as a JAX-WS Web service. The Web service will be consumed by IBMWebSphere Application Server V7.0 and Microsoft .NET clients.
Currently, the Web services is secured by WS-Security. What is the BEST way to communicate policy to the consumers?

Question40: A developer is using the Web container programming model as per JSR109. Which statement regarding the Service Implementation Bean is true?

Question41: According to WS-I Basic Profile (BP), which of the following encodings should be used to ensure interoperability?

Question42: Refer to the exhibit.

A developer uses the Web service client wizard in IBM Rational Application Developer. What will be different in the generated artifacts?

Question43: What can be used to test and publish Web services to IBM UDDI?

Question44: A developer is testing a web application using a Liberty profile server. The application will also need to run on a Tomcat server and cannot make use of any APIs that are specific to the Liberty profile server. How can the user ensure that no classes outside of the specification classes are used by the application during the test?

Question45: JAX-WS 2.x does not have a mechanism to validate incoming requests as part of the specification.
However, it can be implemented using JAXB 2.x APIs and using a JAX-WS provider. Which of the following uses the recommended mechanism for turning on schema validation for a request?

Question46: JSR109 defines the life cycle of a Service Implementation Bean in the Web container. Which sequence of statements below is TRUE?

Question47: Which of the following scenarios can be BEST monitored using TCP/IP Monitor?

Question48: Which one of the mechanisms CANNOT be used directly by the JAX-WS dynamic APIs for Dispatch or Provider?

Question49: Which of the possible files can be used to modify the mappings from WSDL to Java for a JAXWS- based application?

Question50: Refer to the exhibit.

A Web service is generated from the WSDL using IBM Rational Application Developer. Which of the following are valid request response wrappers that would be generated from the WSDL?

Question51: In IBM Rational Application Developer V7.5, which tool is BEST for testing JAX-WS application with MTOM attachments?

Question52: Which of the following are ways to add or customize an HTTP header to a Web service request in IBM Web Sphere Application ServerV7.0.

Question53: A developer using WebSphere Application Server Developer Tools wants to create a web project that will contain servlets and JSP files. The developer opens the New Web Project wizard using File > New > Web Project menu item.
What should the developer do in the New Web Project wizard to accomplish this?

Question54: When binding an object to JNDI, it can be relative to which of the following context roots?

Question55: Refer to WSDL extract in the exhibit. What does the soap: binding element specify?

Question56: Refer to the WSDL extract in the Exhibit. What type of operation is this?

Question57: Refer to the exhibit, and identify the WSDL elements shown by the arrows.

Question58: Which interface in SAAJ generically represents any literal part in a SOAP message?

Question59: Which of the following methods are supported for sharing session information among the servers in a clustered environment?

Question60: Which of the following is a supported method for validating WS-I compliance using IBM Rational Application Developer V7.5?

Question61: Which of the following is NOT a valid property for configuring the WebSphere internal JMS server?

Question62: What does "restoreConfig" do?

Question63: Which of the following standards does the WS-Organization recommend for Web services according to WS-I Basic Profile (BP)1.1?

Question64: Refer to the exhibit. Which statement is TRUE?

Question65: An RPC/encoded Web service experiences poor performance at high message volumes. What can a developer do to improve this performance?

Question66: A bank would like to design a JAX-WS Web service to transfer funds. The server will be deployed to IBM Web Sphere Application Server V7.0. Two key requirements are to ensure: 1) the request is only sent once
2) cross vendor interoperability.
What is the best way to accomplish this?

Question67: Refer to the exhibit. A developer is creating a Web service from the WSDL file, using IBM Rational Application Developer: When creating a top-down JavaBean, which of the following artifacts would be generated?