0% found this document useful (0 votes)
35 views

Final Hybris Developer V6

Uploaded by

Nirmala Mallesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

Final Hybris Developer V6

Uploaded by

Nirmala Mallesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 41

1. Why JSR-303 is used? (This is spring validation question) (Back office and cockpit Validation.

)
A: Validation JSR-303 is used for validation. (If this question is a RADIO button question.)
Shilpa- Backoffice validation

2. Basestore is directly linked to (Out of the 5 options 3 are correct)


Option:
A. list of Warehouse
B. list of POS
C. Promotion
D. Catalogs,currencies,website,
5. List of customers
Shilpa-
A list of websites that expose the BaseStore.
A list if warehouses to support the delivery
A list of points of service that represent local branches.

3. How enum is stored in database (Select any 2 out of 4)

https://help.hybris.com/6.0.0/hcd/8c755da8866910149c27ec908fc577ef.html

a. Dynamic enum is stored in table


b. Static enum is stored in enumeration classes.
c. Dynamic enum is stored in property.
d. Static enum is stored in solr index

Shilpa:a,b

4. How PK is created? (Select 2 out of 4)


A. Using counter and typecode
B. Automatically generated
C. Manually set
D. Using Hybris license
Shilpa:a,b

5. What are the tags of definition.xml (Select 3 out of 5) Please remember the casing
A. <ControllerClass Controller is tag but not controllerclass
B. <Defaulttitle. defaultTitle
C. <Settings settings, setting
D. <View-page view
E. Keyword keyword, keywords
Shilpa:b,c,e

6. Where to we configure to boost the rules of Hero product ?< 2 of 4>


A. By setting/configuring boosting rules for product
B. Something related to Facet Search
C. We can set it at category level
D. Backoffice /HMC
https://help.hybris.com/6.2.0/hcd/8bc9ac5286691014b92dd0b32bba32b0.html
https://help.hybris.com/6.2.0/hcd/db8468fa070b4d9c83a2f684763d3e45.html

Shilpa:a,c

7. If Solr Index property is already configured, how Solr range values are assigned to it?<Radio>
a.Create Value Ranges, Create ValueRangeset, Add Value ranges Add Solr Index
b. Default range values for Solr Value Range Set
c. Solr Value Range Set
d.Solr Index with sample ranges

Shilpa:a

8. How relationship is stored in db. <Select 3 out of 5>


Many to many is stored in database as a table
One to many is stored in binary object//In case collectionType attribute in sourceElement or
targetElement is defined as Atomic type then it get store as binary field in table
C. One to many has one ordered column incase ordered flag is true.//one more column to
store order otherwise default db specific order is applied for source-to-target ordering.

A. Many to many is stored in database as a table


B. One to many is stored in binary object\\
C. One to many is stored in link table
D. One to many has one ordered column incase ordered flag is true.
E. One to many is accessed through one column.
F. https://help.hybris.com/6.2.0/hcd/8c755da8866910149c27ec908fc577ef.html

Sjilpa:many:many relationships are defined as a table.


1:many relationships are defined on a column.
1:many relationships have an order column when ordered="true".

9. How to create OCC webservice extension. (select 2 out 4)


A. To create extension using ant extgen by using ycommercewebservices
B. To create extension using ant module by using yaccelerator
C. To create addon using using yoccaddon
D. Using B2C_Acc receipe
E. Using acceleratorAddon
F. Shilpa:a,c

10. Difference between search and page restrictions. <2 of 4>


a. CMSRestriction are converted to search restriction at runtime
b. CmsRestriction are catalog aware and search restriction are not catalog aware.
c. Search restriction are picked up implicitely but cmsrestriction should be applied
manually.
Shilpa:b,c

11. Capabilities of Customer Support Agent in Backoffice Customer support cockpit (2 out of 4)
a. Deleted expired card credit cart details.
b. Creating account for anonymous users
c. He can do a partial refund
d. He can mark all the line items at order level as returned.
Check this link for answer
https://help.hybris.com/6.2.0/hcd/5d0e8d266dc34239af789ac954254299.html#loio5
d0e8d266dc34239af789ac954254299

Vamsi : The Customer Support Agent role can create tickets, customers, orders, and
returns and can create and change product reviews. This is the most basic role
in Backoffice Customer Support Cockpit.

Harsha : closest answers are c and d


Shilpa:b,d

https://help.hybris.com/6.5.0/hcd/8c20b75a866910148224bef636889bf5.html

 Search for and view information about open orders (to be shipped).

 Search for and view information about all orders, that is, shipped orders,
cancelled orders, picked orders, packed orders, and orders to be shipped.

 View order information including order details, consignments, payment


transactions, order history, and fraud reports.

 Cancel an item or an order.

 Create and manage returns.

 Perform a manual refund.

 Cancel a refund and perform a manual tax reverse.

12. What is the easiest way to get region specific prices <Radio button>
A. Customer user group.
B. Adding an attribute in a price row.
C. Inject the bean at the pricerow
D. Define userpricegroup for each region
Shilpa:d

13. Where is localized attribute stored in db eg attributes of bar table <Radio question>
A. Barlp
Shilpa:a

14. Order splitting strategy. <Select 3 of 5>

<property name="strategiesList">

<list>

<ref bean="splitByAvailableCount"/>

<ref bean="splitByDeliveryMode" />

<ref bean="splitByPoS" />

<ref bean="splitByNamedDeliveryDate" />

