Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Pass the Salesforce Developers B2C-Commerce-Developer Questions and answers with ValidTests

Exam B2C-Commerce-Developer All Questions
Exam B2C-Commerce-Developer Premium Access

View all detail and faqs for the B2C-Commerce-Developer exam

Viewing page 6 out of 6 pages
Viewing questions 51-60 out of questions
Questions # 51:

Adeveloper cannot create a custom object in Business Manager because the attributes do not show. The developer can view the object but not the attributes.

Which action should the developer take to resolve the problem?

Options:

A.

Change the data type of the attributes.

B.

Create an attribute Group with the desired attributes in it.

C.

Set the attributes to site-specific replicable.

Expert Solution
Questions # 52:

Universal Containers needs to have Apple Pay disabled for the country of Spain.

Which Business Manager module should the Developer use to meet this requirement?

Options:

A.

Merchant Tools > Ordering > PaymentMethods

B.

Merchant Tools > Site Preferences > Apple Pay

C.

Merchant Tools > Ordering > Payment Processors

D.

Merchant Tools > Site Preferences > Payment Types

Expert Solution
Questions # 53:

Given the SFRA Controller below:

Question # 53

Why would a JavaScript debugger, that is stopped at line 06, fall to show the viewdata variable in the inspection tool?

Options:

A.

cache. applyDefauItCache is not a valid middleware.

B.

viewdata is declared but not assigned.

C.

viewdata is assigned but not declared.

D.

viewdata is a B2C Script reserved name.

Expert Solution
Questions # 54:

The following sample code is NOT providing the desired results. The Digital Developer needs to add an entry to the logs to debug the problem.

Question # 54

Which statement correctly adds a log entry?

Options:

A.

Logger.exception(‘Unable to find Apple Paypayment instrument for order.‘+paymentInstruments);

B.

Logger.getErrorLog().log(‘Unable to find Apple Pay payment instrument for order.‘+paymentInstruments);

C.

Logger.fault(‘Unable to find Apple Pay payment instrument for order.‘+paymentInstruments);

D.

Logger.error(‘Unable to find Apple Pay payment instrument for order.‘+paymentInstruments);

Expert Solution
Questions # 55:

There is a business requirement thata custom controller in app_custom_my_cartridge invokes the calculateTax(basket) function of the dw, order calculateTex hook that is defined in app_storefront_base. How can the developer implement this call?

A)

Question # 55

B)

Question # 55

C)

Question # 55

Options:

A.

Option A

B.

Option B

C.

Option C

Expert Solution
Questions # 56:

Given the requirement to add caching toan existing page while adhering to SFRA best practices, which code snippet should be used?

A)

Question # 56

B)

Question # 56

C)

Question # 56

Options:

A.

Option A

B.

Option B

C.

Option C

Expert Solution
Questions # 57:

A developer is configuring Payment Methods on astorefront. Which of the following considerations should be kept in rmnd while configuring payment methods,

Options:

A.

You can't delete a default payment method. You can only disable it.

B.

You can add only up to 5 payment methods

C.

You can't drag and drop thecolumn headers to change the sort order.

Expert Solution
Questions # 58:

Universal Containers wants to add a model field to eachproduct. Products will have locale-specific model values.

How should the Digital Developer implement the requirement?

Options:

A.

Utilize resource bundles for translatable values.

B.

Set the model field as a localizable attribute.

C.

Store translated model valuesin different fields; one field for each locale.

D.

Add model to a new custom object with localizable attributes.

Expert Solution
Questions # 59:

A developer uses hooks for an extension point. Which n true for running multiple hooks for an extension point?

Options:

A.

It is possible to register multiple modules to call for an extension point in a singlehooks.json file

B.

It is possible to control the order in which registered modules are called.

C.

If you call multiple modules, only the first hook called returns a value

Expert Solution
Questions # 60:

A job executes a pipeline that makes calls to an external system.

Which two actions prevent performance issues in this situation? (Choose two.)

Options:

A.

Use synchronous import or export jobs

B.

Configure a timeout for the script pipelet.

C.

Disable multi-threading.

D.

Use asynchronous import or export jobs.

Expert Solution
Viewing page 6 out of 6 pages
Viewing questions 51-60 out of questions