B2C-Commerce-Developer Exam Questions

Total 223 Questions


Last Updated On : 16-Jan-2025

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?


A.

npm run compile:js, npm run compile:html, npm run clean


B.

npm run compile:scss, npm run compile:html, npm run clean


C.

npm run compile:js, npm run compile: scss, npm run compile:html


D.

npm run compile:js, npm run compile:scss, npm run compile:fonts





D.
  

npm run compile:js, npm run compile:scss, npm run compile:fonts



A developer has a specification to integrate with a REST API for retrieving traffic conditions. The service
expects parameters to be form encoded.
Which service type should the developer register?


A.

HTML Form


B.

SOAP Form


C.

POST Form


D.

HTTP Form





A.
  

HTML Form



A merchant requires that an existing section of the Site become editable from the Business Manager, so
that they can modify it independently of the developer.
Which of these is an important factor for a developer to consider when choosing the appropriate solution
between a content slot and a Page Designer component?


A.

Only Page Designer Components can be localized for different languages.


B.

Only content slot configurations can be tied to campaigns.


C.

Only page Designer components can ve tied to campaigns.


D.

Only content slot configurations can ve localized for different languages





A.
  

Only Page Designer Components can be localized for different languages.



A developer is asked to write a log containing the ID and name of the product with a variable named
myProduct. Which snippet of code should be used?


A.

Logger.warn(‘The current producto is {0} with name {1}’, myProduct.getID(), myProduct.getName());


B.

Logger.warn(‘The current producto is {0} with name {1}’), context(myProduct.getID(),
myProduct.getName());


C.

Logger.warn(‘The current producto is ${myProduct.getID()} with name ${myProduct.getName()}’);


D.

Logger.warn(‘The current producto is %s with name %s’), context(myProduct.getID(),
myProduct.getName());





A.
  

Logger.warn(‘The current producto is {0} with name {1}’, myProduct.getID(), myProduct.getName());



A developer wants to create in Business Manager extension with the cartridge named
plugin_vm_extension.
Which two steps should the developer take for the extension option to show up in Business Manager?Choose 2 answers:


A.

Add plugin_bm_extension to the cartridge path under business manager cartridge site


B.

Add the appropiate roles and permission to the user to view the business manager extension.


C.

Add plugin_bm_extension to the cartridge path under Storefront cartridge site path.


D.

Activate a new code version for the Business Manager Site.





A.
  

Add plugin_bm_extension to the cartridge path under business manager cartridge site



D.
  

Activate a new code version for the Business Manager Site.



A Storefront is designed so that multiple pages share a common header and footer layout.
Which ISML tag should a developer use on the templates for these pages to avoid code repetition in the most effective way?


A.

<isdecorate> … </isdecorate>


B.

<iscontent> … </iscontent>


C.

<isreplace> … </isreplace>


D.

<isinclude> … </isinclude>





A.
  

<isdecorate> … </isdecorate>



A client wants to differentiate their monobrand stores with a special icon when shown in the store
locator. The information is saved in a true/false custom attribute for each Store object in Merchant tools. How should the developer follow SFRA best practices to expose this data for rendering?


A.

Extend the existing Stores_Find controller with a new middleware function that performs the query


B.

Pass the Store system object to the template, so that custom propierties are available


C.

Ad dan <isscript> to the template, and call StoreMgr.searchStoresByCoordinates();


D.

Use the module.superModule functionality and the call method to add a new property to the Store
Model.





D.
  

Use the module.superModule functionality and the call method to add a new property to the Store
Model.



A Digital Developer extends a system object, Product, and adds a Boolean attribute, “sellable,” to it.
Assuming “prod” is the variable name handling the product, what code can the Developer use to access it?


A.

prod.extended.sellable


B.

prod.sellable


C.

prod.persistable.sellable


D.

prod.custom.sellable





D.
  

prod.custom.sellable



Which two items are appropriate content of custom logs implemented at checkout?
Choose 2 answers:


A.

Customer’s password at post-checkout sign up


B.

Order failure information


C.

Transaction’s credit card information


D.

Payment gateway service response code





B.
  

Order failure information



D.
  

Payment gateway service response code



A developer set up a new site with Taxation: Net. However, the business requirements changed and the site now needs to be Taxation:Gross. The Business Manager interface does not give this option.
Which sequence of steps is necessary to change the site to gross taxation?


A.

Make sure that the developer has “Administrator” Access, then change the Taxation
setting to Gross


B.

Unlock the site preferences and then change the Taxation setting to Gross


C.

Change the global setting,”Enable Taxation Methods” to true, then change the Taxation
setting to Gross


D.

Create a new site with Taxation set to Gross, then delete the old site.





D.
  

Create a new site with Taxation set to Gross, then delete the old site.




Page 9 out of 23 Pages
Previous