AEM Certification Quiz

Descrição

AEM Quiz sobre AEM Certification Quiz, criado por AEM community em 03-04-2017.
AEM community
Quiz por AEM community, atualizado more than 1 year ago
AEM community
Criado por AEM community mais de 7 anos atrás
1177
8

Resumo de Recurso

Questão 1

Questão
What is the purpose of @configurationFactory?
Responda
  • 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

Questão 2

Questão
Which attribute of @Component makes the service configurable ?
Responda
  • metatype = True
  • metatype = False
  • metadata = True
  • metadata = False

Questão 3

Questão
[1.2,2) – whats the bundle version here ?
Responda
  • 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

Questão 4

Questão
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 ?
Responda
  • 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

Questão 5

Questão
Which log can be used to timings of the requests to an instance
Responda
  • request log
  • server log
  • Error log
  • stdout log

Questão 6

Questão
How to start AEM instance in debug mode with a specific port.
Responda
  • 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

Questão 7

Questão
What run mode will be set for PROD environment ?
Responda
  • Nosamplecontent
  • Author
  • Publish
  • Samplecontent

Questão 8

Questão
Behavior of @SlingServlet
Responda
  • 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

Questão 9

Questão
When you are overlaying OOB image component , at a location /apps/myApp/components, what should you ensure
Responda
  • Overlay JSP
  • Overlay Dialogs
  • Different icons
  • Different styles

Questão 10

Questão
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 ?
Responda
  • Private Package - Packages that are not exported or imported are called private packages
  • Include-Resource
  • Export Package
  • Import Package

Questão 11

Questão
Property and node types used in cq:dialog in Touch UI?
Responda
  • nt:unstructured
  • cq:widget
  • cq:panel
  • /title

Questão 12

Questão
Use of Configuring OSGi services via content nodes?
Responda
  • Not secure
  • Can be differentiated using runmode.
  • Will be of type sling:osgi
  • Can be maintained and deployed with code

Questão 13

Questão
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.
Responda
  • 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

Questão 14

Questão
How to configure MYSQL data source in aem ?
Responda
  • Day commons JDBC connections pool
  • Day CQ mail service
  • Day commons SQL connections pool
  • Day commons MySQL connections pool

Questão 15

Questão
How to change the CRX token expiration time ?
Responda
  • Apache Jackrabbit Oak TokenConfiguration
  • Apache Oak Configuration
  • Day CQ Token Configuration
  • Token Configuration

Questão 16

Questão
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 ?
Responda
  • Crx authentication handler login url may have to be configured
  • Referrer filter may have to be configured
  • Saml idp url was wrong
  • SP details was wrong

Questão 17

Questão
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 ?
Responda
  • 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

Questão 18

Questão
http://somedomain/abc.html?v=10. To cache this page, what should be done ?
Responda
  • Use /ignoreUrlParams
  • Use selectors
  • Use Prefix

Questão 19

Questão
General advantage of caching?
Responda
  • Faster page load, better performance
  • Slow responce
  • Attaching resources with URL
  • Saving from the threats

Questão 20

Questão
There are a few pages being CUG in an application. To cache them, what needs to be done ?
Responda
  • Define separate virtual host for CUG pages
  • Set /allowAuthorized to 0
  • Define /directories under /sessionmanagement
  • Have a separate farm for CUG based pages

Questão 21

Questão
Which one is used to maintain repository content in a tool like Subversion?
Responda
  • vlt
  • sling
  • felix web console
  • jcr nodes

Questão 22

Questão
Annotation used to declare a service factory?
Responda
  • @component( configurationFactory = true )
  • @component( configurationFactory = False )
  • @reference
  • @slingproperties

Questão 23

Questão
Mail service to be configured to send e mails from AEM
Responda
  • Day CQ mail service
  • mail API
  • email token configuration
  • Day CQ API service

Questão 24

Questão
What is the Importance of -<identifier> in com.service.customservice.config-<identifier> sling:osgiconfig file?
Responda
  • It is a mandatory that accepts open free text and uniquely identifies the service.
  • service is fully configured
  • configuration is ready

Questão 25

Questão
A user customizes a osgi configuration on crxde, what should he ensure ?
Responda
  • 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

