Mock Exam1

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

What is the default authorization framework for the OCC web services ? 1. spring-security 2. oauth 2.0 3. java-security 4. sso

1. spring-security X 2. oauth 2.0 3. java-security 4. sso

The SAP Hybris out of the box model service is used to ? 1. refresh the status of a data object 2. lock a model object 3. remove a model object 4. create new item type definition

1. refresh the status of a data object X 2. lock a model object X 3. remove a model object 4. create new item type definition have a look at de.hybris.platform.servicelayer.model.ModelService.

How could you enable single product catalog synchronization from the PCM ? 1. catalog synchronization cannot be done from the PCM, it's meant to be done by administrators only 2. configure expressUpdateCatalogVersions=catalog:version 3. each product can be synchronized individually out of the box 4. PCM is not for products

1. catalog synchronization cannot be done from the PCM, it's meant to be done by administrators only X 2. configure expressUpdateCatalogVersions=catalog:version 3. each product can be synchronized individually out of the box 4. PCM is not for products

In order to test a dao implementation what test should you write ? 1. @UnitTest 2. @DatabaseTest 3. @SqlTest 4. @IntegrationTest

1. @UnitTest 2. @DatabaseTest 3. @SqlTest X 4. @IntegrationTest

What is the right way to create a localized string attribute ? 1. <attribute qualifier="name" type="java.lang.String"> <persistence type="property" localized="true"/> </attribute> 2. <attribute qualifier="name" type="localized:String"> <persistence type="property"/> </attribute> 3. <attribute qualifier="name" type="localized:java.lang.String"> <persistence type="property" /> </attribute> 4. <attribute qualifier="name" type="localized:java.lang.String"> </attribute>

1. <attribute qualifier="name" type="java.lang.String"> <persistence type="property" localized="true"/> </attribute> 2. <attribute qualifier="name" type="localized:String"> <persistence type="property"/> </attribute> X 3. <attribute qualifier="name" type="localized:java.lang.String"> <persistence type="property" /> </attribute> 4. <attribute qualifier="name" type="localized:java.lang.String"> </attribute> "4" is wrong, persistence is mandatory.

How do you declare an attribute dynamic ???? 1. 2. 3. 4.

1. X 2. 3. 4.

Which methods are valid to create and save a new product item from the service layer ? 1. ModelService modelService = spring.getBean("modelService"); ProductModel prd = new ProductModel(); //Fill the product object with valid data modelService.save(prd); 2. ModelService modelService = spring.getBean("modelService"); ProductModel prd = modelService.create("Product"); //Fill the product object with valid data modelService.save(prd); 3. ModelService modelService = spring.getBean("modelService"); ProductService productService = spring.getBean("productService"); //Assuming we load a valid product ProductModel prdTemplate = productService.getProductForCode("000001") ProductModel prd = modelService.clone(prdTemplate) //Set all unique data modelService.save(prd);

X 1. ModelService modelService = spring.getBean("modelService"); ProductModel prd = new ProductModel(); //Fill the product object with valid data modelService.save(prd); X 2. ModelService modelService = spring.getBean("modelService"); ProductModel prd = modelService.create("Product"); //Fill the product object with valid data modelService.save(prd); X 3. ModelService modelService = spring.getBean("modelService"); ProductService productService = spring.getBean("productService"); //Assuming we load a valid product ProductModel prdTemplate = productService.getProductForCode("000001") ProductModel prd = modelService.clone(prdTemplate) //Set all unique data modelService.save(prd);

How can you create a new socket for a custom backoffice widget ? 1. open your widget definition.xml file 2. use the HMC 3. run the widget wizard from OCC 4. create a new socket.zul file

X 1. open your widget definition.xml file 2. use the HMC 3. run the widget wizard from OCC 4. create a new socket.zul file

What is cached by SAP Hybris ? 1. result of flexible search queries 2. media images 3. item attributes 4. user sessions

X 1. result of flexible search queries 2. media images X 3. item attributes 4. user sessions

What statements are true about the promotion engine ? 1. runs on the rule engine 2. runs on the jalo layer 3. uses rule aware object (RAO) actions 4. runs when the promotion strategy is called during cart calculation

X 1. runs on the rule engine 2. runs on the jalo layer X 3. uses rule aware object (RAO) actions 4. runs when the promotion strategy is called during cart calculation

Which one of the following flexible correct is valid ? 1. select {name[de]} from {product} 2. select {name.de} from {product} 3. select {name}[de] from {product} 4. select {name} from {product},{lang} where {lang} = 'de'

