Question 76

The Home-Show route uses this middleware chain:
server.get('Show', consentTracking.consent, cache.applyDefaultCache, function (req, res, next) {
// based code here
});
The developer added Home.jsin another cartridge, which is before the original cartridge in the cartridge path, to extend that route but it does not have the middleware chain:
server.append('Show', function (req, res, next) {
// custom code here
});
Assuming the code is correct on both functions, what is the expected result?
  • Question 77

    When inspecting the weekly service status report for a critical internally hosted web service used in the application, a developer notices that there are too many instances of unavailability.
    Which two solutions can reduce the unavailability of the service?
    Choose 2 answers.
  • Question 78

    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?
  • Question 79

    A developer is asked to write a log containing the ID and name of the product with a variable named myProduct.
    Which snippet of code should be used?
  • Question 80

    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?