Gabriela Visinar
Quiz von , erstellt am more than 1 year ago

Quiz am AEM Custom Quiz, erstellt von Gabriela Visinar am 13/02/2016.

297
3
0
Keine Merkmale angegeben
Gabriela Visinar
Erstellt von Gabriela Visinar vor fast 9 Jahre
Schließen

AEM Custom Quiz

Frage 1 von 25

1

Choose the correct names for a CQ jar file for starting an author instance on port 4502

Wähle eine oder mehr der folgenden:

  • cq5-author-p4502.jar

  • cq5-author-4502-1234.jar

  • cq5-author-p4502-1234.jar

  • cq5-author-4502.jar

Erklärung

Frage 2 von 25

1

Say you want a clean production environment, without the geometrix sites being available. What would you do? (choose 2)

Wähle eine oder mehr der folgenden:

  • Use the nosamplecontent run mode when installing the cq5 instance

  • Remove all the geometrix related files manually

  • Uninstall the packages cq-geometrixx-pkg-x.y.z.zip and cq-geometrixx-outdoors-pkg-x.y.z.zip from the Package manager

  • Uninstall the packages cq-geometrixx-pkg-x.y.z.zip from the Package manager

  • Uninstall the package cq-geometrixx-all-pkg-5.6.12.zip

Erklärung

Frage 3 von 25

1

What does the command instsrv.bat cq5 do?

Wähle eine oder mehr der folgenden:

  • Starts the cq5 service

  • Creates the cq5 services

  • Shows the status for the cq5 service

  • Creates the cq5 service and starts it right away

Erklärung

Frage 4 von 25

1

Which environement variables that could be used to start and tune the AEM instance are valid?

Wähle eine oder mehr der folgenden:

  • CQ_INSTANCE

  • CQ_INTERFACE

  • CQ_USE_JAAS

  • CQ_LOGS_DIR

  • CQ_JAAS_CONFIG

  • CQ_JARFILE, CQ_RUNMODE

  • CQ_VERSION

  • CQ_HOST, CQ_JVM_OPTS

  • CQ_TEMP_DIR

  • CQ_PORT

Erklärung

Frage 5 von 25

1

How can you uninstall the cq5 service?

Wähle eine oder mehr der folgenden:

  • Click Stop in the Services control panel or in the command line

  • Navigate to the folder
    and type instsrv.bat -uninstall cq5

  • Navigate to the folder
    and type instsrv.bat cq5

  • Click Stop in the Services control panel or in the command line, navigate to the folder
    and type instsrv.bat -uninstall cq5

Erklärung

Frage 6 von 25

1

How can you redefine the location of the temporary folder?

Wähle eine oder mehr der folgenden:

  • Add the JVM parameter -Djava.io.tmpdir="/<new-tmp-path>" to the server startup command line

  • Add the JVM parameter -Dcq.tmpdir="/<new-tmp-path>" to the server startup command line

  • Add the JVM parameter -Djava.io.tmpdir="/<new-tmp-path>" to the CQ_JVM_OPTS environment parameter in the serverctl or start script

  • Add the JVM parameter -Dcq.tmpdir="/<new-tmp-path>" to the CQ_JVM_OPTS environment parameter in the serverctl or start script

Erklärung

Frage 7 von 25

1

How can you view the Quistart jar help file?

Wähle eine oder mehr der folgenden:

  • By accessing the file crx-quicqstart/help after unpacking the quickstart jar file

  • By running the command java -jar cq5-<version>.jar –help

  • By going to the osgi system/console, Support tab, Help section

Erklärung

Frage 8 von 25

1

What does the property sling.home refer to?

Wähle eine oder mehr der folgenden:

  • The home directory for sling logs

  • The path to crx-quickstart directory

  • The directory for sling jar files.

Erklärung

Frage 9 von 25

1

Which log files are available for CQ?

Wähle eine oder mehr der folgenden:

  • access.log
    All access requests to AEM WCM and the repository are registered here

  • audit.log
    Moderation actions are registered here.

  • error.log
    Error messages (of varying levels of severity) are registered here.

  • request.log
    Each access request is registered here together with the response.

  • stderr.log
    Holds error messages, again of varying levels of severity, generated during startup. By default the log level
    is set to Warning (WARN)

  • stdout.log
    Holds logging messages indicating events during startup

  • upgrade.log
    Provides a log of all upgrade operations that runs from the com.day.compat.codeupgrade and
    com.adobe.cq.upgradesexecutor packages.

  • cq-installation-dir>/crx-quickstart/repository (only CQ5)
    revision.log
    Revision journaling information.

