Salesforce Certified B2C Commerce Developer Practice Test - Questions Answers, Page 8
List of questions
Related questions
A developer needs to share their sandbox data with a colleague working on the same realm. What is the best practice to share data between two environments?
A developer is given a task to implement a new Page Designer layout component that doesn't accept certain asset components.
How should the developer achieve the above task?
Given a file in a plug-in cartridge with the following code:
What does this code extend?
Given the customer basket described below:
A customer has an existing basket that consists of multiple items.
One of the items is identified as a gift item by an attribute at the product line item.
The developer needs to write custom code to fetch the customer basket and then modify the basket based upon the items in the cart. If the basket contains any gift items, modify the basket and create a separate shipment for the gift item.
Four hooks are required to make the modification, beginning with modifyGETResponse and ending with validateBasket.
A merchant reports that a particular landing page loads slowly. As a result, there is a significantly higher visitor departure rate in the analytics that appears to correlate with this. They anticipate this will impact revenues and want to resolve as soon as possible.
In order to diagnose and remedy this, the merchant asks their developer to investigate caching settings on the page in an attempt to determine the root cause.
How can the developer quickly inspect the page components to understand the caching?
A client sells its product in single-brand stores as well as in multi-brand stores. When shown in the store locator list, the client wants the single-brand stores to have a particular background color to highlight them.
Which Business Manager action should be completed to allow the developer to apply different styling to the single-brand stores?
Given a template rendered by a controller with caching and a remote include without caching, which situation applies?
A client that sells to multiple countries in Europe needs to disable Apple Pay for Denmark.
Which Business Manager module is used to achieve this requirement?
A developer uses the call() instance method of dw.svc.Service to invoke a web service and implemented the callback methods defined by the dw.svc.ServiceCallback class.
Which callback method is required only when invoking a SOAP service?
The following code performs poorly in the storefront.
Considering best practices, what is the main problem with this code?
Question