0% found this document useful (0 votes)
278 views40 pages

Cert Wcs 727

The document is a 113 question practice test for IBM WebSphere Commerce V7.0 Application Development. It includes multiple choice questions covering topics such as: configuring policies and policy groups for authorization, unit testing Business Object Documents, mapping commands to database tables in Information Center documentation, including test data in test automation scripts, causes of errors when loading inventory data, library dependency issues after migrating store assets, setting queue destinations when integrating with WebSphere MQ, storing authentication objects in portlet sessions, configuring new social commerce adapters, setting security roles for federated LDAP, payment rules for orders, and encrypting values when integrating with BazaarVoice. The questions range from technical implementation and configuration topics to best practices for tasks like testing,

Uploaded by

Dinesh D
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
278 views40 pages

Cert Wcs 727

The document is a 113 question practice test for IBM WebSphere Commerce V7.0 Application Development. It includes multiple choice questions covering topics such as: configuring policies and policy groups for authorization, unit testing Business Object Documents, mapping commands to database tables in Information Center documentation, including test data in test automation scripts, causes of errors when loading inventory data, library dependency issues after migrating store assets, setting queue destinations when integrating with WebSphere MQ, storing authentication objects in portlet sessions, configuring new social commerce adapters, setting security roles for federated LDAP, payment rules for orders, and encrypting values when integrating with BazaarVoice. The questions range from technical implementation and configuration topics to best practices for tasks like testing,

Uploaded by

Dinesh D
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 40

IBM 000-723

IBM WebSphere Commerce V7.0 Application

Development

Version 7.10
Version:7.10

Total Questions 113


Questions(113
113)
Total questions: 113

Part A (56 Questions)


Question: 1
An application developer notices that a policy that is expected to grant access appears in the
trace, however it is not being applied. In addition an error similar to the following example is
logged to the trace.log file. PolicyManagerImpl.isAllowed isAllowed? User=510;
Action=Execute;
Protectable=com.ibm.commerce.catalog.commands.ProductDisplayCmdImpl; Owner=2002;
Resource Ancestor Orgs=2002,-2001; Resource Applicable Orgs=2002
PolicyManagerImpl.isAllowed Found
PolicyName:AllUsersExecuteResellerUserCmdResourceGroup; PolicyType: 3; PolicyOwner: -
2001 PolicyManagerImpl.getPolicyApplicableOrgs No organizations subscribe to a policy
group with this policy PolicyManagerImpl.isAllowed Policy does not apply to the resource's
applicable organizations ... PolicyManagerImpl.isAllowed PASSED? =false Apart from
ensuring that the resource owner is subscribing to the correct policy groups and subscribing
the organization to the policy group, what are the correct values to insert into the
ACPLGPSUBS table?

A. orgentity_id = 2002 and acpolgrp_id = 10001(ManagementAndAdministrationPolicyGroup)


and orgentity_id = 2002 and acpolgrp_id =10003
(CommonShoppingPolicyGroup)
B. orgentity_id = -2001 and acpolgrp_id = 10001(ManagementAndAdministrationPolicyGroup)
and orgentity_id = -2001 and acpolgrp_id =10003
(CommonShoppingPolicyGroup)
C. orgentity_id = -2001 and acpolgrp_id =
10001(ManagementAndAdministrationPolicyGroup)and orgentity_id = 2002 and acpolgrp_id
=10003
(CommonShoppingPolicyGroup)
D. orgentity_id = 2002 and acpolgrp_id =
10001(ManagementAndAdministrationPolicyGroup)and orgentity_id = -2001 and acpolgrp_id
=10003
(CommonShoppingPolicyGroup)

Answer: A

Question: 2
When running a JUnit test case for a Business Object Document (BOD) in WebSphere
Commerce Developer, which feature of Rational Application Developer will allow the
application developer to view the request and response documents?

A. Console
B. Code Coverage
C. TCP/IP Monitor
D. Software Analyzer

Answer: C

Question: 3
In what format are test cases written to test Management Center using the test automation
framework?

A. XML file
B. ANT script
C. JUnit class
D. OpenLaszlo class

Answer: A

Question: 4
An application developer wants to develop new commands and refers to the Information
Center documentation to understand how the commands and tasks are mapped to the table.
Under which section would this information be found?

A. Reference
B. Tutorials
C. Developing
D. IBM Education Assistant

Answer: A

Question: 5
An application developer has customized the login functionality of the Madisons starter store
and needs to unit test the customization using the Storefront Test Automation Engine. If the
unit test has to be performed with two different data sets (e.g., user1 / password1, user2 /
password2), how should the application developer include the test data in the test case?

A. Include the test data in an XML data file.


B. Include both data sets in a single test automation script.
C. For each data set write a separate test automation script.
D. Invoke the test automation script from a command line and provide test data as command
line parameters.

Answer: A

Question: 6
After running the data load utility, the application developer notices an error similar to the
following: An error occurred while attempting to populate the table ITEMSPC because the
mandatory parameter ParentProductIdentifier was missing. The ID was not resolved for the
table ITEMSPC with the unique index data [DL_PROD1_SKU1, 7000000000000000054].
Stack trace:
com.ibm.commerce.foundation.dataload.exception.DataLoadApplicationException: The ID
was not resolved for the table ITEMSPC with the unique index data [DL_PROD1_SKU1,
7000000000000000054]. at
com.ibm.commerce.foundation.dataload.idresolve.IDResolverForOneTable.resolveId(IDResol
verForOneTable.java:336) at
com.ibm.commerce.foundation.dataload.idresolve.IDResolverImpl.resolveId(IDResolverImpl.j
ava:266) at
com.ibm.commerce.foundation.dataload.businessobjectmediator.AbstractBusinessObjectMed
iator.resolveIds( AbstractBusinessObjectMediator.java:1164) at
com.ibm.commerce.foundation.dataload.businessobjectmediator.AbstractBusinessObjectMed
iator.resolveId(A bstractBusinessObjectMediator.java:1118) at
com.ibm.commerce.inventory.dataload.mediator.AbstractInventoryMediator.resolveItemSPCI
d(AbstractInvent oryMediator.java:656) at
com.ibm.commerce.inventory.dataload.mediator.InventoryReceiptMediator.populateRECEIPT
(InventoryReceipt Mediator.java:251) at
com.ibm.commerce.inventory.dataload.mediator.InventoryReceiptMediator.transform(Inventor
yReceiptMediat or.java:120) <...> Note: The information in bold represents variable
information: 7000000000000000054 is the member_id, and DL_PROD1_SKU1 is the
partnumber. What is the cause of the error?

A. The item id is incorrect or missing.


B. The unique index constraint is violated.
C. The inventory value for the product is missing.
D. The inventory system being used is set to ATP while loading non-ATP data.

Answer: D

Question: 7
After migrating the store assets project, the application developer notices an exception similar
to the following example. [12/22/09 13:13:11:859 PST] 00000012 WASSessionCor I
SessionContextRegistry getSessionContext SESN0176I: Will create a new session context
for application key WC_default_host/webapp/wcs/stores [12/22/09 13:13:13:953 PST]
00000012 ValidatorPlug I org.apache.struts.validator.ValidatorPlugIn initResources Loading
validation rules file from '/WEB-INF/validator-rules.xml' [12/22/09 13:13:35:265 PST]
00000012 TilesPlugin E org.apache.struts.tiles.TilesPlugin initDefinitionsFactory Can't
create Tiles definition factory for module ''. [12/22/09 13:13:35:265 PST] 00000012
ActionServlet E org.apache.struts.action.ActionServlet init Unable to initialize Struts
ActionServlet due to an unexpected exception or error thrown, so marking the servlet as
unavailable. Most likely, this is due to an incorrect or missing library dependency.
javax.servlet.ServletException: org.apache.struts.tiles.DefinitionsFactoryException: IO Error
while parsing file '/WEB-INF/tiles-defs.xml'. Connection timed out: Before attempting to restart
the server, the application developer needs to:

