The Client wants to have a flashsate on a few products every day. These products are sold through B2C Commerce as well as an in store Point of Sale system that it tied to the same inventory.
An Architect analyzes the following proposed solution:
Inventory feed w*l continue to run dailybut add a web-service call to compare and update B2C Commerce inventory in real time during checkout after a flash product's inventory reaches a threshold.
Which two risks should the Architect communicate to the Client about this solution?
Choose 2 answers
Answer : A, B
The risks associated with the proposed real-time inventory update solution during flash sales are:
Option A (The default rate limiter configuration for the web-service could cause the web-service to return an exception during high traffic): This is a critical risk because high traffic during flash sales could exceed the rate limits set for the web-service, leading to exceptions and potentially failing to update inventory in real-time.
Option B (If the external hosted web-service is unreliable, it could be a point of failure in the site's order placement flow): Reliance on an external web-service for crucial operations like inventory updates introduces a risk of downtime or performance issues if the service is unreliable, directly impacting the ability to complete orders during peak sales periods.
Both risks could severely disrupt operations during critical sales events, suggesting a need for robust contingency plans and potentially reevaluating the solution architecture to ensure reliability.
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?
Answer : C
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.
A developer is remotely fetching the reviews for a product.
Assume that it's an HTTP GET request and caching needs to be implemented, what consideration should the developer keep in mind for building the caching strategy?
Answer : D
For efficient caching of HTTP GET requests used to fetch product reviews, the best practice is to use a cached remote include combined with caching of the HTTP service itself (Answer D). This method involves caching the output of the remote service call at the service layer and reusing it for subsequent requests. This approach minimizes the number of calls to the remote service, reduces load times, and ensures that the displayed reviews are up-to-date as per the cache's freshness settings. It optimally balances the performance benefits of caching with the need to keep content like reviews current.
During discovery, the customerrequired a feature that is not inducted in the standard Storefront Reference Architecture CSFRA). In order to save budget, the Architect needs to find the quickest way to implement this feature.
What is the primary resource the Architect should use to search for an existing community Implementation of the requested feature?
Answer : A
When seeking a community implementation of a feature not included in the standard Storefront Reference Architecture (SFRA), the primary resource should be the Salesforce Commerce Cloud GitHub repository (Answer A). This repository often contains projects and code samples contributed by other developers in the community, which might include custom implementations that could be adapted to meet the customer's requirements. This approach not only leverages existing solutions that have been shared publicly but also can significantly save time and resources in development.
a B2C Commerce developer has Implemented a job that connects to an SFTP, loops through a specific number of .csv rtes. and Generates a generic mapping for every file. In order to keep track of the mappingsimported, if a generic mapping is created successfully, a custom object instance w created with the .csv file name. After running the job in the Development instance, the developer checks the Custom Objects m Business Manager and notices there Isn't a Custom Object for each csv file that was on SFTP.
What are two possible reasons that some generic mappings were not created? Choose 2 answers
Answer : A, C
Two plausible reasons for some generic mappings not being created despite the SFTP job running are: A) the system reached its limit for the maximum number of generic mappings allowed, and C) there was an invalid format in one or more of the .csv files processed. When the maximum threshold for mappings is reached, the system cannot create additional mappings, thus stopping any further imports from being registered as custom objects. Additionally, if .csv files are incorrectly formatted, the job would fail to create mappings for those files, leading to the absence of corresponding custom objects in Business Manager. It's crucial to ensure that file formats adhere to expected specifications and that system limits are adequately managed to avoid such issues.
Which two activities should an Architect encourage the replication team to follow based on S2C Commerce best practices?
Choose 2 answers
Answer : A, C
Option A (Use the undo replication process to roll back to the previous replication if necessary): This best practice ensures that if a replication introduces errors or issues, there is a way to quickly revert to a previous state without impacting the ongoing operations of the commerce site.
Option C (Use the undo replication process to roll back code replications only, not data replications): Focusing undo operations on code replication rather than data ensures that functional issues caused by code changes can be quickly addressed without affecting the integrity or consistency of the data within the system.
These practices help maintain the stability and reliability of the production environment by providing mechanisms to manage and mitigate risks associated with updates and changes.
The following promotions are configured with no exclusivity (can be combined with any other promotion) in a -1month campaign:
* Free correct- in -store shipping
* 20% accessories products discount, applies for all customers
* $5 off coupon based discount, sent to a selected group of customers
The combination of above promotions allows customers to get 16 socks for free in store. This was unintended, and the Client If considering disabling the coupon. The Client is concerned about a potential spike in the number of Call Center calls from customers who had the coupon code added to their baskets before it was disabled. As basket lifetime is set to 30 days for all customers, this can continue for the full length of the campaign.
What solutionshould the Architect suggest to keep the Call Center calls to a minimum?
Answer : D
Reducing the basket lifetime is a strategic approach to minimizing the impact of disabling a promotional coupon. This action will cause baskets that may still contain the now-disabled coupon to expire sooner, thereby reducing the potential volume of calls to the Call Center from customers inquiring about the coupon. This method also avoids the drastic measure of clearing all existing baskets or restarting the production instance, which could disrupt user experience and lead to further customer dissatisfaction.