X 1. select {name[de]} from {product} 2. select {name.de} from {product} 3. select {name}[de] from {product} 4. select {name} from {product},{lang} where {lang} = 'de'

What assessments are correct about modules and extensions ? 1. A module is a synonym of template 2. An extension is never used alone 3. A module includes a set of functionalities fulfilled by one or more extensions 4. An extension holds source code and configuration files

1. A module is a synonym of template 2. An extension is never used alone X 3. A module includes a set of functionalities fulfilled by one or more extensions X 4. An extension holds source code and configuration files A module is made of one or more extensions to provide a set of related functionalities, like the WCMS module made from different extensions : cms2lib, cmscockpit, cm2.

What is a saved query ? 1. A query that has been cached by the service layer 2. A way of reusing a query from the flexible search service 3. A flexible search query saved inside the SavedQuery item type and reusable from the HMC 4. There is no such query

1. A query that has been cached by the service layer 2. A way of reusing a query from the flexible search service X 3. A flexible search query saved inside the SavedQuery item type and reusable from the HMC 4. There is no such query A saved query can be used from the HMC to search a given item type from a customized and possibly parameterized flexible search query.

How is Spring configured in SAP Hybris ? 1. Explicit configuration in XML 2. Explicit configuration in Java 3. Implicit bean discovery and automatic wiring 4. Explicit configuration in XML, implicit bean discovery and automatic wiring

1. Explicit configuration in XML 2. Explicit configuration in Java 3. Implicit bean discovery and automatic wiring X 4. Explicit configuration in XML, implicit bean discovery and automatic wiring

When designing a new web service what HTTP header should you choose to implement a create object endpoint? 1. GET 2. PUT 3. CREATE 4. POST

1. GET 2. PUT 3. CREATE X 4. POST

Which one of the following service is best suited to load a resource bundle for a specific language ? 1. I18NService 2. CommonI18NService 3. CommerceCommonI18NService 4. L10NService

1. I18NService 2. CommonI18NService 3. CommerceCommonI18NService X 4. L10NService

What are the logging framework shipped with Hybris ? 1. LOG4J 2. LOG4J2 3. LOG4J3 4. SLF4J

1. LOG4J X 2. LOG4J2 3. LOG4J3 4. SLF4J SLF4J is a simple logging facade for logging frameworks.

What can you define permissions for (using the permission framework) ? 1. OCC access 2. item type 3. instance of an item type 4. attribute

1. OCC access X 2. item type X 3. instance of an item type X 4. attribute

The Spring Integration Framework is used for ? 1. OCC webservices 2. Datahub 3. Hot Folder 4. Service Layer

1. OCC webservices 2. Datahub X 3. Hot Folder 4. Service Layer

What statements are true about Apache SOLR ? 1. SAP Hybris uses an embedded SOLR server 2. SOLR uses the same database as SAP Hybris 3. all products are cached inside SOLR 4. SOLR can have multiple index

1. SAP Hybris uses an embedded SOLR server 2. SOLR uses the same database as SAP Hybris 3. all products are cached inside SOLR X 4. SOLR can have multiple index "1" is wrong since SAP Hybris V6 Apache SOLR is running in its own process.

What SQL query could be generated from the following flexible search query ? select {pk} from {Product as prd} 1. SELECT prd.PK FROM products prd WHERE (prd.TypePkString IN(?,?)) 2. SELECT item_t0.PK FROM products item_t0 WHERE(item_t0.TypePkString IN (?,?)) 3. SELECT PK FROM products WHERE (TypePkString IN (?,?)) 4. SELECT item_t0.PK FROM {products} item_t0 WHERE(item_t0.TypePkString IN (?,?))

1. SELECT prd.PK FROM products prd WHERE (prd.TypePkString IN(?,?)) X 2. SELECT item_t0.PK FROM products item_t0 WHERE(item_t0.TypePkString IN (?,?)) 3. SELECT PK FROM products WHERE (TypePkString IN (?,?)) 4. SELECT item_t0.PK FROM {products} item_t0 WHERE(item_t0.TypePkString IN (?,?))

What is the main entry servlet of Spring MVC application ? 1. SpringMvcServlet 2. DispatcherServlet 3. JaloServlet 4. RequestContextServlet

1. SpringMvcServlet X 2. DispatcherServlet 3. JaloServlet 4. RequestContextServlet

Which one of the following design patterns has this as its primary goal ; Provides a single, simplified interface to a complex systemof mutually dependent interacting objects? 1. Strategy 2. Model View Controller 3. Service Layer 4. Facade

