Business Manager has the configuration:
• Active Log category is " root "
• Log level of WARN
The code below is executing:
varlog=Logger.getLogger( " products " );
Using this information, what will be written to the log?
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?
A developer is asked to periodically create a CSV file in a WebDAV folder to hold the orders information of the last 30 days. What should the developer do to implement such a requirement?
A developer has a specification 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?
Given the following ISML example, how should a developer reference the product object in the current iteration of the basket?
< isloop items= " ${pdict.Basket.products} " var= " product " status= " loopstatus " >
...
< /isloop >
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?
Given a job step configured in the steptype.json that calls a script module, a developer needs to add a custom status code " NO_FILES_FOUND " in the script. The status does not represent an error condition.
Which code snippet completes this requirement?
A developer needs to check for product inventory in all inventory lists using the Open Commerce API.
An example request URL is:
http://refarch.demandware.net/dw/data/v18_3/inventory_lists/ecom-inventory/product_inventory_records/00883408601
Which property should the developer check in the OCAPI settings to confirm the appropriate resource is enabled?
A controller route in the SFRA base looks as follows:
server.get( ' Show ' ,consentTracking.consent,cache.applyDefaultCache,
function(req,res,next) {
...base code omitted on purpose...
next();
},
pageMetaData.computedPageMetaData
);
In order to extend this route usingprepend(), what should the developer consider?
A developer is tasked with creating a new payment method in Business Manager. What is the first step the developer should take?
A client has a requirement to render different content on the homepage based on if the customer is logged in or a guest user.
What should a developer implement to achieve this requirement?
A developer is asked to implement a simple call to an authentication-protected REST web service.
Which configuration is valid?
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?
Given the requirement to add caching to an existing page while adhering to SFRA best practices, which code snippet should be used?
Given a site called RefArch with the settings shown, what must be done for RefArch to use the same customer list as RefArchGlobal?
Which object type can a developer import using the Merchant Tools > Content > Import & Export module in Business Manager?
Given a template rendered by a controller with caching and a remote include without caching, which situation applies?
Given a site called RefArch with the settings shown in the screenshot (ID: RefArch, Name: RefArch, Time Zone: Etc/UTC, Default Currency: US Dollar, Taxation: Net, Customer List: RefArch), what must be done for RefArch to use the same customer list as RefArchGlobal?
A new product has been added to the Storefront catalog that is assigned to a site.
Which configuration does a developer need to ensure to have a new product visible in the Storefront?
A merchant uploads an image using the Content Image Upload module of Business Manager.
Which module can the merchant use to display the image on the Storefront?
Multiple shoppers report slow performance on the Product Details Page.
Which tool can a developer use to view average response times for the Product-Detail controller route?
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?
Given a NewsletterSubscription custom object that has a key attribute named email of type String, what is the correct syntax to create the NewsletterSubscription custom object?
Given the requirements:
• To integrate with an external web service using HTTP requests.
• To create a service for this purpose with the Service framework using the LocalServiceRegistry class.
• To test the service before the external service provider makes the API available.
Which solution allows the developer to satisfy the requirements?
What is the expected result when the code segment executes with the logger configuration?
Which is an appropriate use of the < isif > ISML tag that follows B2C Commerce and SFRA best practices?
A developer is asked to periodically create a CSV 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?
A developer is given a task to implement a new Page Designer layout component that doesn ' t accept certain asset components.
How should the developer achieve the above task?
Given the following snippet:
server.append( ' Show ' ,function(req,res,next) {
According to SFRA, which option can a Developer use to complete the code above and provide data to the response using a controller?
Which line of code should a developer add for custom category debug logging?
A developer is importing edits for two different sites into the same sandbox and is provided with four different files.
Which two XML files should the developer import using the site-specific Merchant Tools import modules?
To build the SFRA code to a developer sandbox for the first time, which build steps should the developer perform for the site to appear and function as designed?
A developer is implementing a new feature that requires the use of a custom object. What is the first step the developer should take?
A developer plans to use the/search_suggestion(Shop API) in a Storefront application and the following property must be set to do so:
suggestion.product.image:view_type
What consideration should the developer keep in mind to ensure that image data is returned correctly as part of search suggestions?
A developer has a requirement to display a banner in two different category pages.
Which snippet of code should the developer add to a template to allow the merchant to configure each independently?
A developer working on a simple web service integration is asked to add 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?
What action meets the requirement to show washing instructions for a clothing product?
A developer wants to configure the following products so that same search results are returned regardless of the search term used. The search term can be bag, purse, pocketbook, and tote. How should the developer configure this?
A developer uses hooks for an extension point. Which is true for running multiple hooks for an extension point?