Erklärung

Frage 10 von 25

1

What is the minimum version needed for AEM 6.0?

Wähle eine oder mehr der folgenden:

  • Java 5

  • Java 6

  • Java 7

  • Java 8

Erklärung

Frage 11 von 25

1

Questions 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:

Wähle eine oder mehr der folgenden:

  • A. properties.get("cq:tempate","");

  • B. page.getTemplate().getPath()

  • C. page.getTemplate()

  • resource.getTemplate.getPath();

Erklärung

Frage 12 von 25

1

What is the config file name for the dispatcher?

Wähle eine der folgenden:

  • http.conf.disp<x>

  • dispatcher.any

  • mod_dispatcher.so

  • dispatcher-apache<x.y>-<rel-nr>.so

Erklärung

Frage 13 von 25

1

What is the config file name for the Apache server?

Wähle eine oder mehr der folgenden:

  • dispatcher-apache<x.y>-<rel-nr>.so

  • mod_dispatcher.so

  • http.conf.disp<x>

  • dispatcher.any

Erklärung

Frage 14 von 25

1

In case you are creating the Apache binary by compiling the sources which feature must be included in order to use the Dispatcher?

Wähle eine der folgenden:

  • Dynamic 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

  • Dispatcher modules support. This can be done by using any of the --enable-dispatcher options. At a minimum include the dispatcher_so module.

  • Dispatcher modules support. This can be done by using any of the --enable-shared options. At a minimum include the dispatcher_so module.

  • Dispatcher modules support. This can be done by using any of the --enable-shared options. At a minimum include the mod_so module.

Erklärung

Frage 15 von 25

1

Where do you configure the log file for the dispatcher?

Wähle eine der folgenden:

  • In the dispatcher configuration dispatcher.any, using the parameter DispatcherLog

  • In the apache configuration apache2.conf, using the parameter DispatcherLog

  • In the CQ5 installation by adding a Logging Logger Configuration

Erklärung

Frage 16 von 25

1

What does the flag DispatcherNoServerHeader do?

Wähle eine der folgenden:

  • Defines the Server Header to be used:
    undefined or 0 - the HTTP server header contains the AEM version.
    1 - the Apache server header is used.

  • Defines 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.

Erklärung

Frage 17 von 25

1

What does the flag DispatcherDeclineRoot do?

Wähle eine der folgenden:

  • Defines 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.

  • Defines 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.

Erklärung

Frage 18 von 25

1

What does the flag DispatcherUseProcessedURL do?

Wähle eine der folgenden:

  • Defines 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.

  • Defines 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.

Erklärung

Frage 19 von 25

1

What does the flag DispatcherPassError do?

Wähle eine der folgenden:

  • Defines 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.

  • Defines 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.

Erklärung

Frage 20 von 25

1

What are the possible values for the DispatcherLogLevel flag?

Wähle eine der folgenden:

  • 0,1,2,3

  • Error,Warning,Info,Debug

Erklärung

Frage 21 von 25

1

Does the dispatcher save the Http Headers in the cached files?

Wähle eine der folgenden:

  • Yes

  • No

Erklärung

Frage 22 von 25

1

Which two are valid CQ dispatcher caching methods?

Wähle eine der folgenden:

  • Content Updates remove the pages that have changed, as well as files that are directly associated with them.

  • Auto-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.

  • Content Delete remove the pages that have changed, as well as files that are directly associated with them.

Erklärung

Frage 23 von 25

1

Which two are valid CQ dispatcher cahcing methods?

Wähle eine oder mehr der folgenden:

  • Content Update : remove the pages that have changed, as well as files that are directly associated with them.

  • Content Delete : remove the pages that have changed, as well as files that are directly associated with them.

  • Dispatcher-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.

Erklärung

Frage 24 von 25

1

In which case a request is not cached by the dispatcher?

Wähle eine oder mehr der folgenden:

  • If the HTTP method is not GET. Other common methods are POST for form data and HEAD for the HTTP header.

  • If 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.

  • The file extension is missing. The web server needs the extension to determine the document type (the MIME-type).

  • The authentication header is set (this can be configured)

Erklärung

Frage 25 von 25

1

Which are some benefits of the AEm Dispatcher for load balancing?

Wähle eine der folgenden:

  • Increased processing and increased fail-safe coverage

  • Increased security

  • Increased data storage

Erklärung