Salesforce Certified B2C Commerce Developer Practice Test - Questions Answers, Page 13
List of questions
Question 121
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
In order to build the SFRA code to a developer sandbox for the first time, which build steps should the developer perform for the site to appear and function as designed?
Explanation:
Reference: https://trailhead.salesforce.com/content/learn/modules/b2c-page-designer-developers/b2c-page-designer-set-up-dev-environment
Question 122
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
A developer cannot create a custom object in Business Manager because the attributes do not show. The developer can view the object but not the attributes.
Which action should the developer take to resolve the problem?
Question 123
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
There are three logging categories: category1, category1.eu, and category1.us.
In Business Manager, category1 is enabled for WARN level and no other categories are configured. All custom log targets are enabled.
The code segment below executes
var logger = Logger.getLogger("loggerFile", "category1.eu" );
logger.warn("This is a log message");
What is the result?
Question 124
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
What are two appropriate uses of the <isif> ISML tag that follow B2C Commerce and SFRA best practices? (Choose two.)
Explanation:
Reference: https://support.intershop.com/kb/index.php/Display/247F41
Question 125
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
When looking at Custom Object instances for a site, a merchant notices that the creation date is not showing up on the instances in Business Manager.
Where should the developer add this attribute to the Custom Object so it is visible for the merchant to see in Business Manager?
Explanation:
Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC3/index.jsp?topic=%2Fcom.demandware.dochelp%2FScriptProgramming%2FCreatingCustomBusinessObjectsInstance.html
Question 126
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
Given the requirements:
To show the washing instructions for a clothing product on a dedicated section the detail page
Washing instructions come from the product information manager (PIM) To have this attribute available to localize in the Storefront
Which action meets these requirements?
Question 127
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
Refer to this example snippet of an ISML template:
<h2>Welcome back, ${pdict.username}.</h2>
The "pdict.username" variable does not print correctly when used in a similar template.
Assuming that the variable is correct in the Controller's "viewData", how should a developer temporarily modify their code to use a debugger and troubleshoot the issue in the template?
Question 128
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
A developer is given the requirement to add a step to the existing business logic of the registration process.
How should the developer modify the route that handles the customer registration?
Question 129
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
A developer receives a product image that needs to be uploaded to the catalog.
What should the developer use to upload this image?
Explanation:
Reference: https://trailhead.salesforce.com/en/content/learn/modules/b2c-import-export/b2c-configure-import-export
Question 130
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
A developer is asked to create a controller endpoint that will be used in a client-side AJAX request. Its purpose is to display updated information to the user when the request is completed, without otherwise modifying the appearance of the current page.
According to SFRA practices, which method best supports this objective?
Explanation:
Reference: https://www.beeit.rs/blog/getting-started-with-controllers-models-and-decorators-sfcc
Question