Questions from previous exam

Which of the following tags can occur in the definition.xml file for a widget? 3 correct
ControllerClass
Keyword
DefaultTitle
View-page
Setting
Where is the validation mechanism applied in the Backoffice? 2 correct answers
In the Editor Area widget
In the Multiplexer widget
Ln the Property Extractor widget
In the Configurable Flow Wizard widget
How can you customize the web Spring context for a cockpit application? 2 correct
Create a module that extends a cockpit application and modify its web xml file
Customize the global Spring context file in the generated cockpit application
Create a custom cockpit Spring configuration file in the config folder
Set up an additional web Spring context by specifying a property [webAppName] additionalWebSpringConfigs in the local.properties file
What is the purpose of the Dynamic Forms in the Backoffice? 1 correct
To provide dynamic behaviors to the user interface of backoffice applications
To provide dynamic layout of the wizards in the runtime using drag and drop
To provide a dynamic client-side validation of web forms
To provide a dynamic extension of type definitions in the hybris platform
Which condition must be met in order to connect two widgets by a widget-connection? 1 correct
The output socket and input socket must be of exactly the same type
It must be possible to assign the input socket's type to the output socket type
The type used for the input socket must be a subtype of a composed item type
It must be possible to assign the output socket's type to the input socket's type
You are configuring the Backoffice. What are the default context attributes used to resolve the component configuration? 2 correct
Usage
Type
Principal
Position
How can a view of a widget be defined? 2 correct
As a Velocity template
In Java
As a *.sp file
As a *.zul file
What can you configure in widget definition (definition.xml) file? 3 correct
The business logic of the widget via a bean shell script
The available non-virtual socket
The available virtual socket
The view file
The default values for the widget settings
How can you alter the behavior of Dynamic Forms with the Backoffice? 2 correct
Write an inline script in any programming language
Write inline java code
Refer to an URI-located script
Write an inline Groovy script
In which implementation is the JSR 303 standard used? 1 correct
Backoffice Dynamic Forms
Backoffice validation
Backoffice SSO (single sign-on)
Backoffice permission management
How do you create a custom application in the backoffice environment? 1 correct
Generate a new accelerator using the ant modulegen command and the ybackoffice extension
Run the installer using the b2b_acc recipe
Generate a new extension using ant extgen command and the ybackoffice template
Generate a new extension using the ant extgen command and the backoffice extension
Which default values can be used in the merge-by configuration attribute? 2 correct
Module
View
Usage
Type
When are the consignments created for an order? 1 correct
When an administrator approves the order
When the user adds items to the cart
After the order is placed and after it is sourced successfully
After the order is placed and before it is sourced successfully
You are asked to define a new business process. What steps do you perform? 3 correct
Define actions as new item types
Create actions in Java code
Define the actions as Spring beans
Import actions via ImpEx
List the actions in a process XML file
How can you start a business process in SAP Hybris Commerce? 2 correct
Use the hybris Managment Console (hMC) Business Process section to start the business process
Invoke the appropriate method of the BussinessProcessService from Java code to start the business process
Invoke the appropriate method of the BussinessProcessService from a script in the hybris Administration Console (hAC) scripting console
Use the Backoffice Business Process to start the business process
When a customer places an order using the default order management system, at which stage does the fulfilment process send the notification that the order is placed? 1 correct
After the order has been fraud checked
At the first stage of the fulfillment process
After the order has been completely sourced
After the payment has been processed
During the order fulfilment process an order CANNOT be fulfilled successfully. What are likely causes? 2 correct
The fraud check service determined that the order is fraudulent
There is not enough stock available to fulfill the order
The client decided to cancel the order when the order was out for delivery
The order delivery was unsuccessful
In the Hybris order management UI, which actions can be performed for a consignment? 2 correct
Confirm the collection of a consignment
Cancel a specific consignment
Increase the quantity of one or several consignment entries
Relocate a consignment to another location
What do you need to create to define a new product approval business process? 1 correct
Workflow from a predefined workflow template
Workflow Template with multiple Actions that defines the process
Workflow with multiple Actions that defines the process
Workflow Template connected to a Workflow that defines the process
You have the following scenario: A product type with the customer attribute CostOfSale of type CostOfSale which is Catalog aware. A synchronization job configured to synchronize product types and attribute costOfSale. What do you need to do to synchronize product item including the related costOfSale item? 2 correct
Add the CostOfSale into synchronization Root Types and synchronize the product
Synchronise the entire catalog version
Configure synchronization as copyByValue for the costOfSale attribute and synchronize the product
Mark the costOfSale as a partOf attribute of the Product type and synchronize the product
Which interface do you re-implement to select different PriceRows from the cart calculation? 1 correct
CommerceCartService
FindPriceStrategy
CalculationService
Europe1PriceFactory
You need to have region-specific prices in the cart calculation. What customization would be the easiest to implement? 1 correct
Inject a new region attribute into the PriceRow
Create a region-specific PriceFactory
Create a region-specific CalculationService
Create a region-specific UserPriceGroups
What causes item data to be evicted from SAP Hybris entity cache? 2 correct
Calling a setter method on a Model class
Calling the modelService.create() method passing a Model class
Receiving an invalidation event for the item via cluster messaging
Calling the modelService.save() method passing an item model
How do transactions work in the SAP Hybris framework? 3 correct
The default isolation level in SAP Hybris is SERIALIZABLE
A database connection is bound to the transaction until complete
The default isolation level in SAP Hybris is READ_COMMITTED
SAP Hybris transactions can be nested
SAP Hybris transactions can be paused and resumed
Assuming that the property impex.Iegacy.scripting is set to false (which is the default setting), what are the results of the following ImpEx script? 1 correct
Only title with code that equals "baz" will be updated or inserted
All codes "foo", "bar", "baz" will be updated or inserted
New entries will NOT be updated or inserted in the table Titles
All data rows will be cleared of unnecessary space
Which configuration options are available in a cache region? 3 correct
Eviction policy
Persistence mode
Size
Statistics enabled
Clustering enabled
How can a cronjob be started? 3 correct
Cronjobs can be started and aborted automatically if configurable time threshold is exceeded
Cronjobs can be started and aborted only if implemented as abortable
Cronjobs can be started manually via hMC
Conjobs can be started manually via the command line by invoking "ant runcronjob"
Cronjobs can be started manually using flexiblesearch
You are creating an extension with a web module. What do you need to ensure? 2 correct
The web root must be set in the web module directive in the extensioninfo.xml file
An extension with a web module must be a web folder
An extension with a web module must always have a core module
An extension with a web module must always be packaged as a WAR file
You restart the platform without running "ant all". Which of the following changes take effect? 2 correct
Changes to database properties in the local.properties file
Definition of a new item type in the items.xml for an extension
Addition of a Spring bean definition
Removal of an extension from the localextension.xml file
How is a jalo session managed by SAP Hybris Commerce? 2 correct
In a commerce installation with several web applications a jalo session can be shared
In a backoffice application the jalo session is cleaned up by a reaper thread
On a cronjob the jalo session is bound to the execution of the cronjob
In a web application the jalo session is bound to the HTTP session
How do you configure hero products and boost rules? 2 correct
Configure hero products for a specific search terms
Configure the order of hero products with additional boost rules
Configure hero products against facet value
Configure hero products at the category level
What do you need to provide to define the data that is to be loaded into Solr Index? 2 correct
A Solr configuration file
An ImpEx script for full load
A flexible search query for an incremental update
A flexible search query for a full load
When you define a new SolrIndexProperty for a product facet, what can be configured with regard to appearance and behavior? 3 correct
Filtering based on customer group
Image matching based on colors
Multiselect with AND or OR relations
Product process for multi-currency indexing
Multiple values from each indexed object
A SolrIndexProperty allows you to define facets. You want to define facet ranges instead of simple facets. You already created a new SoIrProperty as a facet. What do you need to do next to define facet ranges? 1 correct
Create SolrValueRange items to define the range bounderies, create a SolrValueRangeSet, add SolrValueRange items and add to the SolrIndexProperty
Define the number of ranges in the SolrindexProperty, provide sample data that is used to generate the SolrValueRange items
Define the cadence of the ranges in the SolrIndexProperty, provide the sample data that is used to generate the SolrValueRangeSet
Define a list of upper range boundaries in the SolrIndexProperty, trigger the generation of SolrValueRange items from Backoffice
What is the recommended way to deploy Solr in a production environment? 1 correct
As a standalone server
As embedded with the hybris server
As one master server and multiple slave servers
As a cluster of co-equal master servers
What are the advantages of using keyword redirection within Search and Navigation? 2 correct
Keywords specify the synonyms that redirects to standard catalog terms
Keywords make Solr searches more effective
Customer can be redirected directly to a URL specified by the vendor
Keywords redirects can be easily configured using the hMc
Why are Rule Aware Objects (RAO) used in the rule engine? 2 correct
To store the configuration of the rule engine
To persist the results of the rule evaluation
To represent the data as facts in rule conditions and actions
To eliminate unnecessary data provided by complex objects
What are the required steps to install an AddOn? 3 correct
Run ant addoninstall
Run ant clean build
Copy files from storefront to AddOn web source folder
Configure storefront properties file
Run ant modulgen
Which of the following order splitting strategies are provided in the hybris basecommerce extension? 3 correct
SplitByNamedDeliveryDate
SplitByPayment
SplitByOrderDate
SplitByWarehouse
SplitByAvailableCount
What are the typical steps to add a new top level entry to the Accelerator navigation bar? 2 correct
Create or find the category that you want to expose in the accelerator navigation bar, assign it to the contentPage with the "ID homepage" as part of the "categories" attribute
Create or find the category that you want to expose in the accelerator navigation bar, assign the category with the ID NavigationBarCategory as a supercategory to the Accelerator navigation bar
Create a NavigationBarComponent, assign a CMSLinkComponent containing a URL to it, and add it as a child to the NavigationBarCollectionComponent
Create a NavigationBarComponent, add new child NavigationBarComponent along with a list of CMSComponents, and add it as a child to the NavigationBarCollectionComponent
Which steps are mandatory to create a new order splitting strategy? 3 correct
Create a class that implements interface SplittingStrategy
Register a class that implements interface ConsignmentService
Create a java bean in the relevant extension-bean.xml file
Register a class that extends class AbstractSplittingStrategy
Register the splitting strategy in the OrderSplittingService
How do you include new sample data in your Accelerator project using ImpEx? 1 correct
By modifying the InitialDataSystemSetup class in the yacceleratorinitialdata extension
By modifying the CoreSystemSetup class in the yacceleratorcore extension
By modifying the @SystemSetup annotation in the platform extension
By creating a file with the name sampledata.impex in the yacceleratorcore extension
In an Accelerator project, you need to customize a product details page to remove some information. What changes in the facade layer should you also make? 1 correct
Create a new option for the Spring bean that is referenced by the productConfiguredPopulator alias
Create a new option enumeration value in the relevant items.xml file and remove the spring bean that is referenced by the productConverter alias
Remove unnecessary ProductOptions in the Spring bean that is referenced by the productConfiguredPopulator alias
Create a subtype of the ProductBasicPopulator java class and remove the options
What are the Addons specifically designed to allow a Hybris developer to do? 2 correct
Extend the Accelerator storefront
Extend the Backoffice
Provide a new web application
Import sample data by convention
Why would you create an AddOn extension? 4 correct
To add new user interface components into the Accelerator code
To add a new type into the SAP Hybris system
To extend an existing type in the SAP Hybris system
To extend the Accelerator functionality without modifying the delivered business functionality
To change change an existing service
You want to introduce a new ProductOption that can be used to convert a custom attribute from Product model into custom attribute of the ProductData object. What is the standard way to do this? 1 correct
Define the new ProductOption in the beans XML file, implement a custom populator, and add the custom populator to the list of populators
Define the new ProductOption in the beans XML file, include information about which model attribute should populate which attribute in the definition
Define the new ProductOption in the beans XML file, implement a custom populator, and add the new ProductOption as a new key and add the populator as a value of ProductConfiguredPopulator
Define the new ProductOption in the beans XML file extend the existing productConverter to handle the conversion of the new ProductOption
What steps are required to add a new langauage resource bundle? 3 correct
A language-pack.zip file must be installed using ant customize
The hybris platform must be restarted
Type attributes must be defined as "localized" in order to accept language-specific definition data
Key-value pairs must exist in the resource bundle to provide language-specific names for types and their attributes
A langauage must exists in the type system for the new language
How is a page typically loaded from a specific Accelerator URL? 1 correct
A Facade method is determined from the URL using a naming convention. This then retrieves the name of the page from the database
A controller method is determined from the URL using the RequestMapping annotation. This then will return the name of the page
The path of the page is directly referenced by the URL
The path to the page is determined from a Singleton that knows the location of the page based on a static mapping from the URL page name
Which method can you use to create a new Omni Commerce Connect (OCC) web service? 2 correct
Use ant extgen to create a new extension using ycommercewebservices as the template
Use ant extgen to create an AddOn extension using acceleratoraddon as the template
Use ant modulgen to create a new extension using yacceleratorstorefront as the template
Use ant extgen to create an AddOn extension using yoccaddon as the template
You are writing a payment command for a custom Payment Service Provider (PSP) to capture a payment, for example. What must you do to implement this command? 2 correct
Overwrite and replace the default hybris capture command implementation
Set information on the transaction status in the command implementation
Map the command implementation to the command interface in the payment factory defined for the custom PSP
Invoke the relevant callback to the payment service in the command implementation to indicate the completion of the command execution
What is an Addon typically used for? 2correct
To create new pages or enhance existing ones in a storefront extension
To enhance the sample data for sample stores by convention
To modify the logic of a Service
To create new widgets or enhance existing ones
How are the relations modeled in the database? 3 correct
1-many relationships are defined on a column
1-many relationships are stored in the links table
1-many relationships are binary objects
Many-many relationships are defined as a table
1-many relationships have an order column when ordered="true"
You have this example Item Type. Where is the localized data stored? 1 correct
An existing "genericitems" table is used to store localized data
A table "bar" is created and used to store localized data
A table "barlp" is created and used to store localized data
An existing "props" table is used to store localized data
How is a (typed) classification feature persisted? 1 correct
Its value is stored in an additional column in the deployment table of the category defined in the ClassAttributeAssignment
Its value is stored as ProductFeature item in the related deployment table
Its value is stored in an additional column in the deployment table of the item it is assigned to
Its value is stored in the properties table of product type(productprops)
What are the advantages of using classification attributes? 2 correct
Business users can create or modify classification attributes using Backoffice
Rebuilding and redeployment are NOT required
Changes can be made without loss of classification attribute data
Classification attributes can be applied to any type
How can express checkout be enabled for a specific BaseSite? 1 correct
Set the expressCheckoutEnabled attribute to true for the BaseStore configured for the BaseSite
Set the expressCheckoutEnabled attribute to true for Countries supported by the baseSite
Set the expressCheckoutEnabled attribute to true on Customer registered on BaseSite
Set the expressCheckoutEnabled attribute to true for the CMS Catalog on BaseSite
How Is the primary key {pk} for a hybris item created? 2 correct
It is generated from hybris license
It is generated for a counter and type code of the item
It is automatically generated and assigned
It is created manually by setting I in a model of the item prior to saving the item
What are best practices when using models? 2 correct
Share models between different threads
Save the model using ModelService after the model is modified
Create models using the New keyword
Create models using modelService.create()
What happens when you use a deployment tag in the items.xml file? 2 correct
The name of the deployment table is generated
New item types are automatically deployed into their own tables
The deployment typecode is used as part of the primary key (PK) of the item
All instances of the enclosing type are stored in the specified database table
Where are the enumerations stored? 2 correct
Non-dynamic enumerations are stored as enumeration classes
Non-dynamic enumerations are stored in the SoIr index
Dynamic enumerations are stored in the database
Dynamic enumerations are stored in the property file
You have the following classification attribute defined. What Is the correct ImpEx syntax to update product data with the $feature1 classification attribute? 1 correct
0%
0
 