A. change the library dependency in the WEB-INF/struts-config.xml file.


B. change the Connection Time Out value in WEB-INF/tiles-defs.xml file.
C. modify the validation rules in /WEB-INF/validator-rules.xml file.
D. modify the DTD version in the <!DOCTYPE> element of WEB-INF/tiles-defs.xml file.

Answer: D

Question: 8
An application developer is creating different outbound queues for different message types
while integrating with WebSphere MQ. Which method of the SendMsgCmd command must
be used to set the queue destination in the custom code?

A. setMsgData
B. setConfigData
C. setContentData
D. setCommandData

Answer: B

Question: 9
An application developer needs to ensure that multiple portlets on a page and across pages
can communicate as one client with the WebSphere Commerce Server. Where in the portlet
session should the authentication callback handler object and business context object be
stored?

A. contextId
B. contextKey
C. contextData
D. contextService

Answer: B

Question: 10
An application developer has created a new Social Commerce adapter implementation for a
new service provider. Which of the following files must the application developer modify as
part of configuring the new adapter?

A. SocApp > config > ivy.xml


SocApp > config > adapter.config
B. SocApp > config > ivy.xml
SocApp > config > soccom_adapter.config
C. SocApp > config > soccom_instance.xml
SocApp > config > adapter.config
D. SocApp > config > soccom_config.xml
SocApp > config > soccom_adapter.config

Answer: A

Question: 11
An application developer is enabling WebSphere Application Server Security with Federated
LDAP Repositories using the WebSphere Commerce Integration Wizard and WebSphere
Commerce Developer. Which file must be used for setting the user Security Role, if
Application Security is enabled?

A. ibm-security-ext.xml
B. ibm-security-bnd.xml
C. ibm-application-bnd.xml
D. ibm-application-ext.xml

Answer: C

Question: 12
A customer places an order for two items that total $300. Item A costs $100 and is in stock.
Item B costs $200 and is not in stock but will be available in two days. The customer uses a
credit card to pay for the order. If this credit card payment method uses 'Early Approval'
payment rule, which among the following are TRUE?

A. $100 will be deposited at the time of shipment of Item A


B. $100 will be validated and deposited at the time of order capture
C. $100 will be validated and approved at the time of order capture
D. $300 will be validated at the time of order capture and deposited at the time of shipment of
Item B
E. $300 will be reserved at the time of shipment of Item A and deposited at the time of
shipment of Item B

Answer: A,C

Question: 13
When using the 'No Validation or Reservation' payment rule, with 'finalize payment' event,
what is the target state of payment?

A. APPROVED
B. DEPOSITED
C. FINALIZED
D. DNE (Does Not Exist)
Answer: B

Question: 14
An application developer needs to encrypt sensitive pieces of information while integrating the
Social Commerce sMash application with BazaarVoice. Which value in the adapter.config
must be encrypted?

A. adminPassword
B. adminSecret
C. restAdminPassword
D. sharedKey

Answer: D

Question: 15
An application developer has to change the style of Social Commerce widgets. What action
does the application developer have to take?

A. Modify soccomie.css and soccom.css


B. Modify the widget definition in REST API.
C. Modify REST API, soccom.css and soccomie.css
D. Modify soccomie_style.css and soccom_style.css

Answer: A

Question: 16
In the Catalog Entry data model, which table represents a family of products with a common
name and description, used for fulfillment?

A. CATENTRY
B. CATENTTYPE
C. BASEITEM
D. ITEMFFMCTR

Answer: C

Question: 17
If the requirements are as follows, which of the URLs must the application developer use?
?Check if any of the parents of the specified organization are locked. ?Check if the specified
organization is the parent organization of the user. If it is not, then check whether the user
assumes the Organization Participant role in the specified organization or any of its
ancestors. ?Reset all contract information such that new contracts can be applied to reflect
the change in the active organization.
A. BuyerUserRegistrationUpdate URL
B. ContractSetInSession URL
C. OrgEntityUpdate URL
D. OrganizationSetInSession URL

Answer: D

Question: 18
WebSphere Commerce implements Business Object Document (BOD) processing
commands to retrieve, process, modify, and synchronize data. Identify the correct
verb/response mapping in the BOD.

A. Get and Respond.


B. Process and Show.
C. Sync and ConfirmBOD.
D. Change and Acknowledge.

Answer: C

Question: 19
An application developer needs to define the store level action mapping to specify a target
JSP file which will format Atom feeds for WebSphere Commerce Web services. Where:
ShowCatalogGroupDataAreaType is the name of the SDO for the noun.
SerializeCatalogGroupMadisonsAtom.jsp is the feed formatting JSP file. What should be the
action mapping in the struts-extension.xml file?

A. <action path="/ShowCatalogGroupDataAreaTypeAtom/0"
forward="/atom/Store/SerializeCatalogGroupMadisonsAtom.jsp"/>
B. <action path="/ShowCatalogGroupDataAreaTypeAtom/<store_Id>"
forward="/atom/Store/SerializeCatalogGroupMadisonsAtom.jsp"/>
C. <action path="/ShowCatalogGroupDataAreaType/0"
forward="/Rest/WebContent/atom/Store/SerializeCatalogGroupMadisonsAtom.jsp"/>
D. <action path="/ShowCatalogGroupDataAreaType/<store_Id>"
forward="/Rest/WebContent/atom/Store/SerializeCatalogGroupMadisonsAtom.jsp"/>

Answer: B

Question: 20
The business logic layer in WebSphere Commerce runtime is implemented using the
command pattern where application logic is specified independently from the presentation
layer. Which statement about the implemented commands for the business logic layer is
correct?

A. Entity beans act as an interface between the business components and the database.
B. Task commands are used to implement application logic and should not be accessed by
the presentation layer.
C. View commands are invoked by the task commands and are used to compose a view as a
response to a client request.
D. Data bean commands are invoked by the data bean manager and are used to populate
fields of a data bean with data from a persistent object.

Answer: B

Question: 21
The IBM Gift Center for WebSphere Commerce is a separately ordered product that provides
a multi-channel gift registry solution. A Gift Center sample store is available for which of the
WebSphere Commerce store models?

A. Madisons
B. Demand Chain
C. Supply Chain
D. Extended Sites
E. Consumer Direct

Answer: A,E

Question: 22
An international holding company with multiple unique brands across multiple countries needs
to deploy an e-commerce solution. The solution must have the ability to share the catalog,
prices and presentation assets, all on a single infrastructure. Which WebSphere Commerce
business model addresses this requirement?

A. B2B Direct
B. Supply Chain
C. Extended Sites
D. Demand Chain

Answer: C

Question: 23
An application developer needs to integrate WebSphere Commerce with Coremetrics to
generate analytics data for search keywords. Which tag would be used to accomplish this?

