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

Free Salesforce Certified B2C Commerce Architect B2C-Commerce-Architect Exam Questions

Page: 1 / 7 Total 64 questions

Want more questions? Get Premium Access.

Question 1

During the testing of the login form, QA finds out that the first time the user can log in, but every other login attempt from another computer leads to the homepage and the basket being emptied. Developers tried to debug the issue, but when they add a breakpoint to the login action, it is not hit by the debugger.

Whatshould the Architect recommend developers to check?

Correct Answer: D. Check Login Form and any includedtemplates for includes that enable page caching.
Explanation:

When QA encounters issues with login persistence across multiple computers, where subsequent logins lead to a redirection and an emptied basket, the likely culprit could be unintended caching of login-related pages or processes. In Salesforce B2C Commerce, certain cache settings might inadvertently cause user sessions to be shared or not properly invalidated. The recommendation D, to check the login form and related templates for caching directives that might be erroneously caching login actions or user-specific data, addresses this potential issue. Developers should ensure that pages handling user sessions and authentication are configured to disable caching, thus preventing session data from being mistakenly retained or shared across different users.


Question 2

The Client plans to deploy a new payment provider and Order Management System on its existing B2C Commerce website. They have asked an Architect to advise which environment it should use to conduct load testing of its new integrations.

Which environment should be used as the ideal environment for this kind of load test?

Correct Answer: B. The Development Instance of the existing Realm.
Explanation:

For conducting load testing of new integrations with a payment provider and Order Management System, it is recommended to use the Development Instance of the existing Realm (Option B). This approach ensures that any issues found during testing do not affect the live production environment, while still allowing tests to be conducted in an environment that mirrors the production setup as closely as possible. This minimizes the risk of disruptive downtime or customer-facing errors when the integration goes live.


Question 3

A third party survey provider offers both an API endpoint for individual survey data and an SFTP server endpoint that can accept batch survey dat

a. The initial implementation of the integration includes

1.Marking the order as requiring a survey before order placement

2. On the order confirmation pace, the survey form is displayed for the customer to fill

3. The data is sent to the survey provider API, and the order it marked as not requiring a survey

Later it was identified that this solution is not fit for purpose as the following issues and additional requirements were identified:

1. If the API call fails, the corresponding survey data is lost. The Business requires to avoid data loss.

2. Some customers skipped the form. The Business require sending a survey email to such customers.

3. The Order Management System (OMS) uses a non-standard XML parser it did not manage to parse orders with the survey, until the survey attribute was manually removedfrom the xml.

How should the Architect address the issues and requirements described above?

Correct Answer: C. Create a custom object when the survey is required Send to the API endpoint in real-time. On success, remove the object. Onfailure, capture the survey data in the custom object and later reprocess with a job. Use the custom object to send emails for the cases when survey was skipped.
Explanation:

This approach addresses all concerns: data retention, reattempt on failure, and follow-up communication. By storing survey data in a custom object, data is preserved even if the API call fails, allowing for reprocessing. This method also facilitates sending follow-up emails by querying custom objects for surveys that were skipped, ensuring comprehensive coverage and reliability in data handling and customer engagement.


Question 4

A developer wants to import the data or different instances.

Which two types ofdata should the developer consider importing?

Choose 2 answers

Correct Answer: B. Catalog; C. Customers
Explanation:

When importing data between instances, focusing on significant and impactful data types is essential:

Option B (Catalog): Includes all product listings, descriptions, categorizations, and relationships. It's crucial for the eCommerce operation, directly affecting site navigation and customer experience.

Option C (Customers): Customer data import is essential for maintaining continuity in customer relationships, access, and personalization across platforms.

These data types are fundamental to the functioning of an eCommerce site and ensure that essential operational data is consistent across different environments or platform migrations.


Question 5

A new project for a Client will involve a few different Integrations to their middleware system resulting in four different web services. All will use the same credentials to the middleware. Each will have the same timeout, but will require a separate log file prefix.

How should the Architect set this up with the Service framework using a minimal set of configuration?

Correct Answer: C. Four Service Configurations. One Service Profile, One Service Credential.
Explanation:

For setting up multiple integrations that require the same credentials and timeout settings but need separate log file prefixes:

Four Service Configurations are needed to specify the unique endpoint and other specifics for each of the four web services.

One Service Profile can be used for all these configurations because they share the same timeout and other settings, optimizing the configuration process.

One Service Credential is sufficient since all services authenticate with the same credentials, simplifying credential management and security handling.

