Quiz
AEM Certification Quiz
Este quiz tem tempo limite, por isso abre no player de sempre.
Perguntas do quiz (46)
1What is the purpose of @configurationFactory?
- ATo specify which factory this component will be added to
- BTo manage and maintain many OSGi service instances .
- CTo configure OSGi services
- DTo create new service factories
2Which attribute of @Component makes the service configurable ?
- Ametatype = True
- Bmetatype = False
- Cmetadata = True
- Dmetadata = False
3[1.2,2) – whats the bundle version here ?
- A1.2 to 2, 1.2 included and 1.2 excluded
- B1.2 to 2, 1.2 included and 2 excluded
- Cbelow 1.2 and above 2
- Dbelow 2 and above 1.2
4Your 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 ?- AThe instance is replicating to itself
- BInstance reverse replication is mapped to itself
- CInstances of unclosed JcrSessions
- DSome known issue with replication is causing infinite replications
- EServer cache not set properly
5Which log can be used to timings of the requests to an instance
- Arequest log
- Bserver log
- CError log
- Dstdout log
6How to start AEM instance in debug mode with a specific port.
- Ajava –Xdebug socket=”specific port no.” –jar
aem-author-4502.jar - Bjava socket=”specific port no.” –jar
aem-author-4502.jar - Cjava –Xdebug socket=”specific port no.” –jar
aem-publish-4502.jar - Djava –Xdebug socket=”Apache port num.” –jar
aem-author-4502.jar
- Ajava –Xdebug socket=”specific port no.” –jar
7What run mode will be set for PROD environment ?
- ANosamplecontent
- BAuthor
- CPublish
- DSamplecontent
8Behavior of @SlingServlet
- APath always takes precedence even if other options like resourceType and selector are
present - BWhen both path and the resource type properties are absent , the servlet is ignored .
- CChecks the selectors and prefix
- DChecks hyperlinks
- APath always takes precedence even if other options like resourceType and selector are
9When you are overlaying OOB image component , at a location
/apps/myApp/components, what should you ensure- AOverlay JSP
- BOverlay Dialogs
- CDifferent icons
- DDifferent styles
10There 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 ?- APrivate Package - Packages that are not exported or imported are called private packages
- BInclude-Resource
- CExport Package
- DImport Package
11Property and node types used in cq:dialog in Touch UI?
- Ant:unstructured
- Bcq:widget
- Ccq:panel
- D/title
12Use of Configuring OSGi services via content nodes?
- ANot secure
- BCan be differentiated using runmode.
- CWill be of type sling:osgi
- DCan be maintained and deployed with code
13Parent 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.- APermission and cloudservices as well as their Children are hidden
- BPermission and cloudservices are hidden but properties retained
- Cbasic and advanced tab are removed
- DBasic and advanced tab remains unchanged
- EPermission and cloudservices as well as their properties are hidden
14How to configure MYSQL data source in aem ?
- ADay commons JDBC connections pool
- BDay CQ mail service
- CDay commons SQL connections pool
- DDay commons MySQL connections pool
15How to change the CRX token expiration time ?
- AApache Jackrabbit Oak TokenConfiguration
- BApache Oak Configuration
- CDay CQ Token Configuration
- DToken Configuration
16An 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 ?- ACrx authentication handler login url may have to be configured
- BReferrer filter may have to be configured
- CSaml idp url was wrong
- DSP details was wrong
17A 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 ?- ABrowser cache
- BThe changes on templates only starts reflecting on new pages using the template.
- CPages have to be recreated
- DComponent path was wrong
- EJsp might have to be recompiled
18http://somedomain/abc.html?v=10. To cache this page, what should be done ?
- AUse /ignoreUrlParams
- BUse selectors
- CUse Prefix
19General advantage of caching?
- AFaster page load, better performance
- BSlow responce
- CAttaching resources with URL
- DSaving from the threats
20There are a few pages being CUG in an application. To cache them, what needs to be
done ?- ADefine separate virtual host for CUG pages
- BSet /allowAuthorized to 0
- CDefine /directories under /sessionmanagement
- DHave a separate farm for CUG based pages
21Which one is used to maintain repository content in a tool like Subversion?
- Avlt
- Bsling
- Cfelix web console
- Djcr nodes
22Annotation used to declare a service factory?
- A@component( configurationFactory = true )
- B@component( configurationFactory = False )
- C@reference
- D@slingproperties
23Mail service to be configured to send e mails from AEM
- ADay CQ mail service
- Bmail API
- Cemail token configuration
- DDay CQ API service
24What is the Importance of -<identifier> in com.service.customservice.config-<identifier>
sling:osgiconfig file?- AIt is a mandatory that accepts open free text and uniquely identifies the service.
- Bservice is fully configured
- Cconfiguration is ready
25A user customizes a osgi configuration on crxde, what should he ensure ?
- Acom.sample.customService
- BNode of type sling:folder on /apps/myapp/config
- Ccom.sample.customService.config
- DNode of type sling:folder on /apps/myapp/install
26Developer used 3 types of runmodes author, foo, bar. How to identify the activities
of the instances that run only on the foo runmode?- Afoo.config
- Bfoo.install
- Cfoo.author.config
- Dfoo.publish.config
27when CQ is installed. which errors are listed by default.
- AWarn
- Binfo
- Cdebug
- Dpublish
28If dispatcher is not optimally configured, what causes it may be
- AExtra load on publisher
- BCaching issue
- CPages are not cached
- DNone.
29which are the all mandatory parameters to debug?
- Aserver, suspend , address , transport
- Bserver, suspend , address , jar
- Cserver, port , address , transport
- Dserver, suspend , jar, port
30if we are saving sling folder in nt:unstructured?
what will happened?- ABoth will saved
- Bexception
- Conly nt:unstructured will save
- Dwe cannot save nt:unstructured in in Sling folder
31client library - benefits
- ATo import libraries n to modularize js n css files
- Busing categories
- CTo add new organization thru text file
- DJavaScript Code
32what is primary type of config which is created by felix console in
apps/*/system/config?- Ant:unstructered
- Bsling folder
- Cnt:file
- Dmixin node
33How can we recognize the configuration file in Crx?
- Asling:osgiConfig
- BSling:config
- Csling:resourcesupertype
- Dsling:resourcetype
34Developer creates a sling:folder and inside it creates node of type sling:OsgiConfig.
What is he trying to achieve?- ACreate configuration
- BCreating jar file in crx
- Cinstall bundles
- Dinstall defaults
35Which is the correct way to login when there is user mapping n service?
- ASlingrepository.loginService(String subServiceName, String workspace)
- BSlingrepository.loginService(String subServiceName)
- CSlingrepository.loginService(String workspace)
- DSlingrepository.loginsling(String subServiceName, String workspace)
36There is a logger factory configuration at the path apps/myproj/config.Foo.publish-something
what is the significance of the path- Aconfig denotes configuration
- Bcomponent and template data jar
- Csomething denotes configuration instance name - not correct for the PATH
- DFoo.publish denotes run mode
37Cache not working and we are get out of memory error?
what exactly happened here?- Areplication not set properly
- BThere are sessions which have not been logged out
- CInfinite loop due to replication issue
- Dreplication & reverse at same location
38Why do we add exclusions in .gitignore file?
- ATo exclude ide specific files and
- BGenerated files not related to code base
- CPatterns read from the command line for those commands that support them.
- DA gitignore file specifies intentionally untracked files that Git should ignore
39Syntax for storing parameter in cq:widget?
- ACq:panel
- Bnt:unstructured
- C./title
- Dpanel
40How to view debug logs?
- Aset log level = debug in logging logger configuration
- Bset loglevel = debug on cmd line parameter
- Cset log level= debug in logging writer
- Dstart aem in debug mode
41Query search is taking longer time. Debug is necessary. Hence the suggestion is to
debug the search service.- AWrite a log writer service to get the debug logs of the sling search service
- BWrite a log writer service to get the debug logs of the search service
- CWrite a logging log service to get the debug logs of the sling search service
42Objects in AEM?
- Acurrent Design
- BcurrentStyle
- CCurrent node
- Dcurrent resource
43default log level of root log?
- Alog
- Bdebug
- Cinfo
- Dfail
44how does a dialog inherit the properties from another dialog?
- Acq:dialog
- Bsling:ResourceSuperType
- Csling:ResourceType
- Dcq:panel
- Ecq:include
45Which statement about the docroot parameter in the cache section of the CQ
Dispatcher configuration file is true?- AIt should be the same path where the CQ server is installed.
- BIt should be the same as the one configured in the repository as docroot property
- CIt can be any path inside the filesystem that can be modified by the Web server.
- DIt is required to be the same as the document root of the Web server.
46What is the main advantage of using a template over a component ?
- AAllow creation of a page with default components
- BRestrict other components/templates within
- Cyou can include several components within
Informações
- Descrição
- AEM Quiz sobre AEM Certification Quiz, criado por AEM community em 03-04-2017.
- Autor
- AEM community
- Idioma
- English
- Visualizações
- 1.207
- Etiquetas
- Avaliação
- 3,7 de 5 · 6 avaliações Avalie este quiz