A merchant uploads an image using the ContentImage Upload module of Business Manager.
Which three modules can the merchant or developer use to display the image on the Storefront?
Choose 3 answers
Business Manager has the configuration:
• Active Log category is "root"
• Log level of WARN
The code below is executing:
var log = Logger.getLogger(''products'');
Using this information, what will be written to the log?
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 developer needs to check for product inventory in all inventory lists using the Open Commerce API.
An example requestURL is:
Which properly should the developer check in the OCAPI settings to confirm the appropriate resource is enabled?
The client provides the system integrator with translation messages for the newly added "French" ("fr") locale.
What is the correct folder to store the associated .properties files?
Refer to the screen shot below:
Given a site called RefArch that has the settings shown, whatmust be done for RefArch to use the same customer list as RefArchGlobal?
A Digital Developer is asked to optimize controller performance by lazy loading scripts as needed instead of loading all scripts at the start of the code execution.
Which statement should the Developer use to lazy loadscripts?
A client sells its products in North America, Europe, and Asia, and has a B2C Commerce Site for each of these markets. The client receives three area-specific snippets of analytics code by a third-party provider to insert in the sites.
How should the developer configure an instance to allow the merchant to independently insert and update these snippets?
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?
The following sample code is NOT providing the desired results. The Digital Developer needs to add an entry to the logs to debug the problem.
Which statement correctly adds a log entry?
A developer customized the Cart-Show controller routewith a LINK cartridge that adds social media data. There is a new requirement to add a datalayer object to the Cart-Show controller route.
How should the developer achieve this to ensure that no code change will be needed if the client decides to remove the LINK cartridge?
A developer has custom debug statements in a script, but the messages are not showing up in the
Storefront Toolkit Request Log.
Which step needs to be completed to get the messages to appear in the Request Log?
A developer needs to render a Page Designer page in JSON format. What is the correct syntax?
A Digital Developernoticed 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 developer working on a simple web service integration is asked toadd 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?
Why should a Digital Developeruse ProductSearchModel.getProducts() instead of Category.getOnlineProducts() to access products?
A Digital Developer needs to check for product inventory in a specific inventory list using the Open Commerce API.
An example request URL is:
Which resource_id value enables the appropriate resource?
There are three logging categories: category1, category1.eu, and category1.us.
In Business Manager, category1 is enabled for WARN level and no other categories are configured. All custom log targets are enabled.
The code segmentbelow executes.
What is the result'
Universal Containers needs to have Apple Pay disabled for the country of Spain.
Which Business Manager module should the Developer use to meet this requirement?
Given the code snippet aboce, what should be added after this code so it can be used for page
component display?
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?
A Digital Developer needs to store information temporarily and decides to create a custom object.
Which code creates a custom object?
The developer has been given the following business requirement:
The shipping method, Free Standard Ground Shipping' hasan exclusion for products *lth 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?
When exporting a price book from an externalsystem, which file format or formats should a developer use so it can be imported into a B2C Commerce site?
Assume the code below is executing:
Business Manager has the configuration:
Active Log category is “root” with log level of “info.”
Given this information, what is the beginningof the filename in which the log will be written?
A job executes a pipeline that makes calls to an external system.
Which two actions prevent performance issues in this situation? (Choose two.)
A Digital Developer selects “Show Orderable Products Only” in the Search > Search Preferences Business Manager module.
Which business goal does this accomplish?
Given the following snippet:
Server.append( ‘Show’ , function (req, res, next) )
According to SFRA, which two optionsshows a correct way to complete the code above in order to provide
data to the response using a controller?
Choose 2 answers
The developercreated 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?
A Digital Developer has detected storefront pages being rendered with an error message. After inspecting the log files, the Developer discovered that an enforced quota is being exceeded.
What action should the Developer take to stop the quota violation?
Which two items are appropriate content of custom logs implemented atcheckout?
Choose 2 answers:
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 beincorporated into the search and navigation journey.
Which two things can the developer do to facilitate this for them?
Choose 2 answers
Given the SFRA Controller below:
Why would a JavaScript debugger, that is stopped at line 06, fall to show the viewdata variable in the inspection tool?
Which object type can a developer import using the Merchant Tools > Import $ Export module in Business Manager?
In Log Center, a developer notes j number of Cross Site Request Forgery (CSRF) log entries.
After adding the token in the 15ML template, which action might solve this problem'
Which is an appropriate use of the
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 developer is implementing new Page Designer content on a merchant's Storefront and adds the line below to
What does this achieve?
The developer needs to add custom category debug logging into the “contact’’ script, to ensure that a third-party service call responds as expected.
Assuming that the logging configurations for the contact category are correctly in place, which line of code should the developer add in the 06 placeholder to meet this requirement?
A)
B)
C)
A developer is using logging in scripts to troubleshoot an issue. They are using thedw.system.Log class to write to specific log levels and categories. Which log level is always enabled by default?
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?
A developer is asked to periodically create a CSB file in a WebDAV folder to hold the orders information of the last 30 days.
What are the appropriate actions to implement such a requirement?
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 merchant has a requirement to render personalized content ton a category page via a Content Slot that
targets VIP high-spending customers during a specific promotional period.
Which two items should the developer create to achieve the specified requirements?
Choose 2 answers:
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?
Given a sandbox with an active slot configuration with the following specifications:
• Content type set to product
• With someproduct configured
• With the following rendering template: slots/product/product_1x2 isml
• Correctly enabled and scheduled
And given the code contained in the selected rendering template:
Is an additional action needed for this to work asintended?
A merchant has reported that customers are seeing low stock items at the top of their search results, giving them a subpar customer experience and impacting conversion.
How might this issue be resolved to ensure a better customer journey?
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
A client that sells sport shows wants to allow its customers to filer products based on the intended activity (such as tennis, jogging, basketball, etc.) but this particular information is not present in the current catalog.
Which two actions does a developer need to perform in a B2C Commerce instance to allow this two happen?
A merchant asks a developer to create a CachePartition 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?
Given the requirements:
To show the washing Instructions for a clothing product on a dedicated section the detail page
Washing instructions come from the product Information manager (PIM)
To have this attribute available to localize in the Storefront
Which action must these requirements?
A merchant has complained to the developers that some products are not appearing in the storefront and has asked them to diagnose and solve the issue.
Which two factors might be causing a product to be hidden?
Choose 2 answers
A developer has aspecification to integrate with a REST API for retrieving traffic conditions. The service expects parameters to be form encoded.
Which service type should the developer register?
Universal Containers requires that a new order comments attribute is added to the existing SiteGenesis checkout flow. This new attribute needs to be included as part of the standard order export.
Aside from updating the HTML markup and form definition, which option contains all necessary steps to achieve this task?