<ref bean="splitByEntryDeliveryAddress" />

<ref bean="splitByWarehouse" />

</list>

</property>

A. by order date
B. Order by named delivery date
C. by warehouse
D. Split by Payment method
E. Split by Consignment or inventory/ Available Count
Check the below link for the answer
https://help.hybris.com/6.0.0/hcd/8c21e59786691014bb0add90a5a3d52b.html
Shilpa:
splitByNamedDeliveryDate
splitByWarehouse
splitByAvailableCount

15. Deployment tag related question <Select 3 out of 5>


a. It generates table with that name
b. All the rows related to that item are stored in this table
c. PK is generated with its typecode
d. Item instances are saved in this table
e. Items are automatically saved to this table
Shilpa:
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.

16. Use of addon for hybris developer<2 of 4 >


A. used for ui in storefront
B. for widgets in backoffice
C. Implement and modify the logic of a service
D. We can setup sample data using impex convention
Shilpa : a,c
// set options
A. Extend backoffice
17. What all steps are required in Installation of addon <Select 3 out 5>
A. Addoninstall
B. Ant clean build // tentative ant build
C. Modify project.properties to specific storefront.
https://help.hybris.com/6.1.0/hcd/8adf7365866910149ceb975f778d809d.html
D. Copying files from addon to storefront web folder.
Shilpa : a,b,c

18. RAO (Rule aware object )in rule engine <Select 2 out of 4>
A. Inorder to save the rule values in DB
B. Inorder to avoid complex object and use simpler once.
C. To Store the conditions and output actions.
D. To maintain data for facts &
Shilpa : b,d

19. RAO in rule engine<radio>


Validation

20. When you have multiple pricerows, Which price row to select – It’s a radio button question.
A. oveeride europe1pricefactory,
B. commercecartservice,
C. calcuation service,
D. Findpricestartegy
Shilpa : a,

How do we find a new price for a cart<2 from 4>


A. commercecartservice,
B. calcuation service,

How do we implement price row functionality


findPriceStratergy
commercecartservice

21. Extension A has spring configuration has beanA, Extension B has a bean B,
Extension B depends on Extension A
A has a bean A , B has a Bean B and Bean B has a property which has reference to
Bean A
What will be the result?
Exten A has spring bean beanA, Exten B has dependency on Extn A, In ExtnB while creating
beanB, instantiating BeanA?

<Radio button Question>


A. - will give warning and start up
B. - spring context will rsolve properly, will add the necessary bean required.
C. - erorr during startup
D. - service startup properly// Success .. will start up normally
Shilpa : c

22. how solr is recommended in production. <Answer only one Radio question>
A. standalone
B. embedded,
C. one master and multiple slaves.
D. Clustered distributed master and Slave.
Shilpa : c
23. Which of the following is true about creating your own cockpit extension? <2 out of 4>
a. You can create a new extension using the ycokcpit template
b. You can reuse functionality from standard hybris cockpits
c. You cannot create your own cockpit extension
d. You should create the configuration for all types you wish to manage in the cockpit.xml
file in your extension

24. How do we customize cockpit view?


a. Filter changes
Renderer class and Controller will do actions
Register beans in spring
Modify .zul
Shilpa :
As a *.zul file
In Java

25. Keyword redirect in Solr<2 of 4>


a. Redirect to specific URL specified by client/ Business User
b. Configure from HMC
c. Will speed up Solr
d. Synonyms // Something with Synonyms
Shilpa:a,b
26. What are the configuration options we have in region cache .Caching properties? <3 out 5>
A. eviction policy
B. size
C. Cluster // may be
D. Persistent mode
E. Statistics Enabled
Shilpa:a,b,e

Statistics # Turns on and off cache statistics. Possible values are true
(default) and false.
A. regioncache.stats.enabled=true
27. configuration options we have in entity cache
a. eviction policy
b. size
c. Cluster // may be
d. Persistent mode
e. Statistics

28. Widget view can be built upon(2 out of 4)


A. .zul
B. -.jsp
C. Velocity template
D. Using a Java class/Renderer
https://help.hybris.com/6.0.0/hcd/8bd4366a86691014b818f8dd642790a8.html
Shilpa:a,d

29. Header to you assign access right to a catalog version. <Radio button question.>
a. $START_USERRIGHTS
b. Insert_update CatalogVersion
Shilpa:b
$START_USERRIGHTS;;;;;;;;;
Type;UID;MemberOfGroups;Password;Target;read;change;create;remove;change_perm
UserGroup;productmanagergroup;cockpitgroup;;;;;;;

# Access Rights for Products & Catalog;;;;;;;;;


;;;;ItemSyncTimestamp;+;;;
;;;;SyncItemJob;+;;;
;;;;Type;+;;;
;;;;Product;+;+;+;+;+;
;;;;Category;+;+;+;+;+;
$END_USERRIGHTS;;;;;

30. What is the output of the following impex <Radio button question>
Legacy.mode=false

INSERT_UPDATE Title;code;
#groovy:beforeeach:line.clear() /bean shell #% beforeeach:line.clear()
;abc;
;bcd;
;cde;
A. Unwanted space will be removed
B. Only the last entry will be saved
C. Ruby before each line clear.
D. All of the 3 will be inserted or modified.

31. Use of dynamic forms <Choose 2 out of 4>


A. Dynamic Validation
B. Widget drag and drop
C. Dynamic UI configuration
D. Non Dynamic Validation
https://help.hybris.com/6.0.0/hcd/8bb48c3e86691014ba23af134a9a1c1b.html

