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

Viewing page 5 out of 7 pages
Viewing questions 41-50 out of questions
Questions # 41:

Which threestatements are true about Global API versioning? (3 answers)

Options:

A.

Calling in with an API version set to lower than 1 will result in an exceptional case where the exception classccrz.BelowMinAPIVersionException will be returned tocallers.


B.

There is no needto pass API_VERSION to the Global APIs, and based on the Salesforce B2B Commerce Managed Package version, Global APIs are able to figure out what version of the API to use.


C.

The API version is scoped at the Class API level and NOT at the method level.


D.

Minimum API_VERSION is 1 and the Maximum API version follows the releases. E.g. The maximum was 4 as of Salesforce B2B Commerce Release-4.5, 5 as of Salesforce B2B CommerceRelease 4.6, etc.


E.

Calling in with an API version set to more than current maximum will result in exception case where the exception class ccrz.ExceedsMaxAPIVersionException will be returned to callers.


Expert Solution
Questions # 42:

Which twouser permissions in addition to View Setup and Configuration are required to bulk create Product data translations via Data Loader?

Options:

A.

Import Custom Objects


B.

B2B Commerce Super User


C.

Create and set up Experiences


D.

Manage Translations


Expert Solution
Questions # 43:

A Developer created a custom field that a project wants to expose on a given page.

How does the Developer ensure that the field is available to display on a given page?

Options:

A.

Override the Service Class that the page uses and update the ServiceManagementin CCAdmin for the given storefront to use this new Service Class.


B.

Override the Logic Class that the page uses and update the Service Management inCCAdmin for the given storefront to use this new Service Class


C.

Create a new Service Classthat the page uses and update the Service Managementin CCAdmin for the given storefront to use this new Service Class


D.

Create anew Logic Class that the page uses and update the Service Managementin CCAdmin for the given storefront to use this new Service Class


Expert Solution
Questions # 44:

A developer is trying to integrate a new shipping provider to use during checkout in a storefront Which two steps must the developer take to make an integration available for selection?

Options:

A.

Create a RegisteredExternalService record using Workbench.


B.

Create an Apex class that uses the integration framework.


C.

Modify the StorelntegratedService to map to an Apex class ID using Workbench.


D.

Enter the integration class name and version in the store administration.


Expert Solution
Questions # 45:

A developer is writing custom code to compare External Prices and Sales Prices for cart items. What should be returned if the External Prices are the same as Sales Prices for Products in the Cart? ~.

Options:

A.

sfdc_checkout.IntegrationStatus.Status.SUCCESS


B.

sfdc_checkout.IntegrationStatus.Status.SUCCEEDED


C.

sfdc_checkout.IntegrationStatus.Status.ERROR


D.

sfdc_checkout.IntegrationStatus.Success.FAILED


Expert Solution
Questions # 46:

When a user buys 10 units of product B, the user wants 1 unit of Product A to be

automatically added to the cart. How can this requirement be fulfilled?

Options:

A.

Override the AllowCheckout method in ccrz.cc_api_CartExtension


B.

Override the prepareForSave method in ccrz.cc_api_CartExtension


C.

Overridethe preprocess method in ccrz.cc_api_CartExtension


D.

Override the prepareToAdd method in ccrz.cc_api_CartExtension


Expert Solution
Questions # 47:

In which two ways can events fired fromLightning web components be handled?

Options:

A.

Programmatically adding event listeners


B.

Adding callbacks to components


C.

Listening for all possible events at the document root


D.

Attaching handlers to DOM elements


Expert Solution
Questions # 48:

Which two log levels does a developer need to include to debug platform events?

Options:

A.

Apex Code


B.

Database


C.

Callout


D.

Workflow


Expert Solution
Questions # 49:

Which two statements are accurate about the Cart Item with a Type of Charge?

Options:

A.

It is created with the Cart Delivery Group Method after the shipping integration


B.

It is created with the Cart Delivery Group Method after the freight integration


C.

It is linked directly to a Cart Id


D.

It is linked directly to a Catalog Id


Expert Solution
Questions # 50:

Which three actions must a developer take, in a B2B Commerce store, to accept credit card payments using a client's chosen payment provider?

Options:

A.

Create a named credential for authentication withthe payment provider.


B.

Create a RegisteredExternalService record for the custom payment provider class.


C.

Create an Apex class that implements the sfdc_checkout.PaymentGatewayAdapter


D.

Create a PaymentProviderGateway record for the custom payment provider class.


E.

Create an Apex class that implements the commercepayments.PaymentGatewayAdapter.


Expert Solution
Viewing page 5 out of 7 pages
Viewing questions 41-50 out of questions