Weekend Special Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

Question # 4

Which two are considered discrete units of work (code units) within a transaction in the debug logs?

A.

Validation rule

B.

Lightning component load

C.

Web service invocation

D.

Apex class

Full Access
Question # 5

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

A.

import { getPicklistvValues } from 'lightning/uiObjectinfoApi';

B.

import { LightningElement, wire } from ‘lwc’;

C.

import { wire } from ‘lwc’;

D.

import { picklistValues } from 'lightning/uiObjectinfoApi’;

Full Access
Question # 6

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

A.

ccrz.ccService.queryWithoutSharing()

B.

ccrz.ccAPI.queryService()

C.

ccrz.ccService.query()

D.

ccrz.ccService.initSVCDAO()

Full Access
Question # 7

What is the recommended method for increasing the number of required autocomplete characters that are typed before autocomplete works?

A.

Override and extend the autoComplete method in cc_hk_Catalog.

B.

Override theautoComplete.search_input.minLength value in the CCRZ.uiProperties file

C.

Override the autocomplete template and create and register a new handlebars helper.

D.

Update the...minLength property in CC Admin, then build and activate a new cache.

Full Access
Question # 8

Which three file extensions are allowed in a Lightning Web Component folder?

A.

.js-meta.xml

B.

.html

C.

.Js

D.

.gif

E.

.jar

Full Access
Question # 9

Which two usages of ccLog should be avoided in Salesforce B2B Commerce? (2 answers)

A.

ccrz.ccLog.log(System.LoggingLevel.ERROR, 'D:something', myCallToGetMessage(pl) ), where myCallToGetMessage(pl) is a method invocation

B.

crz.ccLog.log(System.LoggingLevel.WARN, 'D:something', 'Something unexpected occurred: The data we were expecting for pl was not there,')

C.

crz.ccLog.log(System.LoggingLevel.DEBUG, 'D:myOrderList', myOrderList), where myOrderList is a list of orders

D.

crz.ccLog.log(System.LoggingLevel.DEBUG, 'D:myOrder', myOrder), where myOrder is an order object

Full Access
Question # 10

A developer is creating a component to implement a custom Terms and Conditions checkbox at checkout in the Aura Commerce template.

Which method should the developer implement on the Lightning web component to ensure the user accepts the terms and conditions?

A.

ComponentValidity

B.

Validate

C.

SaveCheckout

D.

CheckValidity

Full Access
Question # 11

Which three actions are applicable when modifying the number of steps required in the Salesforce Commerce Checkout flow? (3 answers)

A.

Perform a template override on the Checkout page.

B.

Add a page include to the checkout page.

C.

Build and activate a new configuration cache setting via CC admin.

D.

Set the value of the configuration setting defined as CO.useDef to TRUE

E.

Set the value of the configuration setting defined as CO.overrideFlow to TRUE.

Full Access
Question # 12

What two kinds of queries do the methods in Salesforce B2B Commerce services perform by default? (2 answers)

A.

SOSL

B.

SQL

C.

SOQL

D.

Schema-less queries

Full Access
Question # 13

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?

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.

Full Access
Question # 14

Where is the API-based record creation generally handled in Salesforce B2B

Commerce?

A.

In the methods available in extension hooks

B.

The service-layer responsible for the entity

C.

Data creation is not allowed

D.

Logic classes that implement the businesslogic for create operations

Full Access
Question # 15

Northern Tail Outfitters (NTO) is converting an existing aura component into a Lightning Web Component. The aura component has the following source code:

What is the equivalent of this code in a Lightning Web Component?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 16

What is one requirement to keep in mind when including additional JavaScript 1h files in a Lightning Web Component?

A.

The files must be ES6 modules and must have names that are unique within the component's folder.

B.

Only five of the files can be used with an import statement

C.

All the files must be imported to a singleton.js file and the singleton.js file can be used with an import statement

D.

Only one of the files can be used with an import statement

Full Access
Question # 17

An administrator has just provided a developer with a new org and username. Which two sets of steps can the developer use to authorize the org and begin deploying Lightning web components?

What should a developer do to expose a public property in a Lightning web component?

A.

Decorate the field with @property

B.

Decorate the field with @track

C.

Decorate the field with @public

D.

Decorate the field with @api

Full Access
Question # 18

A developer is building a custom component in Lightning web components (LWC) that has a grandchild component that needs to pass information to the grandparent component. What is the correct way to demonstrate the passing of a message from the grandchild component to the grandparent component?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 19

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

A.

getPicklistMetadataValues

B.

getPicklistMetadata

C.

getPicklistValues

D.

getPicklist

Full Access
Question # 20

Which interface does a developer have to implement to override Inventory in Checkout?

A.

sfdc_commerce.ValidationCartinventory

B.

sfdc_commerce.CartinventoryValidation

C.

sfdc_checkout.InventoryCartVvalidation

D.

sfdc_checkout.CartinventoryValidation

Full Access
Question # 21

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?

A.

Dataloader.io

B.

Bulk Import Using Command Line Interface

C.

Commerce Product Data Import

D.

Data Import Wizard

Full Access
Question # 22

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

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 need to 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.

Full Access
Question # 23

A product is assigned to the entitlement policy but is missing from the Price Book related to the Buyer Group. The entitlement policy has View products and View prices in catalog checked.

How will the product behave on the B2B Portal?

A.

The product will not appear on the Portal but can be searched since it is part of the entitlement policy.

B.

The product will appear on the Portal with Price Unavailable status and can also be added to the cart.

C.

The product will not appear on the Portal and therefore cannot be added to the cart.

D.

The product will appear on the Portal with Price Unavailable status but cannot be added to the cart.

Full Access
Question # 24

What class must a developer implement to override Pricing during the checkout?

A.

sfdc_commerce.CartPriceCalculations

B.

sfdc_commerce.PriceCalculations

C.

sfdc_checkout.PriceCalculations

D.

sfdc_checkout.CartPriceCalculations

Full Access
Question # 25

Which format is the custom Salesforce relationship with the API name,

"My_Relationship_Name__r.My_Name__c" queried and transformed into dy default in

Salesforce B2B Commerce?

A.

myrelationshipname.myname: value

B.

myRelationshipName.myName: value

C.

myRelationshipNameR=>(myName: value)

D.

My_Relationship_Name__r.My_Name__c: value

Full Access
Question # 26

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

A.

Create a named credential for authentication with the 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.

Full Access
Question # 27

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

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

A.

CC Storefront Assosiation

B.

CC Admin

C.

CC Page Sections

D.

CC Subscriber Pages

Full Access
Question # 28

A user wants the pricing to reflect the price values stored in an external ERP during

the checkoutflow. In what way can this requirement be satisfied?

A.

Override the computePricingCart method in ccrz.cc_api_PriceAdjustoment and make the callout in this method.

B.

None of the above

C.

Override the computePricingReview method in ccrz.cc_CartExtension and make the callout in this method.

D.

Override the computePricingCart methos in ccrz.cc_api_CartExtension and make the callout in this method.

Full Access
Question # 29

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)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access