Pass the Salesforce B2B-Commerce-Developer B2B-Commerce-Developer Questions and answers with CertsForce

Viewing page 1 out of 7 pages
Viewing questions 1-10 out of questions
Questions # 1:

A developer needs to implement specific styling for a standard component on a single page of the B2B Commerce store using an Aura template. The component should use the default style on all other pages

How should the developer implement the required changes over multiple instances?

Options:

A.

Use a Custom CSS file in a static resource and add the import using the Edit Head Markup Editor in theExperience Builder.


B.

Create a Custom Content Layout Lightning web component that imports the custom CSS file. Set up the page to use this Content Layout.


C.

Create a Custom Theme Layout Aura component that imports the custom CSS file. Set up the page to use this Theme Layout.


D.

Use the Override CSR Editor in the Experience Builder and add the desired CSS to change the styles.


Expert Solution
Questions # 2:

Which two components in a B2B store template should a developer use to customize a storefront page?

Options:

A.

My Lists


B.

Product List


C.

Order List


D.

Address List


Expert Solution
Questions # 3:

A user wants to have a Contact Us page in the storefront. This page will be a web-tolead form and it should have the header and footer, essentially the same look and feel as

all the pages in the application. How can this requirement be fulfilled?

Options:

A.

Page Include


B.

Subscriber Page (CC Page)


C.

Subscriber Template


D.

Body Include Begin


Expert Solution
Questions # 4:

Which three decorators can be used in Lightning Web Components?

Options:

A.

@api


B.

@track


C.

@wire


D.

@class


E.

@import


Expert Solution
Questions # 5:

In a B2B Commercestore, which three tasks must a developer complete to implement the use of a third-party service for either tax, shipping, or pricing calculation?

Options:

A.

Register an Apex class as the integration in the store administration


B.

Create a flow to call the external service directly


C.

Create an Apex class implementing the appropriate interface.


D.

Create a named credential for authentication with an external service


E.

Create an Apex class with an invocable method


Expert Solution
Questions # 6:

Which two different types of services do Salesforce B2B

Options:

A.

Commerce APIs leverage? (2 answers) A) Logic services which are responsible for implementing business logic associated with entities.


B.

Global services which are responsible for querying and transforming data from entities


C.

Data services which are responsible for querying and transforming data from entities


D.

Hook services which are extension points forsubscribers to tie into.


Expert Solution
Questions # 7:

Although Salesforce B2B Commerce and Salesforce recommend against using

"without sharing classes" whenever possible, sometimes it is unavoidable. Which three

items will open up a major security hole? (3 answers)

Options:

A.

Executing dynamic SOQL inside a without sharing class with a bind variable fromPageReference.getParameters().


B.

Executing dynamic SOQL inside a without sharing class with a bind variable from theUserInfo class.


C.

Executing dynamic SOQL inside a without sharing class with a bind variable fromPageReference.getCookies().


D.

Executing dynamic SOQL inside a without sharing class with a bind variable fromcc_RemoteActionContentex class.


E.

Executing dynamic SOQL inside a without sharing class with a bind variable fromccAPI.CURRENT_VERSION.


Expert Solution
Questions # 8:

What are two ways a developer should ensure that a store verifies changes by using an external service?

Options:

A.

Create a flow using an action to retrieve shipping charges from an external service and update the Cart Delivery Group Methods.


B.

Create an Apex class implementing the sfdc_checkout.CartShippingCharges interface to retrieve shipping charges from an external service and register it as the .. calculation integration in the store administration.


C.

Create an Apex class to retrieve shipping charges from an external service and update the Cart DeliveryGroup Method.


D.

Create a trigger to retrieve shipping charges from an external service and update the Cart Delivery, Group Methods


Expert Solution
Questions # 9:

Which tool should a developer use to author automated tests for custom Lightning web components?

Options:

A.

Visual Studio Code


B.

Salesforce CLI


C.

Jest


D.

Salesforce Developer Console


Expert Solution
Questions # 10:

Why is the use ofa standard Visualforce control such as apex:form discouraged in

Salesforce B2B Commerce page includes and subscriber pages?

Options:

A.

Visualforce "scopes" controls that are present on a page and scope of the control will be set to "ccrz"


B.

Apex:form render DOMcomponents slowly


C.

The CCRZ Javascript object is not accessible within an apex:form control.


D.

Javascript events are not supported within an apex:form control


Expert Solution
Viewing page 1 out of 7 pages
Viewing questions 1-10 out of questions