ExamGecko
Home Home / Salesforce / Certified B2C Commerce Developer

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

Question list
Search
Search

List of questions

Search

Related questions











A controller route in the SFRA base looks as follows:

In order to extend this route using prepared ( ), what should the developer consider?

A.
Specify any middleware functions needed for the new functionality.
A.
Specify any middleware functions needed for the new functionality.
Answers
B.
Specify any middleware functions needed for the new functionality using only those called by the base route.
B.
Specify any middleware functions needed for the new functionality using only those called by the base route.
Answers
C.
Remove next ( ); on the new route so only the route's middleware functions execute.
C.
Remove next ( ); on the new route so only the route's middleware functions execute.
Answers
Suggested answer: B

In the SFRA Page controller, the following route exists:

The result of navigating to the address below is an error page.

What is the correct way to use this controller route in an ISML template?

A.
A.
Answers
B.
B.
Answers
C.
C.
Answers
Suggested answer: C

The developer wants to be able to view DEBUG The developer wants to be able to view DEBUG level messages for myLogCategory in the Request Log tool. Given the custom log configurations in the image above, what does the developer need to do to accomplish this?

A.
Change the Log Level for myLogCategory to DEBUG.
A.
Change the Log Level for myLogCategory to DEBUG.
Answers
B.
Check the DEBUG box in the Log Files section.
B.
Check the DEBUG box in the Log Files section.
Answers
C.
Change the Log Level for myLogCategory to DEBUG and check the DEBUG box in the Log Files section.
C.
Change the Log Level for myLogCategory to DEBUG and check the DEBUG box in the Log Files section.
Answers
Suggested answer: C

A developer is is configuring Shipping Methods on a storefront. Which of the following considerations must be kept in mind while configuring shipping methods.

A.
You can exclude products that can't be shipped with a particular shipping method
A.
You can exclude products that can't be shipped with a particular shipping method
Answers
B.
You can't exclude addresses that aren't used by a particular shipping method
B.
You can't exclude addresses that aren't used by a particular shipping method
Answers
C.
You can't define surcharge shipping costs for specific product groups.
C.
You can't define surcharge shipping costs for specific product groups.
Answers
Suggested answer: C

Given the requirement to add caching to an existing page while adhering to SFRA best practices, which code snippet should be used?

A.
A.
Answers
B.
B.
Answers
C.
C.
Answers
Suggested answer: C

A developer is implementing new Page Designer content on a merchant's Storefront and adds the line shown below to the setupCsntentSearch function in the searchHelpers.Js file.

What does this achieve?

A.
Allows Page Designer pages and components to be searchable
A.
Allows Page Designer pages and components to be searchable
Answers
B.
Prevents Page Designer pages from being searchable
B.
Prevents Page Designer pages from being searchable
Answers
C.
Allows filtering Page Designer pages by folder
C.
Allows filtering Page Designer pages by folder
Answers
Suggested answer: A

Given a sandbox with an active slot configuration with the following specifications:

• Content type set to product

• With some product configured

• With the following rendering template: slots/product/product_1x2 isml

• Correctly enabled and scheduled

And given the code contained in the selected rendering template:

Is an additional action needed for this to work as intended?

A.
No - The content slot is rendered correctly.
A.
No - The content slot is rendered correctly.
Answers
B.
Yes - The isloop should be removed because no loops are allowed in a content slot rendering template.
B.
Yes - The isloop should be removed because no loops are allowed in a content slot rendering template.
Answers
C.
Yes - The content needs to be configured with a recommender to display products.
C.
Yes - The content needs to be configured with a recommender to display products.
Answers
Suggested answer: B

A client sells its products in North America, Europe, and Asia, and has a B2C Commerce Site for each of these markets. The client receives three area-specific snippets of analytics code by a third-party provider to insert in the sites.

How should the developer configure an instance to allow the merchant to independently insert and update these snippets?

A.
Create a new "HTML" attribute in the SitePreference object type.
A.
Create a new "HTML" attribute in the SitePreference object type.
Answers
B.
Use ISML conditional tags to add the snippet into the codebase.
B.
Use ISML conditional tags to add the snippet into the codebase.
Answers
C.
Configure a new Service Profile with the provided snippet of code.
C.
Configure a new Service Profile with the provided snippet of code.
Answers
Suggested answer: A

Reference the following code snippets that allow a form to function correctly.

Which code should a developer insert at the EXPRESSION placeholder m the ISML template snippet above to have the form work as expected?

A.
pdict.newslettersFrom
A.
pdict.newslettersFrom
Answers
B.
Pdict, newsletter
B.
Pdict, newsletter
Answers
C.
sowslettersform
C.
sowslettersform
Answers
Suggested answer: A

Explanation:


Total 209 questions
Go to page: of 21