Valid B2C-Commerce-Developer Exam Q&A PDF B2C-Commerce-Developer Dump is Ready (Updated 115 Questions)
Exam Questions and Answers for B2C-Commerce-Developer Study Guide
NEW QUESTION 30
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 Business Manager to upload and import a copy of the export file obtained from the original Developer.
- B. Use the Business Manager Data Replication module to replicate the catalog from the original Developer's sandbox.
- C. Use the remote upload capability of the Site Import & Export module of Business Manager.
- D. Use the import capability of the Site Import & Export module of Business Manager.
Answer: D
Explanation:
Explanation/Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC2/index.jsp?topic=%
2Fcom.demandware.dochelp%2FImportExport%2FCatalogObjectImportExport.html
NEW QUESTION 31
A retailer notices that the Account Addresses page is showing the wrong shopper's address.
Which tool should the developer start with to identify the issue?
- A. Pipeline profiler
- B. Code Profiler
- C. Storefront Toolkit
- D. Reports and Dashboards Module
Answer: C
NEW QUESTION 32
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 33
A Digital Developer is asked to optimize controller performance by lazy loading scripts as needed instead of loading all scripts at the start of the code execution.
Which statement should the Developer use to lazy load scripts?
- A. $.ajax () jQuery method
- B. local include
- C. require () method
- D. importPackage () method
Answer: C
NEW QUESTION 34
A developer is writing a server side script that needs to maintain state across calls. The persistent information needed includes these items.
* The current customer
* Whether or not the customer is authenticated
* The privacy attributes (such as tracking consent or cookie policy)
Which technique should the developer use to maintain state in an efficient and scalable manner that follows best practice?
- A. Use a non-replicable Custom Object to store the information temporarily.
- B. Use an SFRA controller, because it runs server-side, the state is automatically maintained
- C. Use the Session class in the B2C Commerce api.
- D. Use a client-side cookie to store the information for the session duration.
Answer: C
NEW QUESTION 35
Given the file structure below, which ISML method call renders the customLandingPage template?
- A. ISML.renderTernplate('cartridge/ternplates/default/content/custom/customLandingPage');
- B. ISML.renderTemplate('content/custom/customLandingPage');
- C. ISML('content/custom/customLandingPage');
- D. ISML.render('content/custom/customLandingPage');
Answer: B
NEW QUESTION 36
A developer must configure permissions for an Open Commerce API resource on a sandbox instance that currently does not have any permissions configured.
Which two configuration properties are required to enable Access to the resource?
Choose 2 answers
- A. Version_range
- B. Read_attributes
- C. Resource_id
- D. Client_id
Answer: C,D
NEW QUESTION 37
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 38
A merchant has a content slot on a page that currently displays products based on the top Sellers for the current week.
They wish to change this functionality and, instead, have the slot render a specific content asset so that the content experience is more personalized to the visitors.
Which two actions are necessary to make this change?
Choose 2 answers
- A. Change the rendering template in the slot configuration
- B. Delete the existing content slot and create a new one.
- C. Change the content type for the slot configuration
- D. Change the default setting in the slot configuration
Answer: A,C
NEW QUESTION 39
Universal Containers created a site export file from staging in the global export directory.
How should the Digital Developer update their sandbox using this staging site export file?
- A. Download the site export file and use UX Studio to transfer the data to the sandbox.
- B. Use the Site Development > Import & Export Business Manager module.
- C. Use the Site Development > Site Import & Export Business Manager module.
- D. Perform a data replication from staging.
Answer: C
NEW QUESTION 40
In order to build the SFRA code to a developer sandbox for the first time, which build steps should the developer perform for the site to appear and function as designed?
- A. npm run compile:js, npm run compile:scss, npm run compile:fonts
- B. npm run compile:js, npm run compile: scss, npm run compile:html
- C. npm run compile:scss, npm run compile:html, npm run clean
- D. npm run compile:js, npm run compile:html, npm run clean
Answer: A
NEW QUESTION 41
Which technical reports datapoint measures the performance of a controller's script execution if network factors and Web Adaptor processing is ignored?
- A. Call count
- B. Cache hit ratio
- C. Processing time
- D. Response time
Answer: C
NEW QUESTION 42
A Digital Developer has Identified that the code segment below is causing performance problems.
What should the Developer do to improve the code?
- A. Avoid using an Iterator and use a Collection instead.
- B. Break the process into separate loops.
- C. Avoid post-processing and use the isOnSaleFlag attribute as a search refinement.
- D. Use a system attribute instead of the isOnSaleFlag custom attribute.
Answer: C
NEW QUESTION 43
An instance has custom logging enabled. The log reaches the file size limit.
What happens in this situation?
- A. The log file is deleted and a new log file is created.
- B. Logging is suspended for the day
- C. The log file Rolls over and the oldest log messages are overwritten
- D. The current log file is archived and a new log file is created.
Answer: B
NEW QUESTION 44
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.error('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.getErrorLog().log('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
Answer: C
NEW QUESTION 45
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 46
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 47
A Digital Developer has a new requirement to disable the "Discover" credit card type for all checkouts. What does the Developer need to change in Business Manager to fulfill this requirement?
- A. Credit card exclusion rules in the Merchant Tools > Site Preferences > Payment Preferences module.
- B. Credit card exclusion rules in the CreditCardType.json configuration file.
- C. Credit cards in the Merchant Tools > Ordering > Payment Methods module.
- D. Checkout exclusion rules in the Merchant Tools > Site Preferences > Checkout Preferences module.
Answer: C
NEW QUESTION 48
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" context="global" context- object="${pdict.CurrentHomePage}"/>
- 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" type="global" context="content" context- object="${pdict.ContentSearchResult.content}"/>
Answer: C
Explanation:
Explanation/Reference: https://docplayer.net/62289631-Developing-in-demandware-student-guide.html
NEW QUESTION 49
The developer created a new Storefront category in storefront-catalog-m-en, but when viewing the Storefront site, the category is not visible.
What are two possible reasons? (Choose two.)
- A. The category does not contain available products
- B. The category is offline
- C. The Storefront catalog is offline
- D. The category is not sorted
Answer: A,B
Explanation:
Explanation/Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC3/index.jsp?topic=%
2Fcom.demandware.dochelp%2FLegacyDevDoc%2FCategoriesdonotshowinstorefront.html
NEW QUESTION 50
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. Administration > Sites > Manage Sites > Site > Cache
- B. Operations > Cache > Site
- C. Operations > Site > Manage Sites > Cache
- D. Site > Site Preferences > Cache
Answer: A
NEW QUESTION 51
Once the Cache Information tool of the storefront toolkit is enabled, how can a Digital Developer view caching information for a particular component of the page?
- A. Hover over the caching icons now present on the storefront.
- B. Right-click on the component in UX Studio and view the caching properties of the file.
- C. Start a pipeline debugging session and view the caching information provided.
- D. Open the Request Logs to view the caching information.
Answer: A
NEW QUESTION 52
......
Salesforce B2C-Commerce-Developer Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
| Topic 4 |
|
| Topic 5 |
|
| Topic 6 |
|
| Topic 7 |
|
| Topic 8 |
|
| Topic 9 |
|
| Topic 10 |
|
| Topic 11 |
|
| Topic 12 |
|
| Topic 13 |
|
| Topic 14 |
|
| Topic 15 |
|
| Topic 16 |
|
| Topic 17 |
|
| Topic 18 |
|
| Topic 19 |
|
| Topic 20 |
|
Certification dumps - Salesforce Developers B2C-Commerce-Developer guides - 100% valid: https://www.examboosts.com/Salesforce/B2C-Commerce-Developer-practice-exam-dumps.html
100% Pass Your B2C-Commerce-Developer Salesforce Certified B2C Commerce Developer at First Attempt with ExamBoosts: https://drive.google.com/open?id=1rR5uKXBzervIdteRqAKVNjUBTfIA1o-Z