A. Generic Tag
B. Content URL Tag
C. Page Capture Tag
D. Page View Tag
Answer: D

Question: 24
If an application developer uses the IBM Installation Manager to install the WebSphere
Commerce Developer, which file must the application developer examine to ensure that the
installation completed successfully?

A. trace.txt
B. setup.log
C. install.log
D. SystemOut.log

Answer: B

Question: 25
An application developer is required to install Lotus Expeditor when installing:

A. the IBM Sales Center.


B. the IBM Gift Center.
C. Coremetrics.
D. the WebSphere Commerce development environment.

Answer: A

Question: 26
An application developer needs to enable the starter store enhancements. Which of the
following commands must the application developer use with the WebSphere Commerce
Developer product?

A. enableFeature.bat -DfeatureName=store-enhancements [-DdbaPassword=dba_password]


B. enableFeature.bat -DinstanceName=<instance_name> -DfeatureName=store-
enhancements [-DdbaPassword=dba_password]
C. config_ant.bat -buildfile WC_installdir/components/common/xml/enableFeature.xml -
DinstanceName=<instance_name>
-DdbUserPassword=db_password [-DdbaPassword=dba_password]
D. config_ant.bat -buildfile WC_installdir/components/common/xml/enableFeature.xml -
DinstanceName=<instance_name>
-DfeatureName=store-enhancements -DdbUserPassword=db_password [-
DdbaPassword=dba_password]

Answer: A

Question: 27
To disable the auto-update process when changes are detected in the wc-devices.xml file,
which file needs to be modified?

A. WC_eardir/xml/config/com.ibm.commerce.foundation/.refreshfilelist
B. WC_eardir/xml/config/com.ibm.commerce.foundation/.reloadfilelist
C. WC_eardir/xml/config/com.ibm.commerce.foundation/.autosyncfilelist
D. WC_eardir/xml/config/com.ibm.commerce.foundation/.updatefilelist

Answer: B

Question: 28
Which component can the application developer install as part of WebSphere Commerce
Developer Professional or Enterprise edition using IBM Installation Manager?

A. IBM Gift Center


B. IBM HTTP Server
C. IBM DB2 database
D. IBM Sales Center Toolkit

Answer: D

Question: 29
An application developer is asked to write queries to retrieve information from custom tables.
What types of queries can be created in Data Service Layer?

A. Access bean findBy queries


B. One-step and multi-step queries
C. Single-step and Two-step queries
D. Business Object Document queries

Answer: C

Question: 30
What are the methods that the tools framework uses to combine elements?

A. Dynamic chaining
B. Wizard branching
C. Element chaining
D. Universal chaining
E. Notebook branching

Answer: B,C

Question: 31
An application developer is deploying custom commands, data beans, and/or Java classes,
that must first be packaged as a JAR file. If there are other assets as part of this deployment
(additional JSPs, HTML, CSS files, etc.), how would the application developer package and
deploy these assets?

A. EAR File
B. Entire Application
C. Partial Module
D. Partial Application

Answer: D

Question: 32
An application developer needs to prevent the Cross-site request forgery (CSRF) type of
malicious attack. In order to do that, the application developer has enabled the cross-site
request forgery protection and modified the authentication JSP file to include the authToken
URL parameter. To complete this customization, which property MUST an application
developer define in the Struts configuration action for stores?

A. csrfSecured
B. csrfAuthToken
C. csrfProtected
D. csrfAuthenticated

Answer: C

Question: 33
During a drag and drop operation in a WebSphere Commerce Web 2.0 store, the drag and
drop will trigger an event on the server. The server's response will be in the form of a
JavaScript Object Notification (JSON) object. What element in the JSP listens for the JSON
object?

A. Refresh area
B. Refresh mapper
C. Refresh controller
D. Refresh redirector

Answer: C

Question: 34
An application developer has developed a new Java class to define the behavior of a custom
IBM Sales Center user interface widget. Which of the following extension points is correct to
register the new behavior in plugin.xml?

A. com.ibm.commerce.telesales.widgets.widgetManagers
B. com.ibm.commerce.telesales.widgets.managedWidgets
C. com.ibm.commerce.telesales.widgets.configuredWidgets
D. com.ibm.commerce.telesales.widgets.widgetDescriptors

Answer: A

Question: 35
What is the name of the noun that the Gift Center services interact with?

A. GiftList
B. GiftCenter
C. GiftRegistry
D. GiftCenterNoun

Answer: A

Question: 36
An application developer needs to implement a Business Object Document (BOD) command.
Which exceptions would the application developer handle?

A. ECIOException
B. ECUserException
C. ECSystemException
D. ECCommandExceptions
E. ECApplicationException

Answer: C,E

Question: 37
An application developer uses Dojo to abstract the JavaScript events system for the Web 2.0
store. Which Dojo functions would the application developer use to "listen" to a function call
and connect functions to it?

A. dojo.init()
B. dojo.load()
C. dojo.listen()
D. dojo.connect()
E. dojo.subscribe()

Answer: D,E

Question: 38
Which part of the Business Object Document (BOD) model is represented as the business
object?
A. Verb
B. Noun
C. Data Area
D. Application Area

Answer: B

Question: 39
An application developer has created a Business Object Document (BOD) service module for
the Noun ExtendedAddress. In order to implement the Get operation, the application
developer has to obtain the physical object from the metadata (ExtendedAddressMetadata)
class. Which method in ExtendedAddressMetadata class needs to be modified to obtain the
physical object?

A. getMetadata()
B. getRootEClass()
C. getPhysicalObject()
D. getObjectRelationMetadata()

Answer: B

Question: 40
An application developer is extending a noun. Which method in the custom read mediator
should the application developer implement for the Get service to populate the logical SDO?

A. getNoun()
B. buildNoun()
C. createNoun()
D. populateNoun()

Answer: B

Question: 41
In order to implement error handling at the JSP page level to ensure the transaction is rolled
back and the exception does not fall through to the application level, which of the following
MUST the application developer do?

A. Catch the ECSystemException.


B. Specify a JSP page as an errorHandler page.
C. Define the error handler in the deployment descriptor.
D. Call the com.ibm.commerce.server.JSPHelper class.
E. Call the com.ibm.commerce.server.JSPError class.
Answer: B,D

Question: 42
An application developer has to create a new task command
AddUserToCatalogMailingListTask which adds a user to a catalog mailing list. Which of the
following is the correct implementation for the task command?

A. AddUserToCatalogMailingListTask addToMailingListCmd = null;


addToMailingListCmd = (AddUserToCatalogMailingListTask)
CommandFactory.createCommand
("com.mycompany.commands.AddUserToCatalogMailingListTask", getStoreId());
B. AddUserToCatalogMailingListTask addToMailingListCmd = null;
addToMailingListCmd = (AddUserToCatalogMailingListTask)
CommandFactory.createCommand
("com.mycompany.commands.AddUserToCatalogMailingListTaskImpl", getLangID());
C. AddUserToCatalogMailingListTask addToMailingListCmd = null;
addToMailingListCmd = (AddUserToCatalogMailingListTask)
CommandFactory.createCommand
("com.mycompany.commands.AddUserToCatalogMailingListTask", getCommandContext());
D. AddUserToCatalogMailingListTask addToMailingListCmd = null;
addToMailingListCmd = (AddUserToCatalogMailingListTask)
CommandFactory.createCommand
("com.mycompany.commands.AddUserToCatalogMailingListTaskImpl",
getCommandContext());

