ExamGecko
Ask Question

Salesforce Certified B2C Commerce Developer Practice Test - Questions Answers, Page 7

Add to Whishlist

List of questions

Question 61

Report Export Collapse

In Log Center, a developer notes a number of Cross Site Request Forgery (CSRF) log entries. The developer knows that this happens when a CSRF token is either not found or is invalid, and is working to remedy the situation as soon as possible.

Which two courses of action might solve the problem? (Choose two.)

Become a Premium Member for full access
  Unlock Premium Member

Question 62

Report Export Collapse

A developer needs to update the package.json file so that it points to the hook file for a cartridge, using the hooks keyword.

Which snippets works correctly when added to the file?

Become a Premium Member for full access
  Unlock Premium Member

Question 63

Report Export Collapse

A developer is asked to write a log containing the ID and name of the product with a variable named myProduct.

Which snippet of code should be used?

Become a Premium Member for full access
  Unlock Premium Member

Question 64

Report Export Collapse

A NewsletterSubscription custom object exists that has a key attribute named email of type String and the following script code.

var CustomObject = dw.object.CustomObjectMgr.createCustomObject('NewsletterSubscription' newsletterForm.email.value);

However, the NewsletterSubscription custom object is not persisted. What is a possible reason?

Become a Premium Member for full access
  Unlock Premium Member

Question 65

Report Export Collapse

A retailer notices that the Account Addresses page is showing the wrong shopper's address.

Which tool should the developer start with to identify the issue?

Become a Premium Member for full access
  Unlock Premium Member

Question 66

Report Export Collapse

A developer is implementing new Page Designer content on a merchant's Storefront and adds the line below to the setupContentSearch function in the searchHelpers.js file.

apiContentSearchModel.setFilteredByFolder(false);

What does this achieve?

Become a Premium Member for full access
  Unlock Premium Member

Question 67

Report Export Collapse

Consider the following information:

A merchant has this three-tier category structure setup in the Storefront catalog.

- New Arrivals > Women > Clothing

The category named Clothing has all the clothing items for Women and is merchandised. A Search Refinement named Newness is correctly configured for the Clothing category.

When a merchandiser views the Clothing category, the Search Refinement appears and works as expected. However, the merchandiser does not see the Search Refinement when searching for Clothing via the Storefront search.

What is the reason?

Become a Premium Member for full access
  Unlock Premium Member

Question 68

Report Export Collapse

Given the requirement to add caching to an existing page while adhering to SFRA best practices, which code snippet should be used?

Become a Premium Member for full access
  Unlock Premium Member

Question 69

Report Export Collapse

Given the SFRA Controller below:

Salesforce Certified B2C Commerce Developer image Question 69 59879 09232024001900000000

Why would a JavaScript debugger, that is stopped at line 06, fail to show the viewData variable in the inspection tool?

Become a Premium Member for full access
  Unlock Premium Member

Question 70

Report Export Collapse

Which three configurations does a developer need to ensure to have a new product visible in the Storefront? (Choose three.)

Become a Premium Member for full access
  Unlock Premium Member
Total 209 questions
Go to page: of 21
Search

Related questions