1. Strategy 2. Model View Controller 3. Service Layer X 4. Facade

What is correct definition of the LTU eviction strategy ? 1. The oldest element would be deleted first 2. The youngest element would be deleted first 3. The most unused element would be deleted first 4. This is not a valid eviction strategy

1. The oldest element would be deleted first 2. The youngest element would be deleted first 3. The most unused element would be deleted first X 4. This is not a valid eviction strategy The available eviction strategy are : • LRU (Least Recently Used) • LFU (Least Frequently Used) • FIFO (First In First Out)

Why do you need to execute setantenv.sh or setantenv.bat before calling the build platform ? 1. To preload ant classes 2. To configure your PLATFORM_HOME environment variable 3. If you already have ant installed you do need to call this script 4. TO configure ant home and opts environment variable

1. To preload ant classes X 2. To configure your PLATFORM_HOME environment variable 3. If you already have ant installed you do need to call this script X 4. TO configure ant home and opts environment variable The setantenv scrips configure : • PLATFORM_HOME • ANT_OPTS • ANT_HOME • add ANT_HOME to your path

OAUTH2 is 1. a library built by SAP Hybris to handle authentification 2. a library built by Spring to handle authentification 3. an application protocol like HTTP but for authorization 4. an authorization protocol

1. a library built by SAP Hybris to handle authentification 2. a library built by Spring to handle authentification 3. an application protocol like HTTP but for authorization X 4. an authorization protocol SAP Hybris OCC uses OAUTH2, the Java implementation of the secured protocol is provided by Spring under Spring-security-oauth2.

What happened when you execute the following Groovy script ? import java.util.HashSet import de.hybris.platform.core.model.user.UserGroupModel def modelService = spring.getBean("modelService") def group = modelService.create("userGroup") group.setUid("newGroup") modelService.save(group) def groups = new HashSet<UserGroupModel>() groups.add(group) def customer = modelService.create("customer") customer.setUid("newCustomer") customer.setName("newCustomer") customer.setGroups(groups) modelService.save(customer) 1. a service layer exception is thrown 2. only the customer is created 3. only the user group is created 4. both the customer and the user group are created

1. a service layer exception is thrown 2. only the customer is created 3. only the user group is created X 4. both the customer and the user group are created

Choose the right definition for a payment capture ? 1. authorize an amount of money after it has been reserved 2. transfer money back for a given order 3. transfer money from after it has been authorized 4. lock an amount of money on the card's holder account

1. authorize an amount of money after it has been reserved 2. transfer money back for a given order X 3. transfer money from after it has been authorized 4. lock an amount of money on the card's holder account Capture, is the action of transferring money into the merchant account after it has been authorized.

How can you activate the cluster mode ? 1. cluster mode is on by default 2. cluster mode is always on 3. configure clustermode=true 4. configure clustering=true

1. cluster mode is on by default 2. cluster mode is always on X 3. configure clustermode=true 4. configure clustering=true

How many transactions would be created by the following Groovy script ? def transaction = de.hybris.platform.tx.Transaction.current() transaction.begin() transaction.begin() //Do something transaction.commit() transaction.begin() //Do something transaction.commit() transaction.commit() 1. code execution will fail 2. one transaction would be created 3. two transactions would be created 4. three transaction would be created

1. code execution will fail X 2. one transaction would be created 3. two transactions would be created 4. three transaction would be created Remember that only one transaction per thread can be created.

What application context is valid to create a new region cache for an item type? 1. core tenant 2. master tenant 3. core static 4. global static

1. core tenant 2. master tenant 3. core static X 4. global static

What steps are required in order to create a new SAP Hybris cron job ? 1. create a new trigger for the job 2. create a job implementation of JobPerformable 3. Update your system 4. create a new item that extends cronjob

1. create a new trigger for the job X 2. create a job implementation of JobPerformable X 3. Update your system X 4. create a new item that extends cronjob

What is the "batch=true" Impex header modifier ? 1. creates an individual import context for each value line 2. Allows modifying more than one item for a combination of all unique attributes 3. inserts line by batches, default batch size is 20 4. There is no such header modifier

1. creates an individual import context for each value line X 2. Allows modifying more than one item for a combination of all unique attributes 3. inserts line by batches, default batch size is 20 4. There is no such header modifier When you need to update more than one item from the same value line use the batch mode.

Using the out of the box impex import convention, what files would be imported during the update process (only create essential data checked) ? 1. extension/resources/impex/0_essentialdata.impex 2. extension/resources/impex/essentialdata_0.impex 3. extension/resources/impex/core/essentialdata_0.impex 4. extension/resources/impex/projectdata_users.impex

