A developer running a local AEM instance and working on an AEM project needs to change a large number of files locally in filesystem. The developer needs to get the changes uploaded to the local AEM instance to verify changes almost immediately in the browser.
What action should the developer take to most efficiently meet these requirements?
A. Build a Content Package using maven and deploy it after each change
B. Make the changes in CRXDE, create a content package, download it and expand it into the working directory after each change
C. Install FileVault bundle in the AEM instance and register the local working directory for synchronization
D. Access CRXDE and upload the files through the interface
正解:C
質問 2:
A developer wants to create a Client Library that will only be included on touch enabled devices.
What action should the developer take to achieve this?
A. Set the channels property on the Client Library Folder to "touch"
B. Add the line "#base=touch" to the js.txt and css.txt files in the Client Library Folder
C. Create a resource folder called "touch" under the Client Library Folder
D. Pass the parameter user-agent='touch' when referencing the Client Library
正解:A
質問 3:
A developer is working on a complex project with multiple bundles. One bundle provides an OSGi service for other bundles.
Which two options are necessary to ensure that the other bundles can reference that OSGi service? (Choose two.)
A. The bundles consuming the service need to import the fully qualified name of the service interface.
B. The bundle providing the service needs to contain an adequate SCR descriptor file.
C. The service needs to correctly declare metatype information.
D. The bundle providing the service needs to export the java package of the service interface.
E. The bundle providing the service needs to contain a whitelist of allowed consumer bundles.
正解:A,D
質問 4:
An AEM site experiences slower page loads. A developer needs to identify the slow running requests.
How should a developer analyze the requests with long response times?
A. Use proxy.jar with the following command java -jar proxy.jar <host> <remoteport> <localport> to debug the webserver and AEM server communication
B. Embed /libs/foundation/components/timing component in the Page Component and verify the page load time
C. Download Heapdumps from Tools > Operations > Diagnosis and analyze the Heapdumps using the Memory Analyzer Tool
D. Use rlog.jar with the following command $ java -jar ../opt/helpers/rlog.jar -n 10 request.log to identify long running requests
正解:D
質問 5:
Which environment variable in the AEM start script should a developer modify to enable remote debugging?
A. CQ_HOST
B. CQ_RUNMODE
C. CQ_PORT
D. CQ_JVM_OPTS
正解:D
質問 6:
The dependency of an AEM project fails when a developer configures using Apache Maven. Refer to the error information below.
INFO] ---------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] ---------------------------------------
[ERROR] /training/core/src/main/java/com/adobe/training/core/listeners/SimpleResourceListener.java:[18,28] package org.apache.sling.api does not exist
[ERROR] /training/core/src/main/java/com/adobe/training/core/filters/LoggingFilter.java:[26,28] package org.apache.sling.api does not exist
[ERROR] /training/core/src/main/java/com/adobe/training/core/filters/LoggingFilter.java:[27,31] package org.apache.sling.engine does not exist
[ERROR] /training/core/src/main/java/com/adobe/training/core/models/HelloWorldModel.java:[22,37] package org.apache.sling.api.resource does not exist
[ERROR] /training/core/src/main/java/com/adobe/training/core/models/HelloWorldModel.java:[25,33] package org.apache.sling.api.settings does not exist
[ERROR] /training/core/src/main/java/com/adobe/training/core/models/HelloWorldModel.java:[31,13] cannot find symbol symbol: class SlingSettingsService location: class com.adobe.training.core.models.HelloWorldModel What should a developer add to the pom.xml to fix the Maven build?
A. "<dependency>
<groupId>com.adode.aem</groupId>
<artifactId>uber-jar</artifactId>
<version>6.4.0</version>
<classifier>apis</classifier>
<scope<provided</scope>
</dependency>"
B. <repository>
<id>adobe-public-releases</id>
<name>Adobe Public Repository</name>
<url>https://repo.adobe.com/nexus/content/groups/public/</url>
<layout>default</layout>
</repository>
</repositories>"
C. "<dependency>
<groupId>com.adode.aem</groupId>
<artifactId>aem-api</artifactId>
<version>6.4.0</version>
<classifier>apis</classifier>
<scope<provided</scope>
</dependency>"
D. "<resources>
<resource>
<directory>src/main/content/jcr_root</directory>
<filtering>false</filtering>
<excludes>
<exclude>**/.vlt</exclude>
<exclude>**/.vltignore</exclude>
<exclude>libs</exclude>
</excludes>
</resource>
</resources>"
"<repositories>
正解:A
973 お客様のコメント





Kurosaki -
解釈でわかりやく内容を明示。つまづきやすいポイントをフォローしてくれてる。合格力が効率的に身に付きます。そういうところもやはりPass4Test素敵だと思う点です