Ferrar Carter
Quiz by , created more than 1 year ago

Parla preparacion de examen de hybris

779
1
0
Ferrar Carter
Created by Ferrar Carter about 7 years ago
Close

HYBRIS PARTE 1

Question 1 of 10

1

Changing SAP Hybris coniguration from the project.properties file of your platform project is considered bad because ?

Select one of the following:

  • 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

Explanation

Question 2 of 10

1

When you initialize SAP Hybris from ant, what actions are executed ?

Select one or more of the following:

  • Aborts all running cronjobs

  • Delete and recreate the database

  • Delete all known tables

  • Import all project data

Explanation

Question 3 of 10

1

Is this a valid Flexible Search Query ?

SELECT {p.pk} FROM {Principal} AS p WHERE {p.uid} = 'admin'

Select one of the following:

  • 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.

Explanation

Question 4 of 10

1

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>

Select one or more of the following:

  • 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

Explanation

Question 5 of 10

1

Which of the following Interfaces are valid SAP Hybris interceptors ?

Select one or more of the following:

  • 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

Explanation

Question 6 of 10

1

What is the recommended way to create a new extension within SAP Hybris V6 ?

Select one of the following:

  • 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

Explanation

Question 7 of 10

1

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" />

Select one of the following:

  • bean1

  • bean2

  • alias

  • The coniguration is wrong

Explanation

Question 8 of 10

1

Using a standard SAP Hybris coniguration, is this a valid item type deinition ?
1 <itemtype code="MyItem" abstract="false" extends="GenericItem">
2 </itemtype>

Select one of the following:

  • 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

Explanation

Question 9 of 10

1

All CMS item types extend ?

Select one or more of the following:

  • GenericItem

  • CMS Item

  • CMSItem or CMSRelation

  • CatalogAware

Explanation

Question 10 of 10

1

Next Generation Cockpit dynamic forms can be used to ?

Select one or more of the following:

  • 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

Explanation