1. extension/resources/impex/0_essentialdata.impex X 2. extension/resources/impex/essentialdata_0.impex 3. extension/resources/impex/core/essentialdata_0.impex 4. extension/resources/impex/projectdata_users.impex 1,2 don't respect the convent (**essentialdata*.impex**) 3 project data are not being imported in this scenario.

How can you use environment variables in your Hybris configuration ? 1. from a call back scripts 2. using hybhub.config=$NAME assuming the env variable exists and is named NAME 3. using hybhub.config= assuming the env variable exists and is name y_hybhub_config 4. using hybhub.config=? assuming the env variable exists and is name hybhub_config

1. from a call back scripts 2. using hybhub.config=$NAME assuming the env variable exists and is named NAME X 3. using hybhub.config= assuming the env variable exists and is name y_hybhub_config 4. using hybhub.config=? assuming the env variable exists and is name hybhub_config

How can you configure a new checkout flow ? 1. from an impex query 2. from a java implementation of de.hybris.platform.acceleratorstorefrontcommons.checkout.CheckoutFLow 3. from a spring configuration 4. from JSP tag file

1. from an impex query 2. from a java implementation of de.hybris.platform.acceleratorstorefrontcommons.checkout.CheckoutFLow X 3. from a spring configuration 4. from JSP tag file

What is the best way to create a new addon for your store front ? 1. generate a new extension from yempty 2. generate a new extension from yoccaddon 3. generate a new extension from yaddon 4. generate a new extension from addon

1. generate a new extension from yempty 2. generate a new extension from yoccaddon X 3. generate a new extension from yaddon 4. generate a new extension from addon

What does the ant target customize do ? 1. inject all properties into tomcat configuration 2. execute all call back scripts 3. copies all files from /config/customize folder to /bin folder recursively 4. customize the tomcat configuration folder from the config folder

1. inject all properties into tomcat configuration 2. execute all call back scripts X 3. copies all files from /config/customize folder to /bin folder recursively 4. customize the tomcat configuration folder from the config folder

Which of the following interceptors are valid ? 1. load 2. init 3. prepare 4. remove

1. load 2. init X 3. prepare 4. remove

Is this a valid item type definition ? <itemtype code="DeactivateOutdatedProductCronJob"> <description>Job to deactivate out-dated products</description> <attributes> <attribute type="java.util.Date" qualifier="minLastUpdate"> <persistence type="memory" /> </attribute> </attributes> </itemtype> 1. no, a cronjob must extends the Cronjob item type 2. no, persistence can't be of type memory 3. no, the jalo class definition is missing 4. yes

1. no, a cronjob must extends the Cronjob item type X 2. no, persistence can't be of type memory 3. no, the jalo class definition is missing 4. yes To create a new SAP Hybris cronjob you need to extend the cronjob item type, but it doesn't make the item definition invalid.

How many currency items would be inserted from the following impex query, assuming they don't exist in SAP Hybris yet ? INSERT_UPDATE Currency;isocode[unique=true];conversion;digits;symbol ;DKK;1;2;DKK INSERT Currency;isocode[unique=true];conversion;digits;symbol ;DKK;7;2;DKK INSERT_UPDATE Currency;isocode[unique=true];conversion;digits ;VND;7;2;VND 1. none 2. one 3. two 4. three

1. none X 2. one 3. two 4. three INSERT Currency;isocode[unique=true];conversion;digits ;DKK;7;2;DKK Would fail since because it's conflicting with anexisting item (de.hybris.platform.impex.jalo.imp.ItemConflictException)

What is the downside of product variants ? 1. none 2. you cannot have common attributes between variant objects without changing the base product definition 3. products are virtual 4. all variant objects and the base product share the same unique code which makes any search not trivial

1. none X 2. you cannot have common attributes between variant objects without changing the base product definition 3. products are virtual 4. all variant objects and the base product share the same unique code which makes any search not trivial Product variants have an attribute baseProduct of type Product, so any to add shared attributes between variants object you need to update the base product definition.

What statements are correct about he following impex ? INSERT_UPDATE MediaFolder;qualifier[unique=true];path[unique=true] ;images;images ;email-body;email-body ;email-attachments;email-attachments 1. only creates new MediaFolder 2. generates a unique database index from the qualifier and the path 3. contains 3 value lines 4. doesn't use any macro

1. only creates new MediaFolder 2. generates a unique database index from the qualifier and the path X 3. contains 3 value lines X 4. doesn't use any macro

