[2021] B2C-Commerce-Developer PDF Questions - Perfect Prospect To Go With UpdateDumps Practice Exam
Salesforce B2C-Commerce-Developer Pdf Questions - Outstanding Practice To your Exam
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 55
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 URI to /dw/shop/v18_3/products/creative-zen-v.
- B. Change the HTTP method to GET.
- C. Include an authentication token in the request.
- D. Change the HTTP method to PUT.
Answer: B
Explanation:
Explanation
NEW QUESTION 56
A developer is importing edits for two different sites into the same sandbox, and is provided with four different files.
Which two XML files should the developer import using the site-specific Merchant Tools import modules, instead of the Administration section import modules?
Choose 2 answers.
- A. Site Jobs (sites)
- B. Promotions ( en sites y en online marketing)
- C. System type extensions (solo en Sites)
- D. Search Settings En (search y en Sites)
Answer: B,D
NEW QUESTION 57
Given a file in a plug-in cartridge with the following code:
'use strict':
Var base = module.superModule;
Function applyCustomCache (req,res,next){
res.CachePeriod = 6; //eslint-disable-line no-param-reassign
res.cachePeriodUnit = 'hours') //eslint-disable-line no-param-reassign
next();
}
Module.exports = base;
Module.exports.applyCustomCache = applyCustomCache;
What does this code extend?
- A. A decorator
- B. A middleware script
- C. A model
- D. A controller
Answer: D
NEW QUESTION 58
Universal Containers has expanded its implementation to support German with a locale code of de. The current resource bundle is checkout.properties.
To which file should the developer add German string values?
- A. de_checkout. properties in resources folder
- B. checkout.properties in the de locale folder
- C. checkout_de.properties in resources folder
- D. checkout.properties in the default locale folder
Answer: C
NEW QUESTION 59
Given a job step configured in the steptype.json, a developer needs to add a custom status code "No_FILES_FOUND".
Which code snippet will complete the requirement?
- A. return 'NO_FILES_FOUND
- B. var status = require('dw/system/status');
return new Status(Status.OK, 'NO_FILES_FOUND'); - C. this.status = 'NO_FILES_FOUND'
return this; - D. var status = {success: 'OK'. Message: 'NO_FILES_FOUND'};
return status;
Answer: B
Explanation:
NEW QUESTION 60
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. Create a new SingleBrandStore custom object configuration.
- B. Add a Boolean custom attribute to the Store system object
- C. Configure the existing Store custom object type definition
- D. Adjust the relevant Site Preference in the Stores group
Answer: B
NEW QUESTION 61
A client has two B2C Commerce sites in the same instance: one for the U.S market, the other for the European market. The products they make are sold with different safety certificates based-on the world location.
For example, they sell a smartphone with certificate A in the U.S and certificate B in Europe, a hairdryer with certificate C in the U.S and certificate D in Europe, and more.
How should a developer allow the merchant to display the appropriate certification logo in the produce to details page, depending on the customer's location?
- A. Add a Site-specific custom attribute to the Product system object type.
- B. Add a Localizable custom preference to the SitePreference system object type.
- C. Add a Localizable custom attribute to the Certificate system object type.
- D. Ad and Image custom preference to the Sitepreference system object type
Answer: A
Explanation:
NEW QUESTION 62
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.getLogger('profile').debug("Error retrieving profile email, Status Code: {0} was returned.",
http.statusCode); - B. Logger.getLogger().debug("Error retrieving profile email, Status Code: {0} was returned.",
http.statusCode); - C. logger.debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
- D. logger.getLogger('profile').debug("Error retrieving profile email, Status Code: ", http.statusCode);
Answer: C
NEW QUESTION 63 
Given the above OCAPI definitions, which permission or permissions apply?
- A. Allow external applications to create, update, and delete both coupons and coupon codes
- B. Allows external applications to create, update, and delete coupons
- C. Allows external applications to create coupons
- D. Allows external applications to update coupons
Answer: D
NEW QUESTION 64
A Digital Developer has identified that the code segment below is causing performance problems.
What should the Developer do to improve the code?
- A. Breaks the process into separate loops.
- B. Avoid using an Iterator and use a Collection instead.
- C. Use a system attribute instead of the isOnSaleFlag custom attribute.
- D. Avoid post-processing and use the isOnSaleFlag attribute as a search refinement.
Answer: A
NEW QUESTION 65
A Digital Developer needs to store information temporarily and decides to create a custom object.
Which code creates a custom object?
- A. CustomObjectMgr.createCustomObject(primaryKey);
- B. CustomObjectMgr.createCustomObject(CustomObjectType,primaryKey)
- C. CustomObject.createCustomObject(primaryKey,CustomObjectType);
- D. CustomObject.createCustomObject(CustomObjectType,primaryKey);
Answer: D
NEW QUESTION 66
A Digital Developer selects "Show Orderable Products Only" in the Search > Search Preferences Business Manager module.
Which business goal does this accomplish?
- A. Exclude back-ordered products from showing on the website.
- B. Exclude products from search results if Available to Sell (ATS) = 0.
- C. Block displaying the product detail page if Available to Sell (ATS) = 0.
- D. Exclude pre-order products from search results.
Answer: B
Explanation:
Explanation/Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC2/index.jsp?topic=%
2Fcom.demandware.dochelp%2FSearchandNavigation%
2FExcludeUnavailableProductsfromSearchResults.html
NEW QUESTION 67
A developer is working on a new site for the U.S based on an existing Canadian site. One of the requirements is a change to the address form. The current Canadian form has an <options> list with the correct two-letter abbreviation for the provinces.
The U.S. requirements are to:
* Have an <options> list with the correct two-letter abbreviation for the states in place of the province field.
* Set the U.S site locale.
* Add the options list field definition to the XML file.
How should the developer set up the files before making the required edits?
- A. Create a copy of existing address.xml file in the default folder. Rename that file to adres_US.xml
- B. Create a copy of existing address.xml file in the default folder. Rename that file to address_en_US.xml
- C. Create a new sub-folder in the forms folder. Name it US. Copy existing address.xml file in the new folder.
- D. Create a new sub-folder in the forms folder. Name it en_US. Copy existing address.xml file in the new folder.
Answer: D
NEW QUESTION 68
The following code ensures that an address ID CANNOT be used if it is already in use by another address in the customer's address book. There is a problem with the code. The error message for an invalid address ID is never shown to the user on the form field.
How should the Digital Developer resolve this issue so that the error message is displayed on the address ID form field?
- A. addressForm.addresssid.invalidateFormElement = true;
- B. addressForm.addresssid.invalidateFormElement();
- C. addressForm.invalidateFormElement(addressForm.addressid);
- D. addressForm.invalidateFormElement("addressid");
Answer: C
NEW QUESTION 69
Universal Containers wants to give customers the ability to refine product search results by a product custom attribute, weightCapacity.
Which series of steps should a Digital Developer take to show this refinement on the storefront?
- A. Define a search refinement for weightCapacity, then rebuild the product search index.
- B. Define a search refinement for weightCapacity, then clear the page cache segment for Search-Show.
- C. Define a sorting rule for weightCapacity, then rebuild the product search index.
- D. Define search-suggestion buckets for weightCapacity, then rebuild the product search index.
Answer: A
NEW QUESTION 70
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}'), context(myProduct.getID(), myProduct.getName());
- B. Logger.warn('The current producto is ${myProduct.getID()} with name ${myProduct.getName()}');
- C. Logger.warn('The current producto is %s with name %s'), context(myProduct.getID(), myProduct.getName());
- D. Logger.warn('The current producto is {0} with name {1}', myProduct.getID(), myProduct.getName());
Answer: D
NEW QUESTION 71
A Digital Developer has a new requirement to disable the "Discover" credit card type for all checkouts.
What does the Developer need to change in Business Manager to fulfill this requirement?
- A. Credit card exclusion rules in the Merchant Tools > Site Preferences > Payment Preferences module.
- B. Credit card exclusion rules in the CreditCardType.json configuration file.
- C. Credit cards in the Merchant Tools > Ordering > Payment Methods module.
- D. Checkout exclusion rules in the Merchant Tools > Site Preferences > Checkout Preferences module.
Answer: C
NEW QUESTION 72
......
Online Questions - Outstanding Practice To your B2C-Commerce-Developer Exam: https://www.updatedumps.com/Salesforce/B2C-Commerce-Developer-updated-exam-dumps.html
Practice To B2C-Commerce-Developer - UpdateDumps Remarkable Practice On your Salesforce Certified B2C Commerce Developer Exam: https://drive.google.com/open?id=1kUSK5t3x8krMlXDovRYKwLFzH8NOsLiz