[2021] B2C-Commerce-Developer PDF Questions - Perfect Prospect To Go With UpdateDumps Practice Exam [Q55-Q72]

Share

[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:

TopicDetails
Topic 1
  • Given A Sandbox Instance And Data Import Files, Import Files Using Business Manager Import/Export Modules
Topic 2
  • Use Business Manager To Work With Content Assets, Content Slots, And Content Folders
Topic 3
  • Given A Sandbox Instance And Eclipse IDE, Install UX Studio And Upload Code To The Sandbox Environment
Topic 4
  • Create A Javascript Controller That Leverages A Script And Renders A Template/JSON
  • Write Code That Logs Non-Sensitive Data To Custom Log Files With Different Log Levels
Topic 5
  • Implement And Enhance Templates, Form Definitions, Static Files, Properties Files
  • Extend Functionality With A Hook That Is Not Previously Defined In Hooks
Topic 6
  • Troubleshoot File Synchronization Issues Between UX Studio And The Sandbox Environment
  • Given A Sandbox Instance And UX Studio Connection
Topic 7
  • Configure And Use The Debugger To Inspect Script And Pipeline Functions
  • Modify A Javascript Controller To Alter The Control Logic
Topic 8
  • Persistent Object Attributes To Ensure That Localized Pages Are Displayed As Expected
  • Identify The Issues And Modify The Code To Conform To Best Practices Including Performance & Scalability
Topic 9
  • Given The Code For A Storefront Site, Add The Correct Sequence Of Cartridge Names To The Provided Cartridge Path
Topic 10
  • Create A New Search Refinement Definition That Can Be Used On The Storefront
  • Modify Site Search Preferences And Settings To Enable Searching For A Specified Product Attribute
Topic 11
  • Given A Business Manager Task, Work With The Product Data Model To Manage Products, Their Categorization, And Associated Inventory
Topic 12
  • Given A Configuration Task, Use Business Manager To Work With Storefront Data To Complete A Storefront Order
Topic 13
  • Given A Specification And A Sandbox Instance, Configure OCAPI Permissions For Data And Shop Apis
Topic 14
  • Given Business Requirements, Pass Data To A Downstream System; Extend The Storefront To Expose A New Attribute On An Existing System Object Type
Topic 15
  • Modify The Appearance Of A Form, Add Validation And CSRF Protection, And Use Bindings To Process Fields
Topic 16
  • Create ISML Templates That Use The Following ISML Functionality: Local Include, Remote Include, Modules, And Components
Topic 17
  • Given Existing Code And A Sandbox Instance, Enable And Access Logging Category In Business Manager
Topic 18
  • Given Business Requirements, Create A Custom Object Type To Store A Custom Data Type
Topic 19
  • Given A Requirement And A Simple Service Specification, Integrate And Deploy Using Service Framework
  • Use OCAPI Shop And Data Apis To Enable Interoperability With An External System
Topic 20
  • Given A Performance Issue And Sample Code, Determine The Faulty Cache Configuration And Identify The Cause

 

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