Pass Your B2C-Commerce-Developer Exam Easily - Real B2C-Commerce-Developer Practice Dump Updated Oct 29, 2021 [Q65-Q85]

Share

Pass Your B2C-Commerce-Developer Exam Easily - Real B2C-Commerce-Developer Practice Dump Updated Oct 29, 2021

2021 Realistic Verified Free Salesforce B2C-Commerce-Developer Exam Questions 

NEW QUESTION 65
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. Add the token in the ISML template
  • B. Extend the CSRF token validity to avoid timeouts
  • C. Add csrfProtection.generateToken as a middleware step in the controller
  • D. Delete the existing CSRF whitelists in Business Manager

Answer: B,D

 

NEW QUESTION 66
Universal Containers has expanded its implementation to support German with a locale code of de. The current resource bundle is checkout.properties.
To which file should the developer add German string values?

  • A. checkout.propertiesin the defaultlocale folder
  • B. checkout.propertiesin the delocale folder
  • C. de_checkout.propertiesin resourcesfolder
  • D. checkout_de.propertiesin resourcesfolder

Answer: C

 

NEW QUESTION 67
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 68
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('profile').debug("Error retrieving profile email, Status Code: {0} was returned.",
    http.statusCode);
  • B. Logger.getLogger().debug("Error retrieving profile email, Status Code: {0} was returned.",
    http.statusCode);
  • C. logger.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: C

 

NEW QUESTION 69
Universal Containers calls the following combination of products "The Basics" and sells the combination as a unique product ID:
* One Model 103 container
* Five Model 611 containers
* Three Model 201 containers
The Developer created these three products in the catalog.
What is the next step in Business Manager to create "The Basics" as a combination?

  • A. In the Products module, create a product named "The Basics" and add the products to the Product Bundles tab.
  • B. In the Products module, create a product named "The Basics" and add the products to the Product Sets tab.
  • C. In the Product Sets module, create a product set named "The Basics."
  • D. In the Product Bundles module, create a bundle named "The Basics."

Answer: A

 

NEW QUESTION 70
A Digital Developer is adding support for an additional language other than the default. The locale code for the new language is de.
In which folder should the developer place resource bundles?

  • A. templates/resources
  • B. templates/default/resources
  • C. templates/de
  • D. templates/default

Answer: A

 

NEW QUESTION 71
A job executes a pipeline that makes calls to an external system.
Which two actions prevent performance issues in this situation? Choose 2 answers

  • A. Configure a timeout for the script pipelet.
  • B. Disable multi-threading.
  • C. Use synchronous import or export jobs
  • D. Use asynchronous import or export jobs.

Answer: A,D

 

NEW QUESTION 72
A Digital Developer needs to check for product inventory in a specific inventory list using the Open Commerce API.
An example request URL is:

Which resource_id value enables the appropriate resource?

  • A. /inventory_list_search
  • B. /inventory_lists/*
  • C. /products/*
  • D. /inventory_lists/**

Answer: C

 

NEW QUESTION 73
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. Set the active code version to use the latest compatibility mode.
  • B. Remove invalid characters from cartridge file and folder names.
  • C. Remove invalid characters from the code version's name.
  • 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 74
A developer wants to embed a link to a content page from within the body of another content asset.
The target content asset ID is: about-us
Which option represents the correct format to use?

  • A. $url('Content-Show', 'about-us')$
  • B. $url('Content-Page', 'cid', 'about-us')$
  • C. $url('Page-Show', 'cid', 'about-us')$
  • D. $url('Page-Show', 'about-us')$

Answer: B

 

NEW QUESTION 75
Given the requirements:
* To integrate with an external web service using HTTP requests.
* To create a service for this purpose with the Service framework using the LocalServiceRegistry class.
* To test the service before the external service provider makes the API available.
Which solution allows the developer to satisfy the requirements?

  • A. Create a service and implement the mockFull callback and a sitepreference to enable or disable the mock response.
  • B. Create a service and a Sitepreference that induce the service to respond with a mock response using a conditional.
  • C. Create a service and implement the mockFull callback and set the service mode to mock.
  • D. Create two services, one mock and the real one, and a Sitepreference that enable the mock or the real one.

Answer: A

 

NEW QUESTION 76
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: C

 

NEW QUESTION 77
A developer has the following files in template/resources:
account.proierties
weight.unit=kilos
account_en.propierties
weight.unit=stones
account_en_US.propierties
weight.unit= pounds
Using the default locale configuration, what is the current outcome of the page that renders the account.isml template snippet below when visiting the Sofrefront with the English for Canada(en_CA) locale= Your parcel weighs 10 ${Resource.msg('weight.unit','account')}

  • A. Your parcel weighs 10 pounds.
  • B. Your parcel weighs 10 undefined.
  • C. Your parcel weighs 10 kilos
  • D. Your parcel weighs 10 stones.

Answer: D

 

NEW QUESTION 78
Given the file structure below, which ISML method call renders the customLandingPage template?

  • A. ISML.renderTemplate('content/custom/customLandingPage');
  • B. ISML('content/custom/customLandingPage');
  • C. ISML.renderTamplate('cartridge/templates/default/content/custom/customLandingPage');
  • D. ISML.render('content/custom/customLandingPage');

Answer: A

 

NEW QUESTION 79
A Digital Developer is working in a sandbox on a site named test-siteusing the domain test.demandware.net. The Developer needs to compile a url to make an Open Commerce API (OCAPI) request that returns product information.
By default, which URL format is a proper Open Commerce API for Sandbox?

  • A. https://www.test.com/dw/shop/v18_3/products/M1355?client_id=aaa...
  • B. https://test.demandware.net/s/test-site/dw/shop/v18_3/products/M1355?client_id=aaa...
  • C. https://www.test.com/s/test-site/sfc/shop/products/M1355?client_id=aaa...
  • D. https://test.demandware.com/dw/shop/products/M1355?client_id=aaa...

Answer: B

Explanation:
Explanation/Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC3/index.jsp?topic=%
2Fcom.demandware.dochelp%2FOCAPI%2Fcurrent%2Fusage%2FAPIExplorer.html

 

NEW QUESTION 80
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('profile').debug("Error retrieving profile email, Status Code: {0} was returned.",
    http.statusCode);
  • B. Logger.getLogger().debug("Error retrieving profile email, Status Code: {0} was returned.",
    http.statusCode);
  • C. logger.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: C

 

NEW QUESTION 81
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('profile').debug("Error retrieving profile email, Status Code: {0} was returned.",
    http.statusCode);
  • B. Logger.getLogger().debug("Error retrieving profile email, Status Code: {0} was returned.",
    http.statusCode);
  • C. logger.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: C

 

NEW QUESTION 82
A Digital Developer is working in a sandbox on a site named test-site using the domain test.demandware.net.
The Developer needs to compile a url to make an Open Commerce API (OCAPI) request that returns product information.
By default, which URL format is a proper Open Commerce API for Sandbox?

  • A. https://www.test.com/dw/shop/v18_3/products/M1355?client_id=aaa...
  • B. https://test.demandware.net/s/test-site/dw/shop/v18_3/products/M1355?client_id=aaa...
  • C. https://www.test.com/s/test-site/sfc/shop/products/M1355?client_id=aaa...
  • D. https://test.demandware.com/dw/shop/products/M1355?client_id=aaa...

Answer: B

 

NEW QUESTION 83
A Digital Developer has a site export file on their computer that needs to be imported into their sandbox.
How should the developer update their sandbox with the data in this file?

  • A. Upload the file to the Static WebDAV directory and import using the Import & Export Business Manager module.
  • B. Upload the file to the Impex WebDAV directory and import using the Site Import tool within UX Studio.
  • C. Connect and import the file using the remote option within the Site Import & Export Business Manager module.
  • D. Upload and import the file using the local option within the Site Import & Export Business Manager module.

Answer: D

 

NEW QUESTION 84
Which code sample is required to use a custom tag provided in SiteGenesis in an ISML template?

  • A. Option D
  • B. Option A
  • C. Option C
  • D. Option B

Answer: D

 

NEW QUESTION 85
......


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
  • Configure And Use The Debugger To Inspect Script And Pipeline Functions
  • Modify A Javascript Controller To Alter The Control Logic
Topic 3
  • Given A Sandbox Instance And Data Import Files, Import Files Using Business Manager Import/Export Modules
Topic 4
  • Modify The Appearance Of A Form, Add Validation And CSRF Protection, And Use Bindings To Process Fields
Topic 5
  • 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 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
  • 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 9
  • Given A Business Manager Task, Work With The Product Data Model To Manage Products, Their Categorization, And Associated Inventory
Topic 10
  • Given A Specification And A Sandbox Instance, Configure OCAPI Permissions For Data And Shop Apis
Topic 11
  • Create ISML Templates That Use The Following ISML Functionality: Local Include, Remote Include, Modules, And Components
Topic 12
  • Given The Code For A Storefront Site, Add The Correct Sequence Of Cartridge Names To The Provided Cartridge Path
Topic 13
  • 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 14
  • Given Existing Code And A Sandbox Instance, Enable And Access Logging Category In Business Manager
Topic 15
  • Troubleshoot File Synchronization Issues Between UX Studio And The Sandbox Environment
  • Given A Sandbox Instance And UX Studio Connection
Topic 16
  • 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 17
  • Use Business Manager To Work With Content Assets, Content Slots, And Content Folders
Topic 18
  • Given Business Requirements, Create A Custom Object Type To Store A Custom Data Type
Topic 19
  • Given A Sandbox Instance And Eclipse IDE, Install UX Studio And Upload Code To The Sandbox Environment
Topic 20
  • Implement And Enhance Templates, Form Definitions, Static Files, Properties Files
  • Extend Functionality With A Hook That Is Not Previously Defined In Hooks

 

B2C-Commerce-Developer Real Exam Questions and Answers FREE: https://www.exam4tests.com/B2C-Commerce-Developer-valid-braindumps.html

B2C-Commerce-Developer Exam Questions | Real B2C-Commerce-Developer Practice Dumps: https://drive.google.com/open?id=1A2zXA2lUVe-hFWWgMD3PTTr_Y7itFBA3