New 2022 B2C-Commerce-Developer Dumps for Salesforce Developers Certified Exam Questions & Answer [Q25-Q42]

Share

New 2022 B2C-Commerce-Developer Dumps for Salesforce Developers Certified Exam Questions & Answer

Realistic Verified B2C-Commerce-Developer exam dumps Q&As - B2C-Commerce-Developer Free Update 


Salesforce B2C-Commerce-Developer Exam Syllabus Topics:

TopicDetails
Topic 1
  • Given A Business Manager Task, Work With The Product Data Model To Manage Products, Their Categorization, And Associated Inventory
Topic 2
  • Given Business Requirements, Create A Custom Object Type To Store A Custom Data Type
Topic 3
  • Modify The Appearance Of A Form, Add Validation And CSRF Protection, And Use Bindings To Process Fields
Topic 4
  • Troubleshoot File Synchronization Issues Between UX Studio And The Sandbox Environment
  • Given A Sandbox Instance And UX Studio Connection
Topic 5
  • Use Business Manager To Work With Content Assets, Content Slots, And Content Folders
Topic 6
  • Given The Code For A Storefront Site, Add The Correct Sequence Of Cartridge Names To The Provided Cartridge Path
Topic 7
  • Implement And Enhance Templates, Form Definitions, Static Files, Properties Files
  • Extend Functionality With A Hook That Is Not Previously Defined In Hooks
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 A Performance Issue And Sample Code, Determine The Faulty Cache Configuration And Identify The Cause
Topic 10
  • 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 11
  • Configure And Use The Debugger To Inspect Script And Pipeline Functions
  • Modify A Javascript Controller To Alter The Control Logic
Topic 12
  • Given A Configuration Task, Use Business Manager To Work With Storefront Data To Complete A Storefront Order
Topic 13
  • Given Existing Code And A Sandbox Instance, Enable And Access Logging Category In Business Manager
Topic 14
  • Given A Sandbox Instance And Eclipse IDE, Install UX Studio And Upload Code To The Sandbox Environment
Topic 15
  • Given Business Requirements, Pass Data To A Downstream System; Extend The Storefront To Expose A New Attribute On An Existing System Object Type
Topic 16
  • 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 17
  • Given A Specification And A Sandbox Instance, Configure OCAPI Permissions For Data And Shop Apis
Topic 18
  • Given A Sandbox Instance And Data Import Files, Import Files Using Business Manager Import/Export Modules
Topic 19
  • Create ISML Templates That Use The Following ISML Functionality: Local Include, Remote Include, Modules, And Components
Topic 20
  • 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

 

NEW QUESTION 25
A merchant has a content slot on a page that currently displays products based on the top Sellers for the current week.
They wish to change this functionality and, instead, have the slot render a specific content asset so that the content experience is more personalized to the visitors.
Which two actions are necessary to make this change?
Choose 2 answers

  • A. Change the rendering template in the slot configuration
  • B. Delete the existing content slot and create a new one.
  • C. Change the content type for the slot configuration
  • D. Change the default setting in the slot configuration

Answer: A,C

 

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

  • A. Transaction's credit card information
  • B. Order failure information
  • C. Customer's password at post-checkout sign up
  • D. Payment gateway service response code

Answer: B,D

 

NEW QUESTION 27
Which code sample is required to use a custom tag provided in SiteGenesis in an ISML template?

  • A. <isinclude url="${URLUtils.url("CustomTag-Start")}>
  • B. <isscript>
    dw.util.CustomTagMgr.createCustomTag("mytag"); <isscript>
  • C. <isinclude template="util/modules">
  • D. <isinclude template="util/customtags">

Answer: C

 

NEW QUESTION 28
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 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
  • B. * Add an action /> node to the form definition XML with the attribute formid="addRewardFa3s"
    * No change to cart.3a controller required
  • 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 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

Answer: A

 

NEW QUESTION 29
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 "COPIaceOrder" controller to create a new order comments custom object upon order completion.
  • B. * Add the new attribute to the "Order" system object.
    * Modify the "COPIaceOrder" 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 "COPIaceOrder" controller to add this new attribute to the current session's "Customer" object.
  • D. * Modify the "COPIaceOrder" 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: D

 

NEW QUESTION 30
A Digital Developer needs to check for product inventory in a specific inventory list using the Open Commerce API.
An example request URL is:

