Special Summer Discounts Limited Time 55% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 63r59951

B2C-Commerce-Developer Salesforce Certified B2C Commerce Developer (SP22) Questions and Answers

Questions 4

A developer is implementing new Page Designer content on a merchant's Storefront and adds the line below to

B2C-Commerce-Developer Question 4

What does this achieve?

Options:

A.

Enables searching to find Page Designer content assets that are not in folders.

B.

Prevents Page Designer pages and components from being searchable.

C.

Filters Page Designer search results into separate page and component folders.

D.

Extends the ConrencSearchModei to allow the folder filter.

Buy Now
Questions 5

A merchant checked the "Show Orderable Products Only" preference in Business Manager. What impact does this have on the Storefront from a user perspective?

Options:

A.

Back-order products will be excluded from search results.

B.

Products with an Available to Sell (ATS) - 0 will be excluded from search results.

C.

The product detail page will be hidden if Available to Sell (ATS) = 0.

D.

Pre-order products will be excluded from search results.

Buy Now
Questions 6

Given the customer basket described below:

• A customer has an existing basket that consists of multiple items.

• One of the items is identified as a gift ítem by an attribute at the product line ítem.

The developer needs to write custom code to fetch the customer basket and then modify the basket based

upon the items in the cart. If the basket contains any gift items, modify the basket and create a separate

shipment for the gift item.

Four hooks are required to make the modification, beginning with modifyGETRespone and ending with

validatebasket.

• Dw.ocapi.shop.basket.modifyGETResponse

• -- missing hook –

• -- missing hook --

• dw.ocapi.shop.basket.validateBasket

What are the two missing hooks in the middle?

Options:

A.

dw.ocapi.shop.basket.shipment.afterDELETE

B.

dw.ocapi.shop.basket.shipment.beforePATCH

C.

dw.ocapi.shop.basket.shipment.beforeDELETE

D.

dw.ocapi.shop.baskep.shopment.beforePOST

Estos indican antes de actualizar y antes de introducir

Buy Now
Questions 7

A merchant uploads an image using the Content Image Upload module of Business Manager.

Which three modules can the merchant or developer use to display the image on the Storefront7

Choose 3 answers

Options:

A.

ISML templates

B.

Content assets

C.

Storefront catalogs

D.

Content slots

E.

Payment types

Buy Now
Questions 8

Given the code snippet aboce, what should be added after this code so it can be used for page

component display?

Options:

A.

Base.render = render;

B.

Module.exports.render = render;

C.

Module.exports = render;

D.

Module.exports = server.exports();

Buy Now
Questions 9

A Digital Developer has a site export file on their computer that needs to be imported into their sandbox.

How should the developer update their sandbox with the data in this file?

Options:

A.

Connect and import the file using the remote option within the Site Import & Export Business Manager module.

B.

Upload and import the file using the local option within the Site Import & Export Business Manager module.

C.

Upload the file to the Impex WebDAV directory and import using the Site Import tool within UX Studio.

D.

Upload the file to the Static WebDAV directory and import using the Import & Export Business Manager module.

Buy Now
Questions 10

A developer is writing a server side script that needs to maintain state across calls. The persistent

information needed includes these items.

• The current customer

• Whether or not the customer is authenticated

• The privacy attributes (such as tracking consent or cookie policy)

Which technique should the developer use to maintain state in an efficient and scalable manner that

follows best practice?

Options:

A.

Use a non-replicable Custom Object to store the information temporarily.

B.

Use the Session class in the B2C Commerce api.

C.

Use an SFRA controller, because it runs server-side, the state is automatically maintained

D.

Use a client-side cookie to store the information for the session duration.

Buy Now
Questions 11

Which three techniques improve client-side performance in production while following documented best practices? (Choose three.)

Options:

A.

Use one style sheet for each ISML decorator template.

B.

Place CSS outside of templates.

C.

Compress CSS.

D.

Use inline Javascript.

E.

Combine several images into a single image.

Buy Now
Questions 12

A developer has the following files in template/resources:

account.proierties

weight.unit=kilos

account_en.propierties

weight.unit=stones

account_en_US.propierties

weight.unit= pounds

Using the default locale configuration, what is the current outcome of the page that renders the

account.isml template snippet below when visiting the Sofrefront with the English for Canada(en_CA) locale=

Your parcel weighs 10 ${Resource.msg(‘weight.unit’,’account’)}

Options:

A.

Your parcel weighs 10 stones.

B.

Your parcel weighs 10 pounds.

C.

Your parcel weighs 10 undefined.

D.

Your parcel weighs 10 kilos

Buy Now
Questions 13

Which two methods are efficient and scalable? (Choose two.)

Options:

A.

ProductMgr.queryAllSiteProducts()

B.

ProductSearchHit.getRepresentedProducts()

C.

ProductSearchModel.getProductSearchHits()

D.

