Winter Sale Special 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ex2p65

Exact2Pass Menu

Question # 4

An Architect is configuring a data replication schedule.

Which task(s) can be removed In order to reduce replication times?

A.

Campaign

B.

Static content

C.

Storefront URLs

D.

Search Indexes

Full Access
Question # 5

A client has a single site with multiple domains, locales, and languages. Afterlaunch, there is a need for the client to perform offline maintenance. The client would like to show the same maintenance page for each locale.

Which version of aliases,Json file below will accomplish this task?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 6

During load testing, a third party service isconstantly failing to respond in a timely manner on the Product Listing Page. The page is not affected at it is collecting data with the server side call, however the loading time b increasing.

Which two recommendations should the developer take in order to minimize the risk and Improve the loading time?

Choose 2 answers

A.

Ask the third party to improve the reliability of the service.

B.

Decrease the service timeout.

C.

Enable the Circuit Breaker.

D.

Remove the service.

E.

Load the data asynchronously after the page is loaded

Full Access
Question # 7

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?

A.

Salesforce Commerce Cloud GitHub repository

B.

Salesforce Commerce Cloud Trailblazer community

C.

Salesforce Trailblazer Portal

D.

Salesforce B2C Commerce Documentation

Full Access
Question # 8

A new version of the Page Show controller is required for implementation of Page Deserter specific look. It requires implementation of a specific, cache period for Page Designer pages, which b not currently available in the base Storefront Reference Architecture (SFRA) cache.js module

What two steps should the Architect instruct the developer to implement?

Choose 2 answers

A.

Create new Page.js controller in client s cartridge. Copy code from base and modify the Page-Show route to include the new cache middleware function.

B.

Create new ceche,js client's cartridge. Copy cache,js from app_storefront_base and add a function for the Page Designer caching.

C.

Create new Page,js controller in client's cartridge. Extend the code from base and prepend the new cache middleware function to Page-Show route.

D.

Create new cache,js in client's cartridge. Extend cache,js from app_storefront_baseand add a function for the Page Designer caching.

Full Access
Question # 9

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?

A.

Product-HitTile asit has the highest hits during the load test.

B.

Search Show as this Is one of the key controllers that the customer uses

C.

Product-Detail as It has the highest total time and highest maximum time.

D.

Home-IncludeHeaderMenu as It has highest average time.

Full Access
Question # 10

A new dent is moving from their existing ecommerce platform to B2C Commerce. They have an existing service that connects to the Email Marketing System. The endpoint of the service can directly parse the data posted by the customer from the Storefront page for marketing materials subscriptions. it if required that theservice implementation on the B2C Commerce site supports authentication and encoding.

What type should the Architect document this new service as?

A.

HTTP

B.

HTTP Form

C.

Generic

D.

SOAP

Full Access
Question # 11

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?

A.

Add a customer number in the callback URL and match the customer number against the one stored on the order.

B.

Add HTTPS restriction to the controller start node.

C.

Add an order token in the callback URL and match the token against the one stored on the order.

D.

Add a session attribute and validate it on the callback.

Full Access
Question # 12

A Client has automated builds that deploy the code; however, recent builds started failing with compilation issues, which are not reproducible in developer's environment.

Whetfirst step needs to be taken to identify and fix the issue?

A.

Clean up build server work space and run job again.

B.

Verify the modules versions used to generate the code.

C.

Verify the generated JavaScript and CSS for the build.

D.

Recreate the job in the build server to verify compilation issues.

Full Access
Question # 13

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?

A.

Replace 'with double Quote*

B.

Use C.

Use

D.

Use

Full Access
Question # 14

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?

A.

Post-processing of search results is a bad practice that needs to be corrected.

B.

The transaction for updating of orders needs to be rewritten to avoid problems with transaction size.

C.

Configure circuit breaker and timeout for theOMS web service call to prevent thread exhaustion.

D.

Standard order import should be used instead of modifying multiple order objects with custom code.

Full Access
Question # 15

An ecommerce site has dynamic shipping cost calculation. it allows the customers to see their potential shipping costs on the Product Detail Page before adding an item to the cart.

For this feature, shipping touts are calculated using the following logic:

• Set the shipping method on the Basket

• Add the item to the basket, calculate the basket total and get the shipping cost for this method

• Remove the item from the Basket to restore the original state

• The above process is repeated for each shipping method

During the testing it was discovered that the above code violates the spi.basket.addResolveInSameResquest quota.

What should the Architect do to resolve this issue and maintain the business requirement?

A.

Omit the removal of the Item and speed up the process for the customer by adding the product to the basket for them.

B.

Omit the calculation of shipping cost until the customer is ready to check out and has chosen the shipping method they want to

C.

Wrap each Individual step of the process its own transaction Instead of using one transaction for all steps.

D.

Wrap the adding of product and shipping cost calculation in a transaction which Is then rolled back to restore the original state

Full Access
Question # 16

An Architect isperforming an audit of production logs via Log Center and finds some potentially dangerous custom log output.

In which two ways It this log output Improper In a production environment? Choose 2 answers

A.

The log information includes the customer s cardname as it appears along with the credit card number (PAN), which violates PCI.

B.

The log information includes the customer's card CW (card security code) and expiration date, which violates PCI.

C.

Information logs should not be used in a production environment

D.

The log information includes the order number and customer s email, which violates PCI.

Full Access
Question # 17

The client provided these business requirements:

• The B2C Commerce storefront will integrate with the client's Order Management System (OMS).

• The storefront will provide reel-time order export of successfully pieced orders

The OMS supports both web service export end SFTP batch order export, but the client has expressed concern about the availability of the OMS.

Which two solutions satisfy the requirements and address the OMS reliability concern?

Choose 2 answers

A.

Implement a live export of orders during checkout vie web service, marking the processed order as exported when the AM returns successfully.

B.

Implement a batch export of orders to SFTP, excluding exported orders. This runs as a scheduled fc>b with a high-frequency run rate end marks processed orders as exported upon success.

C.

implement a batch export of orders via web service, excluding exported orders. This runs as a scheduled Job with an hourly run rate end marksprocessed orders as exported upon success.

D.

Implement a Live export of orders during checkout via SFTP, marking the processed order as exported when it has completed successfully.

Full Access
Question # 18

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?

A.

Disable the coupon code. Clear the production cache from the Business Manager to clear existing baskets.

B.

Disable the coupon code. Email all the customers to not use the coupon code in their baskets.

C.

Disable the coupon code. Restart the production instance from control Center to dear existing baskets.

D.

Disable the coupon code. Reduce the basket lifetime in Business Manager to expire some of the existing baskets

Full Access
Question # 19

During a review of the most recent release notes, the Architect finds that Salesforce has deprecated an API that is used throughout the site. After reviewing the deprecated API usage in Business Manager, the Architect narrows down the usage of that API to a particular LINK integration cartridge. The cartridge was integrated when the site was first launched and is heavily customized for the Client.

What is the recommended way for the Architect to remove the deprecated API so the LINK integration continues to work without interruptions, and lowest level of effort'

A.

The Architect should update all the deprecated API cats in the already integrated LINK cartridge and test thoroughly.

B.

The Architect does not need to do anything at this time, the API will continue to work with no issues for the foreseeable future.

C.

The Architect should check to see If the LINK cartridge has been updated already, integrate It, apply the customisations, and teat thoroughly.

D.

The Architect should contact the company that created the LINK cartridge to fix the issue and provide the client with updated code.

Full Access