Questão 26

Questão
Developer used 3 types of runmodes author, foo, bar. How to identify the activities of the instances that run only on the foo runmode?
Responda
  • foo.config
  • foo.install
  • foo.author.config
  • foo.publish.config

Questão 27

Questão
when CQ is installed. which errors are listed by default.
Responda
  • Warn
  • info
  • debug
  • publish

Questão 28

Questão
If dispatcher is not optimally configured, what causes it may be
Responda
  • Extra load on publisher
  • Caching issue
  • Pages are not cached
  • None.

Questão 29

Questão
which are the all mandatory parameters to debug?
Responda
  • server, suspend , address , transport
  • server, suspend , address , jar
  • server, port , address , transport
  • server, suspend , jar, port

Questão 30

Questão
if we are saving sling folder in nt:unstructured? what will happened?
Responda
  • Both will saved
  • exception
  • only nt:unstructured will save
  • we cannot save nt:unstructured in in Sling folder

Questão 31

Questão
client library - benefits
Responda
  • To import libraries n to modularize js n css files
  • using categories
  • To add new organization thru text file
  • JavaScript Code

Questão 32

Questão
what is primary type of config which is created by felix console in apps/*/system/config?
Responda
  • nt:unstructered
  • sling folder
  • nt:file
  • mixin node

Questão 33

Questão
How can we recognize the configuration file in Crx?
Responda
  • sling:osgiConfig
  • Sling:config
  • sling:resourcesupertype
  • sling:resourcetype

Questão 34

Questão
Developer creates a sling:folder and inside it creates node of type sling:OsgiConfig. What is he trying to achieve?
Responda
  • Create configuration
  • Creating jar file in crx
  • install bundles
  • install defaults

Questão 35

Questão
Which is the correct way to login when there is user mapping n service?
Responda
  • Slingrepository.loginService(String subServiceName, String workspace)
  • Slingrepository.loginService(String subServiceName)
  • Slingrepository.loginService(String workspace)
  • Slingrepository.loginsling(String subServiceName, String workspace)

Questão 36

Questão
There is a logger factory configuration at the path apps/myproj/config.Foo.publish-something what is the significance of the path
Responda
  • config denotes configuration
  • component and template data jar
  • something denotes configuration instance name - not correct for the PATH
  • Foo.publish denotes run mode

Questão 37

Questão
Cache not working and we are get out of memory error? what exactly happened here?
Responda
  • replication not set properly
  • There are sessions which have not been logged out
  • Infinite loop due to replication issue
  • replication & reverse at same location

Questão 38

Questão
Why do we add exclusions in .gitignore file?
Responda
  • 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

Questão 39

Questão
Syntax for storing parameter in cq:widget?
Responda
  • Cq:panel
  • nt:unstructured
  • ./title
  • panel

Questão 40

Questão
How to view debug logs?
Responda
  • 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

Questão 41

Questão
Query search is taking longer time. Debug is necessary. Hence the suggestion is to debug the search service.
Responda
  • 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

Questão 42

Questão
Objects in AEM?
Responda
  • current Design
  • currentStyle
  • Current node
  • current resource

Questão 43

Questão
default log level of root log?
Responda
  • log
  • debug
  • info
  • fail

Questão 44

Questão
how does a dialog inherit the properties from another dialog?
Responda
  • cq:dialog
  • sling:ResourceSuperType
  • sling:ResourceType
  • cq:panel
  • cq:include

Questão 45

Questão
Which statement about the docroot parameter in the cache section of the CQ Dispatcher configuration file is true?
Responda
  • 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.

Questão 46

Questão
What is the main advantage of using a template over a component ?
Responda
  • Allow creation of a page with default components
  • Restrict other components/templates within
  • you can include several components within

Semelhante

AEM Quiz
netiszen
AEM Quiz
nimish kumar
Cuestionario estructuras globo ocular
Álvaro Del Rincón Santos
AEM sample quiz
shashi kumar
AEM Quiz
deadnight04
1_AEM Quiz
deadnight04
AEM Quiz
Dinh Tien Luyen
AEM Quiz
Gabriela Visinar
AEM Quiz
par r
AEM Quiz
par r
AEM Quiz
levi andrew