Pass the Salesforce Developers B2C-Commerce-Developer Questions and answers with CertsForce

Viewing page 2 out of 6 pages
Viewing questions 11-20 out of questions
Questions # 11:

A developer is asked to periodically create a CSB file in a WebDAV folder to hold the orders information of the last 30 days.

What are the appropriate actions to implement such a requirement?

Options:

A.

Develop and configure a steptype and corresponding CommonJ5 job step script.


B.

Implement and configure a recurring task using the cron commandin Business Manager.


C.

Configure a new custom OCAPI endpoint and use the Customers resource type.


Expert Solution
Questions # 12:

Multiple shoppers report slow performance on the Product Details Page.

Which tool can a developer use to view average response times for the Product-Detail controller route?

Options:

A.

Pipeline Profiler


B.

Request Logs


C.

URL Request Analyzer


Expert Solution
Questions # 13:

A developer is tasked with implementing the necessary code for a new Page Designer component.

What are the two purposes of the JSON metadata definition file that the developer creates7

Choose 2 answers

Options:

A.

Defines regions within the component type.


B.

Defines the responsive layout of the rendered template.


C.

Defines the business and rendering logic of the component required by the merchant.


D.

Defines theattributes that a merchant enters when using the component type.


Expert Solution
Questions # 14:

A retailer notices that the Account Addresses page is showing the wrong shopper's address.

Which toolshould the developer start with to identify the issue?

Options:

A.

Storefront Toolkit


B.

Reports and Dashboards module


C.

Pipeline Profiler


Expert Solution
Questions # 15:

When looking at Custom Object instances for a site, a merchant notices that the creation date is not showing up on the instances in Business Manager.

Where should the developer add this attribute to the Custom Object so itis visible for the merchant to see in Business Manager?

Options:

A.

Assign the current date/time to a new custom attribute, creationDate, via code.


B.

Add the creation date to the attributes of the Custom Object.


C.

Mark the existing creation date attribute as visible.


D.

Add the creation date to the attribute group for the Custom Object.


Expert Solution
Questions # 16:

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 addGerman string values?

Options:

A.

checkout_de.properties in resources folder


B.

checkout.properties in the de locale folder


C.

checkout.properties in the default locale folder


D.

de_checkout.properties in resources folder


Expert Solution
Questions # 17:

A developer needs to display a products list of their "Women Dresses" category in a new web application, independent of their main B2C Commerce site. This custom listing page needs to be styled differently from the existing one, as per marketing requirements.

Which B2C Commerce tool should the developer use to collect the necessary information?

Options:

A.

The ProductSearch resource of the Shop OCAPI.


B.

The existing category's endpoint to perform a REST call.


C.

The iframe of the existing category page.


D.

The Search-Show Controller URL to perform a web crawl.


Expert Solution
Questions # 18:

Which of these situations is anappropriate use of the B2C Commerce OCAPIs?

Options:

A.

Updating inventory information from a warehouse management software.


B.

Extending System Object Type definitions with new attributes.


C.

Showing the customer's information in their B2C Commerce "My Account’’ page.


Expert Solution
Questions # 19:

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?

Options:

A.

var status = {success: ‘OK’. Message: ‘NO_FILES_FOUND’};return status;


B.

var status = require(‘dw/system/status’);return new Status(Status.OK, ‘NO_FILES_FOUND’);


C.

this.status = ‘NO_FILES_FOUND’return this;


D.

return ‘NO_FILES_FOUND


Expert Solution
Questions # 20:

A Digital Developernoticed 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?

Options:

A.

Set the active code version to use the latest compatibility mode.


B.

Remove invalid characters from the code version’s name.


C.

Remove invalid characters from cartridge file and folder names.


D.

Set the server connection’s target version directory to the active code version.


Expert Solution
Viewing page 2 out of 6 pages
Viewing questions 11-20 out of questions