How many websites could you have per tenant ? 1. only one because orders and customers are tenant dependent 2. websites are not tenant aware 3. as many as you need 4. as many as you want if you are running a cluster

1. only one because orders and customers are tenant dependent 2. websites are not tenant aware X 3. as many as you need 4. as many as you want if you are running a cluster

What is the correct definition of the Spring MVC dispatcher servlet ? 1. receives incoming API requests and dispatch them to the right extension 2. process all incoming requests made to the root path 3. servlet responsible to find a matching controller and view to generate a response 4. servlet responsible to load data from the database, load the JSP view and delegate the request handling to a matching controller

1. receives incoming API requests and dispatch them to the right extension 2. process all incoming requests made to the root path X 3. servlet responsible to find a matching controller and view to generate a response 4. servlet responsible to load data from the database, load the JSP view and delegate the request handling to a matching controller A dispatcher servlet is the entry point of the Spring MVC framework, it loads the right controller from its mapping, call the controller, use the view name answered by the controller to load a view, and use the view and its model (loaded inside the controller) to generate a a response.

Where can you specify an index for an item type ? 1. resources/extensionName-indexes.xml 2. resources/extensionName-items.xml 3. resources/extensionName-indices.xml 4. resources/database/index.sql

1. resources/extensionName-indexes.xml X 2. resources/extensionName-items.xml 3. resources/extensionName-indices.xml 4. resources/database/index.sql

Which of the following application contexts are valid ? 1. tenant service application context 2. tenant core application context 3. global web application context 4. hac web application context

1. tenant service application context X 2. tenant core application context 3. global web application context X 4. hac web application context

What happen when you run the following Impex script when the currency doesn't exist yet ? UPDATE Currency;isocode[unique=true];conversion;digits;symbol ;GBP;1;2;£ 1. the import fails, log an error and move on to the next file 2. the import logs a warning and continue to resolve the remaining value lines 3. the import logs a warning, creates a temporary file, and try to import it later on 4. the import ignores non matching value lines when doing only UPDATE

1. the import fails, log an error and move on to the next file 2. the import logs a warning and continue to resolve the remaining value lines X 3. the import logs a warning, creates a temporary file, and try to import it later on 4. the import ignores non matching value lines when doing only UPDATE If there is no item that matches the values of all key attributes, the value line cannot be resolved. The value line is dumped into a temporary file and the ImpEx extension tries to resolve the value line later on.

Choose the best definition for the following exception : de.hybris.platform.servicelayer.exceptions.AmbiguousIdentifierException ? 1. the service layer can't find any matching identifier 2. the service layer found more than one matching item and expected only one 3. the service layer doesn't know what attribute is used as the unique identifier 4. the service layer doesn't know the item type

1. the service layer can't find any matching identifier X 2. the service layer found more than one matching item and expected only one 3. the service layer doesn't know what attribute is used as the unique identifier 4. the service layer doesn't know the item type

If I add the following search restriction for product and for user anonymous, what will happen when anonymous users execute a product search ? {name} is not null 1. this will fail, where is missing 2. this will replace any where clause for anonymous and product 3. this will be added to the where clause for anonymous and product 4. this will be added to the where clause for anonymous and product during solr indexing

1. this will fail, where is missing 2. this will replace any where clause for anonymous and product X 3. this will be added to the where clause for anonymous and product 4. this will be added to the where clause for anonymous and product during solr indexing

How could you group solr attribute values in a single set to avoid excessive number of values ? 1. use a group by statement 2. use a paginated solr search query 3. use a facet range 4. use a facet sort

1. use a group by statement 2. use a paginated solr search query X 3. use a facet range 4. use a facet sort

When should you run a full Apache SOLR indexation ? 1. when you restart the SOLR server 2. when you update a product 3. when you update prices 4. every day to recreate a clean index (not defragmented)

1. when you restart the SOLR server 2. when you update a product 3. when you update prices X 4. every day to recreate a clean index (not defragmented)

Which statements are correct about widget definitions ? 1. widget definition is as simple as creating a Spring bean under your core extension spring configuration 2. A widget needs to extend another widget id in order to be available 3. Each widget ids must be unique otherwise they wouldn't be available 4. Widgets definition are located under myextension/backoffice/resources/widgets/{widgetName}/definition.xml

1. widget definition is as simple as creating a Spring bean under your core extension spring configuration 2. A widget needs to extend another widget id in order to be available X 3. Each widget ids must be unique otherwise they wouldn't be available X 4. Widgets definition are located under myextension/backoffice/resources/widgets/{widgetName}/definition.xml

