Final Hybris Developer V6
Final Hybris Developer V6
)
A: Validation JSR-303 is used for validation. (If this question is a RADIO button question.)
Shilpa- Backoffice validation
https://help.hybris.com/6.0.0/hcd/8c755da8866910149c27ec908fc577ef.html
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
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
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.
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.
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
<property name="strategiesList">
<list>
<ref bean="splitByAvailableCount"/>
</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
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
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,
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?
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
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
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;;;;;;;
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.
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.
Configure populator
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
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
Where id in
Shilpa: export does NOT export any products because the inner select
does NOT return a ProductGroup due to the restriction
admin approves
order is placed
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
....
{}
...
}
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
C. /1846390
Shilpa :a,c
49. Regarding consignments, what can be done from UI/ post order placement<2 of 4>
B. cancel a consignment
D. Confirm delivery
Classification
<productFeatureModel>
a. as a productfeature in Product
b. properties file
c. as a column in Category ClassClassfication
Shilpa :a
Shilpa :b,c
a.
b.
c.
d.
B. components
C. VM
c. Mutipler Widget
table
a. http request
b. it opens in iframe
c. session from
A
59.userService.getcurrentUser(UserService.getUserUID(USERNAME))
socket
Type Correct
Principal Correct
Position
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
$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
71.
How do we create Asyncronous events in hybris?
a. modelService.create()
b. use new
Produtfeautre Correct
classcasification
PropertyGeor Widget
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()))
a. Dynamic Validation
a. Widget drag and drop
b. Dynamic UI configuration
b. Non-Dynamic Validation
a. ybackoffice
b. yaddon
https://$siteid.[?*...}
Ans: https://electronics.***/
Ans: indexerservice
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?
11. You have to make customized backoffice extension for business user. What steps would you
follow?
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?
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
a. Implement SolrIndexerListener
16. list the addon name which is used to analysis the business events
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. manifest. Json
1. Full
2. Update
3. Partial Update
4. Delete
29. How will you verify addon files are moved in storefront? [2 correct ans]
1. Synchronize job -> For ex you want to add new costsale attribute of costsale type in product type.
what steps you will follow -
2. what type gets triggered in personalization smart edit when we trigger personalization action
0> cxcmsaction
5. if solr legacy mode is false what type is used for query search.
-> searchqueryproperty
7. Impex question
a;catalog
b;:fafa
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
-> 3 options ( all ans that has valid relationship with content slots are correct - page template,
contentslotforpage, contentslotfortemplae)
19. Question on navigation bar component. one example is given with root category and child
category....
22. If we want to add extension and deploy on commerce cloud versoin 2(Radio button)
-> localextension.xml
-> gradle
->eventrackingwsaddon Correct
->accelerotorwebservice
->captachaaddon
1. local propery
2. spring bean property
3. items.xml
29. for fetching price during cart calculation, which interface you will implement
1. You have added new costsale attribute of costsale type in product type. what steps you will follow to
synchronize the product-
(Customer Experience)
2. what type gets triggered in personaliztion smart edit when we trigger is activated
- cxCMSAction
- cxSegmentTrigger
CmsCxCustomize-Not sure
(Customer Experience)
4. Preview ticket Id flow related with 4 options and 2 correct answers - smartedit()
(Pleatform Features)
6. Impex question:
$catalog=productelectronicscatalog
$version=Staged
Insert_update xyz;code[unique=true];$catalogversion
a;catalogabc
b;:online
c;productelectronicscatalog:$version
-1
-2
-3
-4
(Pleatform Features)
(Pleatform Features)
(Pleatform Features)
9. Based on Accelerator Storefront on PDP page I want to remove some information, what changes I
should do
- remove unnecessary product option and remove populator from Populatorlist Correct
- USER
- category
- content-catalog
13. To define the data to be indexed using Solr what is the correct options (2 ans)
(User Management)
14. How to provide user Access rights for agent to see customers and Insurance type data in an
insurance company.
- Create search restriction for customer and insurance type and pass agent ID.
(Customer Experience)
-> 2 options ( all ans that has valid relationship with content slots are correct - page
template,contentslotforpage, contentslotfortemplae)
(Customer Experience)
17. Question on navigation bar component.. one example is given with root category and child
category....
(Platform Basics)?
19. Cache eviction when cache is evicted (question is present in amol file)
- Component Wizard
- Editor
- other 2 options
21. If we want to add extension and deploy on commerce cloud versoin 2(Radio button)
-> localextension.xml
-> build.gradle
(Orders)
22. Base store connected to how many models. POS, WAREHOUSE, BASESITE Correct
(Orders)
(Platform Basics)
- site.impex
(Platform features)
-eventrackingwsaddon Correct
-accelerotorwebservice
-captachaaddon
- principle Correct
- current user
- ??
(platform basics)
3. items.xml
4. localextension changes
(Pleatform Features)
- extending AbstractEvent
- 2 other options
Change the platformClusterEventSender Spring bean configuration.
30. For fetching price during cart calculation, which interface you will implemetnt
- CartCalculationService
- FindPriceFactory
- EuropePriceFactory Correct
Type: Product
User: anoynmous
Restriction: 1=0
While accessing the "PinkCandle" PDP from storefront, What will be returned from below flexible query:
- orher oprion
1. FULL
2. UPDATE
3. DELETE
4. PARTIAL_UPDATE Correct
- indexing
- category level
(Customer experiance)
- Component Controller
- Item type
(Orders)
- after payment
- viewFile
- controllerClass
- settings Correct
- keyword Correct
- defaultTitle Correct
38. what attributes must be added to resolve Component Configuration: [Select 2 options]
- principle Correct
- type Correct
- usage
- position
(orders)
(Order)
- POS Correct
- WAREHOUSE Correct
- BASESITE Correct
- CUSTOMER
- PROMOTIONS
(Platform features)
#% before.line_clear
; acb ; sdfs
;xyx; sdfs
;fff; dfsfs
- Current location is banned for some time and there is no other location is available at basestore level
Correct
(platform basics)
- 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)
- modelservice.create()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:
(platform basics)
48. Bean "A" is defined in web context in extension A and bean "B" is defined in tanent context in
extension B.
- .jsp
- .zul Correct
- .vm
- java Correct
2. ant deploy
3. using resourceFilter
4. using eventFilter
addonfilter Correct
(platform basics)
- controller with resourceMapping will redirect the page view for required page. Correct
(platform basics)
- to change the definition of some attribute which is defiled in another item.xml file.
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)
- 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)
- Size Correct
- SessionFilter
- PersistanceMode
- statsEnabled Correct
(orders)
- Split by Payment
- Split by OrderDate
splitByAvailableCount
(platform basics)
- barprops table
- bar table
- Business users can change the classification easily from backoffice Correct
(User Management)
- 1 Standalone server
- 1 embedded server
- Indexer Listener
- Search Query
-
(Search and navigation)
(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
(platform Basics)
(platform Basics)
Shilpa :a,b
Shilpa :a ,b
(platform basics)
- TypeCode
- counter
- ...