32. How dynamic form is handled? <2of 4 button>


A. Using groovy script
B. Inline java code
C. Dynamic loading of Scripts
D. Any programming language.
E. Call to scripting language using computedValueScriptType=”uri”
https://help.hybris.com/6.0.0/hcd/8bb48c3e86691014ba23af134a9a1c1b.html
Shilpa:a,e

33. When is consignment not created?/Oder fulfillment not processed


1.When fraudent
2. When Stock is not available
3. When change in delivery address
4.Canceled by user
Shilpa:a

34. When is Consignment is not completed <select 2 out of 4>


A. When fraud
B. When stock unavailable
C. When delivered unsuccessfully
D. When the order is sourced but cancelled by user.
Shilpa:a,c
https://help.hybris.com/6.2.0/hcd/loio89c450c686691014bd07dcc7546f6093_LowRes.png
35. how transaction is handled on hybris <Select 3 out of 5>
A. READ_COMMIT is supported defaultly by hybris
B. Hybris support one transaction in another (Nested)
C. Serializable is support by default.
D. Transaction can be resumed and cancelled in between.
E. Database connection will be maintained till the transaction is completed
F. Shilpa:a,b,e

36. How to create work flows for Product catalog approval business process.<radio button>
A. Create a workflowtemplate and go to the respective workflow action.
B. Create a workflow with multiple actions
C. Create a workflow template with multiple actions
D. Create workflow template and assign to Workflow process
Shilpa: Workflow Template with multiple Actions that defines the
process.

37. How do we remove certain option of Product on PDP Page


a. Remove the product option populator from the list of product options
Product*Populator
b. Configure a custom populator
c. Configure
Shilpa:Remove unnecessary ProductOptions in the Spring bean
that is referenced by the productConfiguredPopulator alias
38. While adding a new attribute in product, How to we edit the populator
a. Create a custom Populator and add this to the list
b.

Configure populator

Shilpa:Define the new ProductOption in the beans XML file. Implement


a custom populator. Add the new ProductOption as a new key and add
the populator as a value to the ProductConfiguredPopulator.

39. We are creating a new attribute of a new type in product, how would you synchronize <2 out of
4>
A. Root Type
B. Partof the attribute should be specified
Shilpa :Mark the costOfSale as a partOf attribute of the Product
type and synchronize the product.
onfigure synchronization as copyByValue for the attribute and
synchronize the product.
40. how would you define order process <3 out of 5>
A. To define the process.xml file
B. To define the action java classes.
C. Register the actions in the spring file
D. Define action in impex.
E. To define action as a itemtype.
Shilpa a,b,c
41. If you restart server without build, what change will be loaded <select 2 out 4>
A. Remove value from localextension.xml
B. if you the change the db properties in the local.properties
C. items.xml
D. if you change the bean definition in a spring xml file

Answer D,B

Shilpa b,d

42. How would you import sample data during setup <Radio>
A. Using Coresystemsetup class
B. Override InitialDataSystemSetup.java
C. Create a sample.impex file
Shilpa b

43. Which is true related to ContentSlot?<3 of 5>


a. Content slot can hold multiple components.
b. Content Slot is mapped to PageTemplate through ContentSlotforTemplate
c. Content Slot is mapped to Page through ContentSlotforPage
Shilpa :
A ContentSlot can be configured with a list of Content Management
System (CMS) Components.
A ContentSlot can be assigned to a Page using a
ContentSlotForPage.
A ContentSlot can be assigned to a PageTemplate using a
ContentSlotForTemplate.

44. How do we customize action in WCMS <2 of 4>


Customize action with the component mapping
Custom controller for component
Render template
Shilpa:
Define a controller for the CustomAction.
Define a mapping (ApplicableCmsActionsTypeForCmsComponent)
between the new action type and the component.

45. What actions can be done in WCMS page view perspective <2 out 4>
A. You can change properties of Page and components.
B. Sync component.
C. Sync entire catalog.
D. Sync pages.
https://help.hybris.com/6.2.0/hcd/8c828e4486691014ad2ff65006ba6b3e.html
Shilpa :
Synchronize a page.
Edit pages and page components.
46. When will process starts.<Radio>
A . Admin approves
C. Order placed but not sourced
D. Order placed and sourced
Shilpa:c

47. Export to Solr,


Select * from {Product} Inner query{PG accessible annonymous}
a. Restrictions on Inner query will not be applied in Solr
b. Not will be exported as Restriction is being applied
c. All products will be exported.
Shilpa:b
48. What all are required for Solr full Data load<2 of 4>
a. Impex for full data load
b. Solr configurations file
c. Flexi query for full load
d. Flexi query for update
49. Shilpa:c,d

50. Search restriction in inner query <Radio .. two questions>


Anonymous user on Product Group
select * from {Price} where groups in (select * from ProductGroup)
a. Inner query does not work
Will list of all users who is anonymous
Will list all users

Where id in

Shilpa: export does NOT export any products because the inner select
does NOT return a ProductGroup due to the restriction

51. Where is express checkout option set (Radio button question.)


E. User
F. Usergroup
G. Basestore
H. Website
Shilpa : Set the expressCheckoutEnabled attribute to true for the
BaseStore configured for the BaseStore
52. How to start/run a cron job 3 of 5
On set trigger, when time expires it get auto triggered// Starts automatically [CronJob can
be started and aborted only if implemented as abortable.]
Java class
Ant run cronjob
Shilpa : all three are correct

