Mock quiz #1
What assesments are correct about modules and extensions? 2 correct
A module is a synonym of template
An extension is never used alone
A module includes a set of functionalities fulfilled by one or more extensions
An extension holds source code and configuration files
What is a saved query? 1 correct
A query that has been cached by the service layer
A way of reusing a query from the flexible search service
A flexible search query saved inside the SavedQuery item type and reusable from the HMC
There is no such query
Why do you need to execute setantenv.sh or setantenv.bat before call the build platform? 2 correct
To preload ant classes
To configure your PLATFORM_HOME environment variable
If you already have ant installed you do not need to call this script
To configure ant home and opts environment variable
Choose the correct definition for the bean scope singleton. 1 correct
One shared instance, which will be returned by all calls to getBean with the given id
One shared instance per thread, which will be returned by all calls to getBean with the given id
Independent instance resulting from each call to getBean
One shared instance per tenant, which will be returned by all calls to getBean with the given id
What is the "batch=true" Impex header modifier? 1 correct
Creates an individual import context for each value line
Allows modifiying more than one item for a combination of all unique attributes
Inserts line by batches, default batch size is 20
There is no such header modifier
What are the steps in order to create a backoffice widget? 2 correct
Create a widget view
Create a widget model hook
Create a widget definition
Execute ant widgetGen
What is the correct definition of the LTU evicition strategy? 1 correct
The oldest element would be deleted first
The youngest element would be deleted first
The most unused element would be deleted first
This is not a valid evicition strategy
Which of the following statements are NOT true regarding the use of inheritance in SAP Hybris Item type definitions? 4 correct
All new items types must extend Object
All new item types must be declared within the Core extension
You can extend another item type only if it has been defined within the same extension
Item types are not compatible with inheritance
All new item types extend GenericItem by default
Which of the following desing patterns has this as its primary goal: Provides a single, simplified interface to a complex system of mutually dependent interacting objects? 1 correct
Strategy
Model View Controller
Service Layer
Facade
If you are performing a flexible search query as the user admin which of the following is true? 1 correct
All restrictions on the search are ignored
You cannot perform a flexible search being admin
You will only see in the result for the admin catalog
At least one restriction must be configured or no search will be performed
When executing an Impex import, which of the following is true? 1 correct
You can only import one item type per Impex file
Each line under header is a potential value line
You need to specify the location of the CSV value lines file
If you don't specify a header the Impex framework will find a matching item type
OAuth2 is... 1 correct
A library built by SAP Hybris to handle authentication
A library build by Spring to handle authentication
An application protocol like HTTP but for authorization
An authorization protocol
To load a localized resource bundle, what service should you use? 1 correct
L10NService
I18NService
CommonI18NService
CommerceCommonI18NService
How can you activate the cluster mode? 1 correct
Cluster mode is on by default
Cluster mode is always on
Configure clustermode=true
Configure clustering=true
What are the logging framework shipped with Hybris? 1 correct
LOG4J
LOG4J2
LOG4J3
SLF4J
What happens when you run the following Impex script when the currency doesn't exist yet? 1 correct
The import fails, log an error and move on to the next file
The import logs a warning and continue to resolve the remaining value lines
The import logs a warning, creates a temporary file, and tries to import it later on
The import ignores non matching value lines when doing only UPDATE
Why is it considered bad practice to call directly CartService.getSessionsCart().getEntries().isEmpty() to test if the customer already has a cart? 1 correct
This will create a cart if none is yet existing and the cart creation is expensive
The customerCartService wrapper is preferred to the raw cart service
GetSessionCart() is deprecated, use getInMemoryCart() instead
GetEntries() could be null
What is the correct definition of the Spring MVC dispatcher servlet? 1 correct
Receives incoming API requests and dispatch them to the right extension
Process all incoming requests made to the root path
Servlet responsible to find a matching controller and view to generate a response
Servlet responsible to load data from the database, load the JSP view and delegat the request handling to a matching controller
What template do you use to create a new cockpit? 1 correct
Ycockpit
Cockpit
Ybackoffice
Backoffice
Which of the following cockpit import by convention files have a correct path an name? 1 correct
Cockpitextension/resources/cockpitextension-admin/cscockpit/all/listViewContentBrowser_CatalogVersion.xml
Cockpitextension/resources/cockpitextension/cscockpit/cockpitgroup/listViewContentBrowser_CatalogVersion.xml
Cockpitextension/resources/cockpitextension-admin/cscockpit/cockpitgroup/listViewContentBrowser.xml
Cockpitextension/resources/cockpitextension-config/cscockpit/cockpitgroup/listViewContentBrowser_CatalogVersion.xml
Which methods are valid to create and save a new product item from the service layer? 4 correct
0%
0
0%
0
0%
0
0%
0
0%
0
What is the correct definition of the ant target updatesystem? 1 correct
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.
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 the update is still accessible after the update.
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
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
How many currency items would be inserted from the following impex query, assuming they don't already exist in SAP Hybris yet? 1 correct
None
One
Two
Three
Which of the following application contexts are valid? 2 correct
Tenant service application context
Tenant core application context
Global web application context
HAC web application context
Is this a valid type definition? 1 correct
No, a cronjob must extend Cronjob item type
No, persistence can't be of the type memory
No, the JALO class definition is missing
Yes
What does the ant target customize do? 1 correct
Inject all properties into tomcat configuration
Execute all call back scripts
Copies all files from /config/customize folder to /bin folder recursively
Customize the tomcat configuration folder from the config folder
What SQL query could be generated from the following flexible search query? 1 correct
SELECT prd.PK FROM product prd WHERE (prd.TypePkString IN (?,?))
SELECT item_t0.PK FROM products item_t0 WHERE (item_t0.TypePkString IN (?,?))
SELECT PK FROM products WHERE (TypePkString IN(?,?))
SELECT item_t0.PK FROM {products} item_t0 WHERE (item_t0.TypePkString IN (?,?)))
Which of the following item type attribute default value definitions are valid? 3 correct
Java.lang.Boolean.FALSE
EnumerationService().getEnumerationValue("validEnumeration", "validValue")
Boolean.FALSE
Com.hybhyb.core.ExistingClass.EXISTING_STATIC_STRING
The SAP Hybris out of the box model service is used to? 2 correct
Refresh the status of a data object
Lock a model object
Remove a model object
Create a new item type definition
What statements about the backoffice application orchestrator are WRONG? 2 correct
It's already visible when you are logged in as an admin
You use it to create and modify backoffice application
You use it to import new data
You need to press F4 to activate it
What is cached by SAP Hybris? 2 correct
Result of flexible search queries
Media images
Item attributes
User sessions
Choose the correct definition of an interface based architecture. 1 correct
Defines an application as a collection of components, in which API calls between components are made through abstract interfacres, not concrete classes
Defines an application as a collection of components, in which API calls betweeen components are made through concerete classes, not abstract interfaces
Defines an application as a collection of static components, in which API calls between components are made static references
Defines and application as a collection of RESTFUL API entry points, calls between components are made through HTTP requests
What steps are required in order to create a new SAP Hybris cronjob. 3 correct
Create a new trigger for the job
Create a job implementation of JobPerformable
Update your system
Create a new item that extends cronjob
How do you declare an attribute dynamic? 1 correct
?
Correct option (book didnt have any options)
?
?
How is Spring configured in SAP Hybris? 1 correct
Explicit configuration in XML
Explicit configuration in Java
Implicit bean discovery and automatic wiring
Explicit configuration in XML, implict bean discovery and automatic wiring
How could you enable single product catalog synchronizaton from the PCM? 1 correct
Catalog synchronization cannot be done from the PCM, it's meant to be done by administrators only
Configure expressUpdateCatalogVersions=catalog:version
Each product can be synchronized individually out of the box
PCM is not for products
What is the default authorization framework for the OCC web services? 1 correct
Spring-security
OAuth 2.0
Java-security
SSO
In order to test a DAO implementation what test should. You write? 1 correct
@UnitTest
@DatabaseTest
@SqlTest
@IntegrationTest
How can you use environment variables in your Hybris configuration? 1 correct
From a call back script
Using hyhub.config=$NAME assuming the env variable exists and is named NAME
Using hyhub.config= assuming the env variable exists and is named y_hybhub_config
Using hyhub.config=? Assuming the env variable exists and is named hybhub_config
What statements are correct about the follwing impex? 2 correct
Only creates a new MediaFolder
Generates a unique database index from the qualifier and the path
Contains 3 value lines
Doesn't use any macro
Which one of the following flexible searches is valid? 1 correct
Select {name[de]} from {product}
Select {name. de} from {product}
Select {name}[de] from {product}
Select {name} from {product},{lang} where {lang} = 'de'
Choose the right definition for a payment capture? 1 correct
Authorize an amount of money after it has been reserved
Transfer money back for a given order
Transfer money from after it has been authorized
Lock an amount of money on the card's holder account
Using the out of the box import convention, what files would be imported during the update process (only create essential data checked)? 1 correct
Extension/resources/impex/0_essentialdata.impex
Extension/resources/impex/essentialdata_0.impex
Extension/resources/impex/core/essentialdata_0.impex
Extension/resources/impex/projectdata_users.impex
"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 only be applied in flexible combinations of any order." best describes? 1 correct
Facet search
Solr
Category search
Flexible search
How many catalog versions can be attached to a catalog? 1 correct
Zero, a catalog defines its own versions
One, the version can be shared across different catalogs, for example Online
Two, catalogs have their own Staged and Online catalog versions
As many as needed, there are no limits to how many versions a catalog can have
How many transactions would be created by the following groovy script? 1 correct
Code execution will fail
One transaction would be created
Two transactions would be created
Three transactions would be created
What is the main entry servlet of Spring MVC application? 1 correct
SpringMvcServlet
DispatcherServlet
JaloServlet
RequestContextServlet
What statements are true about CMSItem and CMSRelation item types? 2 correct
Their sub items are catalog version aware
It's used by all tag components
Every CMS type extends one of the two
They are defined under the core extension
How can you configure a new checkout flow? 1 correct
From an impex query
From a java implementation of de.hybris.platform.acceleratorstorefrontcommons.checkout.CheckoutFlow
From a spring configuration
From a JSP tag file
What application context is valid to create a new region cache for an item type? 1 correct
Core tenant
Master tenant
Core static
Global static
Choose the best definition for the following exception: de.hybris.platform.servicelayer.exceptions.AmbiguousIdentifierException. 1 correct
The service layer can't find any matching identifier
The service layer found more than one matching item and expected only one
The service layer doesn't know what attribute is used as the unique identifier
The service layer doesn't know the item type
What informations can you extract from a PK? 1 correct
Type code
Last modified time
Created time
User who created the item
The Spring Integration Framework is used for? 1 correct
OCC webservices
Datahub
Hot folder
Service layer
Where can you specify an index for an item type? 1 correct
Resources/extensionName-indexes.xml
Resources/extensionName-items.xml
Resources/extensionName-indices.xml
Resources/database/index.sql
Choose the right definition for the order splitting service. 1 correct
Split an order into sets of order entries, for each set a consignment is then created
Split an order into multiple orders, for each orders a consignment is then created
Split order entries into sets of order entries, for each set a consignment is then created
Split a consignment into sets of consignments, for each set a new consignment is then created
When designing a new web service what HTTP header should you choose to implement a create object endpoint? 1 correct
GET
PUT
CREATE
POST
What is the downside of product variants? 1 correct
None
You cannot have common attributes between variant objects without changing the base product definition
Products are virtual
All variant objects and the base product share the same unique code which makes any search not trivial
How could you group solr attribute values in a single set to avoid excessive number of values? 1 correct
Use a group by statement
Use a paginated solr search query
Use a facet range
Use a facet sort
What statements are true about the build framework? 3 correct
It compiles extension in a pre-defined order
It generates and compiles sources from items.xml files
Every ant targets compile the source files
It is runnable only from your platform folder
Which one of the following services is best suited to load a resource bundle for a specific language? 1 correct
I18NService
CommonI18NService
CommerceCommonI18NService
L10NService
If I add the following search restriction for product and for anonymous user, what will happen when anonymous users execute a product search? 1 correct
This will fail, where is missing
This will replace any where clause for anonymous and product
This will be added to the where clause for anonymous and product
This will be added to the where clause for anonymous and product during solr indexing
What happens when you execute the following Groovy script? 1 correct
A service layer exception is thrown
Only the customer is created
Only the user group is created
Both the customer and the user group are created
What statements are true about the promotion engine ? 2 correct
Runs on the rule engine
Runs on the jalo layer
Uses rule aware object (RAO) actions
Runs when the promotion strategy is called during cart calculation
How can you create a new socket for a custom backoffice widget ? 1 correct
Open your widget definition.xml file
Use the HMC
Run the widget wizard from OCC
Create a new socket.zul file
What statements are true about Apache SOLR ? 1 correct
SAP Hybris uses an embedded SOLR server
SOLR uses the same database as SAP Hybris
All products are cached inside SOLR
SOLR can have multiple index
Why would run the fallowing flexible search query ? 1 correct
You need only to load product subtype items
You need only to load product type items
You need only to load product variants
You need to tell SAP Hybris not to cache the result
What is the right way to create a localized string attribute ? 1 correct
0%
0
0%
0
0%
0
0%
0
What can you define permissions for (using the permission framework)?
OCC access
Item type
Instance of an item type
Attribute
What is the purpose of the following class? 1 correct
Customize a HMC wizard
Customize the impex import service
Customize the update and initialization
Customize the available import choices when running an update from
Is this a valid impex import? 1 correct
Yes
Yes only if bean shell execution is activated
Yes only if the title Doctor doesn't exist yet
No
What is the recommended way of setting cluster ids? 1 correct
Use cluster. node. autodiscovery=true
Create a subnet and configure nodes to listen to the broadcast address
Manually configure a unique id on each node
Activate the Spring Cluster functionality
Which are valid steps of the ant build all target? 3 correct
Resolving extensions dependencies
Restart the application server
Delete all previously compiled classes
Generate sources for all extensions
Which statements are correct about widget definitions? 2 correct
Widget definition is as simple as creating a Spring bean under your core extension spring configuration
A widget needs to extend another widget id in order to be available
Each widget ids must be unique otherwise they wouldn't be available
Widgets definition are located under myextension/backoffice/resources/widgets/{widgetName}/definition.xml
What is the best way to create a new addon for your store front? 1 correct
Generate a new extension from yempty
Generate a new extension from yoccaddon
Generate a new extension from yaddon
Generate a new extension from addon
Is this a valid business process definition ? 1 correct
Yes
Yes if you had a new action with start=true
Yes if action1 implements StartProcess
No
What are the required steps to create a new CMSComponent ? 2 correct
Create an item that extends AbstractCMSComponent or one of its subtype
Create an item that extends CMSitem or one of its subtype
A Spring MVC controller that extends AbstractCMSComponentController
A JSP (or other front end technology) to render the component
When should you run a full Apache SOLR indexation ?
When you restart the SOLR server
When you update a product
When you update prices
Every day to recreate a clean index (not defragmented)
How many websites could you have per tenant ? 1 correct
Only one because orders and customers are tenant dependent
Websites are not tenant aware
As many as you need
As many as you want if you are running a cluster
{"name":"Mock quiz #1", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"What assesments are correct about modules and extensions? 2 correct, What is a saved query? 1 correct, Why do you need to execute setantenv.sh or setantenv.bat before call the build platform? 2 correct","img":"https://www.quiz-maker.com/3012/CDN/84-4056901/screenshot-2022-12-29-at-13-58-45.png?sz=1200-00000000000989100806"}
More Quizzes
SUMMER REVIEW 2022
10514
AFM Quiz
5217
PROGETTO DIGITALE:geografia
740
100
Do I have a green soul?
520
NISMO LENI V KARANTENI - OLIMPIJSKI KVIZ
28140
Тест «Можете ли вы заработать больше как декоратор?»
1050
100
Best Quintessential Soulmate Quiz (Not Based)
7433
CuartaNoticias - Política de privacidad. © Copyright Todos los derechos reservados. PortavozChile
100
BTS
1050
We vote
100