Exam Questions and Answers for B2C-Commerce-Developer Study Guide Questions and Answers!
Salesforce Certified B2C Commerce Developer Certification Sample Questions and Practice Exam
Salesforce Certified B2C Commerce Developer certification is intended for developers who work in a variety of roles, including e-commerce developers, web developers, software engineers, and architects. Salesforce Certified B2C Commerce Developer certification focuses on testing the candidates' ability to develop, implement, and maintain e-commerce solutions using Salesforce B2C Commerce Cloud. B2C-Commerce-Developer exam covers a range of topics, including e-commerce development, object-oriented programming, and front-end development.
To prepare for the Salesforce B2C-Commerce-Developer certification exam, candidates need to have a comprehensive understanding of B2C Commerce development concepts, data modeling, storefront development, and site configuration. Candidates should also have experience in integrating B2C Commerce solutions with third-party systems. To excel in the exam, candidates should have hands-on experience in developing B2C Commerce solutions using the Salesforce B2C Commerce Cloud platform.
NEW QUESTION # 104
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/vl8_3/products/creative-zen-v.
- B. Include an authentication token in the request.
- C. Change the HTTP method to PUT.
- D. Change the HTTP method to GET.
Answer: D
NEW QUESTION # 105
A client that sells to multiple countries in Europe needs to disable Apple Pay for Denmark.
Which Business Manager module is used to achieve this requirement?
- A. Locale Payments
- B. PaymentProcessors
- C. Payment Methods
- D. Apple Pay
Answer: C
NEW QUESTION # 106
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 PATCH request to the Stores Data OCAPI.
- B. A PUT request to the Stores Data OCAPI.
- C. An UPDATE request to the Stores Data OCAPI.
Siempre que sea un objeto standard sera put en vez de post - D. A POST request to the Stores Data OCAPI.
Answer: B
NEW QUESTION # 107
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. Checkout exclusion rules in the Merchant Tools > Site Preferences > Checkout Preferences module.
- B. Credit card exclusion rules in the Merchant Tools > Site Preferences > Payment Preferences module.
- C. Credit cards in the Merchant Tools > Ordering > Payment Methods module.
- D. Credit card exclusion rules in the CreditCardType.json configuration file.
Answer: C
Explanation:
Explanation/Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC1/index.jsp
NEW QUESTION # 108
A developer wants to add a link to the My Account Page.
What is the correct code to accomplish this?
- A. <a href="${url.get('Account-Show')}>${Resource.message('myaccount')}</a>
- B. <a href="${URLUtils.url('Account-Show')}>${Resource.msg('myaccount','account',null)}</a>
- C. <a href="${URLUtils
('Account-Show')}>${ResourceMgr.getPropierties('myaccount','account',null)}</a> - D. <a
href="${URLUtils.get('Account-Show')}>${Resource.msg('myaccount','account',request.locale())}</a>
Answer: B
NEW QUESTION # 109
The Home-Show route uses this middleware chain:
The developer added Home.;s in another cartridge, which is before the original cartridge in the cartridge path, to extend that route but it does not have the middleware chain:
Assuming the code is correct on both functions, what is the expected result?
- A. The custom code executes and then the base code executes.
- B. The base code executes and then the custom code executes.
- C. The base code executes, but the custom code is ignored because the signature lines do not match.
- D. A RunTime error is thrown, "Error: Params do not match route".
Answer: D
NEW QUESTION # 110
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 = {success: 'OK'. Message: 'NO_FILES_FOUND'};
return status; - B. return 'NO_FILES_FOUND
- C. var status = require('dw/system/status');
return new Status(Status.OK, 'NO_FILES_FOUND'); - D. this.status = 'NO_FILES_FOUND'
return this;
Answer: C
Explanation:
NEW QUESTION # 111
A developer needs to render a Page Designer page in JSON format. What is the correct syntax?
- A. PageMgr,renderPage{pageID, {parameter1: value1}}
- B. PageMgr.serializePage(pageID), {parameter1:value1}};
- C. JSON.stringgify(PageMgrrenderpage(pageID), {paramter1:value1}}:
Answer: B
NEW QUESTION # 112
A developer is working on a new site for the U.S based on an existing Canadian site. One of the requirements is a change to the address form. The current Canadian form has an <options> list with the correct two-letter abbreviation for the provinces.
The U.S. requirements are to:
* Have an <options> list with the correct two-letter abbreviation for the states in place of the province field.
* Set the U.S site locale.
* Add the options list field definition to the XML file.
How should the developer set up the files before making the required edits?
- A. Create a copy of existing address.xml file in the default folder. Rename that file to adres_US.xml
- B. Create a copy of existing address.xml file in the default folder. Rename that file to address_en_US.xml
- C. Create a new sub-folder in the forms folder. Name it US. Copy existing address.xml file in the new folder.
- D. Create a new sub-folder in the forms folder. Name it en_US. Copy existing address.xml file in the new folder.
Answer: D
NEW QUESTION # 113
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();
- B. addressForm.invalidateFormElement(addressForm.addressid);
- C. addressForm.addresssid.invalidateFormElement = true;
- D. addressForm.invalidateFormElement("addressid");
Answer: A
NEW QUESTION # 114
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 Site Import & Export module to export both the site catalog and the master catalog in a single archive.
- B. Use the Catalog Export module to export the site catalog.
- C. Use the Site Import & Export module to export the master catalog, filtered by site catalog categories to export specific products.
- D. Use the Catalog Export module to export the master catalog, with a category-assignment search to export specific products.
Answer: D
Explanation:
Explanation/Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC2/index.jsp?topic=%
2Fcom.demandware.dochelp%2FImportExport%2FCatalogObjectImportExport.html
NEW QUESTION # 115
Consider the following information:
* A merchant has this three-tier category structure setup in the Storefront catalog:
New Arrivals > Women > Clothing
* The category named Clothing has all the clothing items for Women and is merchandised.
* A Search Refinement named Newness is correctly configured for the Clothing category.
When a merchandiser views the Clothing category, the Search Refinement appears and Works as expected. However, the merchandiser does not see the Search Refinement when searching for Clothing via the Storefront search.
What is the Reason?
- A. There are conflicting Search Refinement definitions for Clothing and one of its parent categories
- B. The Search Refinement definition is not set up for the New Arrivals Category.
- C. The Search Refinement definitions is not set up for the Root Category
- D. The Search Refinement definition is not set up for the Women category
Answer: A
NEW QUESTION # 116
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 layout_type_exclusion in the other asset components json configuration.
- B. Add component_type_Exclusions in the layout json configuration
- C. Add component_type_inclusion in the layout json configuration
- D. Add layout_type_inclusion in the target components json configurations.
Answer: B
NEW QUESTION # 117
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. Extend the CSRF token validity to avoid timeouts
- B. Add the token in the ISML template
- C. Delete the existing CSRF whitelists in Business Manager
- D. Add csrfProtection.generateToken as a middleware step in the controller
Answer: A,C
NEW QUESTION # 118
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. Include an authentication token in the request.
- C. Change the HTTP method to PUT.
- D. Change the HTTP method to GET.
Answer: D
Explanation:
Explanation
NEW QUESTION # 119
A developer is configuring Payment Methods on a storefront. Which of the following considerations should be kept in rmnd while configuring payment methods,
- A. You can't delete a default payment method. You can only disable it.
- B. You can't drag and drop the column headers to change the sort order.
- C. You can add only up to 5 payment methods
Answer: A
NEW QUESTION # 120
Why should a Digital Developer use ProductSearchModel.getProducts() instead of Category.getOnlineProducts() to access products?
- A. It uses the search index.
- B. It has fewer lines of code.
- C. It is more readable code.
- D. It reduces accesses to the application server.
Answer: D
NEW QUESTION # 121
A developer has configured the following log levels for categories & sub categories as WARN logging is enabled for 'product' and DEBUG for "product.import" What will be the log level used forvarious categories and sub-categories?
- A. WARN and ERROR are lugged for product" and all its subcategories. For the subcategory
'product.import' DEBUG and INFO are also logoed - B. WARN and ERROR are logged fix product' and all its subcategories. For thesubcategory'' product.import* DEBUG and INFO are not logged.
- C. WARN and FRROR ate lugged for product" and all its subcategories.
Answer: A
NEW QUESTION # 122
......
B2C-Commerce-Developer certification dumps - Salesforce Developers B2C-Commerce-Developer guides - 100% valid: https://www.braindumpquiz.com/B2C-Commerce-Developer-exam-material.html
100% Pass Your B2C-Commerce-Developer at First Attempt with BraindumpQuiz: https://drive.google.com/open?id=1oEAt5up-j6sGptlxHWJROaVwcVAQUWTa