Limited-Time Offer: Enjoy 50% Savings! Ends in 00h 00m 00s Coupon code: 50OFF
Skip to content

Free Salesforce B2C Commerce Developer with SFRA CCD-102 Exam Questions

Page: 1 / 14 Total 207 questions

Want more questions? Get Premium Access.

Question 1

A Digital Developer has identified that the code segment below is causing performance problems.

What should the Developer do to improve the code?

Correct Answer: C. Breaks the process into separate loops.

Question 2

A developer is importing edits for two different sites into the same sandbox, and is provided with four different files.

Which two XML files should the developer import using the site-specific Merchant Tools import modules,

instead of the Administration section import modules?

Choose 2 answers.

Correct Answer: C. Search Settings En (search y en Sites); D. Promotions ( en sites y en online marketing)

Question 3

There is a business requirement to allow a third-party warehouse management system to update the MySampte.com storefront product inventory in real time. The architect decided that this is most easily accomplished by using the Open Commerce API (OCAPI). The developer needs to test the OCAPI settings m their sandbox. Assume the client ID for testing is "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'. What B the correct GCAPI setting for this?

A)

Correct Answer: A. Option A

Question 4

A merchant has a new requirement to accept American Express credit cards on its Storefront. A credit card payment method already exists.

Which step must a developer take in Business Manager to achieve this?

Correct Answer: A. In Payment Methods, enable American Express as a credit card type.

Question 5

A developer has a requirement to add a new field to the IN registration from that must not appear in the US one.

Which path should be created to accomplish this requirement?

Correct Answer: A. cartridge/forms/en_IN/profile.xml

Question 6

Given a template rendered by a controller with caching and a remote include without caching, which situation applies?

Correct Answer: B. The remote include portion is not cached, but the rest of the page is cached.

Question 7

A client uses tax tables in Business Manager to calculate tax. They recently started shipping to a new

country, Italy, and the taxi s not being calculated correctly on the Storefront

What is the likely problem?

Correct Answer: C. Tax Jurisdiction is missing; D. Tax Locale is configured wrong

Question 8

The client provides the system integrator with translation messages for the newly added "French" ("fr") locale.

What is the correct folder to store the associated .properties files?

Correct Answer: B. A cartridge/templates/resources

Question 9

Given the requirements:

To integrate with an external web service using HTTP requests

To create a service for this purpose with the Service framework using the LocalServiceRegistry

class.

To test the service before the external service provider makes the API available

Which solution allows the developer to satisfy the requirements?

Correct Answer: B. Create a service and implement the mockFill callback and set the service mode to mock.

Question 10

A developer is implementing new Page Designer content on a merchant's Storefront and adds the line shown below to the setupCsntentSearch function in the searchHelpers.Js file.

What does this achieve?

Correct Answer: A. Allows Page Designer pages and components to be searchable

Question 11

Given the following conditions:

Site export file with a copy of the Storefront data for a custom site

Sandbox with the custom site code, but no Storefront data

Requirement for a working copy of SFRA for development reference

A developer is assigned the following Business manager tasks:

A) Import the custom Site using Site Import/Export

B) Import the SFRA Demo Sites using Site Import/Export

C) Rebuild the custom Site search indexes

In what sequence should the developer perform the tasks, so that the custom Site displays the products as intended?

Correct Answer: D. Task B, then A, then C

Question 12

Which method is efficient and scalable because it uses the product search index rather than searching the database?

Correct Answer: C. ProductSearcbHodel().gerProductSearchHita()

Question 13

The developer needs to add custom category debug logging into the ''contact'' script, to ensure that a third-party service call responds as expected.

Assuming that the logging configurations for the contact category are correctly in place, which line of code should the developer add in the 06 placeholder to meet this requirement?

A)

B)

C)

Correct Answer: A. Option A

Question 14

A developer needs to display a products list of their "Women Dresses" category in a new web application, independent of their main B2C Commerce site. This custom listing page needs to be styled differently from the existing one, as per marketing requirements.

Which B2C Commerce tool should the developer use to collect the necessary information?

Correct Answer: D. The Search-Show Controller URL to perform a web crawl.

Question 15

Given a job step configured in the steptype.json, a developer needs to add a custom status code

''No_FILES_FOUND''.

Which code snippet will complete the requirement?

Correct Answer: B. var status = require('dw/system/status'); return new Status(Status.OK, 'NO_FILES_FOUND');