This setup reduces redundancy and complexity in the service framework, ensuring a streamlined and efficient integration process while meeting all specified requirements.


Question 6

The Client is creating a new Storefront and their requirements include:

* ApplePay support

* Log -n through a standard OAuth2 social media account

* One Okie checkout process

* Ay B testing forpromotions

Which two items require technical documentation for customizing the Storefront Reference Architecture?

Choose 2 answers

Correct Answer: A. One Click checkout process; C. log in through a standard OAuth2 social media account
Explanation:

For customizing the Storefront Reference Architecture to meet specific requirements, the following items would require detailed technical documentation:

Option A (One Click checkout process): Implementing a one-click checkout process involves significant customization to streamline the checkout flow, potentially requiring integration with payment providers and modifications to the user session management.

Option C (Log in through a standard OAuth2 social media account): Integrating OAuth2 for social media logins involves handling authentication tokens, user sessions, and potentially syncing user data with the B2C Commerce profiles, all of which require detailed security and integration documentation.

These customizations require careful planning and implementation to ensure they work seamlessly with existing Storefront Reference Architecture components and meet security standards.


Question 7

During a technical review, the Client raises a need to display product pricing on theProduct Detail Page (PDP) with discounted values per promotion. The Client notes customers complained of bad user experiences in the past when they would add a product to the basket from the cached PDP and then see a higher price when they started checkoutas the promotion had expired.

What should the Architect suggest be implemented for this given that performance should be minimally impact?

Correct Answer: C. Modify the page to vary the cache by price and promotion.
Explanation:

To address the issue of pricing discrepancies on the Product Detail Page (PDP) due to promotions expiring between the page view and checkout, the Architect should suggest modifying the page cache to vary by price and promotion (Answer C). This solution allows the cache to store different versions of the page based on the current price and applicable promotions. By doing so, it ensures that customers always see the most accurate pricing information depending on the active promotions at the time of their visit, thereby improving the user experience and reducing confusion at checkout. This method also minimizes the performance impact compared to completely disabling cache, as it still allows caching but in a more dynamically controlled manner.


Question 8

A developer is validating the pipeline cache and noticed that the PDP page is very low cached. The one parameter is snowing the position on the product fisting page upon checking the site and code.

What should the developer adjust in order to improve the page cache hit ratio, keeping in mind that the client is Insisting on the parameter for their analytics?

Correct Answer: B. Add the key to the cache exclude parameters.

Question 9

During code review, the Architect found that there is a service call on every visit of the product detail woe (PDP).

What best practices should the Architect ensure are followed for the service configuration?

Choose 2 answers

Correct Answer: C. Service mock up call is configured.
Explanation:

For logging practices in a complex LINK cartridge integration, the recommendation is:

Get logger for cartridge-specific category (C): This practice allows for more precise and relevant logging by focusing on the specific cartridge, making troubleshooting more efficient.

Report debug level message for the back-end asynchronous communication: This ensures that all detailed interactions are logged, providing valuable data for diagnosing issues.

Report all errors at error level message: This categorizes all critical issues under error logs, which is essential for quick identification and resolution of problems affecting the system's operations.

This structured logging strategy enhances the ability to monitor and troubleshoot the system effectively, especially in complex integrations where multiple components interact asynchronously.


Question 10

The Client has implemented a different category/search layout for mobile and desktop. The code uses a session attribute called deviceType to choose the corresponding layout. This attribute it populated from the browser user agent. After this implementation they have run into these problems:

* Sometimes desktop pages are being served to both desktop and mobile customers.

* Sometimes mobile pages ate being served to both desktop and mobile customers.

The page has caching implementedthat depends; on promotions. SEC is very important and the site traffic is high.

Which solution should the Architect select to resolve the issue without impacting the existing requirements?

Correct Answer: D. Change the URL structure to include desktop and mobile as URL parameters to ensure different cached versions of the page
Explanation:

To resolve the issue of incorrect page versions being served across different devices, changing the URL structure to include device-specific parameters can be highly effective. By adding parameters such as 'desktop' or 'mobile' to the URLs:

The caching mechanism can differentiate between the content for different device types, thus caching and serving the correct version of the page according to the device type specified in the URL.

This method allows for maintaining existing caching strategies linked to promotions and ensures that SEO is not adversely affected since the content remains the same per device type but is merely served through different URLs.

This approach addresses the core issue without requiring disabling of caching or reengineering existing promotional structures, hence preserving site performance and user experience.