[Nov 02, 2021] B2C-Commerce-Developer Dumps Full Questions - Exam Study Guide [Q53-Q72]

Share

[Nov 02, 2021] B2C-Commerce-Developer Dumps Full Questions - Exam Study Guide

Salesforce Developers  Free Certification Exam Material from TestPassKing with 115 Questions


Salesforce B2C-Commerce-Developer Exam Syllabus Topics:

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

NEW QUESTION 53
A Digital Developer has a site export file on their computer that needs to be imported into their sandbox. How should the developer update their sandbox with the data in this file?

  • A. Upload the file to the Static WebDAV directory and import using the Import & Export Business Manager module.
  • B. Upload the file to the Impex WebDAV directory and import using the Site Import tool within UX Studio.
  • C. Connect and import the file using the remote option within the Site Import & Export Business Manager module.
  • D. Upload and import the file using the local option within the Site Import & Export Business Manager module.

Answer: D

 

NEW QUESTION 54
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 55
Assume the code below is executing:

Business Manager has the configuration:
* Active Log category is "root" with log level of "info."
Given this information, what is the beginning of the filename in which the log will be written?

  • A. custom-xyz
  • B. custom-export
  • C. custominfo-blade
  • D. xyz

Answer: A

 

NEW QUESTION 56
A developer wants to create in Business Manager extension with the cartridge named plugin_vm_extension.
Which two steps should the developer take for the extension option to show up in Business Manager?Choose 2 answers:

  • A. Add plugin_bm_extension to the cartridge path under Storefront cartridge site path.
  • B. Add the appropiate roles and permission to the user to view the business manager extension.
  • C. Add plugin_bm_extension to the cartridge path under business manager cartridge site
  • D. Activate a new code version for the Business Manager Site.

Answer: C,D

Explanation:

 

NEW QUESTION 57
Assume the code below is executing:

Business Manager has the configuration:
* Active Log category is "root" with log level of "info." Given this information, what is the beginning of the filename in which the log will be written?

  • A. custom-xyz
  • B. custom-export
  • C. custominfo-blade
  • D. xyz

Answer: A

 

NEW QUESTION 58
A Digital Developer has created a new PaymentForm controller that requires communication with the server and must be made using the HTTPS protocol.
Which code sample should the Developer use to make sure that HTTPS is used?

  • A. exports.PaymentForm = guard.ensure(['http\ 'post', 'loggedln'], handlePaymentForm);
  • B. exports.PaymentForm = guard.httpsPost(handlePaymentForm);
  • C. exports.PaymentForm = guard.expose(['post', 'loggedln'], handlePaymentForm);
  • D. exports.PaymentForm = guard.ensure(['https', 'post', 'loggedln'], handlePaymentForm);

Answer: D

 

NEW QUESTION 59
A Digital Developer adds the following line of code to a script.
dw.system.Logger.getLogger{'login').debug{"Login API has succeeded");
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 2 answers

  • A. Ensure that the debug log level is enabled to write to file in the Custom Log Settings Business Manager module.
  • B. Ensure that the "login" category is added to the Custom Log Filters in the 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: A,B

 

NEW QUESTION 60
A developer has custom debug statements in a script, but the messages are not showing up in the Storefront Toolkit Request Log.
Which step needs to be completed to get the messages to appear in the Request Log?

  • A. In Site Preferences, check the box for Enable custom Logging in Request Log
  • B. In Custom Log Settings, check the DEBUG box for Select Log Levels Written to Files.
  • C. In custom Log Settings, activate the loggin category at DEBUG level.
  • D. In Global preferences, check the box for Enable custom logging in Request Log.

Answer: B

 

NEW QUESTION 61
What happens if the log file size limit is reached in custom logging?

  • A. The log file rolls over and the last used log is overwritten.
  • B. Logging is suspended for two hours.
  • C. Logging is suspended for the day.
  • D. The log file is deleted and recreated from scratch.

Answer: D

 

NEW QUESTION 62
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. Option D
  • B. Option B
  • C. Option A
  • D. Option C

Answer: D

 

NEW QUESTION 63
Why should a Digital Developer use ProductSearchModel.getProducts() instead of Category.getOnlineProducts() to access products?

  • A. It has fewer lines of code.
  • B. It is more readable code.
  • C. It reduces accesses to the application server.
  • D. It uses the search index.

Answer: C

 

NEW QUESTION 64
A merchant reports that a particular landing page loads slowly. As a result, there is a significantly higher visitor departure rate in the analytics that appears to correlate with this. They anticipate this will impact revenues and want to resolve as soon as possible.
In order to diagnose and remedy this, the merchant asks their developer to investigate caching settings on the page in an attempt to determine the root cause.
How can the developer quickly inspect the page components to understand the caching?

  • A. Utilize the debugger to inspect the caching information
  • B. Use the Storefront Toolkit cache info tool to inspect page components
  • C. Inspect the caching properties of the page component in an IDE
  • D. Open the request logs to inspect the caching information

Answer: B

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

 

NEW QUESTION 65
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 66
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 67
A client uses tax tables in Business Manager to calculate tax. They recently started shipping to a new country, Italy, and the taxi s not being calculated correctly on the Storefront What is the likely problem?

  • A. Tax Country is missing
  • B. Tax Region is configured wrong.
  • C. Tax Jurisdiction is missing
  • D. Tax Locale is configured wrong

Answer: C

 

NEW QUESTION 68
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 69
A Digital Developer has been given a requirement to add fault tolerance to an existing web service integration that uses Service Framework. Administrators at Universal Containers need to be able to configure the timeout and rate limiting.
Which approach should the Developer use to implement the requirement?

  • A. Implement a condition that checks to see if the response was empty and execute fallback code if true.
  • B. Create a site preference to store timeout settings and implement an IOExceptionhandler to execute fallback code.
  • C. Use the setTimeoutmethod to execute fallback code if the request has NOT completed.
  • D. Implement a ServiceUnavailableExceptionexception handler to execute fallback code.

Answer: D

Explanation:
Explanation

 

NEW QUESTION 70
A client that sells to multiple countries in Europe needs to disable Apple Pay for Denmark.
Which Business Manager module is used to achieve this requirement?

  • A. Payment Methods
  • B. Apple Pay
  • C. Payment Processors
  • D. Locale Payments

Answer: B

Explanation:
Explanation

 

NEW QUESTION 71
A Digital Developer is implementing an Open Commerce API call to add products to a basket. Given the following resource configuration:

Which modification allows the requests to successfully execute?

  • A. Change the "resource_id" value to: "/baskets/*/items".
  • B. Change the "write_attributes" value to: " (+items) ".
  • C. Change the "read_attributes" value to: " (items) ".
  • D. Change the "methods" value to: ["get", "post"].

Answer: A

 

NEW QUESTION 72
......

Dumps Brief Outline Of The B2C-Commerce-Developer Exam: https://www.testpassking.com/B2C-Commerce-Developer-exam-testking-pass.html

Use Real B2C-Commerce-Developer - 100% Cover Real Exam Questions: https://drive.google.com/open?id=1H32TkTG00wCd-cikB5xOsvDGVP_pKuN6