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.
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.
While validating a LINK Cartridge for inclusion into the solution, an Architect notices that the UNK cartridge documentation requires the Architect to add a script node to a Pipeline in the storefront cartridge. The script is also a valid CommonJS module.
Which approach can the Architect use to Integrate this cartridge into a site that uses Controllers only?
Answer : B
In a site using Controllers, the most efficient way to integrate a script from a LINK cartridge that is also a valid CommonJS module is by using a require statement. This method enables the Architect to modularly load the necessary script, passing in any arguments that the script needs to function correctly within the existing Controller framework. This approach maintains modularity and adherence to the CommonJS module pattern, making it the most suitable for seamless integration.
Northern Trail Outfitters uses an Order Management system (OMS), which creates an order tracking number for every order 24 hours after receiving it. The OMS provides only a web-service interface to get this tracking number. There is a job that updates this tracking number for exported orders, which were last modified yesterday.
Part of this jobs code looks like the following:
Based on the above description and code snippet, which coding best practice should theArchitect enforce?
Answer : C
Given that the OMS provides a web-service interface and updates tracking numbers for orders modified the previous day, it is crucial to manage the potential risks of service unavailability or delays that could lead to thread exhaustion in Salesforce Commerce Cloud. Implementing a circuit breaker pattern helps to manage failures gracefully by halting the interaction with the OMS if it becomes unresponsive, thereby preventing the service from impacting the entire system. Additionally, configuring timeouts ensures that the service calls do not hold up resources indefinitely. These strategies help maintain system stability and responsiveness, particularly when dealing with external systems over which there may be limited control.
Northern Trail Outfitters (NTO) wants to migrate its online shoo from a custom ecommerce platform to B2CCommerce. NTO needs to migrate several thousands of customer records profile information, address book). WTO can provide a B2C Commerce feed. It is currently using SHA-256 as an encryption mechanism for the customer passwords.
What approach can the Architect propose?
Answer : C
B2C Commerce does not directly support the import of hashed passwords for use in authentication due to security protocols and the platform's password management system. The best approach is to import customer records without the password field. Upon their first login attempt on the new system, customers would be prompted to reset their password. This method ensures that password security is maintained according to B2C Commerce standards and that customer data remains secure during the transition from the old platform.
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.
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.