53. Abortable Interface.. When can we abort a cronjob?


54. when is entity cache invalidated 2of 4 Item
A. model service save()on Item
B. setter method of Item
C. Invalidate item event from cluster
D. model service create()
E. when you get a message from diff node
Shilpa:a,c
55. What can be done from browser area of cockpit<2 of 4>
A. sync content catalog,
B. create a restriction
C. page Sync
D. Edit Content
Shilpa :b,d
56. First Step of Oder
57. after which step of OMS will the email be sent to the user<radio>

admin approves

order is placed

order is placed but not sourced

after fraud check

Shilpa : After the order has been fraud checked.

58. Product variant - candle is the product and pinkcandle is the variant product, if restriction is set
on the product for anonymous user 1=0, on executing query to fetch pinkcandle what will be
the result
D. null,
E. returns the pinkcandle,
F. Empty
G. Will throw an exception
Shilpa:F
59. what purpose does the restrictiondata in the code snippet below serve

....

evaluate (RestrictionModel restrictionModel, RestrictionData restrictionData)

{}

...

}
a. Restriction Model will be copied to restriction data
b. Restriction data will be copied to model data
c. Catalog version will be maintained
d. @View will pick restrictions data from Restrictions
e. Context data fetched from restrictiondata
Shilpa:
pass the request context data to the restriction to access from
inside the evaluator.
old the current catalogVersion.

47. Which part of accelerator url resolves to the product details page of 4>
http://../../../../cameras/p/1846390 <2

A. /p

B. /cameras one of the category

C. /1846390

D all the category names

Shilpa :a,c

48. Generic SQL query translated to flexi query// yes

49. Regarding consignments, what can be done from UI/ post order placement<2 of 4>

A. increase the count of a particular consignment,

B. cancel a consignment

C. Change delivery address

D. Confirm delivery

50. Classification feature related(2 to 3 questions )/ how is it saved in DB<radio>

<itemtype code="ClassificationAttribute" extends="GenericItem"


jaloclass="de.hybris.platform.catalog.jalo.classification.ClassificationAttribute" generate="true"
singleton="false" jaloonly="false" autocreate="true">

<deployment table="classificationattrs" typecode="607"/>

Classification

<productFeatureModel>

How is it, Classification feature, saved in db

a. as a productfeature in Product
b. properties file
c. as a column in Category ClassClassfication
Shilpa :a

51. What happens when synchronising media items

a. two copies of images online and staged media exists

b. one image for online and staged version symbolic link

c. data will be copied from source for target.

Shilpa :b,c

52. How to customise web context for cockpit configuration

a.

b.

c.

d.

53. what are things included in CMS page template?

A. content slot names

B. components

C. VM

54. Where is valiation applied in backoffice?

a. Wizard flowWidget Correct

b. EditorArea Widget Correct

c. Mutipler Widget

d.Property Value Widget

55. how are type classification feature persisted?<2 of 4>

table

56. How does WCMS page preview work?<2 of 4>

a. http request

b. it opens in iframe

c. session from
A

57. How is jalo session managed?(don't remember the full question)

Jalo session bounds to http session Correct

Cronjob runs in jalo session Correct

58. Always associated to session context?

59.userService.getcurrentUser(UserService.getUserUID(USERNAME))

58. what condition must be met to connect widget?

Input and Out socket should be of same data type. Correct

Output socket must be same as input socket

socket

59. what is default context for configuration component?<2 of 4>

Type Correct

Principal Correct

Position

60. Solr Range

61. How to add a new language in the resource bundle? <Select 3 of 5>

lang.packs=de,en,es,fr,it,ja,ko,pt,ru,zh

A. ant customize lang.pak


B. hybris server start Correct
C. ant build
D. Property file mention key value pair Correct
E. Item for Language to be defined
F. A language item must exist in the type system for the new
language.-Correct
62.how to set the user context
A. usercontextservice.setUserContext
B. userService.setCurrenrUser Correct
C. userService.setUserContext

63.How do you start the cronjob?


A. Flexisearch
B. HAC
C. Java Code Correct
D. Ant run cronjob Correct
E. Auto trigger Correct
64.What can be done through browser area of CMSCockpit?
A. Create a restriction on component
B. Sync content
65. @source <Check what is the purpose of @source in impex> <Radio button>

$clAttrModifiers=system='wsTestClassification',version='1.0',translator=de.hyb
ris.platform.catalog.jalo.classification.impex.ClassificationAttributeTranslat
or,lang=en
$feature8=@Source data-sheet, 6617[$clAttrModifiers]; # Source data-sheet

a. INSERT_UPDATE Product;code[unique=true];$feature8;
;1687508; ICEcat.biz;
b. INSERT_UPDATE Product; code[unique=true];@Source data-sheet
c. INSERT_UPDATE Product; [$clAttrModifiers];
With catalog version & with out catalog version
INSERT_UPDATE code;<sth>
;1234;<val>

66. <context merge-by= "???"> what are the possible options <Select 2 out 4>
A. module, Correct
B. type Correct

67. How to get the records for full and update index<2 of 4>
A. Full index query Correct
B. Update index query Correct

69. What kind of validation is applied in Backoffice<radio>


Data Validation including JSR
Data Validation

71.
How do we create Asyncronous events in hybris?

Making messages asynchronous


Events are by default processed in a synchronous way. Usually this is not
desired because the main thread waits until events are processed (a stadium
won't be saved until a corresponding news item is created).
There are two ways to achieve this:
 by using cluster aware events Correct
by configuring PlatformClusterEventSender in spring xml (see: Event System - Synchronous vs.
Asynchronous Events) Correct

Web application session ,

Standard for creating a Model? Correct

a. modelService.create()

b. use new

c. Model service.save Correct

How do we do full indexing, in Solr?

Impex and load

Flexi query with update

Flexi query without update

Loading through impex file.

2.Steps to add a new property to Accelerator product details page?

3. Stepts to create a business process?

4. Different Ways to trigger a business process?

a) spring xml ( expression="@businessProcessService.startProcess(payload)"),


b) java code getBusinessProcessService().startProcess

