11.11 Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: cramtick70

B2B-Commerce-Developer Salesforce Accredited B2B Commerce Developer (SU24) Questions and Answers

Questions 4

A developer attempts to export data from an org by launching Data Loader, selecting a standard entity, clicking the "Select All Fields" button and clicking the Finish button. The developer finds that the CustomField_c field they added to the entity has no values under the header in the CSV file output. What is the root cause?

Options:

A.

The developer does not have the correct JDK that is recommended by Salesforce and this is known to cause issues with exporting custom attributes

B.

The developer does not have access to the object's metadata

C.

The field is not populated

D.

The user does not have rights to the custom field

Buy Now
Questions 5

Which two event settings are required for a custom event called CustomEvent to fire from the Lightning web component and propagate up to the DOM?

Options:

A.

bubbles: true

B.

composed: true

C.

cancelable: true

D.

composed: false

Buy Now
Questions 6

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 know if a CSS file containing small changes was actually deployed to the org. What is one way this can be accomplished?

Options:

A.

Right-click the CSS file and choose Diff File Against Org

B.

Click the Tools menu and select Diff Styles Against Org...

C.

Right-click the folder for the component and choose Diff Styles Against Org

D.

Right-click the folder for the component and choose Diff Files Against Org

Buy Now
Questions 7

Inwhich three different ways can a theme be enabled in

Salesforce B2B Commerce? (3 answers)

Options:

A.

A Storefront setting

B.

An Account Group field value

C.

A per user setting

D.

Account

E.

Dynamically through a hook

Buy Now
Questions 8

What is true about mapping custom fields from Cart to Order Summary?

Options:

A.

A custom field must exist in the Cart and Order Summary objects only to be mapped successfully.

B.

The automatic Cart to Order mapping of custom fields can be disabled.

C.

All data types are supported for custom fields to be mapped from Cart to Order.

D.

There is a limit of 25 custom fields on a Cart that can be mapped to Order.

Buy Now
Questions 9

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.

Buy Now
Questions 10

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

Buy Now
Questions 11

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.

Buy Now
Questions 12

Which element can be used to pass HTML from a parent component to a child component? 03m 19s

Options:

A.

B.

C.

D.

Buy Now
Questions 13

Which wire adapter should a developer use to retrieve metadata about a specific picklist?

Options:

A.

getPicklistMetadata

B.

getPicklist

C.

getPicklistValues

D.

getPicklistMetadataValues

Buy Now
Questions 14

Ursa Major is planning to implement Salesforce B2B Commerce, and a developer needs to configure taxes for their storefront. The company operates in multiple states, each with different tax rates and tax rules.

What are two ways the developer should configure taxes in B2B Commerce?

Options:

A.

Configure a tax engine using third-party software.

B.

Configure tax rates and rules for each state in Salesforce B2B Commerce.

C.

Use a different pricebook for each state.

D.

Use the Salesforce out-of-the-box tax calculator.

Buy Now
Questions 15

Which event is triggered within Salesforce B2B Commerce whenever a cart's statechanges?

Options:

A.

cartChange

B.

cart

C.

pageMessage

D.

cartState

Buy Now
Questions 16

What does the developer need to implement to override Shipping in Checkout? 38m 04s

Options:

A.

sfdc_commerce.CartShippingCharges

B.

sfdc_commerce ShippingCharges

C.

sfdc_checkout.ShippingCharges

D.

sfdc_checkout.CartShippingCharges

Buy Now
Questions 17

What is true regarding adding more Configuration Settings

to Salesforce B2B Commerce?

Options:

A.

Metadata can be added to existing modules, but you cannot add new modules.

B.

Configuration settings can only be extended through API's

C.

Select "New"in your storefront's Configuration Settings and create a custom setting.

D.

More modules and metadata can be added to Salesforce B2B Commerce.

Buy Now
Questions 18

Which three files are required for a deployable Lightning Web Component called displayMyData that will fetch and display data?

Options:

A.

displayMyData.css

B.

displayMyData.js-meta.xml

C.

displayMyData.js

D.

displayMyDataController.cls

E.

displayMyData.html

Buy Now
Questions 19

Salesforce B2B Commerce natively provides a robots.txt file, however, a customer

can also create its own version.Which three scenarios are valid reasons for customer to

