B2C-Commerce-Developer試験無料問題集「Salesforce Certified B2C Commerce Developer 認定」
A Digital Developer is working on a projectto convert a pipeline to a JavaScript controller. UX Studio has a functioning pipeline debugger configured for the site. Assume the Developer will add a breakpoint to the controller when it is written.
What must be done in order to use the debugger with the new controller when it is written?
What must be done in order to use the debugger with the new controller when it is written?
正解:C
解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
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?
* 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?
正解:C
解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
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?
'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?
正解:D
解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
A merchant wants to obtain an export file that contains all the products .assigned to their Storefront catalog.
They do not know how to achieve this easily without manual processing, so asked their developer to help Generate this. The merchant s Instance setup is as follows:
They have one Master catalog and one storefront catalog.
Some, but not all, of the products in the Master catalog are assigned to categories within the Storefront catalog.
Which method allows the developer to generate the export for the merchant?
They do not know how to achieve this easily without manual processing, so asked their developer to help Generate this. The merchant s Instance setup is as follows:
They have one Master catalog and one storefront catalog.
Some, but not all, of the products in the Master catalog are assigned to categories within the Storefront catalog.
Which method allows the developer to generate the export for the merchant?
正解:A
解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
A Newsletter controller contains the following route:
Server.post('Subscribe', function (req,res,next){
var newsletterForm = server.forms.getForm('newsletter');var CustomObjectMgr = require('dw/object/CustomObjectMgr'); if(newsletterForm.valid){ try{ var CustomObject = CustomObjectMgr.createCustomObejct('NewsletterSubscription', newsletterform.email.value); CustomObject.custom.firstName = newsletterForm.fname.value; CustomObject.custom.lastName = newsletterForm.lname.value;-
} catch(e){
//Catch error here
}
}
next();
});
Assuming the Custom Object metadata exists, why does this route fail to render the newsletter template when the subscription form is correctly submitted?
Server.post('Subscribe', function (req,res,next){
var newsletterForm = server.forms.getForm('newsletter');var CustomObjectMgr = require('dw/object/CustomObjectMgr'); if(newsletterForm.valid){ try{ var CustomObject = CustomObjectMgr.createCustomObejct('NewsletterSubscription', newsletterform.email.value); CustomObject.custom.firstName = newsletterForm.fname.value; CustomObject.custom.lastName = newsletterForm.lname.value;-
} catch(e){
//Catch error here
}
}
next();
});
Assuming the Custom Object metadata exists, why does this route fail to render the newsletter template when the subscription form is correctly submitted?
正解:C
解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
Universal Containers specifies a new category hierarchy for navigating thedigital commerce storefront. A Digital Developer uses Business Manager to manually create a catalog with the specified category hierarchy, then uses the Products & Catalogs > Import & Export module to export the catalog as a file.
How can other Developerswith sandboxes on the same realm create the same catalog in their own sandboxes?
How can other Developerswith sandboxes on the same realm create the same catalog in their own sandboxes?
正解:C
解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
A developer is asked to create a controller endpoint that will be used in a client-side AJAX request. Its purposes is to displayupdated information to the user when the request is completed, without otherwise modifying the appearance of the current page.
According to SFRA practices, which method best supports this objective?
According to SFRA practices, which method best supports this objective?
正解:C
解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
A developer has a sandbox with code to log a message during execution, and the following code:
After the code executes the developer does not see any log file with the message in the WebDEV folder.
Which two XML filesshould the developer import using the using-specific Merchant Tools import modules?
After the code executes the developer does not see any log file with the message in the WebDEV folder.
Which two XML filesshould the developer import using the using-specific Merchant Tools import modules?
正解:B
解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
A client sells its product in single-brand stores as well as in multi-brand stores. When shown in the store locator list, the client wants the single-brand stores to have a particular background color to highlight them.
Which Business Manager action should be completed to allow the developer to apply different styling to the single-brand stores?
Which Business Manager action should be completed to allow the developer to apply different styling to the single-brand stores?
正解:C
解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
A developer needs to display a products list of their "Women Dresses" category in a new web application, independent of their main B2C Commerce site. This custom listing page needs to be styled differently from the existing one, as per marketing requirements.
Which B2C Commerce tool should the developer use to collect the necessary information?
Which B2C Commerce tool should the developer use to collect the necessary information?
正解:B
解答を投票する
解説: (GoShiken メンバーにのみ表示されます)