Weekend Sale 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sale65best

Free Salesforce B2B-Commerce-Developer Practice Exam with Questions & Answers | Set: 6

Questions 51

Northern Trail Outfitters (NTO) exports Order Summary data from its org. A developer launches Data Loader, selects Order Summary, clicks the Select All Fields button, and clicks Finish. Custom fields are defined in the Cart and Order Summary objects and successfully mapped from Cart to Order Summary during checkout. However, all three custom fields in the Order Summary are empty in the export file.

What is the most likely cause?

Options:
A.

There was a misspelling in one of the custom fields.

B.

The Cart to Order action does not support the mapping of custom fields.

C.

The developer does not have access to the fields.

D.

The developer can export Order Summary records only by using Data Export Service

Salesforce B2B-Commerce-Developer Premium Access
Questions 52

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’;

Questions 53

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 for subscribers to tie into.

Questions 54

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.

Questions 55

A developer needs to implement a custom Lightning web component (LWC) for the storefront.

The LWC contains language-specific text values.

How should the developer translate the text values?

Options:
A.

Import static resources for the text values and add them into the LWC.

B.

Use a CustomLabel xml file in the LWC to add the text values there.

C.

Create custom labels for the text values and import them in the LWC.

D.

Create a custom Metadata object for the text values and query it in the LWC.

Questions 56

A developer is working on a storefront and is seeing unexpected Ul behavior in one of the custom Lightning web components (LWCs) their team has built.

How should the developer investigate the issue?

Options:
A.

Enable Debug Mode for a storefront user, log in to the storefront, and use Browser Inspection tools and debugger points.

B.

Enable Debug Mode for a storefront user, load the LWC in Visual Studio (VS) Code, attach to session, and view debug logs in VS Code.

C.

Enable debug logs for a storefront user, log in to storefront and perform action, and view debug logs in Setup.

D.

Identify the user, inputs, and failure, then ask Salesforce support to investigate the issue with the custom LWC.

Questions 57

Which Salesforce B2BCommerce object needs to have a record added when defining

a new Subscriber Pages to be rendered in a CC Page?

Options:
A.

CC Storefront Assosiation

B.

CC Admin

C.

CC Page Sections

D.

CC Subscriber Pages

Questions 58

Which two statement are true for Mass Order (2 answers)

Options:
A.

Mass Order pricing is done via a batch job.

B.

Mass order works with thedefault wishlists

C.

The variation product is leveraged for SKUs.

D.

Mass Order is mobile ready with the ccrz templates.

Questions 59

The ccUtil apex class in Salesforce B2B Commerce provides numerous utility

functions that can be leveraged in subscriber classes.

What are two ways to check the input or return data of the Global API's? (2 answers)

Options:
A.

ccrz.ccUtil.isNotEmpty(Map) andccrz.ccUtil.isNotEmpty(List)

B.

ccrz.ccUtil.isNotValid(Map) andccrz.ccUtil.isNotValid(List)

C.

ccrz.ccUtil.isValid(Map) and ccrz.ccUtil.isValid(List)

D.

ccrz.ccUtil.isEmpty(Map) and ccrz.ccUtil.isEmpty(List)