Pre-Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 65pass65

Free Salesforce Certified B2C Commerce Cloud Developer (Comm-Dev-101) Practice Questions

Question # 1

Consider the following information:

• A merchant has this three-tier category structure setup in the Storefront catalog:

New Arrivals > Women > Clothing

• The category namedClothing has all the clothing items for Women and is merchandised.

• A Search Refinement named Newness is correctly configured for the Clothing category.

When a merchandiser views the Clothing category, the Search Refinement appears and Works as

expected.However, the merchandiser does not see the Search Refinement when searching for Clothing via

the Storefront search.

What is the Reason?

Options:

A.  

There are conflicting Search Refinement definitions for Clothing and one of its parentcategories

B.  

The Search Refinement definition is not set up for the Women category

C.  

The Search Refinement definition is not set up for the New Arrivals Category.

D.  

The Search Refinement definitions is not set up for the Root Category

Discussion 0
Question # 2

Business Manager has the configuration:

Active Log category is "root"

Log level of WARN

The code below is executing:

var log = Logger.getLogger("products");

Using this information, which two logs will be written?

Choose 2 answers

Options:

A.  

log.warn("This is a warn message");

B.  

log.error("This is an error message");

C.  

log.info("This is an info message");

D.  

log.debugfThis is a debug message");

Discussion 0
Question # 3

A developer has custom debug statements in a script, but the messages are not showing up in the

Storefront Toolkit Request Log.

Which step needs to be completed to get the messages to appear in the Request Log?

Options:

A.  

In Global preferences, check the box for Enable custom logging in Request Log.

B.  

In Site Preferences, check the box for Enable custom Logging in Request Log

C.  

In Custom Log Settings, check the DEBUG box for Select Log Levels Written to Files.

D.  

In custom Log Settings, activate the loggin category at DEBUG level.

Discussion 0
Question # 4

Business Manager has the configuration:

Active log category is “root”

Log level of INFO

The code below execites:

Var log = Logger.getLogger(“products”,”export”);

Log.info (“This is important information”);

Using this information, what is the beginning of the filename in which the log will be written?

Options:

A.  

custom-export

B.  

custom-products

C.  

products

D.  

info-export

Discussion 0
Question # 5

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?

Options:

A.  

In Payment Methods, enable American Express as a credit card type.

B.  

Add American Express intothe Order settings in Site Preferences.

C.  

In Payment Processor, create American Express as a payment type.

D.  

Add American Express as a Payment Preference in Site Preferences.

Discussion 0
Question # 6

A NewsletterSubscription custom object exists that has a key attribute named email of type String and the following script code.

Question # 6

However, the NewsletterSubscription custom object is not persisted.

What is a possible reason?

Options:

A.  

The code shownneed to be wrapped in a transaction.

B.  

The code shown needs to be wrapped in a try/catch block.

C.  

The code shown is the wrong syntax. The correct syntax is:

Discussion 0
Question # 7

An instance has custom logging enabled. The log reaches the file size limit.

What happens in this situation?

Options:

A.  

The log file is deleted and a new log file is created.

B.  

Logging is suspended for the day

C.  

The currentlog file is archived and a new log file is created.

D.  

The log file Rolls over and the oldest log messages are overwritten

Discussion 0
Question # 8

The developer has been given the following business requirement:

The shipping method, "Free Standard Ground Shipping" has an exclusion for products with 'category equals oris child of electronics-televisions.'

The marketing department has scheduled a sale offering a "Free Standard Ground Shipping" method for brand XyzTv televisions for the next 3 months.

What method accomplishes this while following best practices'

Options:

A.  

Createa new shipping method and label it "Free Standard Ground Shipping". Give it the qualifier 'brand equals XyzTv', and add it to the checkout options.

B.  

Create an allow list for the existing shipping method by adding a product exclusion for 'brand equals XyzTv' to the exclusion list fo<" "Free Standard Ground Shipping."

C.  

Extend the CheckoutShippingServices controller using module.superModule and add an exception for the specified brand.

D.  

Extend the code in cartridge/models/shipping/shippingMethod.jsusing module.superModule and add an exception for the specified brand.

Discussion 0
Question # 9

There are three logging categories: category1, category1.eu, and category1.us.

In Business Manager, category1 is enabled for WARN level and no other categories are configured. All custom log targets are enabled.

The code segmentbelow executes.

Question # 9

What is the result'

Options:

A.  

Logs will not be written.

B.  

Logs will be written to the log file with a prefix loggerFile.

C.  

Logs will be written to the log file with a prefix custom-loggerFile.

D.  

Logs will be written to the log file with a prefix customwarn.

Discussion 0
Question # 10

Which three object types can a developer import using the Merchant Tools > Content > Import & Export module in Business Manager? (Choose three.)

Options:

A.  

Content slots

B.  

Images and other static assets

C.  

Products

D.  

Folders

E.  

Content assets

Discussion 0

B2C-Commerce-Developer PDF

B2C-Commerce-Developer PDF (Printable)
$54.25
$154.99

B2C-Commerce-Developer Testing Engine

B2C-Commerce-Developer PDF (Printable)
$59.5
$169.99

B2C-Commerce-Developer PDF + Testing Engine

B2C-Commerce-Developer PDF (Printable)
$74.55
$212.99
Exams4sure Dumps

Exam style questions across every B2C-Commerce-Developer domain

Last Update 14 hours ago
Total Questions : 203

Start with our free B2C-Commerce-Developer practice questions, carefully crafted to mirror the domains, phrasing, and difficulty of the real Developers exam. Each B2C-Commerce-Developer exam question comes with a detailed rationale that explains not just which answer is correct but why the others fall short. That's how concepts stick. Use the free set to benchmark yourself: identify your Salesforce weak domains, see where you're losing marks, and build a focused study plan in minutes.

Free Exams Sample Questions