Salesforce Certified B2C Commerce Developer Practice Test - Questions Answers, Page 13

List of questions
Question 121

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?
Question 122

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

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

What are two appropriate uses of the <isif> ISML tag that follow B2C Commerce and SFRA best practices? (Choose two.)
Question 125

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?
Question 126

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

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

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

A developer receives a product image that needs to be uploaded to the catalog.
What should the developer use to upload this image?
Question 130

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?
Question