B2C-Commerce-Developer Dumps for Pass Guaranteed - Pass B2C-Commerce-Developer Exam 2022 [Q18-Q38]

Share

B2C-Commerce-Developer Dumps for Pass Guaranteed - Pass B2C-Commerce-Developer Exam 2022

B2C-Commerce-Developer Exam Dumps - Try Best B2C-Commerce-Developer Exam Questions from Training Expert ActualTestsQuiz


Salesforce B2C-Commerce-Developer Exam Syllabus Topics:

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

 

NEW QUESTION 18
A developer wants to use an external application to manage their stores information (such as opening hours, and so on), and see their changes in their B2C Commerce Staging instance aas son as they are saved.
What is the appropriate technique the developer should perform to allow the merchant to create a new store in this scenario?

  • A. A POST request to the Stores Data OCAPI.B. A PUT request to the Stores Data OCAPI.
  • B. An UPDATE request to the Stores Data OCAPI.
    Siempre que sea un objeto standard sera put en vez de post
  • C. A PATCH request to the Stores Data OCAPI.

Answer: C

 

NEW QUESTION 19
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. $url('Page-Show', 'cid', 'terms-and-conditions')$
  • B. $include('Page-Include', 'cid', 'terms-and-conditions')$
  • C. $httpUrl('Content-Show', 'cid', 'terms-and-conditions')$
  • D. $http('Content-Page', 'cid', 'terms-and-conditions')$

Answer: C

 

NEW QUESTION 20
A Digital Developer suspects a logical error in a script. Which action will help locate the error?

  • A. Submit a support ticket to B2C Commerce.
  • B. Put breakpoints in the code, debug, and examine variable values.
  • C. Check request logs for evidence of the logical error.
  • D. Print all values in the script node called before the current script.

Answer: B

 

NEW QUESTION 21
Given the customer basket described below:
* A customer has an existing basket that consists of multiple items.
* One of the items is identified as a gift item by an attribute at the product line item.
The developer needs to write custom code to fetch the customer basket and then modify the basket based upon the items in the cart. If the basket contains any gift items, modify the basket and create a separate shipment for the gift item.
Four hooks are required to make the modification, beginning with modifyGETRespone and ending with validatebasket.
* Dw.ocapi.shop.basket.modifyGETResponse
* -- missing hook -
* -- missing hook --
* dw.ocapi.shop.basket.validateBasket
What are the two missing hooks in the middle?

  • A. dw.ocapi.shop.basket.shipment.afterDELETE
  • B. dw.ocapi.shop.basket.shipment.beforePATCH
  • C. dw.ocapi.shop.basket.shipment.beforeDELETE
  • D. dw.ocapi.shop.baskep.shopment.beforePOST
    Estos indican antes de actualizar y antes de introducir

Answer: B,D

 

NEW QUESTION 22
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 "read_attributes" value to: " (items) ".
  • B. Change the "write_attributes" value to: " (+items) ".
  • C. Change the "resource_id" value to: "/baskets/*/items".
  • D. Change the "methods" value to: ["get", "post"].

Answer: C

 

NEW QUESTION 23
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.js controller file:

What should the Developer verify to identify the issue?

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

Answer: B

 

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

Answer: C

 

NEW QUESTION 26
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. var status = require('dw/system/status');
    return new Status(Status.OK, 'NO_FILES_FOUND');
  • B. this.status = 'NO_FILES_FOUND'
    return this;
  • C. return 'NO_FILES_FOUND
  • D. var status = {success: 'OK'. Message: 'NO_FILES_FOUND'};
    return status;

Answer: A

Explanation:

 

NEW QUESTION 27
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 the remote upload capability of the Site Import & Export module of Business Manager.
  • B. Use the import capability of the Site Import & Export module of Business Manager.
  • C. Use Business Manager to upload and import a copy of the export file obtained from the original Developer.
  • D. Use the Business Manager Data Replication module to replicate the catalog from the original Developer's sandbox.

Answer: C

 

NEW QUESTION 28
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. Update the service to have a faster response time.
  • B. Increase the web service time out
  • C. Modify the code that makes the request to the external service to be wrapped in a try/catch block.
  • D. Change the code that sets the throwOnError attribute of the service to be true.

Answer: B,C

Explanation:

 

NEW QUESTION 29
A job executes a pipeline that makes calls to an external system.
Which two actions prevent performance issues in this situation? (Choose two.)

  • A. Use synchronous import or export jobs
  • B. Use asynchronous import or export jobs.
  • C. Disable multi-threading.
  • D. Configure a timeout for the script pipelet.

Answer: C,D

 

NEW QUESTION 30
A merchant asks a developer to create a Cache Partition for the home page, so that when the home page is edited, only the home page is cleaned.
Given the above requirement, where should the developer create that partition in Business Manager?

  • A. Site > Site Preferences > Cache
  • B. Operations > Site > Manage Sites > Cache
  • C. Operations > Cache > Site
  • D. Administration > Sites > Manage Sites > Site > Cache

Answer: D

 

NEW QUESTION 31
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. Use the setTimeout method to execute fallback code if the request has NOT completed.
  • C. Implement a serviceUnavaiiableException exception handler to execute fallback code.
  • D. Create a site preference to store timeout settings and implement an IOException handler to execute fallback code.

Answer: C

 

NEW QUESTION 32
A developer is given a task to implement a new Page Designer layout component that doesn't accept certain asset components.
How should the developer achieve the above task?

  • A. Add component_type_exclusions in the layout json configuration
  • B. Add component_type_inclusion in the layout json configuration
  • C. Add layout_type_exclusion in the other asset components json configuration
  • D. Add layout_type_inclusion in the target components json configurations

Answer: B

Explanation:
Explanation/Reference:

 

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

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

Answer: D

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 34
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 C
  • B. Option B
  • C. Option D
  • D. Option A

Answer: A

 

NEW QUESTION 35
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. xyz
  • B. custominfo-blade
  • C. custom-export
  • D. custom-xyz

Answer: D

 

NEW QUESTION 36

Given the above OCAPI definitions, which permission or permissions apply?

  • A. Allows external applications to create, update, and delete coupons
  • B. Allows external applications to create coupons
  • C. Allows external applications to update coupons
  • D. Allow external applications to create, update, and delete both coupons and coupon codes

Answer: C

 

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

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

Answer: A

Explanation:
Explanation/Reference:

 

NEW QUESTION 38
......

Latest 100% Passing Guarantee - Brilliant B2C-Commerce-Developer Exam Questions PDF: https://www.actualtestsquiz.com/B2C-Commerce-Developer-test-torrent.html

Practice Examples and Dumps & Tips for 2022 Latest B2C-Commerce-Developer Valid Tests Dumps: https://drive.google.com/open?id=1066X6WacP3Xlht36Gut3sbE1e81IJOT1