Professional Documents
Culture Documents
Question: 1
A developer wants to test an application with the default WebSphere Test Environment. The
application uses Message driven Beans and JMS API. In order to test the application
successfully, what does the developer need to do, if anything?
A. Connect to the integrated Server using the admin console and enable the messaging engine.
B. Install WebSphere MQ on the machine and configure the Test Environment resources to
point to the external JMS server since the Test Environment does not support the messaging
engine.
C. Install the Embedded Messaging feature
D. Do no extra configuration, because the integrated Server environment comes with the
messaging engine enabled.
Answer : A
Question: 2
Which TWO of the following artifacts will be included in an Application Client JAR?
A. Deployment descriptor
B. EJBs
C. Java classes
D. Servlets
Answer: A, C
Question: 3
Which of the following statements is TRUE with respect to an Enhanced EAR?
Answer : C
Question: 4
A developer needs to test an application in the WebSphere Test Environment. If the application
needs a JDBC data source, which TWO of the following configuration steps are always required?
Answer: A, C
Question: 5
A tester launches a Profile run configuration against a local executable Java class, receiving a
message saying "Connection failed on localhost". The Agent Controller is installed. A possible
cause for the error is that:
Page 1 of 23
Exam Name: Application Development with IBM Rational Application Developer For Web
Sphere Software V6.0
Exam Type IBM Exam Code: 000-256
Doc. Type: Q & A with Explanations Total Questions: 105
Answer : C
Question: 6
An application that includes several message-driven beans is imported via Project Interchange.
What if anything must be done before testing?
A. Configure JMS resources through the Deployment tab of the WebSphere enhanced EAR
editor.
B. Open the server admin console and configure JMS resources
C. Deploy the JMS configuration and add it to the application.
D. Do nothing because the correct configuration is set up when the application is imported.
Answer : B
Question: 7
A developer had configured and successfully tested WebSphere Test Environment to monitor
TCP/IP traffic between the browser and the test server using the default ports and values. After
restarting, the browser shows the message "The page cannot be displayed". What is the probable
reason for this?
Answer : C
Question: 8
If a developer is using the Web service wizard to create a WS-I Complaint Web service from a
JavaBean, which of the following options needs to be selected?
A. RPC/Literal
B. RPC/Encoded
C. Document/Literal
D. Document/Encoded
Answer : C
Question: 9
When using the Web Service wizard to generate a Web service from a JavaBean, which TWO of
the following options needs to be selected in order to test the newly created Web service?
Answer: A, B
Question: 10
Page 2 of 23
Exam Name: Application Development with IBM Rational Application Developer For Web
Sphere Software V6.0
Exam Type IBM Exam Code: 000-256
Doc. Type: Q & A with Explanations Total Questions: 105
A developer did not enerate sample JSPs that contain TestClient.jsp TO TEST THE Web
services client implementation. How can the developer create sample JSPs alone without
disturbing the contents that were already generated?
A. Right click on any of the Java proxy classes, and select Generate Web Services from the
context menu.
B. Right click on any of the Java proxy classes, and select Generate sample JSPs from the
context menu.
C. Right click on WSDL file, and select Web services -> Generate sample JSPs from the context
menu.
D. Right click on web.xml, and Select Generate sample JSPs from the context menu.
Answer : B
Question: 11
What is the BEST approach to avoid repeated manual data field entry while testing a Web service
with Web Services Explorer?
A. Copy and paste the sequential data entries into a text file. Use the import Wizard to launch it
in the Web Services Explorer.
B. Use the Source link to save the data entries as a SOAP message. Use the Load link to
restore the entries before each test.
C. Set the filed values in the project's Web Services default Source preferences.
D. Export an automation script from the service WSDL file. Enter the input filed values into the
script and then use the import Wizard to execute it.
Answer : B
Question: 12
A developer create a Web service. The client side artifacts will be developed by a different team.
What steps should a developer take to test the implementation quickly?
Answer : C
Question: 13
If a WSDL file requires another WSDL file that exists outside the workspace, which of the
following actions should a developer take?
A. Add a WSDL import element to the WSDL file using the WSDL editor.
B. Import the WSDL file into the workspace and drag and dop it into the other WSDL file.
C. Use the XML editor to import the WSDL file into the workspace.
D. Merge both WSDL documents using the WSDL editor.
Answer : A
Question: 14
Which of the following is the BEST approach to provide client-side artifacts for an EJB?
Page 3 of 23
Exam Name: Application Development with IBM Rational Application Developer For Web
Sphere Software V6.0
Exam Type IBM Exam Code: 000-256
Doc. Type: Q & A with Explanations Total Questions: 105
Answer : D
Question: 15
The BEST way to remove an interface implementation from a session bean is to:
A. Delete the files that implement that interface from the Navigator view.
B. Open the Source tab of the EJB Deployment Descriptor and delete the references to this
interfaces.
C. Remove the BeanName from Bean-type tab of the EJB Deployment Descriptor.
D. Remove the bean from the Bean tab of the EJB Deployment Descriptor and select Delete
Deploy Code.
Answer : D
Question: 16
Which TWO of the following are techniques for creating Entity Beans from an existing database
schema?
A. Create a database connection from the Database Explorer view and copy the connection to
an EJB project to generate Entity Beans.
B. Create a database connection from the Database Explorer view and create Entity Beans for a
table in a schema.
C. Create an EJB to RDB bottom-up mapping inside an existing EJB project
D. Create an Entity Bean using the new EJB wizard and specify a database schema when
defining the Entity Bean.
Answer: B, C
Question: 17
A developer is re-writing a legacy relational database application using J2EE technologies. The
developer has already implemented the CMP EJBs. The BEST way to create the mapping is to
use:
A. Top-down mapping
B. Bottom-up mapping
C. Meet-in-the-middle mapping
D. Custom mapping
Answer : C
Question: 18
A developer wants to create a session bean that inherits from another session bean. Which of the
following can the developer do?
A. Create the child session bean. Then create the parent session bean, making it the supertype
of the child.
B. Create both session beans from the create an Enterprise Bean wizard. Then bring up the
Properties dialog of the child session bean and select the parent.
C. Create both session beans from the Create an Enterprise Bean wizard. Then specify the
parent of the child session bean in the deployment descriptor.
Page 4 of 23
Exam Name: Application Development with IBM Rational Application Developer For Web
Sphere Software V6.0
Exam Type IBM Exam Code: 000-256
Doc. Type: Q & A with Explanations Total Questions: 105
D. Create the parent session bean. Then create the child session bean, specifying the parent
session bean.
Answer : D
Question: 19
Using the Universal Test Client, a developer can test which of the following?
A. JSPs
B. EJBs
C. JavaBeans
D. Servlets
Answer : B
Question: 20
Developers can specify the workspace they want to use by doing which TWO of the following?
Answer: A, D
Question: 21
A developer has made multiple changes to a class using multiple saves, but now wants to undo
all of them. What is the BEST way to revert to the original version?
A. Use the "Compare With -> Latest from Head" feature to identify the changes between the
current state of the class and the original state and then make those changes.
B. Use the Replace With -> Previous from Local history" feature to replace the current version
with that of the original version
C. Use the "Replace With -> Local history" feature to replace the current version with that of the
original version
D. Review each line of code in the class and undo the changes that were made.
Answer : C
Question: 22
An EJB project has been exported to destination "File system". The resources must be added to
a new workspace. Which of the following solutions will add the resources to the workspace with
no errors, assuming there are no dependent resources?
A. Create a new EJB project. Select "import -> system", browse to the location of the exported
project, select it and choose "Create only selected directories".
B. Create a new EJB project. Select "import -> system", browse to the location of the exported
project, select it and choose "Filter Types..." to choose the folder structure.
C. Select "import -> File system", browse to the location of the exported project, select it and
check "Create new EJB folder". The project will be create in the workspace.
D. Select "import -> File system", browse to the location of the exported project, select it An
options dialog will appear, allowin a choice of folder structure in the workspace.
Answer : A
Page 5 of 23