Black Friday Biggest Discount Flat 70% Offer - Ends in 0d 00h 00m 00s - Coupon code: 70diswrap

Salesforce B2B-Commerce-Developer Dumps

Salesforce Accredited B2B Commerce Developer (SU24) Questions and Answers

Question 1

A developer is working in Visual Studio Code on a previously deployed project which is rather large and deployments are time consuming. The developer wants to deploy some small CSS changes without waiting for the entire project deployment. What are two ways this can be accomplished?

Options:

A.

Right-click the folder for the component and choose Deploy Source to Org

B.

Right-click the CSS file that was edited and select Deploy Single File

C.

Right-click the CSS file and choose Deploy Source to Org

D.

Click the Tools menu and select Deploy styles

E.

Deploy the entire project. Only the change will be copied

Question 2

A developer needs to implement a business rule around shipping: Anything over a certain amount must be sent through freight at a fixed cost and cannot be

sent through standard shipping channels. Which two considerations should the developer consider?

Options:

A.

A class will need to implement the sfdc_commerce.CartShippingCharges interface

B.

The implementing class cannot call out to another service

C.

A class will need to implement the sfdc_checkout.CartShippingCharges interface

D.

The implementing class may need to contain logical branching

Question 3

A developer used slots to pass content from one Lightning Web Component to another. How can they access the.

DOM for what was passed to those slots?

Options:

A.

Call this.template.querySelector() and this.template.querySelectorAll()

B.

Call this.querySelector() passing an id

C.

Call this.querySelector() and this.querySelectorAll()

D.

Call this.template.querySelector() passing an id

Question 4

A dev at Northern Trail Outfitters (NTO) exported Order Summary records via Data Loader, but noticed that some orders were missing. What is the most likely cause?

Options:

A.

Status was not in Created

B.

Billing Contact was missing

C.

Original Order information was missing

D.

Order Life Cycle Type was Managed

E.

Currency mapping was not done correctly

Question 5

What are two guidelines for logging that are used within the core Salesforce

B2B Commerce product? (2 answers)

Options:

A.

Items or data within computational intensive loops shouldbe logged.

B.

The close method of ccrz.ccLog must be called at the end of the remote action.

C.

No calls to ccrz.ccLog can be made before cc_CallContext.initRemoteContext is executed.

D.

It is okay to log any data on the server that is already logged on the client side.

Question 6

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

Question 7

Which practice is allowed when it comes to naming a Lightning web component's folder and associated files?

Options:

A.

Including whitespace

B.

Using a single underscore

C.

Using consecutive underscores

D.

Using a single hyphen (dash)

Question 8

Northern Trail Outfitters (NTO) has a requirement to schedule a reusable data import across multiple orgs for customer demo purposes. NTO also has a requirement to seed data of related objects—ProductCatalog, ProductCategory, Product2, and ProductCategoryProduct— while preserving its relationships and without purchasing additional licenses or using thirdparty tools.

What is the recommended tool a developer should select to address the requirement?

Options:

A.

Dataloader.io

B.

Bulk Import Using Command Line Interface

C.

Commerce Product Data Import

D.

Data Import Wizard

Question 9

A developer has created a custom Lightning web component for the Cart page that needs to react to changes to cart items from the standard cart component.

How should the developer implement the custom component so changes to cart items and

quantities are reflected?

Options:

A.

Subscribe to events on the lightning_commerce_cartChanged channel using the Lightning

Message Service.

B.

Add a listener for the cartltemUpdate Lightning event.

C.

Listen for events on the lightning_commerce_cartChanged channel with the Lightning Event

“Listener component.

D.

Add an event listener for the cartchanged DOM (Document Object Model) event.

Question 10

Which two items are required for a developer to bring picklist values into a Lightning Web Component?

Options:

A.

import { getPicklistvValues } from 'lightning/uiObjectinfoApi';

B.

import { LightningElement, wire } from ‘lwc’;

C.

import { wire } from ‘lwc’;

D.

import { picklistValues } from 'lightning/uiObjectinfoApi’;

Question 11

While in the process of gathering requirements from a customer about how they would like to set up their net new storefront checkout experience, a consultant learns that the customer needs the ability to add new shipping and billing addresses during checkout.

Which approach should a developer take to meet this requirement?

Options:

A.

Create a new shipping address checkout subflow that utilizes the Buyer Managed Contact Point Addresses component.

B.

Enable Buyer Managed Contact Point Addresses within the Shipping Address standard component in the Checkout subflow.

C.

Enable Buyer Managed Contact Point Addresses within Commerce Administration.

D.

Create a Lightning web component that enables this functionality and replaces the current shipping address screen within the Checkout subflow.

Question 12

For which two reasons is it preferable to extend the Salesforce B2B Commerce remote invocation object instead of using the standard Salesforce remote action invocation manager (2 answers)

Options:

A.

A standard remote action will not have access to Salesforce B2B Commerce objects.

B.

The APEX method called by the remote action will be passed as a Salesforce B2B Commerce context object.

C.

Salesforce B2B Commerce includes do not support standard SalesForce remote actions.

D.

The Salesforce B2B Commerce logger cannot be utilized in standard remote actions

Question 13

How can a developer bring in a checkout flow step to another sequence order?

Options:

A.

drag and drop checkout Screens in main checkout flow

B.

drag and drop subflows in main checkout flow

C.

Adjust next-state in previous subflow configuration

D.

Reorder step in checkoutSteps.xml

Question 14

Northern Trail Outfitters (NTO) wants to be able to reference historical data in another system from the Salesforce user experience as read-only, but does not want to import the data into the

org or incur storage costs. What is one product feature that could accomplish this?

Options:

A.

Big Objects

B.

Lightning Out

C.

External Objects

D.

External SOQL queries in Apex code

Question 15

A user wants to have a customized experience for adding items to the cart. The user

also wants the mini cart module to reflect changes to the state of the cart afterwords. How

should this requirement be fulfilled?

Options:

A.

Leverage the Addto Cart Global API which add items to the cart and also refreshes the page with the new data.

B.

Trigger the global „cartChange" event and then trigger „changeMiniCart" event after the Add to Cart Action on the custom button.

C.

Write a custom Remote Action to refresh the Mini Cart and refresh the Cart Line item count on the Cart Link in the header.

D.

Trigger the global „cartChange" event after the Add to Cart Action on the custom button.

Question 16

Which HTML element can be used as a root tag for a Lightning Web Component's HTML file?

Options:

A.

B.

C.

D.

), not a self-closing tag (