Question 76

A developer configures the dw.json file and needs to fill in the necessary parameters to complete the task.
Which three parameters are required when using npm scripts?
Choose 3 answers
  • Question 77

    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 and persist it to the database?
  • Question 78

    A custom cartridge that seemed to be performing well in a sandbox has been installed in production. The production instance is showing increased page load times that seem to be related to the new custom code. What can a developer do to quickly track down the potential problem?
  • Question 79

    The Client has implemented a different category/search layout for mobile and desktop. The code uses a session attribute called deviceType to choose the corresponding layout. This attribute it populated from the browser user agent. After this implementation they have run into these problems:
    * Sometimes desktop pages are being served to both desktop and mobile customers.
    * Sometimes mobile pages ate being served to both desktop and mobile customers.
    The page has caching implemented that depends; on promotions. SEC is very important and the site traffic is high.
    Which solution should the Architect select to resolve the issue without impacting the existing requirements?
  • Question 80

    The developer has been given the following business requirement:
    * The shipping method, Free Standard Ground Shipping' has an 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?