Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Salesforce logo

SalesforceCertified B2C Commerce Developer

Domain 3Objective 6

Given a Performance Issue and Sample Code, Determine the Faulty Cache Configuration and Identify the Cause. B2C-COMMERCE-DEVELOPER Practice Questions (Page 2)

Part of the DATA MANAGEMENT/BUSINESS MANAGER USAGE domain, which accounts for 21% of the B2C-COMMERCE-DEVELOPER exam.

22questions here
5free pages
5concepts
21%of the exam

Questions 6–10

  1. 6foundation · easy

    In a B2C Commerce template, a developer adds a cache dependency on a product's `custom` attribute. What is the purpose of this dependency?

    Select an answer first
  2. 7application · medium

    A developer is implementing a cache for a product price. The price can change when a promotion is applied or removed. The developer wants to ensure that the cached price is invalidated when a promotion changes. Which approach should the developer use?

    Select an answer first
  3. 8application · medium

    A B2C Commerce site experiences high server load on a product detail page. The page uses a custom controller that caches the product data with a TTL of 5 minutes. The site receives a large number of requests for the same product. What is the most effective way to reduce the server load?

    Select an answer first
  4. 9application · medium

    A B2C Commerce site uses a custom controller to display a list of featured products. The controller caches the list using `CacheManager.getCache('featured')` with a cache key that includes the site ID and the current locale. After a merchandiser updates the featured products in Business Manager, the site still shows the old list for several hours. What is the most likely cause?

    Select an answer first
  5. 10application · medium

    A developer is reviewing code that caches a list of available payment methods. The cache key is `'paymentMethods_' + session.custom.paymentMethodVersion`. The version is incremented in Business Manager when a payment method is added or removed. A merchandiser reports that after adding a new payment method, the site still shows the old list. What is the most likely cause?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Salesforce. “B2C-COMMERCE-DEVELOPER” is a trademark of its owner, used for identification only.