Mock #2

What describe best the JALO layer? 2 correct
Means Jakarta Logic
Mix data and business logic
It's a piece of the service layer
JALO classes are generated during runtime
For the following query to be imported successfully what changes need to be done? 2 correct
Add a macro for catalog version
Change the attribute header INSERT_UPDATE to INSERT_UNIQUE
Mark code with [unique=true]
Use the type Product instead of ApparelProduct
Choose the correct file to localize HMC entries in English (extension's name is hybhubcore)? 1 correct
Hybhubcore/resources/localization/hybhubcore-locales_en. properties
Hybhubcore/resources/localization/hmc-locales_ en. properties
Hybhubcore/hmc/localization/hybhubcore-locales_en. properties
Hybhubcore/resources/localization/english/hybhubcore. properties
Select the right definition for the tenant concept. 1 correct
A single SAP Hybris installation with multiple localextensions.xml
A clustered SAP Hybris installation with one database
A single SAP Hybris installation with distinct sets of data
A single SAP Hybris installation with a specific database for each store
When do you use cluster aware events ? 1 correct
When you run a cluster all events need to be cluster aware
Since SAP Hybris V6 all events are cluster aware
When you need to run an event from a specific node
When you need to broadcast an event to all nodes
Why does the rule engine (used by the promotion engine) include a versioning and archiving mechanism ? 1 correct
To keep an history of all promotions that ever existed on the system
To have a consistent representation of the applied rules when promotions were applied
To be able to work on different time zone
All item types in SAP Hybris are archived and versioned
What is wrong with the following item type definition ? 1 correct
Missing a Jalo class definition
An index needs to be on at least two attributes
Genericltem is not a valid item
Missing deployment data
Out of the box, what CMS items are used to build the top navigation menu ? 3 correct
NavigationBarComponent
TopMenuNavigationComponent
CMSNavigationNode
CMSLinkComponent
What steps do you need to fulfill in order to create a new cronjob ? 2 correct
Create a new cron job expression from Spring
Implement a job
Create a new item type extending CronJob
Add the new cronjob in your local.properties
What statements are false about catalogs synchronization ? 3 correct
Only existing items can be updated
No items can be deleted
All item types are being synchronized
The same catalog can a target and a source
Cached data are removed from the cache when ? 3 correct
The cache is full
A cache invalidation notification is received from another node
An item is created
An item is removed
What statements are true about classification ? 1 correct
Classification is horizontal unlike categorization which is vertical
A product can be classified by only one classification attribute
Classification is not being used by SAP Hybris because its model type definition is flexible
Classification is not compatible with SOLR
What can you do from an addon ? 4 correct
Add front end files (JSP, HTML, CSS and Javascript)
Generate or customize the data model
Declare new Spring Services or Facades or customize existing
Declare new Controllers or customize existing
Remove attributes defined in other extensions
What configuration file has the highest priority ? 1 correct
Project.properties from the platform extension
Advanced.properties from the platform extension
Local.properties from the config extension
Local.properties from the custom extension
When you create the following item type A what classes are being generated ? 1 correct
A.java
GeneratedA.java
AJalo.java
AModel.java
When configuring the Apache SOLR indexer mode what does DIRECT means? 1 correct
Access the embedded Apache SOLR server
Send request to Apache SOLR using its REST API
All index operations would be made directly on the index
All index operations would be made on a temporary index before indexes are switch
Is it possible for two tenants to use different extensions? 1 correct
Yes using two different localextensions.xml, one for each tenant
Yes using allowed.extensions and forbidden.extensions inside a tenant specific configuration file
Yes using . allowed. Extensions and .forbidden. Extensions inside your configuration
No, SAP Hybris is not compatible with this
How do you install a new addon ? 1 correct
Add the addon inside your localextensions.xml
Add the addon under external-dependencies.xml
Use the ant target addoninstall
Use the ant target syncaddons
Is this a valid Flexible Search Query ? 1 correct
No
Yes if we delete :o
Yes if we delete the whole where statement
Yes
Out of the box how can you access the assisted service module functionalities? 1 correct
From the targeted storefront add a request parameter asm equal true
From the backoffice open the asm perspective
Go to the /asmcockpit
Go to the /cscockpit
How can you initialize SAP Hybris? 2 correct
Using ant initialize
From the HAC
From the HMC
From the backoffice
What is highest B2B organization block? 1 correct
Company
Unit
Division
Region
In order to force a product to be listed on top of a give category, what out of the box features should you use? 1 correct
Boost rules
Hero rules
Hero products
Top products
What payment steps is described by the following definition? 1 correct
Capture
Stand alone refund
refund
The BTG module is used to? 1 correct
Personalize a web applications based on customers
Business to groups
Provides a upgraded version of the CMS cockpit
Add business targets accessible from the backoffice
What ant target should you use to start working on a new B2C implementation? 1 correct
Ant installer -r b2c_acc
Ant extgen
Ant modulegen
Ant accelerator
What Spring context has the larger scope? 1 correct
Web context
Core context
Shared context
International context
During an Impex import what will happen when the import process can't find a reference to an item type? 1 correct
Import process will fail and move onto the next file
The value line would be ignored
The value line would be saved and a new attempt would be made
The value line would be saved and attached to an error log entry
When loading available prices what is the price factory trying to match? 3 correct
Customer / customer group
Product / product group
Date range if any configured
Promotion / promotion group
What is the problem with the fallowing business process action? 1 correct
It doesn't always return a transition
It has not setter for the modelService attribute
It should implement Action
The package is wrong
What is true about the DefaultCMSComponentController? 2 correct
It will inject all attributes into the model
It will inject all front-end attributes (non system) into the model
It is used by default if no specific controller are implemented
It should be avoided
What is true about the following log extracted from the build process? 3 correct
The catalog extension was automatically required
The catalog extension has a core module
The catalog extension is deprecated
The catalog extension is a platform extension
Choose the correct user rights definition to complete the following import query. 1 correct
;;;;Media;true+;false;false;false;false
;;;;Media;1;0;0;0;0
;;;;Media;+;-;-;-;-
;;;;Media;granted;denied;denied;denied;denied
Which of the following components are deprecated? 2 correct
Cockpit framework
Jalo layer
Task engine
Service layer
What is the correct way of configuring a new logger for the package com.hybhub.hybhubaddon? 1 correct
0%
0
 
0%
0
 
0%
0
 
0%
0
 
The OCC webservices are ? 1 correct
Restful API
Restless API
Soap API
OAuth API
What statements are wrong about converters ? 2 correct
They all have the same bean parent abstractPopulatingGonverter
They contain a list of attributes to convert
They contain a list a populators to call
They are un-aware of the object type they are converting
What is wrong with the following extensioninfo.xml file? 1 correct
Missing web module declaration
Missing core module declaration
Missing hmc module declaration
Dependency issue
Is the following dynamic attribute handler correct ? 1 correct
No, it must extends ServiceLayerltems
No, it must also implement a setter
No, it must be in a different package
Yes
What statements are true about collections under item type definitions ? 2 correct
A collection is comma-separated list of PKs
Collections are preferred over relations
At runtime collections are loaded into a collection of objects
Collections can store as many objects as needed
Which of the following definition is the correct one for unit tests? 1 correct
Requires access to the database and need a running SAP Hybris
Requires access to the database and don't need a running SAP Hybris
Does not require access to the database and don't need a running SAP Hybris
Require access to the database and starts a transaction for each test
What is the following Spring configuration doing? 1 correct
Add a new XML Spring configuration
Load all detected components from the given packages
Create a new bean scope
Configure a request filter
When you synchronize a Media object from a Staged to an Online catalog what happens to the media file? 1 correct
The Media file is referenced by the Online and Staged Media
The Media file is copied to the Online data folder and referenced by the Online Media
The Media file is moved to a shared folder and referenced by both Media
The Media file is embedded inside the file attribute and synchronize like all other attributes
Select the right definition for the facade layer. 1 correct
Builds a complex object using simple objects and using a step by step approach
Separates application's concerns
Hides the complexities of the system and provides a simplified interface to the client
Add new functionality to an existing object without altering its structure
Select the existing Impex header mode. 1 correct
INSERTED
UPDATE_INSERT
REMOVE
DELETE
How could you configure a new hot folder? 1 correct
From the HAC
From the HMC
From the import cockpit
From a Spring config file
How do you create a new interceptor? 2 correct
Declare it along with the item type definition
Provide an implementation of one of Interceptor interface
Run a system update
Add a Spring bean mapping the item type and the Interceptor implementation
A checkout step has? 4 correct
CheckoutGroup reference
CheckoutStep Validator reference
Transitions map
ProgressBarld string
A step controller
What are are valid legacy cockpit areas? 3 correct
Navigation
Item
Browser
Editor
When running an initialization on one tenant SAP Hybris will? 1 correct
Delete all tables
Delete all known tables
Delete all known tables starting with the tenant table prefix
Delete and recreate the database
When creating a new item how do you generate a new primary key? 1 correct
Using java.util. UUID.randomUUID()
Using the primaryKeyService
Primary keys creation is automatically handled by the database
Primary keys creation is automatically handled by the service layer
How could you declare configure an attribute to be encrypted? 1 correct
0%
0
 
0%
0
 
0%
0
 
0%
0
 
Which item types exist? 3 correct
Collectiontype
Enumtype
Atomictype
Listtype
A customer segment could be executed in? 2 correct
Optimized processing
Full processing
Jalo processing
Complete processing
Why a Spring MCV controller needs to return a String? 1 correct
To return it as an HTML page
To load a view
To load a servlet
To load a model
What features are available through the Order Management Module (formally OMS)? 2 correct
Order splitting
Payment
Sourcing
Promotion engine
Why do you need to define stop words for for your search configuration? 1 correct
To ignore configured words while searching
To boost configured words while searching
To stop the query after a configured word
To split the query in two queries
What are the two main components of the rule engine? 2 correct
Rule processor
Rule matcher
Rule executor
Rule builder
How could you improve the following code (groovy)? 3 correct
Use the method T startProcess(String argO, String argl); to create a process
Delete the second call trying to start the business process
Delete the useless call to save
Generate a unique identifier for the business process
What statements are true about the following table (SQL DDL for HSQL)? 1 correct
Table prefix is b2b
The item b2bbudgets has only one attribute
Contains localized attributes for b2bbudgets item
It has 4 primary keys
Why would you use classification? 1 correct
To optimize Apache SOLR requests
To have dynamic product features
To speed up search
To unify product and category attributes
Which facet search configuration attributes give you the ability to redirect a user for a specific search request? 1 correct
Stopwords
Keywords
Redirectwords
Matchwords
What statements are wrong about extensions? 1 correct
They have to be inside the bin folder
They need to have a dependency to yempty
They can written using Groovy
They are always automatically loaded
What statements are true about the SAP Hybris server? 3 correct
Based on Apache Tomcat
Good for production
Compatible with EJB
Can be started from the command line
When you run an impex import query from the HAC with the default configuration what statements are true? 1 correct
You are running distributed impexes
You are using the service layer
You are using the jalo layer
Import relaxed is activated
Which of the following would be good uses for a SAP Hybris CronJob? 2 correct
Synchronizing the stock level with an external warehouse once per day
Notify the System Administrator when the peak load on the server passes a critical point
Perform an inventory once per week at midnight
Any task that isn't database related, cronjobs are designed to perform operating System tasks, not database system tasks
Content slots for page template are? 2 correct
Place holder for CMS component
Place holder for JSP tags
Shared across all pages using the page template
Configured on the JSP view page
Which bean would be loaded from getBean("bean")? 1 correct
My String Name
My String ID
A new String
None
Is it possible to add new enumeration values by runtime? 2 correct
No
Yes if you are using JRebel
Yes if the enumeration is dynamic
Yes if the enumeration is a subtype of the HybrisEnum Value class
What is a POS? 1 correct
A warehouse
A physical store
A web store
A geolocalization service
What statements are wrong about Backoffice widgets? 1 correct
Widget can extend each other
Widget ids must be unique or the compilation fails
Views are implemented using JSP tags
Widgets can have parameters
When writing unit tests how should you simulate pojo dependencies to external services, facades, etc? 1 correct
The test class should extend HybrisUnitTests
The test class should extend ServicelayerTest
Use Mockito to stub dependencies
Wrap all tests inside a transaction
What is the notification framework used for? 1 correct
Notify cockpit users
Notify customers
Notify administrators
Facade for the event service
What statements are true about stock levels? 3 correct
The stock service can check stock levels across multiple warehouses
A single warehouse can contain multiple stock levels for the same product
A base store is attached to a single warehouse
A product can be sold even if it has no stock
The CS cockpit was designed for? 1 correct
Customer segment management
Order life cycles management
Css rendering management
Customer security management
SAP Hybris semi-session failover mechanism allows to? 1 correct
Automatically redirected users to the login page of a new node when on node goes down
To transfer all sessions of the failing node to other available nodes without loss of data
To always have all sessions replicated on every nodes
To automatically redirect users to a temporary page
Choose the flexible query which has generated the following SQL query? 1 correct
Select {prd.pk}, {md.code} from {Product as prd left join Media as md on {md.pk} = {prd.logo}}
Select {prd.pk}, {md.code} from {Product! As prd join Media! As md on {md.pk} = {prd}}
Select {prd.pk}, {md.code} from {Product! As prd left join Media! As md on {md.pk} = {prd.logo}}
Select {md.code} from {Product as prd left join Media! As md on {md.pk} = {prd.logo}}
What service should you use to save an model? 1 correct
PersistenceService
JaloService
ServiceLayerService
ModelService
If you are testing a Flexible Search Restriction, the user you are running the query as? 1 correct
Should be admin
Should be flexiblesearchquery
Should be a member of the searchquery group
Should not be a member of the admin group
By default when you load an item from the service what is fetched inside the object? 1 correct
Nothing all attributes are lazy loaded
Only literal values
Only references values
All
{"name":"Mock #2", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"What describe best the JALO layer? 2 correct, For the following query to be imported successfully what changes need to be done? 2 correct, Choose the correct file to localize HMC entries in English (extension's name is hybhubcore)? 1 correct","img":"https://www.quiz-maker.com/3012/CDN/84-4058953/screenshot-20221230-161215.png?sz=1200-00000000001000002281"}
Powered by: Quiz Maker