B2C-Commerce-Developer: Salesforce Certified B2C Commerce Developer (WI20) Digital Practice Questions
The free B2C-Commerce-Developer: Salesforce Certified B2C Commerce Developer (WI20) questions that deal with digital, with answers and explanations. The full bank and the timed practice test cover every topic the exam asks about.
Question #2
A Digital Developer is requesting product information for an external integration. The following Open Commerce API (OCAPI) request is NOT functioning correctly: How should the Developer change the request?

Correct answer: C
Explanation
Retrieving product information is a read operation, so the Shop API product resource must be called with the GET method; PUT is not supported and the resource path itself is valid.
Question #3
A Digital Developer has a new requirement to disable the "Discover" credit card type for all checkouts. What does the Developer need to change in Business Manager to fulfill this requirement?
Correct answer: C
Explanation
Credit card types offered at checkout are controlled by the individual credit card payment methods under Merchant Tools > Ordering > Payment Methods, where Discover can simply be disabled.
Question #7
A Digital Developer suspects a logical error in a script. Which action will help locate the error?
Correct answer: C
Explanation
Setting breakpoints, stepping through the script and examining variable values reveals where the logic goes wrong. Request logs show evidence of failures rather than faulty logic, and support tickets or printing values in an earlier node do not locate the error.
Question #8
A Digital Developer needs to add logging to the following code: Which statement logs the HTTP status code to a debug-level custom log file?

Correct answer: D
Explanation
The Logger class is used with getLogger(category), and the category determines which custom log file receives the message, with {0} holding the status code argument. The lowercase logger calls and getLogger() without a category cannot target a named custom log file.
Question #9
A Digital Developer has been given a requirement to add fault tolerance to an existing web service integration that uses Service Framework. Administrators at Universal Containers need to be able to configure the timeout and rate limiting. Which approach should the Developer use to implement the requirement?
Correct answer: A
Explanation
With the Service Framework, timeouts and rate limits are configured by administrators on the service profile; when a limit or circuit breaker trips the call throws ServiceUnavailableException, which the code catches to run fallback logic.
Question #10
A Digital Developer is implementing an Open Commerce API call to add products to a basket. Given the following resource configuration: Which modification allows the requests to successfully execute?

Correct answer: A
Explanation
Adding items requires the resource to cover the basket's items sub-resource, so resource_id must be /baskets/*/items rather than the basket resource alone.
Continue with B2C-Commerce-Developer: Salesforce Certified B2C Commerce Developer (WI20)
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in B2C-Commerce-Developer: Salesforce Certified B2C Commerce Developer (WI20), the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
All B2C-Commerce-Developer: Salesforce Certified B2C Commerce Developer (WI20) practice questions →
