GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

AEM 2

F P 53 Fragen

Quiz starten

Fragen in diesem Quiz (53)

  1. 1A project depends on package x,y,z from another OSGi bundle. The bundle-plugin Import Package configuration is as follows:
    Import-Package: x,y,z; version=”[1.2,2)”
    Which versions are accepted by the configuration?
    1. AVersions between 1.2 and 2, excluding versión 1.2, including version 2
    2. BVersions between 1.2 and 2, excluding versión 1.2 and 2
    3. CVersions between 1.2 and 2, including versión 1.2, excluding version 2
    4. DVersion 1.2 and version 2.
  2. 2A developer is adding the ?debugClientLibs=true parameter to a request. How should the generated client libraries be changed?
    1. AThe client libraries will contain generated contents indicating the file name that contains the following embedded content.
    2. BThe client libraries will contain an @import statement showing the file name to be embedded.
    3. CThe client libraries will contain an @include statement showing the file name to be embedded
    4. DThe client libraries will NOT be generated and the individual CSS and JS will be loaded instead
  3. 3A developer has installed an AEM instance on a Windows server running with author runmode. The developer needs to change the runmode to publish…. What steps should the developer take?
    1. AEdit the crx-quickstart/launchpad/sling.properties file and change sling.runmodes to publish
    2. BRename the AEM JAR file to aem-publish-p4503.jar
    3. CThe runmode CANNOT be changed from author to publish after initial install
    4. DEdit the crx-quickstart/bin/start.bat and change the CQ_RUNMODE to publish
  4. 4A developer needs to change the default token expiration from 12 hours to 14 days. Which OSGi configuration should the developer modify?
    1. AApache jackrabbit oak TokenConfiguration
    2. BAdobe CRX Token Authentication handler: Cleanup task
    3. CDay CRX Token Authentication Handler
    4. DAdobe Granite Access Token Provider
  5. 5A developer defines the following SCR annotation:

    SlingServlet(
    paths={“/service/sampleservlet.json”},
    resourceTypes={“sling/servlet/default”},
    extensions={“json”},
    label=”Sample Servlet”,
    metatype=”true”,
    selectors={“sample”})

    Which statement supports a servlet using the SCR annotation above? (Choose two)
    1. AIf neither “paths” nor “resourceTypes” is set, the Servlet Service is ignored.
    2. B“extensions” property takes precedence over “selectors” property.
    3. CIf “methods” property is missing, the value defaults to POST, regardless of which methods are implemented/handled by the servlet
    4. DRegistration properties “resourceTypes”, “selectors”, “extensions” and methods are ignored because the “paths” properties is set.
  6. 6A folder and a child node are created in the repository with the following steps.
    Create a folder with “config.stage.publish” as its name and “sling:Folder” as its type.
    Create a child node with “sling:OsgiConfig” as its type
    Which statement best describes what the developer is trying to accomplish?
    1. ACreate and manage an OSGi configuration for the Stage Publish instance.
    2. BCreate and manage an AEM Packages for the Stage Publish instance
    3. CCreate and manage an Client library for the Stage Publish instance
    4. DCreate and manage an Sling Mappings for the Stage Publish instance
  7. 7A new project is required to connect an external MySQL datasource. Which OSGi Service should the developer configure to accomplish this?
    1. AConnections to relational databases are NOT possible
    2. BApache Sling connection datasource
    3. CApache Sling JNDI datasource
    4. DDay Commons JDBC Connection pool
  8. 8A developer is using a maven project to manage dependencies and builds for an AEM application. The developer adds a new dependency for an external library. After building the project and deploying it to AEM, the bundle does NOT load due to a missing dependency on the external library …. change is required in the bundle POM file to fix this issue?
    1. AAdd the external library package to the Include-resource configuration of the maven-bundle-plugin to make include the external library classes as part of the bundle.
    2. BAdd the external library package to the Private-resource configuration of the maven-bundle-plugin to make include the external library classes as part of the bundle.
    3. CAdd the external library package to the Export-resource configuration of the maven-bundle-plugin to make include the external library classes as part of the bundle.
    4. DAdd the external library package to the Import-resource configuration of the maven-bundle-plugin to make include the external library classes as part of the bundle.
  9. 9A parent pom.xml contains the following dependency in the dependencyManagement section:
    <dependency>
    <groupId>javax.jcr</groupId>
    <artifactId>jcr</artifactId>
    <version>2.0</version>
    <scope>provided</scope>
    </dependency>
    What are two functions of the dependencyManagement in the common parent pom.xml file? (choose two)
    1. ATo limit the transitivity of a dependency
    2. BTo control the versions of artifacts used in transitive dependencies.
    3. CTo identify dependencies of the project.
    4. DTo consolidate and centralize the management of dependency versions
  10. 10A developer needs to obtain a property value created with a design dialog. Which sintax should the developer use in the developers AEM component .jsp script to obtain this property value?
    1. Aproperties.get(“propertyName”, “”);
    2. BcurrentStyle.get(“propertyName”, “”);
    3. CcurrentNode.getDesignProperty(“propertyName”, “”);
    4. DcurrentPage.getDesignDialog(“propertyName”, “”);

Informationen

Beschreibung
AEM
Autor
F P
Sprache
Español
Aufrufe
59
Schlagwörter
aemteachingaem
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck