Pregunta 1
Pregunta
What is the purpose of @configurationFactory?
Respuesta
-
To specify which factory this component will be added to
-
To manage and maintain many OSGi service instances .
-
To configure OSGi services
-
To create new service factories
Pregunta 2
Pregunta
Which attribute of @Component makes the service configurable ?
Respuesta
-
metatype = True
-
metatype = False
-
metadata = True
-
metadata = False
Pregunta 3
Pregunta
[1.2,2) – whats the bundle version here ?
Respuesta
-
1.2 to 2, 1.2 included and 1.2 excluded
-
1.2 to 2, 1.2 included and 2 excluded
-
below 1.2 and above 2
-
below 2 and above 1.2
Pregunta 4
Pregunta
Your system keeps crashing and is very slow. You see the below line in error logs.
cacheManager: ResizeAll
What are the probable reasons for this crash ?
Respuesta
-
The instance is replicating to itself
-
Instance reverse replication is mapped to itself
-
Instances of unclosed JcrSessions
-
Some known issue with replication is causing infinite replications
-
Server cache not set properly
Pregunta 5
Pregunta
Which log can be used to timings of the requests to an instance
Respuesta
-
request log
-
server log
-
Error log
-
stdout log
Pregunta 6
Pregunta
How to start AEM instance in debug mode with a specific port.
Respuesta
-
java –Xdebug socket=”specific port no.” –jar
aem-author-4502.jar
-
java socket=”specific port no.” –jar
aem-author-4502.jar
-
java –Xdebug socket=”specific port no.” –jar
aem-publish-4502.jar
-
java –Xdebug socket=”Apache port num.” –jar
aem-author-4502.jar
Pregunta 7
Pregunta
What run mode will be set for PROD environment ?
Respuesta
-
Nosamplecontent
-
Author
-
Publish
-
Samplecontent
Pregunta 8
Pregunta
Behavior of @SlingServlet
Respuesta
-
Path always takes precedence even if other options like resourceType and selector are
present
-
When both path and the resource type properties are absent , the servlet is ignored .
-
Checks the selectors and prefix
-
Checks hyperlinks
Pregunta 9
Pregunta
When you are overlaying OOB image component , at a location
/apps/myApp/components, what should you ensure
Respuesta
-
Overlay JSP
-
Overlay Dialogs
-
Different icons
-
Different styles
Pregunta 10
Pregunta
There is an external dependency that you have included in your pom.xml file. But
when you install the bundle in felix console, bundle is not active. To include the classes
from the external dependency, which one of the below will you use ?
Pregunta 11
Pregunta
Property and node types used in cq:dialog in Touch UI?
Respuesta
-
nt:unstructured
-
cq:widget
-
cq:panel
-
/title
Pregunta 12
Pregunta
Use of Configuring OSGi services via content nodes?
Respuesta
-
Not secure
-
Can be differentiated using runmode.
-
Will be of type sling:osgi
-
Can be maintained and deployed with code
Pregunta 13
Pregunta
Parent component has 4 tabs. A component overlays it and additionally, a node with
property sling:hideChildren set to 2 tab names. What is the significance of this ?
component dialog - developer overlays OOTB component.
Respuesta
-
Permission and cloudservices as well as their Children are hidden
-
Permission and cloudservices are hidden but properties retained
-
basic and advanced tab are removed
-
Basic and advanced tab remains unchanged
-
Permission and cloudservices as well as their properties are hidden
Pregunta 14
Pregunta
How to configure MYSQL data source in aem ?
Respuesta
-
Day commons JDBC connections pool
-
Day CQ mail service
-
Day commons SQL connections pool
-
Day commons MySQL connections pool
Pregunta 15
Pregunta
How to change the CRX token expiration time ?
Pregunta 16
Pregunta
An application uses SAML authentication with AEM and for this purpose the AEM
granite SAML authentication handler has been configured with the saml url. But on sign
in, 403 forbidden. Possible reasons ?
Pregunta 17
Pregunta
A set of pages follow template A. You add a new component in that template and
then refresh those pages again. You don’t see the component there. What is the reason ?
Respuesta
-
Browser cache
-
The changes on templates only starts reflecting on new pages using the template.
-
Pages have to be recreated
-
Component path was wrong
-
Jsp might have to be recompiled
Pregunta 18
Pregunta
http://somedomain/abc.html?v=10. To cache this page, what should be done ?
Respuesta
-
Use /ignoreUrlParams
-
Use selectors
-
Use Prefix
Pregunta 19
Pregunta
General advantage of caching?
Pregunta 20
Pregunta
There are a few pages being CUG in an application. To cache them, what needs to be
done ?
Respuesta
-
Define separate virtual host for CUG pages
-
Set /allowAuthorized to 0
-
Define /directories under /sessionmanagement
-
Have a separate farm for CUG based pages
Pregunta 21
Pregunta
Which one is used to maintain repository content in a tool like Subversion?
Respuesta
-
vlt
-
sling
-
felix web console
-
jcr nodes
Pregunta 22
Pregunta
Annotation used to declare a service factory?
Pregunta 23
Pregunta
Mail service to be configured to send e mails from AEM
Pregunta 24
Pregunta
What is the Importance of -<identifier> in com.service.customservice.config-<identifier>
sling:osgiconfig file?
Pregunta 25
Pregunta
A user customizes a osgi configuration on crxde, what should he ensure ?
Respuesta
-
com.sample.customService
-
Node of type sling:folder on /apps/myapp/config
-
com.sample.customService.config
-
Node of type sling:folder on /apps/myapp/install
Pregunta 26
Pregunta
Developer used 3 types of runmodes author, foo, bar. How to identify the activities
of the instances that run only on the foo runmode?
Respuesta
-
foo.config
-
foo.install
-
foo.author.config
-
foo.publish.config
Pregunta 27
Pregunta
when CQ is installed. which errors are listed by default.
Pregunta 28
Pregunta
If dispatcher is not optimally configured, what causes it may be
Respuesta
-
Extra load on publisher
-
Caching issue
-
Pages are not cached
-
None.
Pregunta 29
Pregunta
which are the all mandatory parameters to debug?
Respuesta
-
server, suspend , address , transport
-
server, suspend , address , jar
-
server, port , address , transport
-
server, suspend , jar, port
Pregunta 30
Pregunta
if we are saving sling folder in nt:unstructured?
what will happened?
Pregunta 31
Pregunta
client library - benefits
Pregunta 32
Pregunta
what is primary type of config which is created by felix console in
apps/*/system/config?
Respuesta
-
nt:unstructered
-
sling folder
-
nt:file
-
mixin node
Pregunta 33
Pregunta
How can we recognize the configuration file in Crx?
Respuesta
-
sling:osgiConfig
-
Sling:config
-
sling:resourcesupertype
-
sling:resourcetype
Pregunta 34
Pregunta
Developer creates a sling:folder and inside it creates node of type sling:OsgiConfig.
What is he trying to achieve?
Respuesta
-
Create configuration
-
Creating jar file in crx
-
install bundles
-
install defaults
Pregunta 35
Pregunta
Which is the correct way to login when there is user mapping n service?
Respuesta
-
Slingrepository.loginService(String subServiceName, String workspace)
-
Slingrepository.loginService(String subServiceName)
-
Slingrepository.loginService(String workspace)
-
Slingrepository.loginsling(String subServiceName, String workspace)
Pregunta 36
Pregunta
There is a logger factory configuration at the path apps/myproj/config.Foo.publish-something
what is the significance of the path
Respuesta
-
config denotes configuration
-
component and template data jar
-
something denotes configuration instance name - not correct for the PATH
-
Foo.publish denotes run mode
Pregunta 37
Pregunta
Cache not working and we are get out of memory error?
what exactly happened here?
Respuesta
-
replication not set properly
-
There are sessions which have not been logged out
-
Infinite loop due to replication issue
-
replication & reverse at same location
Pregunta 38
Pregunta
Why do we add exclusions in .gitignore file?
Respuesta
-
To exclude ide specific files and
-
Generated files not related to code base
-
Patterns read from the command line for those commands that support them.
-
A gitignore file specifies intentionally untracked files that Git should ignore
Pregunta 39
Pregunta
Syntax for storing parameter in cq:widget?
Respuesta
-
Cq:panel
-
nt:unstructured
-
./title
-
panel
Pregunta 40
Pregunta
How to view debug logs?
Respuesta
-
set log level = debug in logging logger configuration
-
set loglevel = debug on cmd line parameter
-
set log level= debug in logging writer
-
start aem in debug mode
Pregunta 41
Pregunta
Query search is taking longer time. Debug is necessary. Hence the suggestion is to
debug the search service.
Respuesta
-
Write a log writer service to get the debug logs of the sling search service
-
Write a log writer service to get the debug logs of the search service
-
Write a logging log service to get the debug logs of the sling search service
Pregunta 42
Respuesta
-
current Design
-
currentStyle
-
Current node
-
current resource
Pregunta 43
Pregunta
default log level of root log?
Pregunta 44
Pregunta
how does a dialog inherit the properties from another dialog?
Respuesta
-
cq:dialog
-
sling:ResourceSuperType
-
sling:ResourceType
-
cq:panel
-
cq:include
Pregunta 45
Pregunta
Which statement about the docroot parameter in the cache section of the CQ
Dispatcher configuration file is true?
Respuesta
-
It should be the same path where the CQ server is installed.
-
It should be the same as the one configured in the repository as docroot property
-
It can be any path inside the filesystem that can be modified by the Web server.
-
It is required to be the same as the document root of the Web server.
Pregunta 46
Pregunta
What is the main advantage of using a template over a component ?
Respuesta
-
Allow creation of a page with default components
-
Restrict other components/templates within
-
you can include several components within