In Log Center, a developer notes anumber 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 2 answers
A. Extend the CSRF token validity to avoid timeouts.
B. Add the token in the ISML template.
C. Delete the existing CSRF whitelists in Business Manager.
D. Add csrfProtection.generateToken as a middleware step in the controller.
正解:B,D
解説: (Pass4Test メンバーにのみ表示されます)
質問 2:
A business user wants to add a link to a content page from within the body of another content asset. The target content asset ID is: terms-and-conditions.
Which link function generates the correct link?
A. $include('Page-Include', 'cid','terms-and-conditions')$
B. $httpUrl('Content-Show', 'cid', 'terms-and-conditions')$
C. $http('Content-Page', 'cid', 'terms-and-conditions')$
D. $url('Page-Show', 'cid', 'terms-and-conditions')$
正解:B
解説: (Pass4Test メンバーにのみ表示されます)
質問 3:
A client has two B2C Commerce sites in the same instance: one for the U.S market, the other forthe European market. The products they make are sold with different safety certificates based-on the world location.
For example, they sell a smartphone with certificate A in the U.S and certificate B in Europe, a hairdryer with certificate C in the U.S and certificate D in Europe, and more.
How should a developer allow the merchant to display the appropriate certification logo in the produce to details page, depending on the customer's location?
A. Add a Localizable custom preference to the SitePreference system object type.
B. Add a Localizable custom attribute to the Certificatesystem object type.
C. Add a Site-specific custom attribute to the Product system object type.
D. Ad and Image custom preference to the Sitepreference system object type
正解:C
解説: (Pass4Test メンバーにのみ表示されます)
質問 4:
Universal Containers wants to give customers the ability to refine product search results by a product custom attribute,weightCapacity.
Which series of steps should a Digital Developer take to show this refinement on the storefront?
A. Define a search refinement for weightCapacity, then clear the page cache segment for Search-Show.
B. Define a search refinement for weightCapacity, then rebuild the product search index.
C. Define a sorting rule for weightCapacity, then rebuild the product search index.
D. Define search-suggestion buckets for weightCapacity, then rebuild the product search index.
正解:B
解説: (Pass4Test メンバーにのみ表示されます)
質問 5:

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. Change the Log Level for myLogCategory to DEBUG and check the DEBUG box in theLog Files section.
B. Change the Log Level for myLogCategory to DEBUG.
C. Check the DEBUG box in the Log Files section.
正解:A
解説: (Pass4Test メンバーにのみ表示されます)
質問 6:
Universal Containers wants to add a model field to eachproduct. Products will have locale-specific model values.
How should the Digital Developer implement the requirement?
A. Utilize resource bundles for translatable values.
B. Store translated model valuesin different fields; one field for each locale.
C. Set the model field as a localizable attribute.
D. Add model to a new custom object with localizable attributes.
正解:C
解説: (Pass4Test メンバーにのみ表示されます)
質問 7:
A developer is using the Script Debugger to troubleshoot an issue. They observe that the debugger is not able to resolve a specific breakpoint on one of the scripts. What is a possible reason for this issue?
A. The script is form a third party cartridge and hence does not allow_settings breakpoints.
B. The cartridge containing the script isnot in the site's cartridge path
C. The script debugging session is not active
正解:B
解説: (Pass4Test メンバーにのみ表示されます)
質問 8:
A developer is implementing new Page Designer content on a merchant's Storefront and adds the line below to

What does this achieve?
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.
正解:B
解説: (Pass4Test メンバーにのみ表示されます)
Motosugi -
苦手な分野の解説を読んで試験に臨みました。無事B2C-Commerce-Developer合格できました。