Answer: A

Question: 43
Regarding the WebSphere Commerce persistence layer, which statement below is FALSE?

A. One can use both EJB and data service layer persistence models within the same
transaction.
B. One can use the data service layer to perform operations (create, retrieve, update, delete)
directly on the physical data, bypassing the logical
schema altogether.
C. Extensions to Business Object Document (BOD) service modules must use the data
service layer.
D. The data service layer (DSL) provides a neutral interface for accessing data independent
of the object-relational mapping framework.

Answer: A

Question: 44
In order to enable a WebSphere Commerce store with Web 2.0 features, the application
developer must define elements in the JSP files. These elements include which of the
following?

A. Context controller
B. Refresh areas
C. Refresh controllers
D. Refresh redirectors
E. Refresh responders

Answer: B,C

Question: 45
An application developer needs to write a new command which should be eligible for
command-based cache invalidation. Which class should the new command extend?

A. com.ibm.websphere.command.CacheableCmdImpl
B. com.ibm.commerce.command.ControllerCommandImpl
C. com.ibm.websphere.command.TargetableCommandImpl
D. com.ibm.commerce.command.ECTargetableCommandImpl

Answer: B

Question: 46
Identify the WebSphere Commerce session cookie pertaining to a user that has the following
characteristics? ?This session cookie flows between the browser and server over both SSL or
non-SSL connection. ?It is used for user identification over non-SSL connections. ?It contains
user session values such as login timeout, session identifier, etc.

A. WC_USERACTIVITY_ID
B. WC_GENERIC_ACTIVITYDATA
C. WC_GENERIC_USERDATA
D. WC_USER_ACTIVITYDATA

Answer: A

Question: 47
A customer needs to send additional information from the shopping cart to the Order module
using the UserData field. How can the application developer accomplish this requirement?

A. Extend the order data bean.


B. Write new order access bean.
C. Customize the Business Object Mediator.
D. Customize the client library and component facade.
Answer: D

Question: 48
An application developer needs to optimize performance when the Stores web application
invokes a component service. The service and the client are in the same application. Which of
the following invocation bindings must be used?

A. Local EJB binding.


B. Web services binding in a J2SE application.
C. Generated Web service client proxy binding.
D. Service binding using the WebSphere Commerce JCA Messaging subsystem.

Answer: A

Question: 49
An application developer has been asked to add client-side validation for the start and end
dates of Web Activities in the Management Center Marketing tool. What is the first step the
application developer needs to perform to add the new validation?

A. Create a new class that extends wcfValidator.


B. Create a custom validation service that extends wcfValidateService.
C. Write validation script in WebActivityPrimaryObjectDefinition.lzx.
D. Extend the change mediator class and implement the validateCreate and validateChange
methods.

Answer: A

Question: 50
An application developer needs to add Web 2.0 features to the Consumer Direct store model.
This involves registering events that respond to AJAX calls. Which dojo function must be used
to register an event and the JavaScript function that triggers it?

A. dojo.listen(topic, context, method)


B. dojo.connect(topic, context, method)
C. dojo.subscribe(topic, context, method)
D. dojo.connectPublisher(topic, object, event)

Answer: D

Question: 51
Which of the following CANNOT be performed using the WebSphere Commerce data load
utility?

A. Updating SKU inventory


B. Loading promotions
C. Loading sales catalogs
D. Loading merchandising associations

Answer: B

Question: 52
An application developer needs to customize the data load utility and create a business object
configuration file. Which element needs to be specified in the business object configuration
file?

A. <_config:DataWriter>
B. <_config:Database>
C. <_config:DataReader>
D. <_config:BusinessContext>

Answer: C

Question: 53
An application developer needs to load a comma separated value (CSV) file to the
WebSphere Commerce database. Which of the following task sequences is correct?

A. txttransform -> dtdgen -> idresgen -> massload


B. txttransform -> idresgen -> dtdgen -> massload
C. txttransform -> idresgen -> xmltransform -> massload
D. txttransform -> xmltransform -> idresgen -> massload

Answer: D

Question: 54
An application developer needs to enable e-mail notification in workspaces in the WebSphere
Commerce development environment. Which snippet would be appropriate?

A. <ActivateTaskEmail isEmailEnabled="true" from="" cc="" bcc="" language="en_US" />


<RejectTaskEmail isEmailEnabled="true" from="" cc="" bcc="" language="en_US" />
<ApproveTaskGroupEmail isEmailEnabled="true" from="" cc="" bcc="" language="en_US" />
B. <ActivateEmail isEmailEnabled="true" from="" cc="" bcc="" language="en_US" />
<RejectEmail isEmailEnabled="true" from="" cc="" bcc="" language="en_US" />
<ApproveGroupEmail isEmailEnabled="true" from="" cc="" bcc="" language="en_US" />
C. <ActivateTaskEmail isEmailEnabled="true" from="" cc="" bcc="" language="en_US" />
<RejectTaskEmail isEmailEnabled="true" from="" cc="" bcc="" language="en_US" />
<NotificationTaskEmail isEmailEnabled="true" from="" cc="" bcc="" language="en_US" />
D. <ActivateEmail isEmailEnabled="true" from="" cc="" bcc="" language="en_US" />
<RejectEmail isEmailEnabled="true" from="" cc="" bcc="" language="en_US" />
<NotificationEmail isEmailEnabled="true" from="" cc="" bcc="" language="en_US" />

Answer: A

Question: 55
An application developer needs to initialize the attribute dictionary by setting the
initAttributeDictionary property to true in the wc-loader-<object>.xml. Which element should
this property be added to?

A. <_config:DataReader>
B. <_config:DataMapping>
C. <_config:BusinessObjectBuilder>
D. <_config:BusinessObjectMediator>

Answer: D

Question: 56
If the application developer has customized the database schema by creating new tables on a
staging server, which of the following requirements must be met?

A. The new table must contain only configuration data.


B. The new table must contain references to operational tables.
C. A referential integrity constraint cycle cannot exist among the tables.
D. An insert trigger exists when populating the table in the production database.
E. Rows in staging-enabled tables must be uniquely identifiable by at most five columns: Two
columns containing strings (maximum length: 254
characters) and three columns containing numbers (maximum length: BIGINT).

Answer: A,C,E

Part B (57 Questions)


Question: 1
Gift Registry and Wish List both share the GRGFTREG table to save profile information with
some differences. How can an application developer find these differences?

A. GRGFTREG.REGTYPE column has a default value of 0 for the Wish List.


B. GRGFTREG.REGTYPE column has a default value of 0 for the Gift Registry.
C. GRGFTREG.EVENTTYPE_ID column, mapped with GREVNTTYPE table, resolves the
type.
D. GRGFTREG.PREEVENTADDRESS_ID and POSTEVENTADDRESS_ID columns are only
applicable to the Wish List.
E. GRGFTREG.PREEVENTADDRESS_ID and POSTEVENTADDRESS_ID columns are only
applicable to the Gift Registry.
Answer: B,E

Question: 2
An application developer designs a contract model (as shown in Exhibit A) based on the
following requirements that need to be supported : 1.customers have one or more bill-to
addresses 2.each bill-to address has one or more associated ship-to addresses 3.when a
customer is shopping, they shop for one bill-to/ship-to combination at a time Exhibit A
However, the requirements that will be supported by the contract model design are:

A. 1 and 3
B. 2 and 3
C. 1 and 2 C.1 and 2
D. 1, 2 and 3D.1, 2 and 3

Answer: D

Question: 3
A business wants to deploy an e-commerce solution that supports buyers who purchase
goods or services, supports resellers who sell a manufacturer's goods and supports a
manufacturer who creates the goods. Which WebSphere Commerce business model
addresses this requirement?

A. B2C
B. B2B Direct
C. Supply Chain
D. Demand Chain

Answer: D

Question: 4
The IBM Sales Center uses SOAP over HTTP messaging protocol to communicate with the
WebSphere Commerce Server. The request handler prepares a Business Object Document
(BOD) and sends it to the WebSphere Commerce server. What is the next step to process
this request?

A. The message mapper invokes a WebSphere Commerce BOD command.


B. The message mapper invokes a WebSphere Commerce controller command.
C. The message mapper maps the BOD to a WebSphere Commerce BOD command.
D. The message mapper maps the BOD to a WebSphere Commerce response builder
command.

Answer: C

Question: 5
An application developer needs to create a custom feed by converting RESTful HTTP GET
requests into IBM WebSphere Commerce Web service requests. Which of the following can
be used to do this?

A. Remote Widgets
B. JAX-RS resource
C. JAX-RS provider
D. Atom Syndication

Answer: B

Question: 6
What presentation layer is supported by WebSphere Commerce out of the box?

A. Struts
B. Data source
C. Widgets
D. JSF

Answer: A

Question: 7
An application developer needs to change the workspaces locking policy and therefore needs
to change WCDE_installdir/xml/content-management/wc-resource-containers.xml. Which of
the following options identifies the element that needs to be changed?

A. <wc:DefaultConfiguration
lockingPolicy="Workspaces_locking_policy"
enableDynamicWorkspaceCreation="false"
/>
B. <wc:workspaceConfiguration
lockingPolicy="Workspaces_locking_policy"
enableDynamicWorkspaceCreation="false"
readPrefixName="WCR"
writePrefixName="WCW"
/>
C. <wc:workspaceConfiguration
lockingPolicy="Workspaces_locking_policy"
enableDynamicWorkspaceCreation="false"
/>
D. <wc:DefaultConfiguration
lockingPolicy="Workspaces_locking_policy"
enableDynamicWorkspaceCreation="false"
readPrefixName="WCR"
writePrefixName="WCW"
/>

Answer: D

Question: 8
An application developer needs to perform an initial data load using the WebSphere
Commerce Data Load utility. What action must be taken to maximize performance?

A. Not specify a key range.


B. Specify a large ID resolver cache size.
C. Specify the ID resolver cache size to 0.
D. Specify a large commit count and batch size.
E. Specify a commit count of 1 and batch size of 1 to minimize rollbacks.

Answer: B,D

Question: 9
An application developer is creating custom data readers to customize the data load utility to
read data from different source formats. Which method must be implemented?

A. next()
B. init()
C. getVarPosition()
D. getSourcePosition()

Answer: A

Question: 10
An application developer needs to perform a delta data load to existing catalog data. What
parameter must be specified in wc-dataload.xml for dataLoadMode?

A. Insert
B. Replace
C. Reset
D. Update

Answer: B

Question: 11
Which of the following database tables are included in the staging server data model?

A. STAGLOG
B. STAGSITETAB
C. STGMERTAB
D. STGSTORETAB
E. STGUIDTAB

Answer: A,C

Question: 12
An application developer customized the data load utility. While unit testing,
DataLoadApplicationException is thrown. What is the reason for this exception?

A. Database dead lock or Out of Memory issue.


B. Input data source file has erroneous records.
C. Configuration files have incomplete elements.
D. Database throws exception while executing SQL statements.

Answer: B

Question: 13
An application developer encounters an error similar to the following when working with Struts
configuration files when applications are developed using the Service Oriented Architecture
(SOA). Error CMN0203E when working with Struts configuration files 000000e5
WC_SERVER 3 -673d4df:1235cd8ecc0:-7fff
com.ibm.commerce.struts.BaseAction.executeView actionName=JspView 000000e5
WC_SERVER 3 -673d4df:1235cd8ecc0:-7fff
com.ibm.commerce.struts.BaseAction.executeView unknown view from path info Which of the
following can be used to resolve the issue?

A. If the command is a view name, update the CMDREG table to contain a mapping between
the interface name and the command
implementation.
B. If the command is a controller command or URL request, define it as a forward
configuration with the correct view name, store ID and device ID
C. If the command is a view command, ensure the Struts configuration files contain an action
configuration between the URL and the command
interface name that represents that URL
D. If the command is a view name defined in the <global-forwards> section of the
configuration file, ensure a corresponding action with the same
path name and of type com.ibm.commerce.struts.BaseAction is defined in the configuration
file.

Answer: D

Question: 14
Management Center Catalog Upload feature on the production environment failed due to the
maximum file size of CSV file or .zip being limited to 10 MB. An application developer was
asked to resolve the problem by changing the maximum CSV file size limit. The issue can be
resolved by:

A. updating the WebSphere Commerce configuration file on the production server.


B. updating the client, deploying the change to production server.
C. updating the client, the WebSphere Commerce configuration file and deploying the change
to the production server.
D. updating the client, the WebSphere Commerce configuration file, building and deploying
the change to the production server.

Answer: D

Question: 15
When publishing the migrated application in WebSphere Commerce Developer, an
application developer notices that the publishing fails and an exception similar to the following
example occurs. [1/7/10 14:32:31:125 PST] 00000064 CommerceSrvr A WcsApp
initPolicyManager CMN0007S: Initialization has started for "Policy Manager". [1/7/10
14:35:50:734 PST] 0000006f SystemErr R Exception in thread
"LT=0:P=910359:O=0:port=9100" java.lang.OutOfMemoryError [1/7/10 14:36:21:156 PST]
0000006f SystemErr R at java.net.PlainSocketImpl.socketAccept(Native Method) [1/7/10
14:36:23:187 PST] 0000006f SystemErr R at
java.net.PlainSocketImpl.accept(PlainSocketImpl.java:414) [1/7/10 14:36:26:281 PST]
0000006f SystemErr R at java.net.ServerSocket.implAccept(ServerSocket.java:464) [1/7/10
14:36:35:015 PST] 00000064 CommerceSrvr E PolicyManagerProvider getInstance
CMN0409E: The following error occurred during processing:
"java.lang.reflect.InvocationTargetException". [1/7/10 14:36:37:000 PST] 00000064
CommerceSrvr E WcsApp initPolicyManager CMN0112E: The following error has been
detected while initializing "Instance/PolicyManagerClassName":
java.lang.reflect.InvocationTargetException.java.lang.reflect.InvocationTargetException at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599) at
com.ibm.commerce.accesscontrol.policymanager.PolicyManagerProvider.getInstance(Policy
ManagerProvider.java:79) at
com.ibm.commerce.server.WcsApp.initPolicyManager(WcsApp.java:506) <more error lines>
The exception that the application developer should focus on first is the:

A. ServerSocket exception.
B. Access Control exception.
C. InvocationTarget exception.
D. OutOfMemoryError exception.
Answer: D

Question: 16
During testing, an application developer notices that when sending a message to a backend
system with WebSphere MQ, unexpected characters show up in the XML message. For
example, the WebSphere Commerce log shows:
com.ibm.commerce.messaging.outboundservice.Messaging.sendReceiveImmediate()
Message content
is: ?com.ibm.commerce.messaging.outboundservice.Messaging.sendReceiveImmediate()
Message content is: ? What is the reason for this problem?