Is this a valid business process definition ? <?xml version="1.0" encoding="utf-8"?> <process> <action id="action1" bean="action1"> <transition name="OK" to="success"/> <transition name="NOK" to="action2"/> </action> <action id="action2" bean="action2"> <transition name="OK" to="error"/> </action> <end id="error" state="ERROR">All went wrong.</end> <end id="success" state="SUCCEEDED">Order placed.</end> </process> 1. yes 2. yes if you had a new action with start=true 3. yes if action1 implements StartProcess 4. no

1. yes 2. yes if you had a new action with start=true 3. yes if action1 implements StartProcess X 4. no Missing start="startAction" name="processName" processClass="Process.Class"

INSERT_UPDATE Title;code #% beforeEach: print(line[1]); ;Doctor "' 1. yes 2. yes only if bean shell execution is activated 3. yes only if the title Doctor doesn't exist yet 4. no

1. yes 2. yes only if bean shell execution is activated 3. yes only if the title Doctor doesn't exist yet X 4. no A bean shell script can be executed from an impex script but an update need a unique identifier.

When executing an Impex import, which of the following is true ? 1. you can only import one item type per Impex file 2. each line under header is a potential value line 3. you need to specify the location of the CSV value lines file 4. if you don't specify a header the Impex framework will find a matching item type

1. you can only import one item type per Impex file X 2. each line under header is a potential value line 3. you need to specify the location of the CSV value lines file 4. if you don't specify a header the Impex framework will find a matching item type After a header all lines would be imported (unless they are empty, contain comments or macro).

Why would run the following flexible search query ? select {pk} from {Product!} 1. you need only to load product subtype items 2. you need only to load product type items 3. you need only to load product variants 4. you need to tell SAP Hybris not to cache the result

1. you need only to load product subtype items X 2. you need only to load product type items 3. you need only to load product variants 4. you need to tell SAP Hybris not to cache the result

How many catalog versions can be attached to a catalog ? 1. zero, a catalog defines its own version 2. one, the version can be shared across different catalogs, for example Online 3. two, catalogs have their own Staged and Online catalog versions 4. as many as needed, there are no limits at how many versions a catalog can have

1. zero, a catalog defines its own version 2. one, the version can be shared across different catalogs, for example Online 3. two, catalogs have their own Staged and Online catalog versions X 4. as many as needed, there are no limits at how many versions a catalog can have

Which of the following cockpit import by convention files have a correct path and name ? 1.cockpitextension/resources/cockpitextensionadmin/cscockpit/all/listViewContentBrowser_CatalogVersion.xml 2.cockpitextension/resources/cockpitextension/cscockpit/cockpitgroup/listViewContentBrowser_CatalogVersion. 3.cockpitextension/resources/cockpitextensionadmin/cscockpit/cockpitgroup/listViewContentBrowser.xml 4.cockpitextension/resources/cockpitextensionconfig/cscockpit/cockpitgroup/listViewContentBrowser_CatalogVersion.xml

1.cockpitextension/resources/cockpitextensionadmin/cscockpit/all/listViewContentBrowser_CatalogVersion.xml 2.cockpitextension/resources/cockpitextension/cscockpit/cockpitgroup/listViewContentBrowser_CatalogVersion. 3.cockpitextension/resources/cockpitextensionadmin/cscockpit/cockpitgroup/listViewContentBrowser.xml X 4.cockpitextension/resources/cockpitextensionconfig/ cscockpit/cockpitgroup/listViewContentBrowser_CatalogVersion.xml Remember! extensionName/resources/extensionNameconfig/ userGroup/context_itemType.xml

What is the purpose of the following class ? LATER!!!! PICTURE MISSING!

PICTURE MISSING!

Which of the following statements are not true regarding the use of inheritance in SAP Hybris Item type definitions ? 1. All new item types must extend Object 2. All new item types must be declared within the Core extension 3. You can extend another item type only if it has been defined within the same extension 4. Item types are not compatible with inheritance

X 1. All new item types must extend Object X 2. All new item types must be declared within the Core extension X 3. You can extend another item type only if it has been defined within the same extension X 4. Item types are not compatible with inheritance 1. All new item types extends GenericItem by default 2. Any extension with a core module defined could declare new item types 3. You can extend any item type from your extensions as long as you have a dependency to the extension where the item type you inherit from is defined 4. All item types extend one item type (except AbstractItemModel)

To load a localized resource bundle, what service should you use ? 1. L10NService 2. I18NService 3. CommonI18NService 4. CommerceCommonI18NService