create their own robots.txt file? (3 answers)

Options:

A.

The customer wants to reference multiple storefront sitemap indexes in a single robots.txt file

B.

The customer wants to reference a custom sitemap index.

C.

The customer wants to have multiple robot.txt files in a single Salesforce Community.

D.

The customer's store is not located at the rootof their domain.

E.

robot.txt only works if there is one storefront in the org

Buy Now
Questions 20

When a developer configures a tax integration for a store, what happens to the previously calculated tax entries during the checkout flow?

Options:

A.

Ignored during recalculation

B.

Saved prior to recalculation

C.

Deleted from the Cart

D.

Modified with the new tax calculation

Buy Now
Questions 21

Numerous flags ... have a directimpact on the result set provided by the Global

API's. What Global API Data-Sizing convention flag prevents an API request from

propagating to further requests when provided as a Boolean parameter with a value of

true?

Options:

A.

ccrz.ccAPI.SZ_REL

B.

ccrz.ccAPI.SZ_ASSC

C.

ccrz.ccAPISizing.ASSC

D.

ccrz.ccAPISizing.REL

Buy Now
Questions 22

Which service method should be overridden in order to allow "without sharing" queries?

Options:

A.

ccrz.ccService.queryWithoutSharing()

B.

ccrz.ccAPI.queryService()

C.

ccrz.ccService.query()

D.

ccrz.ccService.initSVCDAO()

Buy Now
Questions 23

A developer has created a custom Lightning web component to display on the Product Detail page in the store. When the developer goes to add the component to the page in Experience Builder, it is missing from the list of custom components.

Which XML fragment should the developer include in the component's configuration XML file to ensure the custom component is available to add to the page?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 24

An administrator has just provided a developer with a completely new org and a username. Assuming the username is me@my-new-org.org, what is the correct set of steps to authorize the org for Command Line Interface (CLI) access so the developer can deploy Lightning web components?

Options:

A.

Run the command: 'sfdx force:login -r "https://login.salesforce.com'' and supply the credentials in the browser when it opens.

B.

Run the command 'sfdx force:auth:web:login -a "https://login.salesforce.com'"' and then supply the credentials in the browser when it opens.

C.

Run the command: 'sfdx force:auth:web:login -r "https://login.salesforce.com" and then supply the credentials in the ^ browser when it opens ^

D.

Run the command 'sfdx force:auth:web:login -r "https://login.salesforce.com" -username^'mefaJmy-new-org.org"'

Buy Now
Questions 25

A developer is working on a storefront that needs to use a sophisticated pricing engine hosted as a service outside the org. Assuming security and trusts have been established, which two actions must the developer take?

Options:

A.

Make a call to the service

B.

Use External Ohjects

C.

Implement the sfdc_checkout.PriceCalculations

D.

Implement the sfdc_checkout.CartPriceCalculations

Buy Now
Questions 26

How does a project implement the process to persist payment information datain the

Checkout flow for Salesforce B2B Commerce version 4.2 and beyond?

Options:

A.

Trigger a remote action when the process payment button is selected to capture the payment.

B.

Trigger a remote action to store the payment information in the URL query parameters.

C.

Trigger the processPayment event and pass in the payment information object as an argument.

D.

Trigger the externalprocessedPayment and pass in the payment information object as an argument.

Buy Now
Questions 27

What tool can a developer use to investigate errors during development?

Options:

A.

Commerce Diagnostics Event Logging

B.

Checkout Flow Log

C.

Support cases

D.

Browser dev tools

Buy Now
Questions 28

How can a developer establish communication between components that are not in the same DOM (Document Object Model) tree?

Options:

A.

Use publish-subscribe pattern.

B.

Configure targets property.

C.

Use dispatch events.

D.

Use @api decorators.

Buy Now
Questions 29

Numerous flags, when set, have a direct impact on the result set provided by the

Global API's. What is the default Global API DataSizing convention flag that is used by

theAPI's unless otherwise specified?

Options:

A.

CCRZ.ccPAI.SZ_XL

B.

CCRZ.ccPAI.SZ_M

C.

CCRZ.ccPAI.SZ_L

D.

CCRZ.ccPAI.SZ_S

Buy Now
Questions 30

A developer needs to loop through a series of child components which are tiles. What is the correct syntax for this if the child component is called appTile?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now