[Jan 25, 2022] B2C-Commerce-Developer Exam Dumps PDF Guaranteed Success with Accurate & Updated Questions
Pass B2C-Commerce-Developer Exam - Real Test Engine PDF with 115 Questions
Salesforce B2C-Commerce-Developer Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
| Topic 4 |
|
| Topic 5 |
|
| Topic 6 |
|
| Topic 7 |
|
| Topic 8 |
|
| Topic 9 |
|
| Topic 10 |
|
| Topic 11 |
|
| Topic 12 |
|
| Topic 13 |
|
| Topic 14 |
|
| Topic 15 |
|
| Topic 16 |
|
| Topic 17 |
|
| Topic 18 |
|
| Topic 19 |
|
| Topic 20 |
|
NEW QUESTION 54
Which three operations should be done in a controller?
Choose 3 answers
- A. Create a plain JavaScript object representing a system object
- B. Use middleware functions when applicable
- C. Generate the response as JSON or HTML
- D. Use the model needed for the view.
- E. Use the Script API to generate data for the view.
Answer: B,C,D
NEW QUESTION 55
Below is a form definition snippet from the newsletter.xml file:
<?xml version="1.0"?>
<form
xmlns=http://www.demandware.com/xml/form/2008-04-15
>
<field formid="email" lavel="Email" type="String" mandatory="True" max-length="50" />
</form>
Which line of code creates a JSON object to contain the form data?
- A. Server.forms.getForm('newsletter');
- B. Server.forms.getForm('dwfrm_newsletter')
En el controller:
En el Formulario: - C. Server.form.getForm('newsletter');
- D. Server.form.getForm('dwfrm_newsletter')
Answer: A
NEW QUESTION 56
Given the requirement to add caching to an existing page while adhering to SFRA best practices, which code snippet should be used?
- A. //code
}).applyDefaultCache();
<iscache type="relative" hour="24"/> - B. server.get('Show', function (req, res, next) {
- C. server.get('Show', cache.applyDefaultCache, function (req, res, next) {
- D. // code
});
<iscache varyby="price_promotion" type="relative" status="on"/>
Answer: C
Explanation:
Explanation/Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC1/index.jsp?topic=%
2Fcom.demandware.dochelp%2Fsfrajsdoc%2Fjs%2Fserver%
2Fapp_storefront_base_cartridge_controllers_Page.js.html
NEW QUESTION 57
What happens if the log file size limit is reached in custom logging?
- A. Logging is suspended for two hours.
- B. The log file rolls over and the last used log is overwritten.
- C. The log file is deleted and recreated from scratch.
- D. Logging is suspended for the day.
Answer: D
NEW QUESTION 58
Universal Containers calls the following combination of products "The Basics" and sells the combination as a unique product ID:
* One Model 103 container
* Five Model 611 container
* Tree Model 201 container
The Developer created these three products in the catalog.
What is the next step in Business Manager to create "The Basics" as a combination?
- A. In the Product Sets module, create a product set named "The Basics".
- B. In the Product Bundles module, create a bundle named "The Basics".
- C. In the Products module, create a product named "The Basics" and add the products to the Product Sets tab.
- D. In the Products module, create a product named "The Basics" and add the products to the Product Bundles tab.
Answer: D
Explanation:
Explanation/Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC1/index.jsp?topic=%
2Fcom.demandware.dochelp%2FPromotions%2FCreatingProductPromotionRules.html
NEW QUESTION 59
Given a customer environment configured with only the en_CA locale and the following new requirements:
* To add a new locale for fr_CA
* To localize the address form with the new locale
* To make the localization usable even for new possible French locales, such as fr_FR And given the portion of form XML definition contained in the form file cartridge/forms/default/ address.xml:
What is the right place to add the fr_CA translation for the country field label?
- A. /cartridge/forms/resources/address_fr.properties
- B. /cartridge/templates/resources/forms_fr.properties
- C. /cartridge/templates/resources/fr/forms.properties
- D. /cartridge/templates/resources/address_fr_CA.properties
Answer: D
Explanation:
Explanation/Reference:
NEW QUESTION 60
A Digital Developer must give users the ability to choose an occasion (holiday, birthday, anniversary, etc.) for which gifts are currently being selected. The data needs to be persistent throughout the current shopping experience.
Which data store variable is appropriate, assuming there is no need to store the selection in any system or custom objects?
- A. Request scope variable
- B. Session scope variable
- C. Content slot variable
- D. Page scope variable
Answer: B
NEW QUESTION 61
Universal Containers requires that a new order comments attribute is added to the existing SiteGenesis checkout flow. This new attribute needs to be included as part of the standard order export.
Aside from updating the HTML markup and form definition, which option contains all necessary steps to achieve this task?
- A. * Create a new custom object type for order comments that contains the attributes: order ID and comments.
* Modify the "COPlaceOrder" controller to create a new order comments custom object upon order completion. - B. * Add the new attribute to the "Order" system object.
* Modify the "COPlaceOrder" controller to add this new attribute to the current session's "Order" object. - C. * Add the new attribute to the "Customer" system object.
* Modify the "COPlaceOrder" controller to add this new attribute to the current session's "Customer" object. - D. * Modify the "COPlaceOrder" controller to update a CSV file in the IMPEX WebDAV directory with the order ID and comments.
* Modify the order export process to read information in the CSV file and include it as part of the export.
Answer: B
NEW QUESTION 62
A developer is implementing new Page Designer content on a merchant's Storefront and adds the line below to the setupContentSearchfunction in the searchHelpers.jsfile.
apiContentSearchModel.setFilteredByFolder(false);
What does this achieve?
- A. Prevents filtering Page Designer pages by folder
- B. Allows Page Designer pages to be searchable
- C. Prevents Page Designer pages from being searchable
- D. Allows filtering Page Designer pages by folder
Answer: D
NEW QUESTION 63
Which three techniques improve client-side performance in production while following documented best practices? Choose 3 answers
- A. Compress CSS.
- B. Use one style sheet for each ISML decorator template.
- C. Use inline Javascript.
- D. Place CSS outside of templates.
- E. Combine several images into a single image.
Answer: A,C,E
NEW QUESTION 64
A client sells its product in single-brand stores as well as in multi-brand stores. When shown in the store locator list, the client wants the single-brand stores to have a particular background color to highlight them.
Which Business Manager action should be completed to allow the developer to apply different styling to the single-brand stores?
- A. Add a Boolean custom attribute to the Store system object
- B. Configure the existing Store custom object type definition
- C. Create a new SingleBrandStore custom object configuration.
- D. Adjust the relevant Site Preference in the Stores group
Answer: A
NEW QUESTION 65
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. Archive old log files to make room in the log directory.
- 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 "login" category is added to the Custom Log Filters in the Log Settings Business Manager module.
- D. Ensure that the debug log level has been added to the custom log level types in the Global Preferences business manager module.
Answer: A,D
NEW QUESTION 66
A Digital Developer is requesting product information for an external integration. The following Open Commerce API (OCAPI) request is NOT functioning correctly:
How should the Developer change the request?
- A. Change the HTTP method to GET.
- B. Change the URI to /dw/shop/v18_3/products/creative-zen-v.
- C. Include an authentication token in the request.
- D. Change the HTTP method to PUT.
Answer: A
NEW QUESTION 67
Consider the following information:
* A merchant has this three-tier category structure setup in the Storefront catalog.
- New Arrivals > Women > Clothing
* The category named Clothing has all the clothing items for Women and is merchandised.
* A Search Refinement named Newness is correctly configured for the Clothing category.
When a merchandiser views the Clothing category, the Search Refinement appears and works as expected.
However, the merchandiser does not see the Search Refinement when searching for Clothing via the Storefront search.
What is the reason?
- A. The Search Refinement definition is not set up for the Women category
- B. The Search Refinement definition is not set up for the New Arrivals category
- C. The Search Refinement definition is not set up for the Root category
- D. There are conflicting Search Refinement definitions for Clothing and one of its parent categories
Answer: B
NEW QUESTION 68
Universal Containers recently completed updates to their storefront shopping cart page. A problem has been discovered since the update. Users are no longer able to submit coupon codes on this page. Additionally, authenticated users who try to add a coupon are logged out.
The following processing code is found in the Cart.js controller file:
What should the Developer verify to identify the issue?
- A. The CSRF cartridge is included in the site's cartridge path.
- B. The CSRF token is present in the form and is being submitted in the request.
- C. The form group has the secure attribute set to true.
- D. The CSRF settings in Business Manager are properly configured.
Answer: B
NEW QUESTION 69
......
Get New B2C-Commerce-Developer Certification Practice Test Questions Exam Dumps: https://www.prep4sureguide.com/B2C-Commerce-Developer-prep4sure-exam-guide.html
Real B2C-Commerce-Developer Exam Dumps Questions Valid B2C-Commerce-Developer Dumps PDF: https://drive.google.com/open?id=1OK1AFro030SFQLKssOsWAHXv9IlvLVVE