X 1. L10NService 2. I18NService 3. CommonI18NService 4. CommerceCommonI18NService • I18NService is to load Java Locale objects • CommonI18NService is to load SAP Hybris internationalization objects(CountryModel, LangageModel...) • CommerceCommonI18NService is to load SAP Hybris internationalization objects(CountryModel,LangageModel...) for the current base site

Choose the correct definition for the bean scope singleton 1. One shared instance, which will be returned by all calls to getBean with the given id 2. One shared instance per thread, which will be returned by all calls to getBean with the given id 3. Independent instance resulting from each call to getBean 4. One shared instance per tenant, which will be returned by all calls to getBean with the given id

X 1. One shared instance, which will be returned by all calls to getBean with the given id 2. One shared instance per thread, which will be returned by all calls to getBean with the given id 3. Independent instance resulting from each call to getBean 4. One shared instance per tenant, which will be returned by all calls to getBean with the given id -3 is the definition of prototype scope, -4 is correct only if you are inside different tenant application context.

Which are valid steps of the ant build all target ? 1. Resolving extensions dependencies 2. Restart the application server 3. Delete all previously compiled classes 4. Generate sources for all extensions

X 1. Resolving extensions dependencies X 2. Restart the application server X 3. Delete all previously compiled classes 4. Generate sources for all extensions

A Media can be ? 1. a image 2. a zip file 3. a flat file 4. a string

X 1. a image X 2. a zip file X 3. a flat file 4. a string

If you are performing a flexible search query as the user admin* which of the following is true ?* 1. all restrictions on the search are ignored 2. you cannot perform a flexible search being admin 3. you will only see in the result for the admin catalog 4. at least one restriction must be configured or no search will be performed

X 1. all restrictions on the search are ignored 2. you cannot perform a flexible search being admin 3. you will only see in the result for the admin catalog 4. at least one restriction must be configured or no search will be performed

What are the steps in order to create a backoffice widget ? 1. create a widget view 2. create a widget model hook 3. create a widget definition 4. execute ant widgetGen

X 1. create a widget view 2. create a widget model hook X 3. create a widget definition 4. execute ant widgetGen

What are the required steps to create a new CMSComponent ? 1. create an item that extends AbstractCMSComponent or one of its subtype 2. create an item that extends CMSItem or one of its subtype 3. a Spring MVC controller that extends AbstractCMSComponentController 4. a JSP (or other front end technology) to render the component

X 1. create an item that extends AbstractCMSComponent or one of its subtype 2. create an item that extends CMSItem or one of its subtype 3. a Spring MVC controller that extends AbstractCMSComponentController X 4. a JSP (or other front end technology) to render the component You don't have to provide a controller, if none is provided the DefaultCMSComponentController is used.

Choose the correct definition of an interface based architecture ? 1. defines an application as a collection of components, in which API calls between components are made through abstract interfaces, not concrete classes 2. defines an application as a collection of components, in which API calls between components are made through concrete classes, not abstract interfaces 3. defines an application as a collection of static components, in which API calls between components are made static references 4. defines an application as a collection of RESTFUL API entry points, calls between components are made through HTTP requests

X 1. defines an application as a collection of components, in which API calls between components are made through abstract interfaces, not concrete classes 2. defines an application as a collection of components, in which API calls between components are made through concrete classes, not abstract interfaces 3. defines an application as a collection of static components, in which API calls between components are made static references 4. defines an application as a collection of RESTFUL API entry points, calls between components are made through HTTP requests

"A navigation technique for accessing a collection of available information by narrowing down long lists of objects to a manageable size. The reduction is achieved through attribute filters that can by applied in flexible combinations of any order." best describes ? 1. facet search 2. solr 3. category search 4. flexible search

X 1. facet search 2. solr 3. category search 4. flexible search

What statements are true wrong about build framework ? 1. it compiles extension in a pre-defined order 2. it generates and compiles sources from items.xml files 3. every ant targets compile the source files 4. it is runnable only from your platform folder

X 1. it compiles extension in a pre-defined order 2. it generates and compiles sources from items.xml files X 3. every ant targets compile the source files X 4. it is runnable only from your platform folder

Which of the following item type attribute default value definition valid ? 1. java.lang.Boolean.FALSE 2.enumerationService().getEnumerationValue("validEnumeration","validValue") 3. Boolean.FALSE 4. com.hybhub.core.ExistingClass.EXISTING_STATIC_STRING