5. Steps to create solr range filter for a existing Solr facet ?

6. How classifciation attributes are stored in DB?Radio

Produtfeautre Correct

classcasification

7. Different ways to add a new navigation link to storefront?


a. Add a navigation component

Add a navigation link component.

8. Purpose & Advantages of Addon

11. On which area of Backoffice is validation applied

a. Wizard flow widget Correct

b. Muli Wizard Widget

c. Editor Area Correct

PropertyGeor Widget

10. Customize Payment capture method

-----------------------------Contributed by [email protected] ---------------------------------------------

1. How do you switch user context (current user) in your code? [Verified]

a. getUserService().setCurrentUser(getUserService.getUserforUID(user.getUsername()));Correct

b. getUserContextService().setUserContext(user.getUsername());

c. getUserService().setUserContext(user.getUsername());

d.getAuthenticationService().setCurrentUser(getUserService.getUserforUID(user.getUsername()))

2. Use of dynamic forms <Choose 2 out of 4>

a. Dynamic Validation
a. Widget drag and drop
b. Dynamic UI configuration
b. Non-Dynamic Validation

3. how backoffice can be customize<Choose 2 out of 4>

a. ybackoffice
b. yaddon

4. What will be site URL?


$siteid=electronics

https://$siteid.[?*...}

Ans: https://electronics.***/

5. How solr index can be trigger via API

Ans: indexerservice

6. smart edit relationship details

a. CxCustomization to CxVariation 1 to many


b. CxVariation to CxAbstractAction 1 to many
c. CxVariation to CxAbstractTrigger 1 to many
d. CxSegment to CxSegmentTrigger many to many Correct
e. CxCustomizationGroup to CxCustomization 1 to many Correct

7. Smart edit experience evaluator

Ans. after certain request, after fixed time

8. How smart edit review URL works?

a. Spring Filter,
b. Preview token will receive via Rest API

9. After initialization you have changed the deployment table for composed type. This type has data.
What would u do to retain the data?

a. Export the data.


b. Run system update.
c. Reimport the data.

10. What is the relation between CMSComponent and Page Template?

a. Page template have contentslotforPage, ContentSlots have CMS components liked

11. You have to make customized backoffice extension for business user. What steps would you
follow?

a. Generate backoffice extension from addon.


b. Generate backoffice extension from ybackoffice addon.
c. Make customized widget for borderLayout.
d. Extend backoffice extension.

12. In an Insurance company you have agents which have access to User and their insurance type. You
want to give permission to agents to view user name and its insurance type. What steps would you
follow?

a. Make search restriction on agent on type insurance.


b. Assign access right to each agent on each insurance type.
c. Make a user group of agents and apply restriction on type insurance.
d. Write a flexible search query with clause on insurance and restriction on agent.

13. You are creating a custom page for specific user group by customizing pre-existing
CMSComponent. When you customize it what is generated?

a. CmsRestriction.
b. CmsCustomization.
c. CmsTrigger
d. CmsComponetAction

14. Use of redeclare

a. To change the definition of pre-defined attributes in core.

15. Implement new solr indexer property

a. Implement SolrIndexerListener

16. list the addon name which is used to analysis the business events

e. Hybris analysis addon, event tracking

17. To create new adaptive search perspective

f. index type, catalog version, category

18. To create new CMS component

g. JSP file name must be same as Component name

19. How CMS components restriction works?

h. Implements CMSRestrictionEvaluator

20. SearchRestriction

i. Principal
j. restrictedType

21. If you have created the Sol Indexed Property what can be related appearance and behavior. (3
options are correct)

a. Filtering based on customer groups


b. Multi values for same index.
c. Price index for multiple currency.
d. MULTI SELECT OR and MULTI SELECT AND
e. Images filtering based on colors.
22. In Extension A we are defining a bean = “Web A” in web context; Extension has tenant context,
Extension B is dependent on Extension A. Now define a bean in Extension B and inject Bean A?

a. Server will start with a warning (bean A not accessible)


b. Server will start successfully
c. Server will not start.
d. tenant context automatically loads all the web context beans

23. How to ensure web module to an extension? (2 answers are correct)

a. Enable web root module nature in extensioninfo.xml


b. web folder exists in the extension
c. It must be deployed as a war file
d. There should be a core module defined in extesnioninfo.xml

24. Easiest way to add some information/parameter to PDP? (1 correct)

a. Create custom populator and list of populators


b. extend the existing convertor
c. add the parameter in spring file
d. use the converter and populator already

25. How to restrict particular Product types to specific users

a. Add search restriction to product type for the user/user group.

26. How events can be created

a. Create Java bean class, Create DTO class in beans xml

