Salesforce Certified B2C Commerce Architect (Arch-303) Exam Practice Test

Page: 1 / 14
Total 64 questions
Question 1

An Architect is documenting the technical design for a single B2C Commerce storefront. The Client has a business requirement to provide pricing that is customized to specific groups:

* 50 different pricing groups of customers

* 30 different pricing groups of employees

* 10 different pricing groups of vendors

Which items should the Architect include in the design in order to set applicable price books based on these requirements''

Choose 2 answers



Answer : A, C

For handling multiple pricing groups with specific discounts or prices for different customer groups, the optimal approach involves setting up separate customer groups for customers, employees, and vendors (Answer A). This setup allows the storefront to apply specific price books to each group accurately based on their designation. Furthermore, utilizing campaigns and multiple promotions tailored to each customer group (Answer C) facilitates targeted marketing efforts and pricing strategies effectively. These practices ensure that each group receives relevant pricing adjustments and promotional offers, thereby enhancing the shopping experience and managing financial transactions efficiently within Salesforce B2C Commerce.


Question 2

During a load test the storefront shows steady but slow performance on all the paces being tested. The Architect opens Pipeline Profiler and sorts the data by *total time" column. The following come as the top Ave items:

Which controller should the Architect focus on to further investigate the performance issue?



Answer : C

Focusing on the 'Product-Detail' controller is prudent given that it has the highest total time and the highest maximum time (Answer C), suggesting that it significantly contributes to the overall load and potential slowdowns on the site. By analyzing and optimizing this controller, the architect can potentially achieve the most substantial improvement in performance. Efforts might include optimizing database queries, caching frequently requested data, or simplifying complex logic in the Product-Detail page's processing.


Question 3

There Is an Issue with the site when the domain Is opened from Google search results. After researching the problem. It turns out that the site returns * 404 page error when accessedwith a parameter in the URL.

What should the Architect recommend to fix that issue?



Answer : A

To address the issue of the site returning a 404 error when accessed with a parameter from Google search results, a dynamic catch-all rule to redirect such requests to the homepage is an effective solution (Answer A). This approach ensures that users landing from external links with appended parameters, which might not match any configured route or alias, are redirected to a valid page instead of seeing an error page. This improves the user experience and minimizes potential bounce rates caused by broken links or outdated URLs.


Question 4

A client receives multiple feeds from third parties on the same SFTP location:

* Product prices (sftp: prod/prices)

* Stores information (sftp: prod/stores;

* Product information (sftp: prod/catalog)

* Categories information (sftp: prod/marketing)

* Content (sftp: prod/marketing)

Some of the feeds are placed on sftp multiple times a day, as the information is updated in the source system.

The Architect decides to have only two jobs:

* One that checks and downloads available feeds every hour

* One that imports the files from Webdav once a day before the data replication, using the standards steps available in the Job Framework

Which design is correctfor the import Job, taking the steps scope in consideration?



Answer : B

This design maximizes efficiency and concurrency. By having the jobs that import products, stores, prices, and content run in parallel, the system can handle multiple data streams simultaneously, reducing total processing time. The sequential execution of importing categories followed by reindexing ensures that all new and updated information is properly indexed and available for site use, following the completion of the import of more frequently updated data. This order respects dependencies between steps and aligns with best practices for handling complex data workflows in B2C Commerce environments.


Question 5

A developer is checking for Cross Site Scripting (XSS) and found that the quick search is not escaped (allows inclusion of Javascript) in the following script:

How would the developer resolve this issue?



Answer : B

To resolve the issue of Cross Site Scripting (XSS) where the quick search is not escaped, the developer should use the <isprint> tag with the 'jshtml' encoding option (Answer B). This method ensures that any JavaScript included in the search phrase is properly escaped, preventing the execution of potentially malicious scripts. The 'jshtml' encoding is specifically designed to encode text for HTML contexts where JavaScript is embedded, providing a secure way to handle user input in Salesforce B2C Commerce.


Question 6

The Client identifies that a segment of customers need to see some products on the site that other customers should not be able to access. All products are maintained within one catalog but in separate categories. A custom attribute will be used on the Profile system object to identify customers that belong to this special segment. A customer group will be made that is qualified for by this Profile custom attribute. The storefront will be customized to include navigation to relevant categories for this customer group.

Unfortunately during technical review the Client points out that the business teams have raised a concern with maintenance and want to use a shared navigation within the catalog and not use separate categories.

Which item should the Architect suggest to efficiently fulfil this new requirement while maintaining scalability?



Answer : C

The optimal solution for this requirement is to modify the search results dynamically based on the user's customer group membership. This approach:

Ensures that all users can navigate the same catalog and categories without seeing separate categories for special segments.

Dynamically includes or excludes products from search results based on the user's membership in the special segment, effectively using existing catalog structures while personalizing product visibility.

Maintains scalability by leveraging existing catalog and category infrastructure without needing additional custom attributes for navigation purposes.

This method aligns with best practices for creating personalized customer experiences in B2C Commerce without complicating catalog management.


Question 7

During implementation, the team found that there is a notification controller exposed for an external service that marks the order as paid when notification is received. The notification URL is sent to the service together with the payment request and contains only the URL with orderlD as the parameter.

What should the Architect recommend to the team in order to prevent the unauthorized usage of the controller to mark the orders as paid?



Answer : C

To enhance the security of the notification controller exposed for marking orders as paid, the recommended approach is to add an order-specific token to the callback URL (Answer C). This token should be verified against a stored value on the order to ensure the authenticity and integrity of the payment notification. This method prevents unauthorized use of the controller, as only callbacks containing the correct, order-specific token would be allowed to mark orders as paid. This strategy is essential in maintaining secure and reliable transaction processes within Salesforce B2C Commerce.


Page:    1 / 14   
Total 64 questions