LatestB2C Certification Reference

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

SFRA Based Questions

1. SFRA syntax for next() call, questions were like

 The controller failed to execute write down the missing function --> next()
 How to extend the existing controller in the new SFRA cartridge using the base SFRA site
controller

2. Following link covers most of the concepts where questions were focused on:

https://documentation.b2c.commercecloud.salesforce.com/DOC2/index.jsp?topic=
%2Fcom.demandware.dochelp%2FSFRA%2FCustomizingControllersAndRoutes.html&resultof=
%22%53%46%52%41%22%20%22%73%66%72%61%22%20

3. Below is the video for SFRA for reference:

http://salesforce.vidyard.com/watch/fVzzSXddHXwvcCfeRVvcoX

4. Refer for SFRA site- setup:

https://documentation.b2c.commercecloud.salesforce.com/DOC2/index.jsp?topic=
%2Fcom.demandware.dochelp%2FSFRA%2FBuildingSFRA.html&resultof=
%22%53%46%52%41%22%20%22%73%66%72%61%22%20

5. SFRA module loading – reference:

https://documentation.b2c.commercecloud.salesforce.com/DOC2/index.jsp?topic=
%2Fcom.demandware.dochelp%2FSFRA%2FModuleLookup.html&resultof=
%22%53%46%52%41%22%20%22%73%66%72%61%22%20

6. Other questions were focused on SFRA best practices like template rendering, how to use models to
render view.

7. Questions on custom logging as per DiD guide:

Custom logging for a category was given, then a subcategory was given and the ask was to print the log
output Ex - getLogger('x') with info level log, select the log file output getLogger('x.y')
8. Multiple choice questions with reference to the checkout flow with various options of logging were
given which were correct syntactically, but in 2 of the options they were trying to print PII data in the
logs. So choose the options accordingly.

9. Taxation: A scenario where initial requirement of taxation which was "Net" was changed to "Gross".

10. Search Refinement: Given a business requirement, create and configure a new search refinement.

11. Question on attribute grouping and why is it important?

12. OCAPI:

OCAPI Hooks - 4 hooks were given with 2 being asterisked, Ask was to fill the 2 empty positions with
correct hooks from the options given.

Use case - Update the basket with the adjusted price of the cart after applying the gift card.

13. Catalog Questions: Given a scenario to provide unlimited gift vouchers to redeem, how will you set
that voucher in BM accordingly?

14. Code reusability using ISML: decorator and replace tags.

15. Service Framework questions

16. Hooks: hooks.json path in package.json

You might also like