2022 Valid B2C-Commerce-Developer test answers & Salesforce Exam PDF [Q60-Q78]

Share

2022 Valid B2C-Commerce-Developer  test answers & Salesforce Exam PDF

Free Salesforce B2C-Commerce-Developer Exam Questions & Answer from Training Expert Actualtests4sure


Salesforce B2C-Commerce-Developer Exam Syllabus Topics:

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

NEW QUESTION 60
When inspecting the weekly service status report for a critical internally hosted web service used in the application, a developer notices that there are too many instances of unavailability.
Which two solutions can reduce the unavailability of the service?
Choose 2 answers.

  • A. Modify the code that makes the request to the external service to be wrapped in a try/catch block.
  • B. Update the service to have a faster response time.
  • C. Increase the web service time out
  • D. Change the code that sets the throwOnError attribute of the service to be true.

Answer: A,C

Explanation:

 

NEW QUESTION 61
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

 

NEW QUESTION 62
Which two methods are efficient and scalable? (Choose two.)

  • A. Category.getProducts()
  • B. ProductMgr.queryAllSiteProducts()
  • C. ProductSearchHit.getRepresentedProducts()
  • D. ProductSearchModel.getProductSearchHits()

Answer: A,D

 

NEW QUESTION 63
A Digital Developer creates a B2C Commerce server connection in their UX Studio workspace. The Developer adds new cartridges to the workspace, but the cartridges do NOT execute as the Developer expects.
Which three things should the Digital Developer verify to ensure the cartridges are uploaded? Choose 3 answers

  • A. The Active Server setting is enabled for the server connection.
  • B. The cartridge is for the current version of B2C Commerce.
  • C. The server is configured to accept incoming connections.
  • D. The credentials for the server connection are correctly entered.
  • E. The Auto-Upload setting is enabled for the server connection.

Answer: A,D,E

 

NEW QUESTION 64
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 65
Which three configuration does a developer need to ensure to have a new product visible in the Storefront?
Choose 3 answers

  • A. The search index is built.
    Tengo dudas con el A. REVISAR
  • B. The product has a master product
  • C. The Storefront catalog that contains the product is assigned to a site
  • D. The product has a Price
  • E. The product is online and searchable

Answer: A,C,E

 

NEW QUESTION 66
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 67
A merchant requires that an existing section of the Site become editable from the Business Manager, so that they can modify it independently of the developer.
Which of these is an important factor for a developer to consider when choosing the appropriate solution between a content slot and a Page Designer component?

  • A. Only Page Designer Components can be localized for different languages.
  • B. Only content slot configurations can ve localized for different languages.
  • C. Only page Designer components can ve tied to campaigns.
  • D. Only content slot configurations can be tied to campaigns.

Answer: A

 

NEW QUESTION 68
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 69
Which three object types can a developer import using the Merchant Tools > Content > Import & Export module in Business Manager? (Choose three.)

  • A. Content assets
  • B. Content slots
  • C. Images and other static assets
  • D. Folders
  • E. Products

Answer: B,D,E

Explanation:
Explanation/Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC2/index.jsp?topic=%
2Fcom.demandware.dochelp%2FImportExport%2FImportExportObjectCheatsheet.html

 

NEW QUESTION 70
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 71
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 72
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.jscontroller file:

What should the Developer verify to identify the issue?

  • A. The CSRF settings in Business Manager are properly configured.
  • B. The form group has the secureattribute set to true.
  • C. The CSRF cartridge is included in the site's cartridge path.
  • D. The CSRF token is present in the form and is being submitted in the request.

Answer: D

 

NEW QUESTION 73
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. Include an authentication token in the request.
  • C. Change the URI to /dw/shop/vl8_3/products/creative-zen-v.
  • D. Change the HTTP method to PUT.

Answer: A

 

NEW QUESTION 74
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 75
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 76
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.jscontroller 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.
  • B.
  • C.
  • D.

Answer: C

 

NEW QUESTION 77
Which line of code creates a content slot that can be included on homepage.isml to display on the home page?

  • A. <isslot id="my_banner" description = "for home page" context="global">
  • B. <isslot id="my_banner" description = "for home page" type="global" context="homepage"/>
  • C. <isslot id="my_banner" description = "for home page" context="global" context- object="${pdict.CurrentHomePage}"/>
  • D. <isslot id="my_banner" description = "for home page" type="global" context="content" context- object="${pdict.ContentSearchResult.content>"/>

Answer: A

 

NEW QUESTION 78
......

Top Salesforce B2C-Commerce-Developer Courses Online: https://www.actualtests4sure.com/B2C-Commerce-Developer-test-questions.html

B2C-Commerce-Developer Practice Dumps - Verified By Actualtests4sure Updated 115 Questions: https://drive.google.com/open?id=1pE9BHDSSikZGDabdncNwfUvg30wSIdY-