Quiz
AEM Custom Quiz
Crie uma conta grátis para terminar este quiz
Salve seu progresso e veja sua nota final.
Já tem uma conta? Inicie sessão
Perguntas do quiz (25)
1Choose the correct names for a CQ jar file for starting an author instance on port 4502
- Acq5-author-p4502.jar
- Bcq5-author-4502-1234.jar
- Ccq5-author-p4502-1234.jar
- Dcq5-author-4502.jar
2Say you want a clean production environment, without the geometrix sites being available. What would you do? (choose 2)
- AUse the nosamplecontent run mode when installing the cq5 instance
- BRemove all the geometrix related files manually
- CUninstall the packages cq-geometrixx-pkg-x.y.z.zip and cq-geometrixx-outdoors-pkg-x.y.z.zip from the Package manager
- DUninstall the packages cq-geometrixx-pkg-x.y.z.zip from the Package manager
- EUninstall the package cq-geometrixx-all-pkg-5.6.12.zip
3What does the command instsrv.bat cq5 do?
- AStarts the cq5 service
- BCreates the cq5 services
- CShows the status for the cq5 service
- DCreates the cq5 service and starts it right away
4Which environement variables that could be used to start and tune the AEM instance are valid?
- ACQ_INSTANCE
- BCQ_INTERFACE
- CCQ_USE_JAAS
- DCQ_LOGS_DIR
- ECQ_JAAS_CONFIG
- FCQ_JARFILE, CQ_RUNMODE
- GCQ_VERSION
- HCQ_HOST, CQ_JVM_OPTS
- ICQ_TEMP_DIR
- JCQ_PORT
5How can you uninstall the cq5 service?
- AClick Stop in the Services control panel or in the command line
- BNavigate to the folder
and type instsrv.bat -uninstall cq5 - CNavigate to the folder
and type instsrv.bat cq5 - DClick Stop in the Services control panel or in the command line, navigate to the folder
and type instsrv.bat -uninstall cq5
6How can you redefine the location of the temporary folder?
- AAdd the JVM parameter -Djava.io.tmpdir="/<new-tmp-path>" to the server startup command line
- BAdd the JVM parameter -Dcq.tmpdir="/<new-tmp-path>" to the server startup command line
- CAdd the JVM parameter -Djava.io.tmpdir="/<new-tmp-path>" to the CQ_JVM_OPTS environment parameter in the serverctl or start script
- DAdd the JVM parameter -Dcq.tmpdir="/<new-tmp-path>" to the CQ_JVM_OPTS environment parameter in the serverctl or start script
7How can you view the Quistart jar help file?
- ABy accessing the file crx-quicqstart/help after unpacking the quickstart jar file
- BBy running the command java -jar cq5-<version>.jar –help
- CBy going to the osgi system/console, Support tab, Help section
8What does the property sling.home refer to?
- AThe home directory for sling logs
- BThe path to crx-quickstart directory
- CThe directory for sling jar files.
9Which log files are available for CQ?
- Aaccess.log
All access requests to AEM WCM and the repository are registered here - Baudit.log
Moderation actions are registered here. - Cerror.log
Error messages (of varying levels of severity) are registered here. - Drequest.log
Each access request is registered here together with the response. - Estderr.log
Holds error messages, again of varying levels of severity, generated during startup. By default the log level
is set to Warning (WARN) - Fstdout.log
Holds logging messages indicating events during startup - Gupgrade.log
Provides a log of all upgrade operations that runs from the com.day.compat.codeupgrade and
com.adobe.cq.upgradesexecutor packages. - Hcq-installation-dir>/crx-quickstart/repository (only CQ5)
revision.log
Revision journaling information.
- Aaccess.log
10What is the minimum version needed for AEM 6.0?
- AJava 5
- BJava 6
- CJava 7
- DJava 8
11Questions 6. Which command would you enter in your CQ Component script to get the template path of an AEM page in publish instance?
B. Page.getTemplate();
C. Page.getTemplate().getPath();
D. resource.getTemplate.getPath();
Answer: B
Explanation:- AA. properties.get("cq:tempate","");
- BB. page.getTemplate().getPath()
- CC. page.getTemplate()
- Dresource.getTemplate.getPath();
12What is the config file name for the dispatcher?
- Ahttp.conf.disp<x>
- Bdispatcher.any
- Cmod_dispatcher.so
- Ddispatcher-apache<x.y>-<rel-nr>.so
13What is the config file name for the Apache server?
- Adispatcher-apache<x.y>-<rel-nr>.so
- Bmod_dispatcher.so
- Chttp.conf.disp<x>
- Ddispatcher.any
14In case you are creating the Apache binary by compiling the sources which feature must be included in order to use the Dispatcher?
- ADynamic modules support. This can be done by using any of the --enable-shared options or at a minimum include the mod_so module with --enable-module=so
- BDispatcher modules support. This can be done by using any of the --enable-dispatcher options. At a minimum include the dispatcher_so module.
- CDispatcher modules support. This can be done by using any of the --enable-shared options. At a minimum include the dispatcher_so module.
- DDispatcher modules support. This can be done by using any of the --enable-shared options. At a minimum include the mod_so module.
15Where do you configure the log file for the dispatcher?
- AIn the dispatcher configuration dispatcher.any, using the parameter DispatcherLog
- BIn the apache configuration apache2.conf, using the parameter DispatcherLog
- CIn the CQ5 installation by adding a Logging Logger Configuration
16What does the flag DispatcherNoServerHeader do?
- ADefines the Server Header to be used:
undefined or 0 - the HTTP server header contains the AEM version.
1 - the Apache server header is used. - BDefines the Server Header to be used:
undefined or 0 - the Apache server header is used.
undefined or 0 - the HTTP server header contains the AEM version.
- ADefines the Server Header to be used:
17What does the flag DispatcherDeclineRoot do?
- ADefines whether to decline requests to the root "/":
0 - accept requests to /
1 - requests to / are not handled by the dispatcher; use mod_alias for the correct mapping. - BDefines whether to decline requests to the root "/":
1 - accept requests to /
0 - requests to / are not handled by the dispatcher; use mod_alias for the correct mapping.
- ADefines whether to decline requests to the root "/":
18What does the flag DispatcherUseProcessedURL do?
- ADefines whether to use pre-processed URLs for all further processing by Dispatcher:
0 - use the original URL passed to the web server.
1 - the dispatcher uses the URL already processed by the handlers that precede the dispatcher (i.e. mod_rewrite) instead of the original URL passed to the web server. - BDefines whether to use pre-processed URLs for all further processing by Dispatcher:
1 - use the original URL passed to the web server.
0 - the dispatcher uses the URL already processed by the handlers that precede the dispatcher (i.e. mod_rewrite) instead of the original URL passed to the web server.
- ADefines whether to use pre-processed URLs for all further processing by Dispatcher:
19What does the flag DispatcherPassError do?
- ADefines how to support error codes for ErrorDocument handling:
0 - Dispatcher spools all error responses to the client.
1 - Dispatcher does not spool an error response to the client (where the status code is greater or equal than 400), but passes the status code to Apache, which e.g. allows an ErrorDocument directive to process such a status code. - BDefines how to support error codes for ErrorDocument handling:
1 - Dispatcher spools all error responses to the client.
0 - Dispatcher does not spool an error response to the client (where the status code is greater or equal than 400), but passes the status code to Apache, which e.g. allows an ErrorDocument directive to process such a status code.
- ADefines how to support error codes for ErrorDocument handling:
20What are the possible values for the DispatcherLogLevel flag?
- A0,1,2,3
- BError,Warning,Info,Debug
21Does the dispatcher save the Http Headers in the cached files?
- AYes
- BNo
22Which two are valid CQ dispatcher caching methods?
- AContent Updates remove the pages that have changed, as well as files that are directly associated with them.
- BAuto-Invalidation automatically invalidates those parts of the cache that may be out of date after an update. i.e. it effectively flags relevant pages as being out of date, without deleting anything.
- CContent Delete remove the pages that have changed, as well as files that are directly associated with them.
23Which two are valid CQ dispatcher cahcing methods?
- AContent Update : remove the pages that have changed, as well as files that are directly associated with them.
- BContent Delete : remove the pages that have changed, as well as files that are directly associated with them.
- CDispatcher-Invalidate: automatically invalidates those parts of the cache that may be out of date after an update. i.e. it effectively flags relevant pages as being out of date, without deleting anything.
24In which case a request is not cached by the dispatcher?
- AIf the HTTP method is not GET. Other common methods are POST for form data and HEAD for the HTTP header.
- BIf the request URI contains a question mark "?". This usually indicates a dynamic page, such as a search result, which does not need to be cached.
- CThe file extension is missing. The web server needs the extension to determine the document type (the MIME-type).
- DThe authentication header is set (this can be configured)
25Which are some benefits of the AEm Dispatcher for load balancing?
- AIncreased processing and increased fail-safe coverage
- BIncreased security
- CIncreased data storage
Informações
- Descrição
- Quiz sobre AEM Custom Quiz, criado por Gabriela Visinar em 13-02-2016.
- Autor
- Gabriela Visinar
- Idioma
- English
- Visualizações
- 317
- Avaliação
- 4,7 de 5 · 3 avaliações Avalie este quiz