Get ready to pass the B2C-Commerce-Developer Exam right now using our Salesforce Developers Exam Package [Q21-Q37]

Share

 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:

TopicDetails
Topic 1
  • Given A Performance Issue And Sample Code, Determine The Faulty Cache Configuration And Identify The Cause
Topic 2
  • Create A Javascript Controller That Leverages A Script And Renders A Template/JSON
  • Write Code That Logs Non-Sensitive Data To Custom Log Files With Different Log Levels
Topic 3
  • Given Existing Code And A Sandbox Instance, Enable And Access Logging Category In Business Manager
Topic 4
  • Implement And Enhance Templates, Form Definitions, Static Files, Properties Files
  • Extend Functionality With A Hook That Is Not Previously Defined In Hooks
Topic 5
  • Given A Sandbox Instance And Eclipse IDE, Install UX Studio And Upload Code To The Sandbox Environment
Topic 6
  • Given Business Requirements, Pass Data To A Downstream System; Extend The Storefront To Expose A New Attribute On An Existing System Object Type
Topic 7
  • Given A Configuration Task, Use Business Manager To Work With Storefront Data To Complete A Storefront Order
Topic 8
  • Create A New Search Refinement Definition That Can Be Used On The Storefront
  • Modify Site Search Preferences And Settings To Enable Searching For A Specified Product Attribute
Topic 9
  • Troubleshoot File Synchronization Issues Between UX Studio And The Sandbox Environment
  • Given A Sandbox Instance And UX Studio Connection
Topic 10
  • Persistent Object Attributes To Ensure That Localized Pages Are Displayed As Expected
  • Identify The Issues And Modify The Code To Conform To Best Practices Including Performance & Scalability
Topic 11
  • Given The Code For A Storefront Site, Add The Correct Sequence Of Cartridge Names To The Provided Cartridge Path
Topic 12
  • Given A Requirement And A Simple Service Specification, Integrate And Deploy Using Service Framework
  • Use OCAPI Shop And Data Apis To Enable Interoperability With An External System
Topic 13
  • Use Business Manager To Work With Content Assets, Content Slots, And Content Folders
Topic 14
  • Given A Sandbox Instance And Data Import Files, Import Files Using Business Manager Import/Export Modules
Topic 15
  • Given Business Requirements, Create A Custom Object Type To Store A Custom Data Type
Topic 16
  • Given A Business Manager Task, Work With The Product Data Model To Manage Products, Their Categorization, And Associated Inventory
Topic 17
  • Given A Specification And A Sandbox Instance, Configure OCAPI Permissions For Data And Shop Apis
Topic 18
  • Configure And Use The Debugger To Inspect Script And Pipeline Functions
  • Modify A Javascript Controller To Alter The Control Logic
Topic 19
  • Modify The Appearance Of A Form, Add Validation And CSRF Protection, And Use Bindings To Process Fields
Topic 20
  • Create ISML Templates That Use The Following ISML Functionality: Local Include, Remote Include, Modules, And Components

 

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