Commerce Platform Development Quiz
39 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What are the necessary steps to install an AddOn in a storefront?

  • Run ant all and configure storefront properties files (correct)
  • Copy files from the storefront to the AddOn web source folder
  • Run ant addoninstall and run ant modulegen
  • Run ant modulegen and configure storefront properties files
  • Which interface allows you to trigger an indexing operation via API?

  • IndexerListener
  • IndexerQueryContext
  • IndexerService (correct)
  • IndexerStrategy
  • What component configurations are promoted by the ServiceLayer architecture?

  • Facades orchestrate Converters
  • Facades orchestrate Services
  • Services orchestrate Strategies (correct)
  • Services orchestrate Converters
  • How do you define a new SolrIndexProperty as a facet using facet ranges?

    <p>Create SolrValueRange items to define the range boundaries and add them to the SolrIndexProperty</p> Signup and view all the answers

    What items are configured via a direct relation to a BaseStore?

    <p>A list of Content Catalogs providing the pages, slots, and other CMSItems shown to Customers</p> Signup and view all the answers

    What is the purpose of the IndexerListener interface?

    <p>To listen to indexing events</p> Signup and view all the answers

    What is the role of the ServiceLayer architecture?

    <p>To promote Services orchestrating Strategies</p> Signup and view all the answers

    What is a SolrValueRangeSet used for?

    <p>To add SolrValueRange items to the SolrIndexProperty</p> Signup and view all the answers

    When are consignments created for an order in the default order management implementation?

    <p>After the order is placed and after it has been sourced successfully</p> Signup and view all the answers

    What is the purpose of implementing the ClusterAwareEvent interface?

    <p>To create asynchronous events in the SAP Commerce Cloud platform</p> Signup and view all the answers

    What happens when a search restriction with the parameters Type: Product and User: anonymous is applied to a product?

    <p>The flexible search query returns an empty list.</p> Signup and view all the answers

    How can you assign a ContentSlot to a page?

    <p>Using a ContentSlotForPage item</p> Signup and view all the answers

    What is the purpose of dynamic forms in the Backoffice?

    <p>To enable dynamic behaviors in the user interface of Backoffice applications</p> Signup and view all the answers

    How can you define valid CMS Components for a ContentSlot?

    <p>By modifying the ElementsForSlot relation</p> Signup and view all the answers

    What is the purpose of extending the AbstractEvent class?

    <p>To create asynchronous events in the SAP Commerce Cloud platform</p> Signup and view all the answers

    What is a key principle to consider when creating a new ancillary catalog for your site?

    <p>Restricting read and write access of the catalog in its permission tab in Backoffice</p> Signup and view all the answers

    Which of the following services is NOT included in the base commerce extension to address customer services functionality?

    <p>CustomerAccountService</p> Signup and view all the answers

    Why might the new price value of a product not be properly displayed on the category page?

    <p>The Solr indexer operation was not run in the Backoffice Administration Cockpit</p> Signup and view all the answers

    What is NOT a step in defining a new business process?

    <p>Defining the process in BPMN format and then converting it to XML</p> Signup and view all the answers

    What happens when you restart the platform without running 'ant all'?

    <p>Addition of a Spring bean definition takes effect</p> Signup and view all the answers

    What is a characteristic of a catalog version?

    <p>It has a hierarchy of categories containing products</p> Signup and view all the answers

    What is a necessary step after updating a price row for a product in the Backoffice Product Cockpit?

    <p>Running a Solr indexer operation in the Backoffice Administration Cockpit</p> Signup and view all the answers

    What is a common use case for using an ancillary catalog?

    <p>Restricting access to certain products</p> Signup and view all the answers

    What Solr index operation uses the indexedProperties field on the SolrExtIndexerCronJob?

    <p>UPDATE</p> Signup and view all the answers

    What is best practice when using models?

    <p>Save the model using the modelService after the model is modified</p> Signup and view all the answers

    When defining an aspect in the manifest.json file, what type of information should you provide?

    <p>extensions</p> Signup and view all the answers

    Which order-splitting strategy is provided in the basecommerce extension?

    <p>Split by named delivery date</p> Signup and view all the answers

    How can you configure when the experience calculation is triggered for registered customers?

    <p>Trigger the experience calculation when the customer logs in</p> Signup and view all the answers

    What is SmartEdit’s Navigation Management page useful for?

    <p>It can define more than one navigation hierarchy, each accessed by a different component on the page</p> Signup and view all the answers

    What is a characteristic of the UPDATE Solr index operation?

    <p>It uses the indexedProperties field on the SolrExtIndexerCronJob</p> Signup and view all the answers

    What is the purpose of using modelService.get() when working with models?

    <p>To obtain an item referenced by another using its PK</p> Signup and view all the answers

    What is the method to invoke the BusinessProcessService in the hybris Administration Console?

    <p>From a script in the hAC scripting console</p> Signup and view all the answers

    What is the main difference between SAP Commerce Cloud Accelerators and Spartacus?

    <p>Programming language used</p> Signup and view all the answers

    What is the purpose of the $catalogversion attribute in the ImpEx file?

    <p>To specify the catalog version</p> Signup and view all the answers

    How many products and price rows are stored in the database after importing the ImpEx file and synchronizing the catalogs?

    <p>2000 products and 1000 price rows</p> Signup and view all the answers

    What is the purpose of a SearchRestriction?

    <p>To restrict search results based on a specific type</p> Signup and view all the answers

    What are the two correct attributes that can be set for a SearchRestriction?

    <p>restrictedType and principal</p> Signup and view all the answers

    What is the main consideration when connecting two widgets?

    <p>Widget functionality and compatibility</p> Signup and view all the answers

    What is the purpose of the BusinessProcessService in hybris?

    <p>To invoke business processes</p> Signup and view all the answers

    Study Notes

    SAP Commerce Cloud Platform

    • There are three correct answers to the question: A. Run ant all, B. Configure storefront properties files, C. Run ant addoninstall
    • The correct answer to the question is D. IndexerService, which allows triggering an indexing operation via API
    • The ServiceLayer architecture promotes three component configurations: A. Services orchestrate Strategies, C. Facades orchestrate Converters, E. Facades orchestrate Services

    Facets and Ranges

    • To define a facet using facet ranges, you need to D. Create SolrValueRange items to define the range boundaries and add them to the SolrIndexProperty

    BaseStore Configuration

    • Three items are configured via a direct relation to a BaseStore: A. A list of Content Catalogs providing the pages, slots, and other CMSItems shown to Customers, B. A list of Product Catalogs providing the product info shown to Customers, E. (no description provided)

    Order Management

    • Consignments are created for an order in the default order management implementation D. After the order is placed and after it has been sourced successfully

    ContentSlot Configuration

    • Two configurations can be done to a ContentSlot: B. Add a list of CMSComponents to it, C. Assign it to one or more pages using ContentSlotForPage items

    Backoffice Dynamic Forms

    • The purpose of dynamic forms in the Backoffice is to D. Enable dynamic behaviors in the user interface of Backoffice applications

    Search Restrictions

    • A search restriction with parameters Type: Product, User: anonymous, and Restriction: 1=0 returns D. An empty list
    • The flexible search query returns an empty list when the system renders the Product Detail Page for PinkCandle using the flexible search query

    Asynchronous Events

    • Two ways to create asynchronous events in the SAP Commerce Cloud platform: A. Implement the ClusterAwareEvent interface, C. Extend the AbstractEvent class

    Ancillary Catalogs

    • Two principles to consider when creating a new ancillary catalog: B. A catalog version has a hierarchy of categories, containing products, C. A catalog must have at least 2 versions: staged and online

    Customer Services

    • Three services included in the basecommerce extension to address customer services functionality: A. OrderCancelService, B. ReturnService, E. RefundService

    Price Row Updates

    • To fix the issue of a new price value not being displayed on the category page, B. Run a Solr indexer operation in the Backoffice Administration Cockpit

    Business Processes

    • Three steps to define a new business process: B. Define the actions as Spring beans, C. Create actions in Java code, E. Define the process in XML format

    Platform Restart

    • Two changes that take effect when restarting the platform without running "ant all": B. Use the hot folder functionality by creating a file in the configured hot file, C. Use the Backoffice Business Process section

    Spartacus vs Accelerators

    • Two differences between Spartacus and the SAP Commerce Cloud Accelerators: B. Accelerators are JSP-based while Spartacus is JavaScript-based, D. They are both extensible according to project requirements

    ImpEx File Import

    • After importing the ImpEx file and synchronizing the catalogs, 1000 products and 2000 price rows are stored in the database

    SearchRestrictions

    • Two attributes that can be set for a SearchRestriction: A. restrictedType, C. principal

    Widget Connections

    • (No description provided)

    Solr Index Operations

    • The Solr index operation that uses the indexedProperties field on the SolrExtIndexerCronJob is D. PARTIAL_UPDATE

    Model Best Practices

    • Two best practices when using models: C. Save the model using the modelService after the model is modified, D. Create models using modelService.create( )

    Aspect Definition

    • Two types of information to provide when defining an aspect in the manifest.json file: C. webapps, D. extensions

    Order-Splitting Strategies

    • Three order-splitting strategies provided in the basecommerce extension: A. Split by warehouse, B. Split by stock availability, C. Split by named delivery date

    Personalization

    • Three options to configure when the experience calculation is triggered for registered customers without requiring any customization: A. Trigger the experience calculation for certain URL patterns, C. Trigger the experience calculation when the customer logs in, D. Trigger the experience calculation when the customer adds a product to the cart

    SmartEdit Navigation Management

    • The SmartEdit Navigation Management page is useful for two things: A. It can define more than one navigation hierarchy, each accessed by a different component on the page. (No second description provided)

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    Test Hybris dump.pdf

    Description

    Test your knowledge of commerce platform development with this quiz covering topics such as storefront configuration and indexing operations.

    More Like This

    Use Quizgecko on...
    Browser
    Browser