27. Where to add customized extn. to SAP cloud version 2

a. manifest. Json

28. Which one of the following Indexer operation is not supported by


SolrExtIndexerCronJob [1 correct]

1. Full
2. Update
3. Partial Update
4. Delete

29. How will you verify addon files are moved in storefront? [2 correct ans]

5. Ant all- correct.


6. Ant deploy
7. AddonFilter -correct
----------------contributed by: [email protected] ------------------------

1. Synchronize job -> For ex you want to add new costsale attribute of costsale type in product type.
what steps you will follow -

-> Add costsale attribute in root type and sync

-> mark costsale attribute part of and sync Correct

-> mark costsale attribute copybyvalue and sync. Correct

2. what type gets triggered in personalization smart edit when we trigger personalization action

0> cxcmsaction

3. Relation between cxcmsaction, cxsegmenttrigger, variations in smartedit

4. one theoretical question on smart edit application, container

preview services - smartedit()

5. if solr legacy mode is false what type is used for query search.

-> searchquery Correct

-> searchqueryproperty

6. what api will be used when we do indexing using API

-> indexer service Correct

-> indexer listerner

7. Impex question

Insert update xyz;code[unique=true];$catalogversion

a;catalog

b;:fafa

8. how one will start cron job

9. how one will trigger business process?

10. if we add new attribute in product model then what is process of creating and bringing this attribute
in product data

11. if we want to remove attribute from product model then what is best option
-> remove production option

->remove populator from list ref

12. how populators are created, complete process...?

13. where virtual socket is defined...? widget.xml

14. RAo used for what purpose.

15. Access rights impex question

16. how content slot is configured in hybris?

-> 3 options ( all ans that has valid relationship with content slots are correct - page template,
contentslotforpage, contentslotfortemplae)

17. add on install command

18. Purpose of add on

19. Question on navigation bar component. one example is given with root category and child
category....

20. Dynamic form - Definition (Always one question)

21. before.line.clear -> impex

22. If we want to add extension and deploy on commerce cloud versoin 2(Radio button)

-> localextension.xml

-> manifest Correct

-> gradle

23. Base store connected to how many models.

24. custom backoffice - ybackoffice (manually created widget folder)

25. event tracking which add on ( business event)

->eventrackingwsaddon Correct

->hybrisanalystics addon Correct

->accelerotorwebservice

->captachaaddon

26. Server restart without ant all

1. local propery
2. spring bean property

3. items.xml

27. sync event vs async event

28. what to do for aysnc event

29. for fetching price during cart calculation, which interface you will implement

------------- Contributed by: [email protected] ----------------------------

(PCM BAsics and Price Modeling)

1. You have added new costsale attribute of costsale type in product type. what steps you will follow to
synchronize the product-

-> Add costsale attribute in root type and sync

-> mark costsale attribute part of and sync- Correct

-> mark costsale attribute copybyvalue and sync. Correct

-> Synchronize product catalog

(Customer Experience)

2. what type gets triggered in personaliztion smart edit when we trigger is activated

- cxCMSAction

- cxSegmentTrigger

- 2 other options were there

CmsCxCustomize-Not sure

(Customer Experience)

3. Relation between personaliztion Models:

cxcmsaction,cxsegmenttrigger, variations, cxCustomization, cxSegment etc.

many to many - CxSegmentTrigger to CxSegment Correct


many to one – CxVariation to CxCustomization-Correct
(Customer Experience)

4. Preview ticket Id flow related with 4 options and 2 correct answers - smartedit()

The preview request in the cmscockpit is a standard web request within


an iFrame.- Correct
The preview request from the cmscockpit is handled by a spring filter
which created a preview ticket with the given context information.-
Correct

(Search and Navigation)

5. what will be used when we do solr indexing using API

-> indexer service Correct

-> indexer listerner

-> 2 other options were there

(Pleatform Features)

6. Impex question:

$catalog=productelectronicscatalog

$version=Staged

$cata={catalog version staged definition}

Insert_update xyz;code[unique=true];$catalogversion

a;catalogabc

b;:online

c;productelectronicscatalog:$version

how many rows will be created?

-1

-2

-3

-4
(Pleatform Features)

7. How one will start cron job:

- Using backoffice administration cockpit Correct

- java code Correct

- script from HAC

- target "ant runcronjob" Correct

- flexible search query

(Pleatform Features)

8. how one will create the business process?

- Create JAVA Action Classes Correct

- Spring Bean update with Action class Correct

- create business process in BPNM format in backoffice

- create businessprocess in XML and import using impex Correct

(Pleatform Features)

9. Based on Accelerator Storefront on PDP page I want to remove some information, what changes I
should do

- Extend ProductBasicOption and remove the required information

- Add new product option to populator etc.

- remove unnecessary product option and remove populator from Populatorlist Correct

- One more option was there

(Back office framework and cockpits)

10. Regular socket - How to communicate using sockets:

- Input type should be same as output type

- Input type shoule be sub type of output type

- other two similar options were there


it must possible to assign the output socket's type to the input socket's
type-Correct

(Search and Navigation)

11. to create Adaptive search Profile, what attributes must be set

- Index config Correct

- Index type Correct

- USER

- category

- content-catalog

Catalog Version- Correct

(Commerce and Accelerator)

12. RAO used for what purpose.

- fact for rules Correct

To eliminate unnecessary data provided by complex objects.-Correct

- complex data to be saved and pass to promotion

