PDF (New 2023) Actual Salesforce B2C-Commerce-Developer Exam Questions
Dumps Moneyack Guarantee - B2C-Commerce-Developer Dumps UpTo 90% Off
Duration, language, and format of Salesforce B2C-Commerce-Developer: Salesforce Accredited B2C Commerce Developer Exam
- Length of examination: 105 mins
- Number of Questions: 60
- Format: Multiple choices, multiple answers
- Language: English
- Passing score: 70%
NEW QUESTION 69
Universal Containers is preparing their storefront to use Open Commerce APIs (OCAPI).
To which hook should the Digital Developer move taxation logic to ensure consistent order totals within B2C Commerce?
- A. dw.ocapi.shop.basket.afterPostShipment
- B. dw.ocapi.shop.basket.calculate
- C. dw.ocapi.shop.order.validateOrder
- D. dw.ocapi.shop.order.afterPOST
Answer: B
Explanation:
References:
NEW QUESTION 70
A developer has a specification to integrate with a REST API for retrieving traffic conditions. The service expects parameters to be form encoded.
Which service type should the developer register?
- A. HTTP Form
- B. HTML Form
- C. SOAP Form
- D. POST Form
Answer: B
NEW QUESTION 71
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. Archive old log files to make room in the log directory.
- B. Ensure that the debug log level has been added to the custom log level types in the Global Preferences business manager module.
- C. Ensure that the "login" category is added to the Custom Log Filters in the Log Settings Business Manager module.
- D. Ensure that the debug log level is enabled to write to file in the Custom Log Settings Business Manager module.
Answer: A,B
NEW QUESTION 72
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 rescurce_id value enables the appropriate resource?
- A. /inventory-lists/*
- B. /inventory_list_search
- C. /inventory_lists/**
- D. /products/*
Answer: C
NEW QUESTION 73
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 setTimeoutmethod to execute fallback code if the request has NOT completed.
- C. Create a site preference to store timeout settings and implement an IOExceptionhandler to execute fallback code.
- D. Implement a ServiceUnavailableExceptionexception handler to execute fallback code.
Answer: D
Explanation:
Explanation
NEW QUESTION 74
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 ítem by an attribute at the product line ítem.
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.baskep.shopment.beforePOST
- D. dw.ocapi.shop.basket.shipment.beforeDELETE
Answer: B,C
Explanation:
Estos indican antes de actualizar y antes de introducir
NEW QUESTION 75
A developer wants to embed a link to a content page from within the body of another content asset.
The target content asset ID is: about-us
Which option represents the correct format to use?
- A. $url('Content-Show', 'about-us')$
- B. $url('Content-Page', 'cid', 'about-us')$
- C. $url('Page-Show', 'about-us')$
- D. $url('Page-Show', 'cid', 'about-us')$
Answer: B
NEW QUESTION 76
A developer needs to check for product inventory in all inventory lists using the Open Commerce API.
An example request URL is:
Which properly should the developer check in the OCAPI settings to confirm the appropriate resource is enabled?
- A. Inventory_list
- B. Client_id
- C. Ecom-inventory
Answer: C
NEW QUESTION 77
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 custom Log Settings, activate the loggin category at DEBUG level.
- B. In Site Preferences, check the box for Enable custom Logging in Request Log
- C. In Custom Log Settings, check the DEBUG box for Select Log Levels Written to Files.
- D. In Global preferences, check the box for Enable custom logging in Request Log.
Answer: C
NEW QUESTION 78
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. Increase the web service time out
- C. Change the code that sets the throwOnError attribute of the service to be true.
- D. Update the service to have a faster response time.
Answer: B,D
Explanation:
NEW QUESTION 79
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 form group has the secure attribute set to true.
- B. The CSRF token is present in the form and is being submitted in the request.
- C. The CSRF settings in Business Manager are properly configured.
- D. The CSRF cartridge is included in the site's cartridge path.
Answer: B
NEW QUESTION 80
The following sample code is NOT providing the desired results. The Digital Developer needs to add an entry to the logs to debug the problem.
Which statement correctly adds a log entry?
- A. Logger.fault('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
- B. Logger.getErrorLog().log('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
- C. Logger.exception('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
- D. Logger.error('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
Answer: C
NEW QUESTION 81
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. Use a system attribute instead of the isOnSaleFlag custom attribute.
- C. Avoid post-processing and use the isOnSaleFlag attribute as a search refinement.
- D. Avoid using an Iterator and use a Collection instead.
Answer: A
NEW QUESTION 82
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.invalidateFormElement(addressForm.addressid);
- B. addressForm.addresssid.invalidateFormElement();
- C. addressForm.invalidateFormElement("addressid");
- D. addressForm.addresssid.invalidateFormElement = true;
Answer: A
NEW QUESTION 83
A developer has a sandbox configured with a service and its profile and credential.. Now there is a requirement to allow changes to the service URL manually from the sandbox.
Which B2C feature should the developer use to achieve the request?
- A. Use the service status area, set the override URL checkbox, and then populate the URL field with the required one.
- B. Use a Globalpreference dedicated for the service URL
- C. Use a Sitepreference dedicated for the service URL
- D. Use the service credential URL field
Answer: D
NEW QUESTION 84
A developer customized the Cart-Show controller route with a LINK cartridge that adds social media data.
There is a new requirement to add a datalayer object to the Cart-Show controller route.
How should the developer achieve this to ensure that no code change will be needed if the client decides to remove the LINK cartridge?
- A. Replace the Cart-Show controller route in client cartridge and add datalayer object to the viewData variable. Ensure that the client cartridge is on the left of the U.HK cartridge m cartridge path.
- B. Replace the Cart-Show controller route in client cartridge and add datalayer object to the viewData variable.
- C. Append Cart-Show controller route in the client cartridge and add datalayer object to the viewData variable.
Answer: C
NEW QUESTION 85
There are three logging categories: category1, category1.eu, and category1.us.
In Business Manager, category1 is enabled for WARN level and no other categories are configured. All custom log targets are enabled.
The code segment below executes.
What is the result'
- A. Logs will be written to the log file with a prefix loggerFile.
- B. Logs will be written to the log file with a prefix customwarn.
- C. Logs will not be written.
- D. Logs will be written to the log file with a prefix custom-loggerFile.
Answer: A
NEW QUESTION 86
Why should a Digital Developer use ProductSearchModel.getProducts() instead of Category.getOnlineProducts() to access products?
- A. It uses the search index.
- B. It is more readable code.
- C. It reduces accesses to the application server.
- D. It has fewer lines of code.
Answer: C
NEW QUESTION 87 
Given the above OCAPI definitions, which permission or permissions apply?
- A. Allows external applications to create coupons
- B. Allows external applications to update coupons
- C. Allow external applications to create, update, and delete both coupons and coupon codes
- D. Allows external applications to create, update, and delete coupons
Answer: B
NEW QUESTION 88
Below is a form definition snippet from the newsletter.xml file:
<?xml version="1.0"?>
<form xmlns=http://www.demandware.com/xml/form/2008-04-15>
<field formid="email" lavel="Email" type="String" mandatory="True" max-length="50" />
</form>
Which line of code creates a JSON object to contain the form data?
- A. Server.forms.getForm('newsletter');
- B. Server.form.getForm('newsletter');
- C. Server.form.getForm('dwfrm_newsletter')
- D. Server.forms.getForm('dwfrm_newsletter')
Answer: A
Explanation:
En el controller:
En el Formulario:
NEW QUESTION 89
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 "read_attributes" value to: "(items)".
- C. Change the "write_attributes" value to: "(+items)".
- D. Change the "methods" value to: ["get", "post"].
Answer: A
NEW QUESTION 90
......
Introduction Salesforce B2C-Commerce-Developer: Salesforce Accredited B2C Commerce Developer Exam
The B2C Commerce Developer Exam assesses the knowledge and abilities of the applicant in connection with the following goals. A candidate must be practiced in B2C commerce and must be in a position, in design, building, monitoring and debugging, integration, customization and launch, to exhibit his expertise and experience. IT experts are viewed as a way of changing lives by the Sales Force Accredited B2C Commercial Developer Exam. By looking at questions from Salesforce B2C Commerce exam, you may enhance your IT career and acquire a dream job at every IT firm you like. The Salesforce Developer Test is not simple with the B2C-Commerce-Admin B2C certified. In order to pass fast the B2C-commerce administrator Salesforce Accredited B2C Commerce Developer Exam, you must be prepared for a full exam question from the B2C Commercial Developer. Due to its poor choice of preparation, some applicants were not successful during their initial B2C Trade Developer Examination. Ask questions specifically intended to validate your success with the B2C business admin admin-admin during the Salesforce B2C-Commerce-Admin-Test. Certificate-Questions offers B2C-Commerce-Developer exam dumps in PDF format. The question file may be downloaded instantly after purchase on all intelligent devices, including the PC, laptop, Mac, tablet and smartphone. The question file is handled by the B2C Salesforce Trade Developer. You may prepare your B2C-Commerce administrator contest anyplace in your leisure time. With a B2C-commerce-administrator practice test, you can grasp every subject of your Salesforce certified B2C-commerce-developer certification at home. The examination of the B2C Developer continues with time, therefore you need to keep the questions of a B2C Trade Developer reviewed in preparation. Trade Developer exercise is authorized by B2C Travel Administrator Salesforce.
Updated Apr-2023 Pass B2C-Commerce-Developer Exam - Real Practice Test Questions: https://dumpstorrent.prep4surereview.com/B2C-Commerce-Developer-latest-braindumps.html