0%
0
 
0%
0
 
0%
0
 
Which one of the following ImpEx headers can be used to configure user rights for catalog versions? 1 correct
INSERT_UPDATE SearchRestriction,
$START_USERRIGHTS
INSERT_UPDATE CatalogVersion;
INSERT_UPDATE BTGSegment;
How do you switch user context (current user) in your code? 1 correct
GetUserContextService().setUserContext(user.getUsername());
GetUserService().setCurrentUser(getUserService().getUserForUID(user. getUserneme()));
GetAuthenticationService().setCurrentUser(getUserService().getUserForUID(user.getUsername()))
GetUserService().setUserCOntext(user.getUsername());
Your system contains a search restriction with the following parameters. What happens next? 1 correct
The flexible search query returns "pinkCandle" because the restriction applies on the Product and not on VariantProduct
The flexible search query returns an empty list
The flexible search query returns a SQL exception
The flexible search query returns a null value
The system contains a search restriction with the following parameters. What happens next? 1 correct
The export exports all products in groups that can be accessed by anonymous users because the restriction does NOT apply to inner selects
The export exports all products because the Solr export runs as an anonymous user regardless the inner query
The export does NOT export any products because the inner select does NOT return a ProductGroup due to the restiction
The export does NOT export any product because inner queries cannot be used in a Solr export
What do you set up to create visibility rules for specific product items for a user group? 1 correct
A search restriction on the type product for the user group
A search restriction on the type UserGroup
An item type access right for the userGroup
An item type access right for the type Product for the user group
You have the following code snippet that creates a new CMS Restriction for countries. What is the RestrictionData parameter used for? 2 correct
To populate RestrictionData in the facade layer from the CMSRestriction model
To hold the current catalogVersion
To pass the request context data to the restriction to access from inside the evaluator
To populate CMSSearchRestrictionModel from the Restrictiondata in order to enable filtering for the specified type
What are the differences between content management system (CMS) page restrictions and search restrictions? 2 correct
CMS page restrictions are transformed into search restrictions at runtime
CMS page restrictions are catalog version aware. Search restrictions are not catalog version aware
Search restrictions are applied automatically in the flexible search. CMS restrictions must be invoked explicitly for the frontend
All applicable search restrictions are applied from the current context. There can be only one CMS page restriction for a page
What is included in a content management system (CMS) page template? 2 correct
Velocity template
Component controllers
Content slot names
Zul page templates
What can you do in the browser area in the web content management system (WCMS) page view perspective? 2 correct
Edit pages and components
Synchronize a page
Synchronize complete content catalogs
Add restrictions on a page
Which of the following items are configured via direct relation to a BaseStore? 3 correct
A list of points of service that represents local branches
A list of websites that expose the basestore
A list of warehouses that supports the delivery
A list of customers that are tied to the basestore
A list of promotions that provide discounts
How can you configure ContentSlots? 3 correct
A contentslot can be assigned to a page using a ContentSlotForPage
A contentSlot can be configured with a list of content management system (CMS) Components
A contentslot can be configured with a list of Pages
A contentslot can be assigned to a PageTemplate using a ContentSlot Template
A contentslot can be assigned to a Catalog using a ContentSlotForPage
You have created a new content management system (CMS) component action type in your extension-items.xml file (CustomAction) and registered a button in your customAction.jsp file. What are the next steps to register CustomAction to the button? 2 correct
Define CustomAction as an instance of renderer template
Define a mapping (ApplicableCmsActionsTypeForCmsComponent) between the new action and the component
Define a controller for the CustomAction
Define CustomAction as an instance of ContentSlot
Which part of the following URL are required to resolve the product details page? “/Open-Catalogue/Cameras/Hand-held-Camcorders/Cam leo-S10-EU/p/1776948" 2 correct
The root category name /Cameras/
All the traversing category names
The element /p/
The product id /1776948
How does the web content management system (WCMS) preview work in the Accelerator? 2 correct
The preview request from the cmscockpit is handled by a spring filter which creates a preview ticket with the given content information
The preview ticket id can be used outside of the cmscockpit with a normal browser request
The preview request is encoded to the hybris session and page controllers populate the page according to the preview information stored in the session
The preview request in the cmscockpit is a standard request within an iFrame
Which variant of SolrExtIndexerJob uses indexedProperties? 1 correct
UPDATE
PARTIAL_UPDATE
DELETE
FULL
{"name":"Questions from previous exam", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Which of the following tags can occur in the definition.xml file for a widget? 3 correct, Where is the validation mechanism applied in the Backoffice? 2 correct answers, How can you customize the web Spring context for a cockpit application? 2 correct","img":"https://www.quiz-maker.com/3012/CDN/85-4060995/screenshot-20230101-151547.png?sz=1200-00000000000892205114"}
Powered by: Quiz Maker