Which cartridge path meets the project requirements?

A Digital Developer added a file named MyBusinessController.js in the cartridge named app_project. The project design calls for this new file to override MyBusinessController.js in client_project. The client_project cartridge contains other necessary functionality. Additional functionality is also included in the storefront_core and storefront_controllers cartridges. Which cartridge path meets the project...

May 25, 2021 No Comments READ MORE +

Which statement correctly adds a log entry?

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 . Logger.exception(‘Unable to find Apple Pay payment instrument for order.‘+paymentInstruments);B . Logger.getErrorLog().log(‘Unable to find Apple Pay payment instrument...

May 25, 2021 No Comments READ MORE +

Which modification allows the requests to successfully execute?

A Digital Developer is implementing an Open Commerce API call to add products to a basket. Given the following resource configuration: Which modification allows the requests to successfully execute?A . Change the "resource_id" value to: "/baskets/*/items".B . Change the "write_attributes" value to: "(+items)".C . Change the "read_attributes" value to: "(items)".D...

May 25, 2021 No Comments READ MORE +

Which service type should the Developer register?

A Digital Developer has been given a specification to integrate with a REST API for retrieving weather conditions. The service expects parameters to be form encoded. Which service type should the Developer register?A . FTPB . SOAPC . HTTP FormD . WebDAVView AnswerAnswer: C

May 25, 2021 No Comments READ MORE +

Given this information, what is the beginning of the filename in which the log will be written?

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 beginning of the filename in which the log will be written?A . xyzB . custominfo-bladeC . custom-exportD . custom-xyzView AnswerAnswer: D

May 24, 2021 No Comments READ MORE +

Which code sample will achieve this?

A Digital Developer wants pass control to an ISML template from a JavaScript Controller and load product on the pipeline dictionary with the name myProduct. Which code sample will achieve this?A . ISMB . renderTemlpate ( "helloworld.isml", { "myProduct": "product" });C . ISMD . renderTemlpate ( "helloworld.isml", { "product": myProduct...

May 24, 2021 No Comments READ MORE +

Why should a Digital Developer use ProductSearchModel.getProducts() instead of Category.getOnlineProducts() to access products?

Why should a Digital Developer use ProductSearchModel.getProducts() instead of Category.getOnlineProducts() to access products?A . It is more readable code.B . It has fewer lines of code.C . It uses the search index.D . It reduces accesses to the application server.View AnswerAnswer: D

May 24, 2021 No Comments READ MORE +

Which two actions prevent performance issues in this situation?

A job executes a pipeline that makes calls to an external system. Which two actions prevent performance issues in this situation? (Choose two.)A . Use synchronous import or export jobsB . Configure a timeout for the script pipelet.C . Disable multi-threading.D . Use asynchronous import or export jobs.View AnswerAnswer: BC

May 24, 2021 No Comments READ MORE +

What action should the Developer take to stop the quota violation?

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?A . Rewrite the code that is causing the overage.B . Change...

May 24, 2021 No Comments READ MORE +

Once the Cache Information tool of the storefront toolkit is enabled, how can a Digital Developer view caching information for a particular component of the page?

Once the Cache Information tool of the storefront toolkit is enabled, how can a Digital Developer view caching information for a particular component of the page?A . Hover over the caching icons now present on the storefront.B . Open the Request Logs to view the caching information.C . Start a...

May 23, 2021 No Comments READ MORE +