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 about 7 years ago
779
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

Spanish: Talking About Everyday Things
Niat Habtemariam
THEMES IN KING LEAR
Sarah-Elizabeth
One child policy, China- Population Control Case Study
a a
English Literature Key Terms
charlotteoom
Business Studies GCSE
phil.ianson666
GCSE Maths Quiz: Ratio, Proportion & Measures
Andrea Leyden
Continents & Oceans
Thomas Yoachim
regular preterite tense conjugation -ar verbs
Pamela Dentler
2PR101 1.test - 7. část
Nikola Truong
1PR101 2.test - Část 10.
Nikola Truong
Mapa Conceptual
Julio Perez