Get ready to pass the B2C-Commerce-Developer Exam right now using our Salesforce Developers Exam Package
A fully updated 2023 B2C-Commerce-Developer Exam Dumps exam guide from training expert TestkingPass
The Prerequisites of Salesforce B2C-Commerce-Developer: Salesforce Accredited B2C Commerce Developer Exam
The Salesforce-certified technical solutions designer is B2C-certified and usually has over five years' expertise in e-commerce. The designer of B2C commercial technological solutions also has the following experience:
- Architectural design assistance for one or more full cycle B2C trade implementations, one of which is a completely new project following the SRA process (observation or as co-leader)
- At least three years of experience in B2C commercial development.
- Ability to work with clients to guide them and recommend changes in their business processes. This exam requires you to have a current Salesforce Certified B2C Commerce Developer credential.
- Complete at least three major implementations as a B2C commercial developer
Duration, language, and format of Salesforce B2C-Commerce-Developer: Salesforce Accredited B2C Commerce Developer Exam
- Number of Questions: 60
- Language: English
- Format: Multiple choices, multiple answers
- Passing score: 70%
- Length of examination: 105 mins
NEW QUESTION 119
A Digital Developer needs to add logging to the following code:
Which statement logs the HTTP status code to a debug-level custom log file?
- A. logger.debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
- B. logger.getLogger('profile').debug("Error retrieving profile email, Status Code: ", http.statusCode);
- C. Logger.getLogger('profile').debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
- D. Logger.getLogger().debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
Answer: A
NEW QUESTION 120
Universal Containers is preparing their storefront to use Open Commerce APIs (OCAPI).
To which hook should the Digital Developer move taxation logic to ensure consistent order totals within B2C Commerce?
- A. dw.ocapi.shop.order.afterPOST
- B. dw.ocapi.shop.basket.afterPostShipment
- C. dw.ocapi.shop.basket.calculate
- D. dw.ocapi.shop.order.validateOrder
Answer: C
NEW QUESTION 121
Which three techniques improve client-side performance in production while following documented best practices? (Choose three.)
- A. Place CSS outside of templates.
- B. Use one style sheet for each ISML decorator template.
- C. Compress CSS.
- D. Combine several images into a single image.
- E. Use inline Javascript.
Answer: B,C,E
NEW QUESTION 122
A Digital Developer needs to add a new form to the shopping cart page to allow customers to enter their rewards pass ID. There is already an existing cart.js controller that handles processing of the other cart forms.
In addition, a form field node is in the form XML and the necessary form input is present in the ISML template.
The code below is the submit button for the ISML markup.
What additional steps must occur before the Digital Developer can begin writing the processing code for this request?
- A. * Add the attribute addtl-fonn-action^'addRewardPaas"1 to the ISML form
* Add the key addRewardPass, with a processing function as a value, to the object passed to the Form.handleActionO method in the cart.3s controller - B. * Add an <action /> node to the form definition XML with the attribute formid=''addRewardFaas"
* Add the key addRewardPass, with a processing function as a value, to the object passed to the Form.handleActionO method in the Cart .j* controller - C. * Add a <submit /> node to the form definition XML with the attribute formid=''addRewardPas3"
* Add the key addRewardPasa, with a processing function as a value, to the object passed to the Form.handleActionO method in the Cart.ja controller - D. * Add an action /> node to the form definition XML with the attribute formid="addRewardFa3s"
* No change to cart.3a controller required
Answer: B
NEW QUESTION 123
A developer is implementing new Page Designer content on a merchant's Storefront and adds the line below to
What does this achieve?
- A. Prevents Page Designer pages and components from being searchable.
- B. Filters Page Designer search results into separate page and component folders.
- C. Enables searching to find Page Designer content assets that are not in folders.
- D. Extends the ConrencSearchModei to allow the folder filter.
Answer: C
NEW QUESTION 124
A client has a requirement to allow users on the Storefornt to filter by a newly created attribute.
Which is necessary to achieve this?
- A. Set the attribute as Searchable.
- B. Change the productseachrefinerbar.iml template
- C. Add a new Search Refinment Definition.
Answer: A
NEW QUESTION 125
A Digital Developer wants pass control to an ISML template from a JavaScript Controller and load product on the pipeline dictionary with the name myProduct.
Which code sample will achieve this?
- A. ISML.renderTemplate( "helloworld.isml", { product: myProduct });
- B. ISML.renderTemplate{ "helloworld.isml", { "product": myPrcduct });
- C. ISML.renderTemplate( "helloworld.isml", { "myProduct": "product" });
- D. ISML.renderTemplate{ "helloworld.isml", { myProduct: product });
Answer: D
NEW QUESTION 126
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.custom.sellable
- C. prod.persistable.sellable
- D. prod.sellable
Answer: D
NEW QUESTION 127
A developer has a requirement to display a banner in two different category pages.
Which snippet of code should the developer add to a template to allow the merchant to configure each independently?
A)
B)
C)
- A. Option B
- B. Option A
- C. Option C
Answer: A
NEW QUESTION 128
A Digital Developer has detected storefront pages being rendered with an error message. After inspecting the log files, the Developer discovered that an enforced quota is being exceeded.
What action should the Developer take to stop the quota violation?
- A. Change the Business Manager configuration for the quota settings.
- B. Take no action, the overage will be resolved when concurrent visitors are reduced.
- C. Rewrite the code that is causing the overage.
- D. Ask support to remove the quota limit.
Answer: A
Explanation:
Explanation/Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC1/index.jsp?topic=%
2Fcom.demandware.dochelp%2FDWAPI%2Fquota%2Fhtml%2Findex.html
NEW QUESTION 129
Which two methods are efficient and scalable? (Choose two.)
- A. ProductMgr.queryAllSiteProducts()
- B. Category.getProducts()
- C. ProductSearchHit.getRepresentedProducts()
- D. ProductSearchModel.getProductSearchHits()
Answer: B,D
NEW QUESTION 130
Given the sandbox with:
* Service configured and assigned to its profile and credential
* A code version that uses that service
And given the requirement to limit the number of success or error calls the code can perform to a restricted number of calls per second.
Which configuration should the developer perform?
- A. Set the rate limiter in the service profile and configure its values with the ones required.
- B. Set a new quota limit for the service profile and assign the service to it.
- C. Set the service as limited and change the services profile site preferences with the required values.
Answer: A
NEW QUESTION 131
Universal Containers wants to associate a region code value with an order to indicate the general area of its destination. This region code must be accessible whenever the order history is displayed.
What is required to accomplish this?
- A. Define a custom attribute on the Order system object type to store the region code value.
- B. Define a custom object type to store the username with the region code.
- C. Store the region code value in the geolocation system attribute of the Order.
- D. Store the region code value in a session variable.
Answer: A
NEW QUESTION 132
A Digital Developer adds the following line of code to a script.
The code executes without error; however, the log file on disk does NOT contain the log message.
Which two actions should be completed to write the log message to disk? (Choose two.)
- A. Ensure that the "login" category is added to the Custom Log Filters in the Log Settings Business Manager module.
- B. Ensure that the debug log level is enabled to write to file in the Custom Log Settings Business Manager module.
- C. Ensure that the debug log level has been added to the custom log level types in the Global Preferences business manager module.
- D. Archive old log files to make room in the log directory.
Answer: C,D
NEW QUESTION 133
Given the customer basket described below:
* A customer has an existing basket that consists of multiple items.
* One of the items is identified as a gift ítem by an attribute at the product line ítem.
The developer needs to write custom code to fetch the customer basket and then modify the basket based upon the items in the cart. If the basket contains any gift items, modify the basket and create a separate shipment for the gift item.
Four hooks are required to make the modification, beginning with modifyGETRespone and ending with validatebasket.
* Dw.ocapi.shop.basket.modifyGETResponse
* -- missing hook -
* -- missing hook --
* dw.ocapi.shop.basket.validateBasket
What are the two missing hooks in the middle?
- A. dw.ocapi.shop.basket.shipment.beforePATCH
- B. dw.ocapi.shop.basket.shipment.afterDELETE
- C. dw.ocapi.shop.basket.shipment.beforeDELETE
- D. dw.ocapi.shop.baskep.shopment.beforePOST
Answer: A,D
Explanation:
Estos indican antes de actualizar y antes de introducir
NEW QUESTION 134
Which three object types can a developer import using the Merchant Tools > Content > Import & Export module in Business Manager? (Choose three.)
- A. Content assets
- B. Content slots
- C. Products
- D. Folders
- E. Images and other static assets
Answer: B,C,D
NEW QUESTION 135
A Digital Developer is working on a multi-site realm. A new site requires a differentlayout for the account landing page. The business logic and data model remain the same. The existing code is in AccountControl.js and accountlanding.isml in the app_storefront cartridge. The app_storefront cartridge contains code for all other business functions. The cartridge path for the new site is currently int_cybersource:int_paypal:app_storefront.
The Developer creates a new cartridge named app_newsite that contains only the accountlanding.isml template for the new site.
Which modification should bemade to the new cartridge path?
- A. Set the cartridge path so that app_newsite is before app_storefront.
- B. Set the cartridgepath so that app_newsite is after app_storefront.
- C. Set the cartridge path so that app_storefront is before int_cybersource.
- D. Set the cartridge path to include only app_newsite.
Answer: C
NEW QUESTION 136
A developer has a requirement to add a new field to the IN registration from that must not appear in the US one.
Which path should be created to accomplish this requirement?
- A. cartridge/forms/en_IN/profile.xml
- B. cartridge/forms/profrfe_en_IN.xml
- C. cartridge/forms/profde.in. xml
Answer: A
NEW QUESTION 137
There is a business requirement to allow a third-party warehouse management system to update the MySampte.com storefront product inventory in real time. The architect decided that this is most easily accomplished by using the Open Commerce API (OCAPI). The developer needs to test the OCAPI settings m their sandbox. Assume the client ID for testing is "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'. What B the correct GCAPI setting for this?
A)
- A. Option A
Answer: A
NEW QUESTION 138
A developer uses hooks for an extension point. Which n true for running multiple hooks for an extension point?
- A. It is possible to control the order in which registered modules are called.
- B. If you call multiple modules, only the first hook called returns a value
- C. It is possible to register multiple modules to call for an extension point in a single hooks.json file
Answer: A
NEW QUESTION 139
A developer has a sandbox with code to log a message during execution, and the following code:
After the code executes the developer does not see any log file with the message in the WebDEV folder.
Which two XML files should the developer import using the using-specific Merchant Tools import modules?
- A. Promotions and Site jobs
- B. Search settings and Site Jobs
- C. Search settings and Promotion
Answer: C
NEW QUESTION 140
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. Change the global setting,"Enable Taxation Methods" to true, then change the Taxation setting to Gross
- B. Unlock the site preferences and then change the Taxation setting to Gross
- C. Make sure that the developer has "Administrator" Access, then change the Taxation setting to Gross
- D. Create a new site with Taxation set to Gross, then delete the old site.

Answer: D
NEW QUESTION 141
Given the following conditions:
* Site export file with a copy of the Storefront data for a custom site
* Sandbox with the custom site code, but no Storefront data
* Requirement for a working copy of SFRA for development reference
A developer is assigned the following Business manager tasks:
* A. Import the custom Site using Site Import/Export
* B. Import the SFRA Demo Sites using Site Import/Export
* C. Rebuild the custom Site search indexes
In what sequence should the developer perform the tasks, so that the custom Site displays the products as intended?
- A. Task B, then C, then A
- B. Task A, then C, then B
- C. Task A, then B, then C
- D. Task B, then A, then C
Answer: D
NEW QUESTION 142
......
Master 2023 Latest The Questions Salesforce Developers and Pass B2C-Commerce-Developer Real Exam!: https://evedumps.testkingpass.com/B2C-Commerce-Developer-testking-dumps.html