(Search and Navigation)

13. To define the data to be indexed using Solr what is the correct options (2 ans)

- Flexible query returning all products Correct

- flexivble query result for incremental update Correct

- Impex with product data

- one more option was there

(User Management)
14. How to provide user Access rights for agent to see customers and Insurance type data in an
insurance company.

- Create a usergroup and add agents with access rights

- Create search restriction for per insurance type

- Create search restriction for customer and insurance type and pass agent ID.

- modify search restrictions-Correct

create a group for target type- Correct

(Customer Experience)

15. how CMS component is related to Page Template?

-> 2 options ( all ans that has valid relationship with content slots are correct - page
template,contentslotforpage, contentslotfortemplae)

PageTempalte is used by page... Correct


via slots ia slots

(Commerce & Accelerator)

16. Purpose of add on with Confusing options.

(Customer Experience)

17. Question on navigation bar component.. one example is given with root category and child
category....

how to define INSTANT CAMERAS under DIGITAL cameras category?

- child CategoryNavigationNode to be created under DIGITAL CAMERAS CategoryNavigationNode and


refer INSTANT CAMERAS category.

- Navigation Bar component to be created under navigationNode

- CMSLink to be created and refer catogory link

- One more option

Create a component CmsNavigation and add as a child in the


CmsNavigationNode-Correct
Create a link for the Instant cameras, which will be pointed to the Innstant
cameras category Correct

(Backoffice Framework & Cockpit)


18. Dynamic form - Definition (Always one question)

(Platform Basics)?

19. Cache eviction when cache is evicted (question is present in amol file)

- Setter Method called

- modelService.save() called on item type Correct

- invalidaiton request came from clustor Correct

(Backoffice framework & Cockpit)

20. Validation constraints applied for (in backoffice) :

- Component Wizard

- Editor

- other 2 options

(commerce & accelerator)

21. If we want to add extension and deploy on commerce cloud versoin 2(Radio button)

-> localextension.xml

-> manifest.json Correct

-> build.gradle

(Orders)

22. Base store connected to how many models. POS, WAREHOUSE, BASESITE Correct

(Orders)

23. ExpressCheckout to be configured in:

basestore and 3 other options Correct

(Platform Basics)

24. How to change ProductDetailsPage URL


- ProductControllerPage.java Correct

- site.impex

- some other impex

- some jsp file

(Platform features)

25. event tracking which add on ( business event)

-eventrackingwsaddon Correct

-hybrisanalystics addon Correct

-accelerotorwebservice

-captachaaddon

(Search and Navigation)

26. SearchRestriction required types

- Restricted Type Correct

- principle Correct

- current user

- ??

(search and navigation)

27. How serch restriction is processed for anoynmous user:

- Injecting restriction query in flexible search query for a

- CMSrestrictionService's Evaluate method

(platform basics)

28. server restart without ant all

1. local propery - Correct


2. spring bean property - Correct

3. items.xml

4. localextension changes

(Pleatform Features)

29. How to make clustor aware events (2 options)

- implement ClustorawareEvent interface Correct

- extending AbstractEvent

- 2 other options
Change the platformClusterEventSender Spring bean configuration.

(PCM Basics and Price Modeling)

30. For fetching price during cart calculation, which interface you will implemetnt

- CartCalculationService

- FindPriceFactory

- EuropePriceFactory Correct

(Search and Navigation)

31. There is a search Restriction

Type: Product

User: anoynmous

Restriction: 1=0

"Candle" is an instance of type "Product" and "PinkCandle" is an instance of "VariantProduct"

While accessing the "PinkCandle" PDP from storefront, What will be returned from below flexible query:

Select {pk} from {VariantProduct} where {code} = "PinkCandle";

(Select Only one option)

- Null will be returned


- Empty List will be returned Correct

- PinkCandle will be returned

- orher oprion

(Search and Navigation)

32. SolrExtIndexerCronJob is used for which mode"

1. FULL

2. UPDATE

3. DELETE

4. PARTIAL_UPDATE Correct

(Search and Navigation)

33. How Boost rules applied:

- search query Correct

- indexing

- category level

- some other option

(Customer experiance)

34. To create CMScomponent what is must to implement

- Component Controller

- Item type

- Component jsp file Correct

- some other option

(Orders)

35. When the consignments will be created:

- After fraud check and before order sourcing

- After fraud check and after order sourcing Correct


- after fulfillment started

- after payment

(Backoffice and cockpit)

36. What are the attributes of definition.xml in backoffice:

- viewFile

- controllerClass

- settings Correct

- keyword Correct

- defaultTitle Correct

(Backoffice and cockpit)

37. true for Definition.xml:

- default value for setting can be provided.

- beanshell script can be used for widget business logic

- The available non-virtual sockets.-Correct

The view file.- Correct

default values for widget settings. - Correct

(Backoffice and cockpit)

38. what attributes must be added to resolve Component Configuration: [Select 2 options]

- principle Correct

- type Correct

- usage

- position

(orders)

39. When the sendOrderPlaced Notification is sent:

- After Fraud Check Correct

- after fulfillment started


- After payment is done

- afetr order placed

(Order)

40. Base store is related to :

- POS Correct

- WAREHOUSE Correct

- BASESITE Correct

- CUSTOMER

- PROMOTIONS

(Platform features)

41. What is the result of executing below impex file:

INSERT_UPDATE cart; code [unique=true]; xyz

#% before.line_clear

