[Jan 31, 2022] Prepare For The B2C-Commerce-Developer Question Papers In Advance
B2C-Commerce-Developer PDF Dumps Real 2022 Recently Updated Questions
NEW QUESTION 68
A Digital Developer is inspecting the weekly service status report for a critical internally-hosted web service used in the application and notices that there are too many instances of unavailability.
Which two solutions are possible options to reduce the unavailability of the service? (Choose two.)
- A. Change the code that makes the request to set the throwOnError attribute, of the service, to be true.
- B. Update the external service to have a faster response time.
- C. Increase the web service time out.
- D. Modify the code that makes the request to the external service to be wrapped in a try / catch block.
Answer: B,D
NEW QUESTION 69
Which line of code creates a content slot that can be included on homepage.ismlto display on the home page?
- A. <isslot id="my_banner " description="for home page" type="global" context="content" context- object="${pdict.ContentSearchResult.content}"/>
- B. <isslot id="my_banner " description="for home page" type="global" context="homepage"/>
- C. <isslot id="my_banner " description="for home page" context="global">
- D. <isslot id="my_banner " description="for home page" context="global" context- object="${pdict.CurrentHomePage}"/>
Answer: C
Explanation:
Explanation/Reference: https://docplayer.net/62289631-Developing-in-demandware-student-guide.html
NEW QUESTION 70
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.exception('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
- B. Logger.error('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
- C. Logger.getErrorLog().log('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
- D. Logger.fault('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
Answer: A
NEW QUESTION 71
Universal Containers sells physical gift cards for the holidays.
What needs to occur to guarantee the cards will always be available?
- A. Create a perpetual inventory record.
- B. Create an inventory record with Backorder Handling enabled.
- C. Create an inventory record with an unlimited Allocation value.
- D. Create an inventory record with an extremely high Allocation value (i.e., 1 billion certificates).
Answer: B
NEW QUESTION 72
A Digital Developer is working on a project to convert a pipeline to a JavaScript controller. UX Studio has a functioning pipeline debugger configured for the site. Assume the Developer will add a breakpoint to the controller when it is written.
What must be done in order to use the debugger with the new controller when it is written?
- A. Create and use a new script debug configuration.
- B. Create and use a new controller debug configuration.
- C. Modify the debugger configuration and use the existing pipeline debugger.
- D. Use the existing pipeline debugger.
Answer: C
NEW QUESTION 73
A Digital Developer selects "Show Orderable Products Only" in the Search > Search Preferences Business Manager module.
Which business goal does this accomplish?
- A. Exclude back-ordered products from showing on the website.
- B. Exclude products from search results if Available to Sell (ATS) = 0.
- C. Block displaying the product detail page if Available to Sell (ATS) = 0.
- D. Exclude pre-order products from search results.
Answer: B
NEW QUESTION 74
A Digital Developer must resolve a performance issue with product tiles. The Developer determines that the product tiles are NOT being cached for a long enough period.
Which two methods can the Developer use to verify the cache settings for the product tiles? (Choose two.)
- A. View the product list page cache settings provided in the Administration > Manage Sites Business Manager module.
- B. View the cache information provided by the Merchant Tools > Technical Reports Business Manager module.
- C. Enable cache information in the storefront toolkit and view the cache information for the product tile.
- D. Enable the template debugger to verify the cache times for the producttile.isml template.
Answer: A,C
NEW QUESTION 75
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. Ad and Image custom preference to the Sitepreference system object type
- B. Add a Site-specific custom attribute to the Product system object type.
- C. Add a Localizable custom preference to the SitePreference system object type.
- D. Add a Localizable custom attribute to the Certificate system object type.
Answer: B
Explanation:
NEW QUESTION 76
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 77
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 78
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.
Using Business Manager, how can a Digital Developer create a catalog export file that contains only the products assigned to the site catalog?
- A. Use the Catalog Export module to export the site catalog.
- B. Use the Catalog Export module to export the master catalog, with a category-assignment search to export specific products.
- C. Use the Site Import & Export module to export both the site catalog and the master catalog in a single archive.
- D. Use the Site Import & Export module to export the master catalog, filtered by site catalog categories to export specific products.
Answer: B
NEW QUESTION 79
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. Include an authentication token in the request.
- B. Change the HTTP method to PUT.
- C. Change the URI to /dw/shop/v18_3/products/creative-zen-v.
- D. Change the HTTP method to GET.
Answer: D
NEW QUESTION 80
A Storefront is designed so that multiple pages share a common header and footer layout.
Which ISML tag should a developer use on the templates for these pages to avoid code repetition in the most effective way?
- A. <isdecorate> ... </isdecorate>
- B. <isreplace> ... </isreplace>
- C. <isinclude> ... </isinclude>
- D. <iscontent> ... </iscontent>
Answer: A
NEW QUESTION 81
A developer cannot create a custom object in Business Manager because the attributes do not show. The developer can view the object but not the attributes.
Which action should the developer take to resolve the problem?
- A. Sort the attributes in the custom object type
- B. Change the data type of the attributes
- C. Create an Attribute Group with the desired attributes in it
- D. Set the attributes to site-specific replicable
Answer: B
Explanation:
Explanation/Reference:
NEW QUESTION 82
In Log Center, a developer notes a number of Cross Site Request Forgery (CSRF) log entries. The developer knows that this happens when a CSRF token is either not found or is invalid, and is working to remedy the situation as soon as possible.
Which two courses of action might solve the problem? (Choose two.)
- A. Delete the existing CSRF whitelists in Business Manager
- B. Extend the CSRF token validity to avoid timeouts
- C. Add csrfProtection.generateToken as a middleware step in the controller
- D. Add the token in the ISML template
Answer: A,B
NEW QUESTION 83
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: B
NEW QUESTION 84
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 Global 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 custom Log Settings, activate the loggin category at DEBUG level.
Answer: C
NEW QUESTION 85
Which three object types can a developer import using the Merchant Tools > Content > Import & Export module in Business Manager? (Choose three.)
- A. Folders
- B. Content assets
- C. Images and other static assets
- D. Content slots
- E. Products
Answer: A,D,E
Explanation:
Explanation/Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC2/index.jsp?topic=%
2Fcom.demandware.dochelp%2FImportExport%2FImportExportObjectCheatsheet.html
NEW QUESTION 86
A developer needs to show only car accessories when shoppers use the search term car accessories and exclude technology accessories and household accessories.
Given the above requirement, what is the recommended approach using the Search Dictionaries Dashboard?
- A. Create a Synonym Dictionary entry: car accessories, household, technology.
Use search mode First Word. - B. Create a Common Phrase Dictionary entry: car accessories.
Use search mode Exact Match. - C. Create a Synonym Dictionary entry: car accessories, household, technology.
Use search mode Exact Match - D. Create a Common Phrase Dictionary entry: car accessories, NOT household, NOT technology.
Use search mode Exact Match.
Answer: B
NEW QUESTION 87
......
B2C-Commerce-Developer Dumps and Practice Test (115 Exam Questions): https://pdftorrent.actual4test.com/B2C-Commerce-Developer_examcollection.html