A. The message header has not been parsed correctly.


B. The value of the targetClient field should be set to "MQ".
C. The message is from JMSErrorQueue; an error message needs to be displayed to the user.
D. Security is enabled on the messaging server and, therefore, the encrypted message shows
up.

Answer: B

Question: 17
An application developer has created a new promotion type in Management Center. Using
the test automation framework, which action should the application developer use to activate
the promotion while testing the new promotion type?

A. wcfAutoRunInitServiceAction
B. wcfAutoRunCreateServiceAction
C. wcfAutoRunCustomServiceAction
D. wcfAutoRunRefreshServiceAction

Answer: C

Question: 18
An application developer needs to refer to video presentations regarding new features in
WebSphere Commerce for a business requirement. Where can these be found in the
Information Center?

A. Samples
B. Tutorials
C. Developing
D. IBM Education Assistant

Answer: D

Question: 19
An application developer needs to use the Management Center test automation framework.
Which statement is TRUE?

A. Parameter names and values can be set using the wcfAutoSetParamAction action in the
test case.
B. The test automation framework must be extended to validate the Management Center
model, services, and object definitions.
C. Use the test automation framework to validate Management Center user interface widgets,
such as properties views and list views.
D. A test case can be executed by adding a URL parameter named testdata to the
Management Center URL with the test case file name as the Value.

Answer: D