X 1. java.lang.Boolean.FALSE 2.enumerationService().getEnumerationValue("validEnumeration","validValue") X 3. Boolean.FALSE X 4. com.hybhub.core.ExistingClass.EXISTING_STATIC_STRING The correct way to load enumeration default values is to call the enumeration manager using em().

Choose the right definition for the order splitting service ? 1. split an order into sets of order entries, for each set a consignment is then created 2. split an order into multiple orders, for each orders a consignment is then created 3. split order entries into sets of order entries, for each set a consignment is then created 4. split a consignment into sets of consignments, for each set a new consignment is then created

X 1. split an order into sets of order entries, for each set a consignment is then created 2. split an order into multiple orders, for each orders a consignment is then created 3. split order entries into sets of order entries, for each set a consignment is then created 4. split a consignment into sets of consignments, for each set a new consignment is then created

What statements are true about CMSItem and CMSRelation item types ? 1. their sub items are catalog version aware 2. it's used by all tag components 3. every CMS types extend one or the other 4. they are defined under the core extension

X 1. their sub items are catalog version aware 2. it's used by all tag components X 3. every CMS types extend one or the other 4. they are defined under the core extension

Why is it considered bad practice to call directly CartService.getSessionCart().getEntries().isEmpty() to test if a customer already has a cart ? 1. this will create a cart if none is yet existing and the cart creation is expensive 2. the customerCartService wrapper is preferred to the raw cart service 3. getSessionCart() is deprecated, use getInMemoryCart() instead 4. getEntries() could be null

X 1. this will create a cart if none is yet existing and the cart creation is expensive 2. the customerCartService wrapper is preferred to the raw cart service 3. getSessionCart() is deprecated, use getInMemoryCart() instead 4. getEntries() could be null Make sure your system does not create a new cart when the user does not need it. This has massive impact to the system performance since for every session a new entry in the Carts table is created. In SAP Hybris, if using cartService.getSessionCart(), a new cart object is created implicitly if none is yet existing for this session. You should always use cartService.hasSessionCart() before.

What informations can you extract from a PK ? 1. type code 2. last modified time 3. created time 4. user who created the item

X 1. type code 2. last modified time 3. created time 4. user who created the item

What is the recommended way of setting cluster ids ? 1. use cluster.node.autodiscovery=true 2. create a subnet and configure nodes to listen to the broadcast address 3. manually configure a unique id on each node 4. activate the Spring Cluster functionality

X 1. use cluster.node.autodiscovery=true 2. create a subnet and configure nodes to listen to the broadcast address 3. manually configure a unique id on each node 4. activate the Spring Cluster functionality

What template do you use do create a new cockpit ? 1. ycockpit 2. cockpit 3. ybackoffice 4. backoffice

X 1. ycockpit 2. cockpit 3. ybackoffice 4. backoffice

What is the correct definition of the ant target updatesystem ? 1.type system definitions are modified to match the new type system definition in the items.xml files, the update mechanism makes sure that all data that existed in the system before the update is still accessible after the update. 2.type system definitions are recreated to match the new type system definition in the items.xml files, the update mechanism makes sure that all data that existed in the system before theupdate is still accessible after the update. 3.type system definitions are modified to match the new type system definition in the items.xml files, the update mechanism makes sure that all data that existed in the system are replaced by new data. 4.type system definitions are modified to match the new type system definition in the spring-items.xml files, the update mechanism makes sure that all data that existed in the system before the update is still accessible after the update.

X 1.type system definitions are modified to match the new type system definition in the items.xml files, the update mechanism makes sure that all data that existed in the system before the update is still accessible after the update. 2.type system definitions are recreated to match the new type system definition in the items.xml files, the update mechanism makes sure that all data that existed in the system before theupdate is still accessible after the update. 3.type system definitions are modified to match the new type system definition in the items.xml files, the update mechanism makes sure that all data that existed in the system are replaced by new data. 4.type system definitions are modified to match the new type system definition in the spring-items.xml files, the update mechanism makes sure that all data that existed in the system before the update is still accessible after the update.

What statements about the backoffice application orchestrator are wrong ? 1. it's already visible when you are logged as an admin 2. you use it to create and modify back office application 3. you use it to import new data 4. you need to press F4 to activate it

X1. it's already visible when you are logged as an admin 2. you use it to create and modify back office application X 3. you use it to import new data 4. you need to press F4 to activate it


संबंधित स्टडी सेट्स

Chapter 1: Biology: The Science of Life

View Set

HISTART 2001 au16 - Early Medieval Art

View Set

chapter 14 intermediate accounting

View Set

Chapter 26: Reproductive systems

View Set

Sociology Chapter 11: The Economy and Work

View Set