Which resource_id value enables the appropriate resource?

  • A. /inventory_list_search
  • B. /inventory_lists/*
  • C. /products/*
  • D. /inventory_lists/**

Answer: C

 

NEW QUESTION 31
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 32
A business user wants to add a link to a content page from within the body of another content asset. The target content asset ID is: terms-and-conditions.
Which link function generates the correct link?

  • A. $http('Content-Page', 'cid', 'terms-and-conditions')$
  • B. $url('Page-Show', 'cid', 'terms-and-conditions')$
  • C. $include('Page-Include', 'cid', 'terms-and-conditions')$
  • D. $httpUrl('Content-Show', 'cid', 'terms-and-conditions')$

Answer: D

 

NEW QUESTION 33
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 34
A developer needs to update the package.json file so that it points to the hock file for a cartridge, using the hooks keyword. Which snippets work correctly when added to the file?:

  • A. { hooks: ./scripts/hooks.json }
  • B. { "hooks": "./cartridge/scripts/hooks.json" }
  • C. { hooks: "./cartridge/scripts/hooks.json" }
  • D. { "hooks": "./scripts/hooks.json" }

Answer: B

 

NEW QUESTION 35
A digital instance has one site, with one master product catalog separate from the site catalog. Some, but NOT all, products in the master catalog are assigned to categories of the site catalog.

  • A. Use the Catalog Export module to export the master catalog, with a category-assignment search to export specific products.
  • B. Use the Site Import & Export module to export both the site catalog and the master catalog in a single archive.
  • C. Use the Catalog Export module to export the site catalog.
  • D. Using Business Manager, how can a Digital Developer create a catalog export file that contains only the products assigned to the site catalog?
  • E. Use the Site Import & Export module to export the master catalog, filtered by site catalog categories to export specific products.

Answer: E

 

NEW QUESTION 36
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.persistable.sellable
  • B. prod.custom.sellable
  • C. prod.sellable
  • D. prod.extended.sellable

Answer: C

 

NEW QUESTION 37
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 38
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. Archive old log files to make room in the log directory.
  • D. Ensure that the debug log level has been added to the custom log level types in the Global Preferences business manager module.

Answer: C,D

 

NEW QUESTION 39
Given the following ISML example, how should a developer reference the product object in the current iteration of the basket?

  • A. pdict.Basket.products[loopstatus]
  • B. loopstatus.product
  • C. pdict.product
  • D. product

Answer: A

Explanation:
Explanation/Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC1/index.jsp?topic=%
2Fcom.demandware.dochelp%2Fcontent%2Fb2c_commerce%2Ftopics%2Fisml%2Fb2c_isloop.html

 

NEW QUESTION 40
A developer wants to add a link to the My Account Page.
What is the correct code to accomplish this?

  • A. <a href="${URLUtils.url('Account-Show')}>${Resource.msg('myaccount','account',null)}</a>
  • B. <a href="${url.get('Account-Show')}>${Resource.message('myaccount')}</a>
  • C. <a href="${URLUtils
    ('Account-Show')}>${ResourceMgr.getPropierties('myaccount','account',null)}</a>
  • D. <a
    href="${URLUtils.get('Account-Show')}>${Resource.msg('myaccount','account',request.locale())}</a>

Answer: A

 

NEW QUESTION 41
Universal Containers specifies a new category hierarchy for navigating the digital commerce storefront. A Digital Developer uses Business Manager to manually create a catalog with the specified category hierarchy, then uses the Products & Catalogs > Import & Export module to export the catalog as a file.
How can other Developers with sandboxes on the same realm create the same catalog in their own sandboxes?

  • A. Use Business Manager to upload and import a copy of the export file obtained from the original Developer.
  • B. Use the Business Manager Data Replication module to replicate the catalog from the original Developer's sandbox.
  • C. Use the remote upload capability of the Site Import & Export module of Business Manager.
  • D. Use the import capability of the Site Import & Export module of Business Manager.

Answer: D

 

NEW QUESTION 42
......

Use Real B2C-Commerce-Developer Dumps - 100% Free B2C-Commerce-Developer Exam Dumps: https://www.trainingdump.com/Salesforce/B2C-Commerce-Developer-practice-exam-dumps.html

B2C-Commerce-Developer Exam Dumps, Test Engine Practice Test Questions: https://drive.google.com/open?id=1-y4P-f89YKdG68TLpqDRT35GbbB5GH01 

0
0
0
0