Category.getProducts()

Buy Now
Questions 14

The developer created a new Storefront category in storefront-catalog-m-en, but when viewing the

Storefront site, the category is not visible.

What are two possible reasons?

Options:

A.

The Storefront catalog is offline

B.

The category does not contain available products

C.

The category is not sorted

D.

The category is offline.

Buy Now
Questions 15

A Digital Developer needs to add logging to the following code:

B2C-Commerce-Developer Question 15

Which statement logs the HTTP status code to a debug-level custom log file?

Options:

A.

logger.getLogger(‘profile’).debug("Error retrieving profile email, Status Code: ", http.statusCode);

B.

logger.debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);

C.

Logger.getLogger().debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);

D.

Logger.getLogger(‘profile’).debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);

Buy Now
Questions 16

A Digital Developer is adding support for an additional language other than the default. The locale code for the new language is de.

In which folder should the developer place resource bundles?

Options:

A.

templates/de

B.

templates/default

C.

templates/resources

D.

templates/default/resources

Buy Now
Questions 17

The developer has been given the following business requirement:

The shipping method, "Free Standard Ground Shipping" has an exclusion for products with 'category equals or is child of electronics-televisions.'

The marketing department has scheduled a sale offering a "Free Standard Ground Shipping" method for brand XyzTv televisions for the next 3 months.

What method accomplishes this while following best practices'

Options:

A.

Create a new shipping method and label it "Free Standard Ground Shipping". Give it the qualifier 'brand equals XyzTv', and add it to the checkout options.

B.

Create an allow list for the existing shipping method by adding a product exclusion for 'brand equals XyzTv' to the exclusion list fo<" "Free Standard Ground Shipping."

C.

Extend the CheckoutShippingServices controller using module.superModule and add an exception for the specified brand.

D.

Extend the code in cartridge/models/shipping/shippingMethod.js using module.superModule and add an exception for the specified brand.

Buy Now
Questions 18

A developer working on a simple web service integration is asked to add appropriate logging to allow future

troubleshooting.

According to logging best practices, which code should the developer write to log when an operation succeeds, but has an unexpected outcome that may produce side effects?

Options:

A.

Logger.info(‘Unexpected service response’)

B.

Logger.debug(‘Unexpected service response’)

C.

Logger.error(‘Unexpected service response’)

D.

Logger.warn(‘Unexpected service response’)

Buy Now
Questions 19

A Digital Developer creates a B2C Commerce server connection in their UX Studio workspace. The Developer adds new cartridges to the workspace, but the cartridges do NOT execute as the Developer expects.

Which three things should the Digital Developer verify to ensure the cartridges are uploaded? (Choose three.)

Options:

A.

The Auto-Upload setting is enabled for the server connection.

B.

The Active Server setting is enabled for the server connection.

C.

The credentials for the server connection are correctly entered.

D.

The cartridge is for the current version of B2C Commerce.

E.

The server is configured to accept incoming connections.

Buy Now
Questions 20

A Digital Developer must resolve a performance issue with product tiles. The Developer determines that the product tiles are NOT being cached for a long enough period.

Which two methods can the Developer use to verify the cache settings for the product tiles? (Choose two.)

Options:

A.

Enable cache information in the storefront toolkit and view the cache information for the product tile.

B.

View the cache information provided by the Merchant Tools > Technical Reports Business Manager module.

C.

View the product list page cache settings provided in the Administration > Manage Sites Business Manager module.

D.

Enable the template debugger to verify the cache times for the producttile.isml template.

Buy Now
Questions 21

A developer needs to show only car accessories when shoppers use the search term car accessories and

exclude technology accessories and household accessories.

Given the above requirement, what is the recommended approach using the Search Dictionaries

Dashboard?

Options:

A.

Create a Synonym Dictionary entry: car accessories, household, technology.

Use search mode Exact Match

B.

Create a Common Phrase Dictionary entry: car accessories, NOT household, NOT technology.

Use search mode Exact Match.

C.

Create a Synonym Dictionary entry: car accessories, household, technology.

Use search mode First Word.

D.

Create a Common Phrase Dictionary entry: car accessories.

Use search mode Exact Match.

Buy Now
Questions 22

A job executes a pipeline that makes calls to an external system.

Which two actions prevent performance issues in this situation? (Choose two.)

Options:

A.

Use synchronous import or export jobs

B.

Configure a timeout for the script pipelet.

C.

Disable multi-threading.

D.

Use asynchronous import or export jobs.

Buy Now
Exam Name: Salesforce Certified B2C Commerce Developer (SP22)
Last Update: Aug 11, 2022
Questions: 149

PDF + Testing Engine

$79.2  $175.99

Testing Engine

$59.4  $131.99
buy now B2C-Commerce-Developer testing engine

PDF (Q&A)

$49.5  $109.99
buy now B2C-Commerce-Developer pdf