Weekend Sale Special Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

Salesforce B2C-Commerce-Architect Salesforce Certified B2C Commerce Architect (SP23) Exam Practice Test

Page: 1 / 6
Total 64 questions

Salesforce Certified B2C Commerce Architect (SP23) Questions and Answers

Question 1

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

Options:

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.

Question 2

The Client is Crowing and decided to migrate its ecommerce website to B2C Commerce. The Client provided the Architect with the f metrics for its existing website over the past 12 months and forecasted into the next year:

Question # 2

Noting these historical metrics and the forecasted growth of 300%, which load test targets meet best practices for testing the new B2C Commerce site?

Options:

A.

15000 visits per hour, 300000 page views per hour, and 3750 orders per hour

B.

150000 visits per hour, 3000000 page views per hour, and 37500 orders per hour

C.

1500 visits per hour, 30000 page views per hour, and 375 orders per hour

D.

3000 visits per hour, 60000 page views per hour, and 750 orders per hour

Question 3

An existing B2C Commerce site has the following aliases configuration:

Question # 3

Which statement related to this configuration is incorrect?

Options:

A.

Hostname www example.co.uk will redirect to www.example.com/uk.

B.

Hostnamewww.example.comwill redirect to www example com/us

C.

Hostname www.example.de will redirect to www.example.com/de.

D.

Site supports multiple hostnames and locates.

Question 4

The Client wants to offer custom made container products on its new B2C Commerce storefront. TheClient provided two business requirements.

• Customer can specify container length, width, and height.

• Customer can specify the material that the container is made of.

The Client also provided the Architect a current data schema (shown below) for reference while preparing the technical documentation.

Question # 4

Which two gaps between the requirements and the data schema should the Architect discuss with the Client?

Choose 2 answers

Options:

A.

The data schema includes unique identifiers for material and color fields,but neither are reflected in the business requirements.

B.

The data schema includes an implied structure that the customer’s choices should be captured as custom objects, but there isn't a business requirement to do so

C.

The data schema includes a material Price_Markup field, but there Isn't a business requirement to factor the material cost Into the final price calculation.

D.

The data schema includes a Color_ID field, but there isn't a business requirement to allow the customer to specify container color.

Question 5

An Architect has been approached by the Business with a request to create a custom product finder. The finder would initially be available ononly one site, and would eventually be extended to be available on all sites the Business maintains. There is a requirement that these wrings art also available to be used in a Job context for export to other systems.

Each site will have a differentcategory avertable for use by the product finder.

Where should the Architect store the custom settings for use on both the storefront and in a job context?

Options:

A.

Custom Object with a Site Scope

B.

Jobs Framework parameters

C.

Category custom attributes

D.

Custom Object with an Organizational Scope

Question 6

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?

Options:

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

Question 7

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

Options:

A.

The default rate limiter configuration for the web-service could cause the web-service to return an exception during high traffic.

B.

If the externals hosted web-service is unreliable. It could be a point of failure in the site s order placement flow.

C.

If the product Inventory threshold that triggers the web service calls is reached too often. It will have a negative Impact on site performance.

D.

Because the job would still be configured to run daily there will be a degrade in performance during non-flash sales periods

Question 8

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

Options:

A.

- 50 customer groups for customers- 30 customer groups for employees- 10 customer groups for vendors

B.

- One customer group and SO subgroups for customers- One customer group and 30 subgroups for employees- Onecustomer group and 10 subgroups for vendors

C.

- One campaign and multiple promotions for each customer group

D.

- One promotion and 50 campaigns for customers- One promotion and 30 campaigns for employees- One promotion and 10 campaigns forvendors

Question 9

Which two activities should an Architect encourage the replication team to follow based on S2C Commerce best practices?

Choose 2 answers

Options:

A.

Use the undo replication process to roll back to the previous replication if necessary.

B.

Replicate the latest data to Production during periods of increased site use to ensure freshness.

C.

Use the undo replication process to roll back code replications only, not data replications.

D.

Wait 15 minutes after the recreation process completes for the cache todear automatically.

Question 10

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:

Question # 10

How would the developer resolve this issue?

Options:

A.

Replace 'with double Quote*

B.

Use C.

Use

D.

Use

Question 11

The Architect has been presented with a requirement from the business to implement a new LINK cartridge. The current site is built on the Storefront Reference Architecture, and the LINK cartridge is certified for Pipelines and Controllers. On review, the Architect notes that the Jobs are all created in Pipelines.

How should the Architect implement that cartridge to make sure the required jobs runs property?

Options:

A.

The Job Pipelines must be updated to use SiteGenesis Controllers.

B.

The job Pipelines must be removed and recreated with scripts.

C.

The job Pipelines must be updated to useSFRA Controllers.

D.

The job Pipelines must be updated to work as custom job steps.

Question 12

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)

Question # 12

B)

Question # 12

C)

Question # 12

D)

Question # 12

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 13

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?

Options:

A.

Cache the HTTP service request

B.

Remote include with caching only the reviews

C.

Use custom cache

D.

Cached remote include with cache of the HTTP service

Question 14

a clientuses an external marketing toot to manage promotions and coupons for its multiple brands. They currently have only one brand on B2C Commerce and thev get Import-ready feeds created by this tool on en SFTP location.

The marketing team completes the data preparation by the end of the work day.

How should the Architect handle this import?

Options:

A.

Create a Job and define three steps: one step uses ExecuteScriptModule to download the files from SFTP, end two standard steps to Import the promotion end coupons.

B.

Create a Job and define three steps: one standard step to download files from sftp end two steps that use Execute Script Module to import the promotion end coupons.

C.

Create a job and define three steps: one custom step to download the files from SFTP, and two standard steps to import the promotion and coupons.

D.

Create a Job and define three custom steps: download the files from SFTP, import promotions, import coupons

Question 15

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?

Options:

A.

Remove caching of the product page during the promotion.

B.

Adjust the PDP to have a low caching period during the promotion.

C.

Modify the page to vary the cache by price and promotion.

D.

Create a separate template or view based on the promotion.

Question 16

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?

Options:

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.

Question 17

The Client has requested an Architect’s help in documenting the architectural approach to a new home page. The requirements provided by the business are:

• Multiple areas of static image content, some may need text shown at well

• The content page must be Realizable

• A carousel of featured products must be shown below a banner 101191

• Recommended categories will be featured based on the time of year

Which two solutions would fulfil these requirements?

Choose 2 answers

Options:

A.

Leverage B2C Commerce ContentManagement Service

B.

Leverage B2C Commerce locales in Business Manager

C.

Leverage B2C Commerce content slots and assets

D.

Leverage B2C Commerce Page Designer with a dynamic layout.

Question 18

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?

Options:

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.

Question 19

The storefront integrates with a REST based Address verification service (AVS) that uses token based security. The sequence of calls in the API documentation for this AVS looks like the following

1. Client authentication call, which contains the merchantId and secret in a GET request and returns a token in the response.

2. Address verification call, which contains the token and the address to verify in a POST request.

Once the token is obtained, it is valid for hours and it is not needed to request a new one for subsequent address verification calls, the AVS charges for every request made no matter if it is client authentication call or address verificationcall.

Which three strategies could be applied to allow for efficient use of the service without compromising security? Choose 3 answers

Options:

A.

Apply page caching to the client authentication controller that is used with AJAX.

B.

Obtain the token from local storage of the browser and update it once It expires.

C.

Obtain the token from a custom cache before making the client authentication call.

D.

Use HTTPService caching for the client authentication call.

E.

Use a job to store and update the token in a customobject that is used from the storefront code

Page: 1 / 6
Total 64 questions