Get ready to pass the B2C-Commerce-Developer Exam right now using our Salesforce Developers Exam Package
A fully updated 2022 B2C-Commerce-Developer Exam Dumps exam guide from training expert LatestCram
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 |
|
NEW QUESTION 21
What happens if the log file size limit is reached in custom logging?
- A. Logging is suspended for the day.
- B. The log file is deleted and recreated from scratch.
- C. Logging is suspended for two hours.
- D. The log file rolls over and the last used log is overwritten.
Answer: B
Explanation:
Explanation/Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC2/index.jsp?topic=%
2Fcom.demandware.dochelp%2FSiteDevelopment%2FUnderstandingLogFiles.html
NEW QUESTION 22
A Digital Developer needs to add logging to the following code:
Which statement logs the HTTP status code to a debug-level custom log file?
- A. Logger.getLogger().debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
- B. logger.debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
- C. Logger.getLogger('profile').debug("Error retrieving profile email, Status Code: {0} was returned.",
http.statusCode); - D. logger.getLogger('profile').debug("Error retrieving profile email, Status Code: ", http.statusCode);
Answer: B
NEW QUESTION 23
Business Manager has the configuration:
* Active log category is "root"
* Log level of INFO
The code below execites:
Var log = Logger.getLogger("products","export");
Log.info ("This is important information");
Using this information, what is the beginning of the filename in which the log will be written?
- A. custom-export
- B. custom-products
- C. products
- D. info-export
Answer: B
NEW QUESTION 24
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 "write_attributes" value to: " (+items) ".
- B. Change the "methods" value to: ["get", "post"].
- C. Change the "read_attributes" value to: " (items) ".
- D. Change the "resource_id" value to: "/baskets/*/items".
Answer: D
NEW QUESTION 25
A Digital Developer noticed that cartridges in their workspace are NOT executing. The Developer confirms that the cartridges are uploaded to the B2C Commerce server connection's target version directory.
Which action potentially solves this problem?
- A. Remove invalid characters from cartridge file and folder names.
- B. Remove invalid characters from the code version's name.
- C. Set the active code version to use the latest compatibility mode.
- D. Set the server connection's target version directory to the active code version.
Answer: D
Explanation:
Explanation/Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC3/index.jsp?topic=%
2Fcom.demandware.dochelp%2FSiteDevelopment%2FCodeDeployment.html
NEW QUESTION 26
A merchant has a requirement to render personalized content to n a category page via a Content Slot that targets VIP high-spending customers during a specific promotional period.
Which two items should the developer create to achieve the specified requirements?
Choose 2 answers:
- A. VIP Customer Group
- B. Slot Configuration
- C. Page Template
- D. Rendering Template
Answer: B,D
NEW QUESTION 27
A developer configures the dw.json file and needs to fill in the necessary parameters to complete the task.
Which three parameters are required when using npm scripts? (Choose three.)
- A. Hostname
- B. Username/Password
- C. Site ID
- D. Code Version
- E. CSRF Token
Answer: C,D,E
NEW QUESTION 28
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 "write_attributes" value to: "(+items)".
- B. Change the "methods" value to: ["get", "post"].
- C. Change the "read_attributes" value to: "(items)".
- D. Change the "resource_id" value to: "/baskets/*/items".
Answer: D
Explanation:
Explanation/Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC1/index.jsp?topic=%
2Fcom.demandware.dochelp%2FOCAPI%2F15.6%2Fusage%2FOCAPISettings.html
NEW QUESTION 29
Below is a form definition snippet from the newsletter.xmlfile.
Which line of code creates a JSON object to contain the form data?
- A. server.form.getForm('dwfrm_newsletter')
- B. server.form.getForm('newsletter')
- C. server.forms.getForm('newsletter')
- D. server.forms.getForm('dwfrm_newsletter')
Answer: B
NEW QUESTION 30
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
Explanation:
Explanation/Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC2/index.jsp?topic=%2Fcom.demandware.dochelp%2FImportExport%2FUsingSiteImportExporttoCopyInstances.html
NEW QUESTION 31
Given the file structure below, which ISML method call renders the customLandingPage template?
- A. ISML.render('content/custom/customLandingPage');
- B. ISML.renderTemplate('content/custom/customLandingPage');
- C. ISML.renderTamplate('cartridge/templates/default/content/custom/customLandingPage');
- D. ISML('content/custom/customLandingPage');
Answer: B
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 layout_type_exclusion in the other asset components json configuration.
- B. Add layout_type_inclusion in the target components json configurations.
- C. Add component_type_inclusion in the layout json configuration
- D. Add component_type_Exclusions in the layout json configuration
Answer: D
NEW QUESTION 33
Which two methods are efficient and scalable? (Choose two.)
- A. Category.getProducts()
- B. ProductSearchHit.getRepresentedProducts()
- C. ProductMgr.queryAllSiteProducts()
- D. ProductSearchModel.getProductSearchHits()
Answer: A,D
NEW QUESTION 34
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. custom-xyz
- B. xyz
- C. custom-export
- D. custominfo-blade
Answer: A
NEW QUESTION 35
Given the code snippet aboce, what should be added after this code so it can be used for page component display?
- A. Module.exports = server.exports();
- B. Module.exports = render;
- C. Module.exports.render = render;
- D. Base.render = render;
Answer: A
NEW QUESTION 36
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 address_en_US.xml
- B. Create a new sub-folder in the forms folder. Name it US. Copy existing address.xml file in the new folder.
- C. Create a new sub-folder in the forms folder. Name it en_US. Copy existing address.xml file in the new folder.
- D. Create a copy of existing address.xml file in the default folder. Rename that file to adres_US.xml
Answer: C
NEW QUESTION 37
......
Master 2022 Latest The Questions Salesforce Developers and Pass B2C-Commerce-Developer Real Exam!: https://www.latestcram.com/B2C-Commerce-Developer-exam-cram-questions.html
