Font size
WorksheetsCommerce Cloud
Total questions: 71
Worksheet time: 18hrs 45mins
An account buyer receives an email notification that their order has been approved and they can pay for the order. Once they click the associated link, it brings them to the B2B Checkout Payment After Approval layout.
Which two are valid statements regarding the B2B Checkout Payment After Approval layout? (Choose two.)
This is an out-of-the-box layout that provides payment options for orders requiring approval
The layout is of type Checkout and is displayed to account shoppers only
The layout allows the buyer to modify the order details and input payment information
The layout is only displayed when the order status is PENDING_PAYMENT
An account buyer receives an email notification that their order has been approved and they can pay for the order. Once they click the associated link, it brings them to the B2B Checkout Payment After Approval layout. <br />Which two are valid statements regarding the B2B Checkout Payment After Approval layout? (Choose two.) <br />
This is an out-of-the-box layout that provides payment options for orders requiring approval
The layout is of type Checkout and is displayed to account shoppers only
The layout allows the buyer to modify the order details and input payment information
The layout is only displayed when the order status is PENDING_PAYMENT
Given the example widget configuration definition:<br /> {…properties: [{ <br /> "id": "enable",<br /> "type":"booleanType",<br /> "helpTextResourcedId": "enabledTextHelp", "labelResourcedId":"enabledLabel", "defaultValue":true} ..]}<br /><br />Which two statements are correct? (Choose two.) <br />
You can reference the configuration in the widget JavaScript as widget.enabled()
The widget configuration setting does not have a default value
You can reference the configuration in the widget JavaScript as site.enabled()
The value can be either true or false
The widget configuration setting will appear as a dropdown
Given the example snippet of custom widget JavaScript: <br /> $.Topic(pubsub.topicNames.PAGE_CHANGED).Suscribe(function(value){widget.isDisplayErrorPins(false);});<br />What are two correct statements about this code? (Choose two.) <br />
Creates a new PAGE_CHANGED topic available for subscription
Uses the PubSub library to publish to a topic
Changes the page when the inline function runs
Runs the inline function when the subscribed event fires
Uses the PubSub library to subscribe to a topic
Your customer has a B2B Storefront instance designed to have three English language sites: North America, European Union, and Asia. <br />What two components will the storefront developers need to configure to support one or more sites? (Choose two.)<br />
The settings for each layout to specify one or more sites valid for that layout
. Associated component text snippets that are valid for each site
The layout components to include branding, images, and page content that are specific for the site
The profile Navigation – Account Shoppers widget instance settings to specify a URL entry for each layout per site
What are two reasons to use the CC-Storage library to save data objects in local storage? (Choose two.)
to support browsers using private browsing mode
to support Firefox browsers only
to support Chrome browsers only
to support iOS devices using Safari
Which two statements describe benefits of the custom payment framework for merchants? (Choose two.)
Merchants can leverage the provided payment webhooks or create their own custom webhooks
Merchants can change the underlying payment service provider without affecting their integration
Merchants can store credit cards on the Commerce Cloud server in its PCI-compliant zone
Merchants can apply their own business rules on top of each transaction
Which two statements describe the gateway configuration definition in the config.json file? (Choose two.)
The configType property must be set to the value payment
Valid values for the instances property are agent, preview, test, and storefront
No additional properties are needed to enable a payment method for scheduled orders
The configuration must include a property with the ID paymentMethodTypes
The following code snippet shows the customProperties subobject included in the payments object in the payments object in a sample JSON request payload:<br /><br />"payments":[ <br />{<br /> ...<br /> "customProperties":{<br />"MonthlyCharge":"$25",<br />"NumberOfPayments":"12"<br />}<br />}<br />...<br />} ]<br /><br />Which two statements describe how the custom properties were included in the request? (Choose two.)
Custom properties can be added via a custom widget <br />
Custom properties are included in the gateway extension’s JavaScript <br /><br />
Custom properties are specified in the config.json file for the gateway extension <br />
Custom properties are specified in the createOrder REST request
What are two types of assets that can be included in a storefront extension? (Choose two.)<br /> <br /><br />
Locale strings <br />
REST endpoint specifications <br />
Images <br />
Java Code
The Commerce Cloud storefront extension framework provides a set of resources, templates and libraries that support the implementation of custom client-side store extensions. <br />What are two aspects of this framework? (Choose two.) <br />
JavaScript code which provides client-side page logic <br /><br />
Commerce Cloud delivered libraries with resources that support client-side development <br />
Integrated development environment for Commerce Cloud <br />
Code management repository tools
Consider the following code snippet from the config.json file for a custom payment gateway extension’s properties: <br /><br />"properties":[<br />{<br />"id":"paymentMethodType", "type": "multiSelectOptionType","name":"paymentMethodTypes","required":false,"helpTextResourceId":"paymentMethodHelpText","labelResourceId":"paymentMethodsHelpText","defaultValue":"generic","displayAsCheckboxes":true;"options":[ {<br />"id":"generic",<br />"value";"generic",<br />"labelResourceId":"genericLabel"<br />},<br />]<br />}<br />]<br /><br />Which two statements describe the paymentMethodsTypes property configuration? (Choose two.)
The generic option will appear as a checkbox in the Administration UI <br /><br />
The default value is set to generic, which means that option will be selected in the Administration UI <br />
Other paymentMethodTypes options defined in the gateway.json file will appear in the Administration UI, even though not explicitly defined in config.json<br />
The property is public by default and can be used in a custom widget
What are two use cases for fragmenting widgets into elements? (Choose two.)
. Reduce the page load times and improve performance <br /><br />
Allow greater control over the position of widget functionally on the storefront <br />
Improve reusability and extensibility of widget code <br />
Separate the HTML display template and JavaScript files
A storefront developer has just logged into the Commerce Cloud Administration UI and selects the Design page to begin configuring layouts and components for their account-based implementation. <br />What two key concepts must they understand? (Choose two.) <br />
A B2B Storefront implementation can include B2B-specific widgets as well as standard widgets that support both B2B and B2C implementations. <br /><br />
Out-of-the-box B2B-specific storefront layouts and associated components must be used for the account-based implementation and cannot be customized. <br />
“Display layout to account shoppers only” must be selected in the layout settings in order to restrict the layout to account-based shoppers only. <br />.
A B2B storefront implementation can only support one site per Account
What are two use cases for employing widget configuration settings? (Choose two.)
to expose parameters that may vary between widget instances <br /><br />
to provide an increased level of merchandiser control over widget behavior and display <br />
to determine whether a widget can be placed on a layout <br />
to provide links to 3rd party JavaScript libraries
What are two examples of existing functionality provided with Commerce Cloud custom bindings? (Choose two.)
display product images <br /> <br />
save local data to disk <br />
connect to source control repositories <br />
format date and numbers <br />
publish messages to other websites
For account-based commerce, the checkout layout can contain B2B-specific widgets that support accounts as well as general B2C widgets. <br />At a minimum, which two widget instances should be included on a B2B Checkout layout? (Choose two.) <br />
Payment Methods widget instance <br /><br />
Promotions widget instance <br />
Order Details widget instance <br />
Purchase List widget instance <br />
Account-Address Selector widget instance
A company has multiple country stores and wants the collection page URL to reflect the language and format specific to the country store. For the site configured with French as the default language, the URL should appear in the following example format: /femmes/chemises/cat1234, where Chemises is the name of the collection, its ID is cat1234, and the Chemises collection appears under the Femmes collection. <br />What are two of the steps they need to do to accomplish this? (Choose two.) <br />
On the URL Patterns tab of the Setup menu, change the value for the collection page to / {parentCategory}/categorie/{id} <br /> <br />
For each separate site configured with the French language, update settings to use the new URL patterns <br />
In the Administration UI, click the Content Language icon and select French as the language. <br />
On the URL Patterns tab of the Setup menu, change the value for the collection page to / {parentCategory}/{seoUrlSlugDerived}/{id}
When working with the agent REST APIs, the site context is important. What are two ways the site context can be set? (Choose two.)
siteId property in the JSON request and response <br /><br />
the webhook’s siteId property setting <br />
site request header, such as {“X-CCSite” : “siteA”} <br />
query parameter, such as POST /ccagent/v1/orders?siteId=siteA
What are two operational parameters that are configurable by merchants in the Commerce Cloud Administration UI? (Choose two.)
SSO configuration <br /><br />
URL patterns for products and collections <br />
Tax processor <br />
Site enablement
Which two describe the assets contained in a storefront extension .zip archive? (Choose two.)
the defined format of expected JSON request and response payloads <br /><br />
a hierarchy of folders and files that are specific to the extension type <br />
language translation resources for each language used on the storefront <br />
configurations for function and event webhooks related to the extension
Given the configuration:<br /><br /> Site Name Catalog DefLangua<br />Cloud US (def) US cata Engl<br />Cloud Mexico Mex cata Span<br /><br /><br />US Catalog and Mexican Catalog share some of the products. <br />Which two methods enable a merchandiser to enter Spanish translations in the products? (Choose two.) <br />
Import the translations by setting LOCALE=es in the CSV import file <br />
Select the site on the Catalog page and edit the products that need Spanish translations <br /> <br />
Select Spanish from the Content Language drop-down and create new products with Spanish entries in the relevant fields <br />
Select Spanish from the Content Language drop-down and edit the products that need Spanish translations
You want a contact with an associated storefront role of Administrator to be able to manage contact registration requests for their account. <br />What two configuration steps are necessary to implement this functionality? (Choose two.) <br />
Add the Contact Login with Self Registration element to support B2B Contact Registration Requests in the Header Widget instance <br /><br />
Ensure that generated emails for registration requests are enabled to allow the administrator to accept or reject the request directly from the email <br />
Ensure that the Profile Navigation – Account Shoppers widget instance supports Registration Requests on My Account for storefront administrators<br />
Configure the Contact Registration Requests widget settings to specify the storefront role of admin
A storefront developer is configuring page layouts of type Shopper Profile for a B2B storefront implementation. <br />Which two items must be considered when configuring the Profile Navigation – Account Shoppers widget instance on each layout? (Choose two.) <br />
On the My Account page, account contacts will always see all options defined in the Profile Navigation – Account Shoppers widget instance <br /><br />
If displayed using a vertical orientation, the Profile Navigation – Account Shoppers widget instance should be configured to take up the same number of columns on each layout <br />
Each entry in the Profile Navigation – Account Shoppers widget instance settings can only have one corresponding layout specified by the URL<br />
Each Shopper Profile layout should contain a shared Profile Navigation – Account Shoppers widget instance
Which two are required to communicate with an Order Management System (OMS) Integration Service when integrating with an OMS from Commerce Cloud? (Choose two.)
Shopper Profile Update event webhook <br /> <br />
Order Submit event webhook <br />
Admin Orders REST API <br />
Custom order management widget
