Free B2C-Commerce-Developer: Salesforce Certified B2C Commerce Developer (WI20) Exam Questions and Answers
Salesforce Certified B2C Commerce Developer (WI20) is part of Salesforce certification from Salesforce, through Trailhead Academy. Salesforce credentials are organised into role families — administrator, developer, consultant, architect, designer and marketer — with current exam codes in the Trailhead Academy form Plat-Admn-201, where the trailing number marks the band: 101 foundations, 201 core, 301 advanced, 401 architect.
Candidates comparing B2C-Commerce-Developer: Salesforce Certified B2C Commerce Developer (WI20) exam dumps, ExamTopics and other practice tests use this page for the answers and explanations behind each question. Download the free PDF, then sit the timed exam simulation before booking with Salesforce.
Last updated: October 16, 2026
- Provider
- Salesforce
- Questions in our bank
- 1000+
- Free to read
- First 10, with answers
- Our test mode duration & pass mark
- 130 mins · 70%
- Verified answers
- Reviewed weekly
- Practice format
- Multiple choice
Recommended: Switch to Test Mode to start a practice test that simulates the real exam experience.
Question #1
A developer has a catalog XML file that must be imported into a sandbox with the Business Manager Import & Export module. The file will be uploaded over WebDAV. In which WebDAV location must the file be placed so that it is listed for import?
Correct answer: B
Explanation
Files that Business Manager can import are read from the Impex/src directory, usually in a subfolder such as Impex/src/catalog. Cartridges holds code versions and Static holds storefront static resources, so neither is scanned by the import modules.
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.
Question #2
A developer creates a hooks.json file that maps a hook name to a script in a custom cartridge. Which cartridge file must contain a hooks property that points to hooks.json so that the hooks are registered?
Correct answer: B
Explanation
Hook registration starts in the cartridge's package.json, where the hooks property holds the relative path to hooks.json. Without that reference, the platform does not read the hook mappings.
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.
Question #3
A developer adds a route that processes a standard form POST in an SFRA controller. Which middleware function must be added to the route to verify the CSRF token before the route handler runs?
Correct answer: B
Explanation
csrfProtection.validateRequest checks the submitted token and stops the request if it is missing or invalid. generateToken is used on the route that renders the form so the token can be placed in the page, which is the tempting but wrong choice for the submit route.
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.
Question #4
A developer must add a custom attribute to the Order system object type. Which Business Manager path is used to define the attribute?
Correct answer: B
Explanation
Custom attributes on system objects such as Order are defined under Administration > Site Development > System Object Types, in the Attribute Definitions tab of the object. Custom Object Definitions is for creating new custom object types, not for extending existing system objects.
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.
Question #5
A developer creates a string attribute named ecoRating on the Product system object type. A merchant opens a product in Merchant Tools > Products and Catalogs > Products and cannot find the field on any tab. What should the developer do?
Correct answer: D
Explanation
Attributes appear in the Business Manager editor only when they belong to an attribute group, which is managed in the Attribute Grouping tab of the system object. Site-specific, searchable and mandatory settings change how the value behaves but do not place the field on the page.
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.
Question #6
A developer defines a newsletter form in forms/default/newsletter.xml. The email field has mandatory="true" and a regex attribute. The POST route of the controller must continue only when every field satisfies the constraints from the XML definition. The form is loaded as follows: var newsletterForm = server.forms.getForm('newsletter'); Which condition correctly tests the submission?
Correct answer: C
Explanation
A form object returned by server.forms.getForm exposes a valid property that is true only when all fields pass the mandatory, length and regex rules in the form definition. req.form is just the raw posted data and has no validation state.
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.
Question #7
A developer adds this route to a controller in an SFRA cartridge. Requesting Wishlist-Show returns an empty response and no template is rendered. No error is written to the log. server.get('Show', function (req, res, next) { var items = getWishlistItems(req.currentCustomer); res.render('wishlist/show', { items: items }); }); What is the cause?
Correct answer: B
Explanation
In SFRA, res.render only queues the template, and the response is produced when the handler calls next() and the route completes. Omitting next() produces an empty response without an exception. A missing middleware function would change access rules but would not blank the page.
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.
Question #8
A merchant needs a new site that sells in euros and displays prices that include tax. A developer opens Administration > Sites > Manage Sites to create the site. Which two settings does the developer specify for the site? Choose 2 answers.
Select 2 answers.
Correct answer: C, D
Explanation
Currency and taxation type (net or gross) are site-level settings chosen in Administration > Sites > Manage Sites. Tax jurisdictions and tax tables are configured separately under Merchant Tools > Ordering > Taxation, and price books are assigned to the site afterward, so neither defines the site's currency or tax type.
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.
Question #9
A developer needs to grant an external system access to specific resources of the Data API. In which Business Manager module are the OCAPI client permissions configured?
Correct answer: A
Explanation
Client IDs, resources, allowed methods and attribute access for the Shop and Data APIs are defined as JSON in Administration > Site Development > Open Commerce API Settings. Roles & Permissions controls what Business Manager users can open, which is a common point of confusion, but it does not set OCAPI client permissions.
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.
Question #10
A single-page app hosted at https://shop.northwind.example calls the OCAPI Shop API. In the browser, requests to /s/NorthwindUS/dw/shop/v23_2/products/883 fail with a CORS error. The same request with the same client ID succeeds in Postman. Which change resolves the issue?
Correct answer: A
Explanation
Browsers enforce CORS, so the Shop API settings must list the calling origin in allowed_origins for the client ID. Postman does not apply CORS checks, which is why the call works there and shows that resource permissions are already correct. The Data API settings and cache time do not affect cross-origin access.
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.
Discussion
Explain your reasoning, not just the letterOther Salesforce certifications
- ADM-201: Administration Essentials for New Admins (opens in a new tab)
- Certified Sales Cloud Consultant (opens in a new tab)
- Certified Platform Developer II (opens in a new tab)
- ADM-211: Administration Essentials for Experienced Admin (opens in a new tab)
- Certified Platform App Builder (opens in a new tab)
- CRT-450: Salesforce Certified Platform Developer I (opens in a new tab)
- Certified Business Analyst (opens in a new tab)
- Certified Marketing Cloud Email Specialist (opens in a new tab)
- Certified Development Lifecycle and Deployment Architect: Certified Development Lifecycleand Deployment Architect (opens in a new tab)
- Certified Industries CPQ Developer (opens in a new tab)
- Certified Tableau CRM and Einstein Discovery Consultant (opens in a new tab)
- Certified Service Cloud Consultant: Salesforce Certified Service Cloud Consultant (opens in a new tab)
Reviews
Write a review★★★★★
Exam Practice is worth every penny. The mock exams are realistic, and the feedback helped me focus on key areas.
Amit SharmaVerified buyer
★★★★★
I highly recommend Exam Practice. The feedback after each test helped me improve significantly, and I passed my exams easily.
Oscar NyströmVerified buyer
★★★★★
This platform is a lifesaver. The practice questions and explanations are so detailed. It’s the best study tool I’ve ever used.
Hannah SmithVerified buyer
FAQ
Learn More: https://trailhead.salesforce.com/en/credentials/administratoroverview/
- Q1: What is the B2C-Commerce-Developer: Salesforce Certified B2C Commerce Developer (WI20) exam?
- A: B2C-Commerce-Developer: Salesforce Certified B2C Commerce Developer (WI20) is a Salesforce certification exam. Judging by the questions in our bank, it concentrates on developer, digital, cartridge, storefront and universal.
- Q2: What topics does the B2C-Commerce-Developer: Salesforce Certified B2C Commerce Developer (WI20) exam cover?
- A: Questions in our B2C-Commerce-Developer: Salesforce Certified B2C Commerce Developer (WI20) bank cluster around developer, digital, cartridge, storefront, universal, cartridges, containers and page. Working through the full set is the quickest way to find which of these you are weakest on.
- Q3: How should I prepare for B2C-Commerce-Developer: Salesforce Certified B2C Commerce Developer (WI20)?
- A: Work through the B2C-Commerce-Developer: Salesforce Certified B2C Commerce Developer (WI20) practice questions here, checking your answer on each one, then sit the practice test to rehearse the exam under timed conditions before the real thing.
- Q4: Are these real B2C-Commerce-Developer: Salesforce Certified B2C Commerce Developer (WI20) exam questions?
- A: They are drawn from officially released past questions and from community members who have sat B2C-Commerce-Developer: Salesforce Certified B2C Commerce Developer (WI20). Answers are verified and updated weekly.
- Q5: Where do I register for the B2C-Commerce-Developer: Salesforce Certified B2C Commerce Developer (WI20) exam?
- A: Register through Salesforce directly. Exampractice is not affiliated with Salesforce and does not administer the exam.
- Q6: Is there a free B2C-Commerce-Developer: Salesforce Certified B2C Commerce Developer (WI20) sample?
- A: Yes. Every B2C-Commerce-Developer: Salesforce Certified B2C Commerce Developer (WI20) page shows a free sample of real questions. Upgrading opens the full bank and the practice test.
- Q7: What are Salesforce Certification Exams?
- A: Salesforce Certification Exams validate your expertise in using and managing Salesforce’s customer relationship management (CRM) platform. These certifications demonstrate your proficiency in deploying, configuring, and optimizing Salesforce applications to drive business growth and customer engagement.
- Q8: Why should I pursue Salesforce Certification?
- A: Salesforce Certification enhances your professional credibility, showcasing your skills and knowledge in Salesforce solutions. This can lead to better job opportunities, higher salaries, and career advancement in CRM, cloud computing, and IT management roles.
- Q9: What are the benefits of Salesforce Certification?
- A: Benefits include recognition as a certified Salesforce professional, improved job performance, access to exclusive resources, continuing education opportunities, and staying current with the latest Salesforce technologies and best practices.
- Q10: Who should take Salesforce Certification Exams?
- A: CRM administrators, developers, consultants, sales and marketing professionals, and anyone involved in managing and implementing Salesforce solutions should consider these certifications to validate their expertise and advance their careers.
- Q11: What types of Salesforce Certification Exams are available?
- A: Salesforce offers various certification paths, including:
- Q12: How do I prepare for Salesforce Certification Exams?
- A: Preparation can include official Salesforce training courses, study guides, practice exams, online tutorials, and hands-on experience with Salesforce products and solutions.
- Q13: Where can I take Salesforce Certification Exams?
- A: Salesforce Certification Exams can be taken online with remote proctoring or at authorized testing centers worldwide, providing flexibility to fit your schedule and location.
- Q14: How do Salesforce Certifications impact my career?
- A: Salesforce Certifications significantly boost your career by demonstrating your expertise to employers, making you a more competitive candidate for advanced roles and promotions in CRM, cloud computing, and IT management.
- Q15: Are there any prerequisites for Salesforce Certification Exams?
- A: Some exams may have prerequisites, such as foundational knowledge or prior experience with Salesforce products. Check the specific requirements for each certification path on the Salesforce certification website.
- Q16: How often do I need to recertify for Salesforce Certifications?
- A: Salesforce Certifications typically require recertification annually to ensure that certified professionals stay updated with the latest Salesforce technologies and industry practices.



