HYBRIS PARTE 1

Description

Parla preparacion de examen de hybris
Ferrar Carter
Quiz by Ferrar Carter, updated more than 1 year ago
Ferrar Carter
Created by Ferrar Carter over 7 years ago
782
1

Resource summary

Question 1

Question
Changing SAP Hybris coniguration from the project.properties file of your platform project is considered bad because ?
Answer
  • This doesn’t follow SAP Hybris licence
  • It makes future updates harder
  • The file is already too big
  • This file is ignored after you create a new config folder from it

Question 2

Question
When you initialize SAP Hybris from ant, what actions are executed ?
Answer
  • Aborts all running cronjobs
  • Delete and recreate the database
  • Delete all known tables
  • Import all project data

Question 3

Question
Is this a valid Flexible Search Query ? SELECT {p.pk} FROM {Principal} AS p WHERE {p.uid} = 'admin'
Answer
  • No, Principal is an abstract type
  • No, SQL aliases definition needs to be inside the brackets
  • NO, for another reason
  • Yes, this is a valid Flexible Search Query.

Question 4

Question
According to the following extensioninfo.xml what statements are true ? 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 <extensioninfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 3 xsi:noNamespaceSchemaLocation="extensioninfo.xsd"> 4 5 <extension abstractclassprefix="Generated" classprefix=" HybhubStorefront" 6 name="hybhubstorefront"> 7 8 <requires-extension name="assistedservicestorefront"/> 9 <requires-extension name="smarteditaddon"/> 10 <requires-extension name="captchaaddon"/> 11 <requires-extension name="acceleratorstorefrontcommons"/> 12 <requires-extension name="hybhubfacades"/> 13 14 <webmodule jspcompile="false" webroot="/hybhubstorefront"/> 15 16 <meta key="extgen-template-extension" value="true"/> 17 18 </extension> 19 20 </extensioninfo>
Answer
  • This extension could define new item types from its hybhubstorefront-items.xml like all other extensions
  • This extension can used as a template to create a new extension
  • This extension can define HMC configuration and localization
  • This extension requires a web directory

Question 5

Question
Which of the following Interfaces are valid SAP Hybris interceptors ?
Answer
  • de.hybris.platform.servicelayer.interceptor.ValidateInterceptor
  • de.hybris.platform.servicelayer.interceptor.PrepareInterceptor
  • de.hybris.platform.servicelayer.interceptor.CheckInterceptor
  • de.hybris.platform.servicelayer.interceptor.InitAllInterceptor
  • de.hybris.platform.servicelayer.interceptor.RemoveInterceptor
  • de.hybris.platform.servicelayer.interceptor.DeleteInterceptor

Question 6

Question
What is the recommended way to create a new extension within SAP Hybris V6 ?
Answer
  • Use the installer script with the extgen recipe
  • Extensions are automatically created by the build framework based on your dependencies
  • Use the build framework with the extgen ant target to create a new extension from a template
  • Use the build framework with the extgen maven goal to create a new extension from a template

Question 7

Question
What bean would I get when I execute spring.getBean(“alias”)* for the following spring coniguration?* 1 <alias name="bean1" alias="alias"/> 2 <bean name="bean1" class="spring.exos.MyBean" /> 3 4 <alias name="bean2" alias="alias"/> 5 <bean name="bean2" class="spring.exos.MyBean" />
Answer
  • bean1
  • bean2
  • alias
  • The coniguration is wrong

Question 8

Question
Using a standard SAP Hybris coniguration, is this a valid item type deinition ? 1 <itemtype code="MyItem" abstract="false" extends="GenericItem"> 2 </itemtype>
Answer
  • No, this item needs a deployment table
  • No, this item needs at least one attribute
  • No, only abstract items can extends GenericItem
  • No, GenericItem is a not a valid type
  • Yes, this is a valid item type definition

Question 9

Question
All CMS item types extend ?
Answer
  • GenericItem
  • CMS Item
  • CMSItem or CMSRelation
  • CatalogAware

Question 10

Question
Next Generation Cockpit dynamic forms can be used to ?
Answer
  • Automatically generate forms for new item types
  • Automatically open the next tab when required data have been entered
  • Automatically disable a field when data are entered
  • Automatically create an event when data are validated
Show full summary Hide full summary

Similar

A Christmas Carol - Characters
chloeprincess10
Key Definitions for organic chemistry
katburr23
Henry VII Rebellions, political power and control
hawkhigh
P2a revision (part 1)
juliasutton
GCSE PHYSICS: Energy Transfer
magykman1998
Business Studies - KEY TERMS
Dani Whitrick
GCSE REVISION TIMETABLE
Cat Foreman
GCSE AQA Biology 3 Kidneys & Homeostasis
Lilac Potato
World War II Notebook
jenniferfish2014
Management 1. PT (3MA101) - 2. část
Vendula Tranová
Mapa Mental para Resumir y Conectar Ideas
Ricardo Padilla Alcantara