Cert Wcs 727
Cert Wcs 727
Development
Version 7.10
Version:7.10
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?
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?
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:
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?
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?
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?
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.
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:
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?
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?
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?
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?
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?
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?
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?
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?
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?
Answer: D
Question: 51
Which of the following CANNOT be performed using the WebSphere Commerce data load
utility?
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?
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?
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?
Answer: A,C,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?
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?
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?
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:
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?
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:
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?
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?
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?
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?
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:
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?
Answer: A
Question: 40
JSP error handling within WebSphere Commerce is performed in which of these ways?
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?
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?
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?
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?
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?
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.