New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

B2C-Commerce-Developer Exam Results

Page: 5 / 14
Question 20

A developer uses the call() instance method of dw.svc.Service to invoke a web service and implemented the callback methods defined by

thedw.avc.ServiceCaliback class.

Which callback method is required only when invoking a SOAP service?

Options:

A.

initServiceClient

B.

createRequeat

C.

mockCall

D.

parseResponse

Question 21

A Digital Developer extends a system object, Product, andadds a Boolean attribute, “sellable,” to it.

Assuming “prod” is the variable name handling the product, what code can the Developer use to access it?

Options:

A.

prod.extended.sellable

B.

prod.sellable

C.

prod.persistable.sellable

D.

prod.custom.sellable

Question 22

A developer working on a simple web service integration is asked toadd appropriate logging to allow future

troubleshooting.

According to logging best practices, which code should the developer write to log when an operation succeeds, but has an unexpected outcome that may produce side effects?

Options:

A.

Logger.info(‘Unexpected service response’)

B.

Logger.debug(‘Unexpected service response’)

C.

Logger.error(‘Unexpected service response’)

D.

Logger.warn(‘Unexpected service response’)

Question 23

A developer is working on a new site for the U.S based on an existing Canadian site. One of the

requirements is a change to the address form. The current Canadian form has an list with the

correct two-letter abbreviation for the provinces.

The U.S. requirements are to:

Have an list withthe correct two-letter abbreviation for the states in place of the

province field.

Set the U.S site locale.

Add the options list field definition to the XML file.

How should the developer set up the files before making the required edits?

Options:

A.

Create a copyof existing address.xml file in the default folder. Rename that file toadres_US.xml

B.

Create a new sub-folder in the forms folder. Name it US. Copy existing address.xml file inthe new folder.

C.

Create a copy of existing address.xml file in the defaultfolder. Rename that file toaddress_en_US.xml

D.

Create a new sub-folder in the forms folder. Name it en_US. Copy existing address.xml filein the new folder.

Page: 5 / 14
Exam Name: Salesforce Certified B2C Commerce Developer (SU24)
Last Update: Dec 22, 2024
Questions: 203
B2C-Commerce-Developer pdf

B2C-Commerce-Developer PDF

$25.5  $84.99
B2C-Commerce-Developer Engine

B2C-Commerce-Developer Testing Engine

$28.5  $94.99
B2C-Commerce-Developer PDF + Engine

B2C-Commerce-Developer PDF + Testing Engine

$40.5  $134.99