; acb ; sdfs

;xyx; sdfs

;fff; dfsfs

- No rows will be updated

- xyx will be inserted

- fff will be inserted

- some other option was there

(Backoffice and cockpit)

42. to implement new backoffice functionality for busness user :

- create or reuse backoffice extension and modify it

- modify borderlayout widget

- modify multipixer???? widget


(Orders)

43. When it's not possible to reallocate consignemnt to other location

- Current location is banned for some time and there is no other location is available at basestore level
Correct

- Customer services agent has not access rights to reallocate location.

- Basestore configuration is off for reallocation

- item is out of stock and there is no other location Correct

44. how to create OCC webservices?

- yoccaddon install Correct

- ycommercewebservices extension Correct

(platform basics)

45. whats true about extensioninfo.xml with webroot module:

- there must be core module assigned

- there must be a web directory in structure

- The web root must be set in the web module directive in the
extensioninfo.xml file.- Correct
An extension with a web module must have a web folder.- Correct

(platform basics)

46. Best practices for Model creation:

- using new keyword

- modelservice.create()Correct

- model is shared in many web applications


- Save the model using the Model Service after the model is modified.
Correct

(platform basics)

47. A bean "myBean" is defined in core platform is overwritten by both Extension A and Extension B.
How to ensure that bean created in extension B takes precedence:

- made extension B dependent from extension A -Correct

- Ext B should extend core platform bean

- only one extension to be defined in localextension.xml at a time.

- disable extension A Correct

(platform basics)

48. Bean "A" is defined in web context in extension A and bean "B" is defined in tanent context in
extension B.

What will happen when we inject bean A into BEan B

- spring context will fail Correct

- spring context will work properly

- there will be compilation error

(backoffice and cockpit)

49. View of Widget can be written in :

- .jsp

- .zul Correct

- .vm

- java Correct

(commerce and accelerator)

50.How to ensure the all chages done by addon applied to storefront:

1. ant all Correct

2. ant deploy
3. using resourceFilter

4. using eventFilter

addonfilter Correct

(platform basics)

51. How to display a category page on UI:

- category page url in JSP Page

- controller with resourceMapping will redirect the page view for required page. Correct

(platform basics)

52. What is the use of Redeclare attribute for an Item attribute?

- to remane the existing attribute which is defiled in another item.xml file.

- to change the definition of some attribute which is defiled in another item.xml file.

- Change the attribute's type to the subtype-Correct

(commerce and accelerator)

53. BaseSite URL Pattern: Given a regEx and select the site url which will be used to access the site:

- https://electronics.site Correct

- https://localhost:9001/?site=electronics

- https://localhost

- https://site.electronics

(platform features)

54. What is necessary to start the cron job

- Cron job can be started and aborted is it is abortable cron job Correct

- cron job can be started and aborted after a certain time interval
- cron job can be startd using ant runcronjob commnad Correct

(platform features)

55. Cache defined by attributes:

- Size Correct

- Eviction Strategy Correct

- SessionFilter

- PersistanceMode

- statsEnabled Correct

(orders)

56. Order Split Strategies:

- Split by Payment

- Split by OrderDate

- Split By Warehouse Correct

- Split By delivery Mode

- Split By Named DeliveryDate Correct

splitByAvailableCount

(platform basics)

57. Item Type "BAR" with deployment table = "bar"

one localized attribute.

Which table will be used to save the localize values.

- barprops table

- bar table

- barlp table Correct


- genericitem table

(PCM and Price Modeling)

58. Why classification is used:

- There is no data loss if we change anything

- Business users can change the classification easily from backoffice Correct

- Classification can be applied on any type

(User Management)

59. CSA can do from backoffice CS cockpit/perspective:

- Delete all the expired cards

- can all the orders and initiate refund

- create account for customer

- partial cancel and initiate refund

(Search and navigation)

60. how solr is installed in Production environment:

- 1 Standalone server

- 1 embedded server

- 1 master and many slaves- Correct

(Search and navigation)

61. how the Solr indexing performaed from API.

- Indexer Service Correct

- Indexer Listener

- Search Query

-
(Search and navigation)

62. How Solr Range is defined for facet property

(platform Basics)

63. How to change the table name with some data with loss of data:

- Export the data using import export, change the name in item.xml and initialize the system and
import the data - Correct

- Export the data using import export, change the name in item.xml and Update the system and
import the data

- Change the table in item.xml and ant clean all

(platform Basics)

64. I need to import sample data to my accelerator storefront. Hoe to do that?

- Create sampledata.impex file

- CoredataSetup to be modified from platform extension

- initialDataSetup to be modified from platform extension--Correct

- @SystemSetUp to be modified from platform extension

(platform Basics)

65. Jalo Session

- is attached to HTTP session

- Cron job have jalo session while execution

- Jalo sesion can be shared to multiple web applications

Shilpa :a,b

(PCM Basics and price modeling)


66. When you synchronize the media item what happens:

- Both Staged and Online versions refer to same media Item

- Values will be copied from Staget to Online version.

- Online version can access all media format after synchronozation

Shilpa :a ,b

(PCM Basics and price modeling)

67. How to implement product approval process

- Create a workflow temaplate and attach an AbstractAction

- Create a workflow temaplate and attach many AbstractActions

- Create a workflow and attach many AbstractActions

- Use existing workflow template and create a workflow.

(platform basics)

68. From PK, What information we can get?

- TypeCode

- counter

- ...

You might also like