CCM-101試験無料問題集「Salesforce Manage and Merchandise a B2C Commerce Cloud Store - Extended 認定」

Server.get('Show', consentTracking.consent, cache.applyDefaultCache, function (req,res,next){ Var Site = require('dw/system/Syte"); Var pageMetaHelpter = require('*/cartridge/scripts/helpers/pageMetaHelper'); pageMetaHelpter.setPageMetaTags(req.pageMetaData, Site.current); res.render('/home/homePage'); Missing code here
}, pageMetadata.computedPageMetadata);
The controller endpoint code snippet above does not work.
Which line of code should the developer use to replace line 6 and correct the problem?

The Home-Show route uses this middleware chain:

The developer added Home.;s in another cartridge, which is before the original cartridge in the cartridge path, to extend that route but it does not have the middleware chain:

Assuming the code is correct on both functions, what is the expected result?

Given the sandbox with:
Service configured and assigned to its profile and credential
A code version that uses that service
And given the requirement to limit the number of success or error calls the code can perform to a restricted number of calls per second.
Which configuration should the developer perform?

The developer is asked to enhance the functionality of an existing controller route by adding information to the response's viewData.
How should the developer approach this task while following SFRA best practices?

A client that sells to multiple countries in Europe needs to disable Apple Pay for Denmark.
Which Business Manager module is used to achieve this requirement?

A Digital Developer noticed that cartridges in their workspace are NOT executing. The Developer confirms that the cartridges are uploaded to the B2C Commerce server connection's target version directory.
Which action potentially solves this problem?

A merchant asks a developer to create a Cache Partition for the home page, so that when the home page is edited, only the home page is cleaned.
Given the above requirement, where should the developer create that partition in Business Manager?

Recent code changes to an existing cartridge do not appear correctly on a Storefront. The developer confirms that the code is uploaded in the IDE and ensures that the cartridge is associated with the sandbox.
Which two additional steps should the developer take to troubleshoot this problem?
Choose 2 answers

Given a file in a plug-in cartridge with the following code:
'use strict':
Var base = module.superModule;
Function applyCustomCache (req,res,next){
res.CachePeriod = 6; //eslint-disable-line no-param-reassign
res.cachePeriodUnit = 'hours') //eslint-disable-line no-param-reassign
next();
}
Module.exports = base;
Module.exports.applyCustomCache = applyCustomCache;
What does this code extend?

A merchant has asked their development team to add a new site.
Which two tasks are essential for correct site configuration prior to launch?
Choose 2 answers

A new product has been added to the Storefront catalog that 15 assigned to a site Which configuration does a developer need to ensure to have a new product visible in the Storefror

Given a job step configured in the steptype.json, a developer needs to add a custom status code
"No_FILES_FOUND".
Which code snippet will complete the requirement?

解説: (GoShiken メンバーにのみ表示されます)
A merchant has a content slot on a page that currently displays products based on the top sellers for the current week. The merchant wants to change this functionality. They want to have the slot render a specific content asset so that the content experience is more personalized to the visitors.
Which two actions are necessary to make this change?

A merchant is selling a new product line of televisions. In order to deliver a good customer experience, the merchandising team wants the screen size to be incorporated into the search and navigation journey.
Which two things can the developer do to facilitate this for them?
Choose 2 answers

In the SFRA Page controller, the following route exists:

The result of navigating to the address below is an error page.

What is the correct way to use this controller route in an ISML template?
A)

B)

C)

The developer wants to be able to view DEBUG
The developer wants to be able to view DEBUG level messages for myLogCategory in the Request Log tool. Given the custom log configurations in the image above, what does the developer need to do to accomplish this?

A Digital Developer is working on a multi-site realm. A new site requires a different layout for the account landing page. The business logic and data model remain the same. The existing code is in AccountControl.js and accountlanding.isml in the app_storefront cartridge. The app_storefront cartridge contains code for all other business functions. The cartridge path for the new site is currently int_cybersource:int_paypal:app_storefront.
The Developer creates a new cartridge named app_newsite that contains only the accountlanding.isml template for the new site.
Which modification should be made to the new cartridge path?