Question: 20
Upon accessing URL:
http://hostname:8007/webapp/wcs/component/member/services/MemberServices, the
following page is displayed:
{http://www.ibm.com/xmlns/prod/commerce/9/member}MemberServices Hi there, this is a
Web service! This is an indication to the application developer that the application has started
successfully after:

A. the enablement of member subsystem.


B. the store has been published successfully.
C. the instance creation has been completed successfully.
D. the enablement of WebSphere Commerce foundation feature.

Answer: D

Question: 21
In Social Commerce, which file needs to be modified to configure the sMash application with
Pluck, Bazaar Voice, or Lotus Connections specific to the customer's environment?

A. WC_installdir/components/social-commerce/config/port.config
B. WC_installdir/components/social-commerce/config/plugin.config
C. WC_installdir/components/social-commerce/config/adapter.config
D. WC_installdir/components/social-commerce/config/listener.config

Answer: C

Question: 22
What file does the application developer need to examine first to confirm the successful
installation of WebSphere Commerce Developer?
A. setup.log
B. SystemOut.log
C. setdbtype.log
D. wc-server.xml

Answer: A

Question: 23
In order to set up a new customer facing extended sites store using WebSphere Commerce
Accelerator, onto which store does the developer need to log on to as site administrator?

A. Extended sites store


B. Extended sites hub store
C. Extended sites asset store
D. Extended customer facing store

Answer: B

Question: 24
An application developer notices that the agent_data_location does not contain copied data.
What behavior can the application developer expect during a silent installation using the IBM
Installation Manager? The IBM Installation Manager:

A. fails to execute.
B. creates a new agent_data_location.
C. copies the data to the agent_data_location.
D. fails to detect previous Rational Application Developer installations.

Answer: D

Question: 25
To check if IBM Gift Center for WebSphere Commerce setup script ran successfully, which
file does the application developer need to verify?

A. gc.setup.component
B. gc.config.component
C. gc.enabled.component
D. gc.install.component

Answer: C

Question: 26
As part of a Web 2.0 interaction, WebSphere Commerce passes a response to common JSPs.
These JSPs generate a JavaScript Object Notification (JSON) object, which must be
consumed by the client browser using JavaScript. What component of the WebSphere
Commerce AJAX framework must the application developer code to handle the JSON object?

A. Service
B. Refresh area
C. Refresh controller
D. Refresh redirector

Answer: A

Question: 27
An application developer needs to make a controller command available to AJAX requests.
What must be done?

A. Prefix the command URL in the JSP with AJAX.


B. Map the controller command to the AjaxAction in the struts configuration.
C. Change the controller command's mapping to com.ibm.commerce.struts.AjaxRequest.
D. Change the controller command's mapping to com.ibm.commerce.struts.AjaxService.

Answer: B

Question: 28
An application developer needs to define and load the access control policies to secure the
access for a new Get command. Where does the application developer create the
<CustomNoun>AccessControlPolicies.xml file to load into the database using acpload?

A. WCDE_installdir\component\<CustomNoun>\xml\policies
B. WCDE_installdir\component\foundation\xml\policies\xml
C. WCDE_installdir\xml\policies
D. WCDE_installdir\xml\policies\xml

Answer: D

Question: 29
An application developer has implemented business logic to add more information to the
CatalogEntry noun. Which of the following is the correct insert statement for the CMDREG
table for this new implementation?

A. insert into cmdreg (storeent_id, interfacename, classname, target) values (0,


'com.ibm.commerce.catalog.facade.server.commands.InsertMoreCatalogEntryDataCmd+IBM
_Admin_Details.0',
'com.mycompany.commerce.foundation.server.command.bod.bom.InsertMoreNounChangeC
ontrolMetaDataCmdImpl', 'Local');
B. insert into cmdreg (storeent_id, interfacename, classname, target) values (0,
'com.ibm.commerce.catalog.facade.server.commands.InsertMoreCatalogEntryCmd+IBM_Ad
min_Details',
'com.mycompany.commerce.foundation.server.command.bod.bom.InsertMoreNounChangeC
ontrolMetaDataCmdImpl', 'Local');
C. insert into cmdreg (storeent_id, interfacename, classname, target) values (0,
'com.ibm.commerce.catalog.facade.server.commands.InsertMoreCatalogEntryDataCmd',
'com.mycompany.commerce.foundation.server.command.bod.bom.InsertMoreNounChangeC
ontrolMetaDataCmdImpl', 'Local');
D. insert into cmdreg (storeent_id, interfacename, classname, target) values (0,
'com.ibm.commerce.catalog.facade.server.commands.InsertMoreCatalogEntryCmd+IBM_Ad
min_Details.0',
'com.mycompany.commerce.foundation.server.command.bod.bom.InsertMoreNounChangeC
ontrolMetaDataCmdImpl', 'Local');

Answer: A

Question: 30
An application developer needs to add a new feature in Management Center which will allow
marketing managers to market to customers based on whether they provided their phone
numbers or not. How can this be achieved?

A. Add a new action.


B. Add a new target.
C. Add a new trigger.
D. Add a new web activity template.

Answer: B

Question: 31
An application developer is asked to retrieve tax details from an external tax service provider.
Which invocation binding must be used by the Web services client?

A. JCAInvocationBindingImpl
B. LocalEJBInvocationBindingImpl
C. JAXWebServiceInvocationBindingImpl
D. JMSWebServiceInvocationBindingImpl

Answer: A

Question: 32
While working with Web 2.0 widgets, if an application developer needs to unblock the user
interface after a JSP page refresh, which AJAX framework function needs to be coded?

A. postRefreshArea
B. postRefreshContext
C. postRefreshHandler
D. postRefreshController

Answer: C

Question: 33
In order to package and deploy custom assets, the application developer needs to create the
appropriate JAR file. Which assets belong to the JAR file?

A. SAR files
B. JSP files
C. Data beans
D. Property files
E. Utility classes
F. Controller commands

Answer: C,E,F

Question: 34
An application developer needs to add a new tab pane for a product to hold warranty
information in the Catalog tool of the Management Center. In which file should the new tab be
declared?

A. ProductGrid.lzx
B. ProductPropertiesViews.lzx
C. ProductTopObjectDefinition.lzx
D. ProductPrimaryObjectDeinifinion.lzx

Answer: B

Question: 35
In which case must container-managed persistence entity beans be used instead of a session
bean? A case where:

A. a query updates data in a table.


B. a query returns a large result set.
C. a query retrieves data from several tables.
D. a SQL statement performs a database intensive read operation.

Answer: A

Question: 36
The following JavaScript defines an Ajax service: <script type="text/javascript">
wc.service.declare({ id: "AjaxAddOrderItem", actionId: "AjaxAddOrderItem", url:
"AjaxOrderChangeServiceItemAdd", formId: "" }) </script> There is a method named
"AjaxAddOrderItem" with a URL of "AjaxOrderChangeServiceItemAdd." In which file is this
URL registered?

A. struts-config-server.xml
B. struts-config-custom.xml
C. struts-config-ajax.xml
D. struts-config-order-services.xml

Answer: D

Question: 37
An application developer uses the following steps to process a Get request from the business
logic layer. 1.Persistence service uses query template to convert XPath to SQL 2.Mediators
convert logical SDO (request) to physical SDO 3.Business Object Document (BOD) sent to
DSL facade 4.Mediators convert physical SDO (response) to logical SDO Which of the
following is the correct sequence of steps?

A. 2, 1, 4 and 3
B. 2, 4, 1 and 3
C. 3, 2, 1 and 4
D. 4, 1, 2 and 3

Answer: C

Question: 38
An application developer has created a Business Object Document (BOD) service module for
the noun ExtendedAddress. What command should the application developer use to add
additional business logic for parsing search expressions?

A. Fetch command
B. GetNoun command
C. ProcessNoun command
D. InsertMoreData command

Answer: B

Question: 39
An application developer needs to retrieve the data from an external system before the
Business Object Document (BOD) Process command executes. Which part of the BOD
command framework must the application developer extend?

A. Extend read()method of the Process<NounName>Cmd.


B. Extend readData() method of the Process<NounName>Cmd.
C. Extend get() method of the Process<NounName>Cmd.
D. Extend getData() method of the Process<NounName>Cmd.

Answer: A

Question: 40
JSP error handling within WebSphere Commerce is performed in which of these ways?

A. Error handling within the page


Error handling within the controller command
Error handling using the StoreDataBean
B. Error handling within the page
Error handling at the page level
Error handling at the application level
C. Error handling at the page level
Error handling at the application level
Error handling within the controller command
D. Error handling at the page level
Error handling at the application level
Error handling through a helper class

Answer: B

Question: 41
An application developer has created new business validation rules for the Gift Registry. In
which file should these new business validation rules be registered?

A. wc-GiftCenter-RuleConfig-ext.xml
B. wc-GiftCenter-RuleValidator-ext.xml
C. wc-GiftList-RuleConfig-ext.xml
D. wc-GiftList-RuleValidator-ext.xml

Answer: D

Question: 42
An application developer is customizing the IBM Sales Center Client, adding a new text box to
the identity page of the customer editor page. How should the application developer define
the control in plugin.xml used to pass the value to USERS.FIELD1?

A. <extension point="com.ibm.commerce.telesales.widgets.controls">
<control
id="customer.msg"
type="text"
tooltip="message"
modelPath="customer.msg"
userData="users.userField1"/>
</extension>
B. <extension point="com.ibm.commerce.telesales.widgets.controls">
<control
id="customer.msg"
type="text"
tooltip="message"
modelPath="customer.userField1"
userData="msg"/>
</extension>
C. <extension point="com.ibm.commerce.telesales.widgets.controls">
<control
id="customer.msg"
type="text"
tooltip="message"
modelPath="userField1"
userData="msg"/>
</extension>
D. <extension point="com.ibm.commerce.telesales.widgets.controls">
<control
id="customer.msg"
type="text"
tooltip="message"
modelPath="customer.msg"
userData="userField1"/>
</extension>

Answer: B

Question: 43
AddressType is a logical object which contains an enumeration with values 'Shipping', 'Billing'
and 'ShippingAndBilling' whereas the corresponding physical object consists of values 'S', 'B'
and 'SB' respectively. In order to configure the relationship between the external and internal
keys of these business objects, which step describes the required customization in the
business logic layer?

A. Add the following elements to the service module Add the following elements to the service
module? wc-component.xml
<Tag XPath="DataArea/Person/ContactInfo/Address@type[" Field="Shipping"/><Tag
XPath="DataArea/Person/ContactInfo/Address@type[??" Field="Shipping"/>
<Tag XPath="DataArea/Person/ContactInfo/Address@type[" Field="Billing"/><Tag
XPath="DataArea/Person/ContactInfo/Address@type[??" Field="Billing"/>
<Tag XPath="DataArea/Person/ContactInfo/Address@type[B" Field="ShippingAndBilling
"/><Tag XPath="DataArea/Person/ContactInfo/Address@type[?B?" Field="ShippingAndBilling
"/>
B. Add the following elements to the service module Add the following elements to the service
module? PersonBODMapping.xmlf
<Tag XPath="DataArea/Person/ContactInfo/Address@type[" Field="Shipping"/><Tag
XPath="DataArea/Person/ContactInfo/Address@type[??" Field="Shipping"/>
<Tag XPath="DataArea/Person/ContactInfo/Address@type[" Field="Billing"/><Tag
XPath="DataArea/Person/ContactInfo/Address@type[??" Field="Billing"/>
<Tag XPath="DataArea/Person/ContactInfo/Address@type[B" Field="ShippingAndBilling
"/><Tag XPath="DataArea/Person/ContactInfo/Address@type[?B?" Field="ShippingAndBilling
"/>
C. Add the following elements to the service module Add the following elements to the service
module? wc-component.xml
<_config:valuemappingservice>
<_config:valuemapping externalName="AddressType" internalName="AddressType">
<_config:valuemap externalValue="Shipping"internalValue="S" />
<_config:valuemap externalValue="Billing" internalValue="B" />
<_config:valuemap externalValue="ShippingAndBilling" internalValue="SB" />
</_config:valuemapping>
</_config:valuemappingservice>
D. Add the following elements to the service module Add the following elements to the service
module? wc-component-client.xml
<_config:valuemappingservice>
<_config:valuemapping externalName="AddressType" internalName="AddressType">
<_config:valuemap externalValue="Shipping"internalValue="S" />
<_config:valuemap externalValue="Billing" internalValue="B" />
<_config:valuemap externalValue="ShippingAndBilling" internalValue="SB" />
</_config:valuemapping>
</_config:valuemappingservice>

Answer: C

Question: 44
An application developer is coding a task command for a precision marketing target element.
In order to achieve this, the new task command implements EnterBirthdayTaskCmd. Which of
the following statements would the application developer use for logging purposes?

A. private final static Logger LOGGER = new LoggingHelper().getLogger


(EnterBirthdayTaskCmdImpl.class);
B. private final static Logger logger =
LoggingHelper.getLogger(EnterBirthdayTaskCmdImpl.class);
C. private final static Logger LOGGER = new LoggingHelper().getLog
(EnterBirthdayTaskCmdImpl.class);
D. private final static Logger logger = Logging.getLogger (EnterBirthdayTaskCmdImpl.class);

Answer: B

Question: 45
To prevent strange DynaCache behavior when using JSTL tags, which one of the following is
the proper way to use the <c:import> tag?

A. <% out.flush(); %>


<c:import url=<a url> />
<% out.flush(); %>
B. <% JSPHelper.setUncacheable(req,true); %>
<c:import url=<a url> />
C. <% ((ServletCacheResponse)response).setDoNotConsume(true); %>
<c:import url=<a url> />
D. <% JSPHelper.flush(); %>
<c:import url=<a url> />
<% JSPHelper.flush(); %>

Answer: A

Question: 46
An application developer needs to write custom business logic to check if the changeable part
of the noun requires modification. Which approach does the application developer need to
follow?

A. Create a Java class that extends


AbstractChangeNounPartUsingBusinessObjectMediatorCmdImpl and implements the
ChangeNounPart
interface.
B. Create a Java class that extends BusinessObjectMediatorCmdImpl and implements the
ChangeNounPartValidation interface.
C. Create a Java class that extends ChangeNounPartUsingBusinessObjectMediatorCmdImpl
and implements the
ChangeNounPartValidation interface.
D. Create a Java class that extends ChangeNounPartUsingBusinessObjectMediatorCmdImpl
and implements the ChangeNounPart interface.

Answer: A

Question: 47
While implementing a new Access Profile for a custom Get service, an application developer
is asked to protect this profile so that it is only accessible by the owner. Which method does
the application developer need to implement to enforce this?
A. Protectable.fulfills
B. Protectable.getOwner
C. AuthorizationServiceFactory.canExecute
D. AuthorizationServiceFactory.checkIsAllowed

Answer: A

Question: 48
A customer places an order for two items that total $300. Item A costs $200 and is in stock.
Item B costs $100 and is not in stock but will be available in two days. If the customer pays
through a payment method which uses the 'Early Deposit' payment rule, which of the
following is TRUE?

A. $200 will be validated and deposited at the time of order capture.


B. $300 will be validated and deposited at the time of order capture.
C. $200 will be validated at the time of order capture and deposited at the time of shipment of
item A.
D. $300 will be validated at the time of order capture and deposited at the time of shipment of
item A.

Answer: A

Question: 49
An application developer is providing integration support for the backend system using
WebSphere MQ. A new customer registers at the store, then makes a correction to their
address information, then makes a purchase order. What kind of processing should be
implemented?

A. serial
B. parallel
C. rollback
D. autocommit

Answer: A

Question: 50
An application developer is using Business Object Document (BOD) style Web services for
external client enablement and outbound communication. Which file should be updated to
configure JCA bindings to wire different actions to different endpoints?

A. wc-component-client.xml
B. wc-invocation-client.xml
C. wc-config-mapping-registry.xml
D. wc-business-object-mediator.xml

Answer: A

Question: 51
An application developer has to customize the product page to add ratings and reviews.
Which code snippet does the application developer have to add in JSP?

A. <div
dojoType="ibm.social.Reviews"
resourceId="Product SKU"
resourceType="catentry"
itemDescription="Sample Product Reviews"
loadOnStartup="true">
</div>
B. <div
dojoType="ibm.social.Reviews"
resourceId="UserId"
resourceType="users"
loadOnStartup="true">
</div>
C. <div
dojoType="ibm.social.Reviews"
resourceId="Product SKU"
resourceType="items"
itemDescription="Sample Product Reviews"
loadOnStartup="true">
</div>
D. <div
dojoType="ibm.social.Reviews"
resourceId="Product SKU"
resourceType="product"
itemDescription="Sample Product Reviews"
loadOnStartup="true">
</div>

Answer: C

Question: 52
An application developer is creating new inbound XML messages that are sent to WebSphere
Commerce by back-end systems. In which file should the developer add the new messages?

A. sys_template.xml
B. user_template.xml
C. message_template.xml
D. webservice_template.xml

Answer: B

Question: 53
Within the Social Commerce architecture, how does the social content widget of the browser
communicate with the WebSphere sMash application via the REST API?

A. HTTP
B. HTTP + Atom
C. HTTP + JSON
D. HTTP + XML

Answer: C

Question: 54
How would an application developer access merchant configuration: erchantId?in a plug-in
code?How would an application developer access merchant configuration: ?erchantId?in a
plug-in code?

A. pluginContext.getConfiguration().getString("merchantId");
B. pluginContext.getConfiguration().getProperties().get("merchantId");
C. financialTransaction.getPaymentInstruction().getExtendedData().get ("merchantId");
D. financialTransaction.getPayment().getPaymentInstruction().getExtendedData().
getString("merchantId");

Answer: B

Question: 55
An application developer needs to integrate WebSphere Commerce with a procurement
system in two-step communication mode. Which file should be updated to add the new
message mapper?

A. resource.xml
B. urlmapper.xml
C. wc-server.xml
D. Adapter.config

Answer: C

Question: 56
An application developer notices that a policy that is expected to grant access appears in the
trace, however it is not being applied. In addition an error similar to the following example is
logged to the trace.log file. PolicyManagerImpl.isAllowed isAllowed? User=510;
Action=Execute;
Protectable=com.ibm.commerce.catalog.commands.ProductDisplayCmdImpl; Owner=2002;
Resource Ancestor Orgs=2002,-2001; Resource Applicable Orgs=2002
PolicyManagerImpl.isAllowed Found
PolicyName:AllUsersExecuteResellerUserCmdResourceGroup; PolicyType: 3; PolicyOwner: -
2001 PolicyManagerImpl.getPolicyApplicableOrgs No organizations subscribe to a policy
group with this policy PolicyManagerImpl.isAllowed Policy does not apply to the resource's
applicable organizations ... PolicyManagerImpl.isAllowed PASSED? =false Apart from
ensuring that the resource owner is subscribing to the correct policy groups and subscribing
the organization to the policy group, what are the correct values to insert into the
ACPLGPSUBS table?

A. orgentity_id = 2002 and acpolgrp_id = 10001(ManagementAndAdministrationPolicyGroup)


and orgentity_id = 2002 and acpolgrp_id =10003
(CommonShoppingPolicyGroup)
B. orgentity_id = -2001 and acpolgrp_id = 10001(ManagementAndAdministrationPolicyGroup)
and orgentity_id = -2001 and acpolgrp_id =10003
(CommonShoppingPolicyGroup)
C. orgentity_id = -2001 and acpolgrp_id =
10001(ManagementAndAdministrationPolicyGroup)and orgentity_id = 2002 and acpolgrp_id
=10003
(CommonShoppingPolicyGroup)
D. orgentity_id = 2002 and acpolgrp_id =
10001(ManagementAndAdministrationPolicyGroup)and orgentity_id = -2001 and acpolgrp_id
=10003
(CommonShoppingPolicyGroup)

Answer: A

Question: 57
When running a JUnit test case for a Business Object Document (BOD) in WebSphere
Commerce Developer, which feature of Rational Application Developer will allow the
application developer to view the request and response documents?

A. Console
B. Code Coverage
C. TCP/IP Monitor
D. Software Analyzer

Answer: C

The end
If you have any ideas about the questions and the answers, please feel free to send email to
[email protected] or contact our customer service directly.

Certdumps wish you pass.

You might also like