The developer is presented with a component "Component A" which inherits from a component "Component B".
The dialog of Component A on path ../cq:dialog/../../items looks like:
+ align
- jcr:primaryType="nt:unstructured"
- sling:resourceType="granite/ui/components/coral/foundation/form/select"
- fieldLabel="Align Text"
- name="./align"
The dialog of Component B on path ../cq:dialog/../../items looks like:
+ title
- jcr:primaryType="nt:unstructured"
- sling:resourceType="granite/ui/components/coral/foundation/form/textarea"
- fieldLabel="Title"
- name="./title"
+ description
- jcr:primaryType="nt:unstructured"
- sling:resourceType="granite/ui/components/coral/foundation/form/textarea"
- fieldLabel="Description"
- name="./description"
The requirement for the dialog is that the *Align Text* field is shown after the *Title* field.
What should the developer do without changing Component B?
A. Move all the nodes under the item node from Component B to Component A and order them according the requirements.
B. Add the property sling:orderBefore="description" to the align node.
C. Extend Component B with the functionality of Component A
D. Move the align node from Component A to Component B and order them according the requirements.
正解:B
質問 2:
Two AEM publish instances feed a single Dispatcher.
Which part of the Dispatcher configuration should a developer review to ensure both AEM publish instances are used?
A. cache
B. virtualhosts
C. farms
D. filter
正解:C
質問 3:
A developer creates the following code snippet to implement a simple polling importer to fetch stock prices from an external source:
The polling importer needs to fetch stock prices for a specific stock symbol and needs to be triggered every 5 minutes.
Which node structure should the developer create in CRX to make sure that the code shown is executed successfully?
A. Option C
B. Option A
C. Option D
D. Option B
正解:A
解説: (Pass4Test メンバーにのみ表示されます)
質問 4:
A developer creates an OSGi service to access JCR content. Refer to the code snippet from the OSGi service below.
public class AccessRepository {
private static final String SERVICE_ACCOUNT_IDENTIFIER = "sample-service";
...
private final String getServiceUser() {
final Map<string, object=""> authInfo = Collections.singletonMap(ResourceResolverFactory.SUBSERVICE, (Object) SERVICE_ACCOUNT_IDENTIFIER); ResourceResolver serviceResolver = resourceResolverFactory.getServiceResourceResolver(authInfo))
...
}
}
Bundle ID = com.adobe.aem.samples-bundle
Which set of steps should the developer take to make sure that the code works?
A. "1. Create an AEM User called systemUser with appropriate ACLs
2. Modify the Apache Sling Service User Mapper Service Amendment
3. Set user.default to com.adobe.aem.samples-bundle:sample-service=systemUser"
B. "1. Create a System User called systemUser with appropriate ACLs
2. Modify the Apache Sling Service User Mapper Service Amendment
3. Set user.default to com.adobe.aem.samples-bundle:sample-service=systemUser"
C. "1. Create an AEM User called systemUser with appropriate ACLs
2. Modify the Apache Sling Service User Mapper Service
3. Set user.default to com.adobe.aem.samples-bundle:sample-service=systemUser"
D. "1. Create a System User called systemUser with appropriate ACLs
2. Modify the Apache Sling Service User Mapper Service
3. Set user.default to com.adobe.aem.samples-bundle:sample-service=systemUser"
正解:D
質問 5:
A developer needs to ensure that the path /content/<proj>/segments exists on all environments with the correct initial content that the developer provides in a package. Content that exists in that path should NOT be affected.
Which import mode should the developer use in the filter definition?
A. update
B. merge
C. replace
D. optional
正解:B
質問 6:
From which AEM Web Console should a developer access and download full AEM Log Files?
A. AEM -> Log files
B. OSGI -> Sing Log Service
C. Web Console -> System Information
D. Status -> Log files
正解:D
質問 7:
A developer is creating a custom component that shows a list of pages. For each page, the following items must be shown:
* Title of the page
* Description of the page
* A button with fixed text "Read more" that must be translatable
All of the above fields must be wrapped in a <div> tag.
The logic for obtaining the list of pages must be reusable for future components.
Which snippet should the developer use to meet these requirements?
A. Option C
B. Option A
C. Option D
D. Option B
正解:A
解説: (Pass4Test メンバーにのみ表示されます)
質問 8:
The custom AEM application needs to keep a flat list of all page paths underneath /content/thesite in memory for a real-time integration with high performance requirements.
The developer has the following intermediate state of the class:
What action should the developer take to meet these requirements?
A. Option C
B. Option A
C. Option D
D. Option B
正解:B
質問 9:
A custom AEM application is using the PageManager API.
What should a developer add to make the application compile and run correctly in AEM?
A. a maven dependency to AEM uber-jar to the application bundle
B. a maven dependency to bundle cq-wcm-api to the content package
C. a maven dependency to AEM uber-jar to the content package
D. a maven dependency to bundle cq-wcm-core to the application bundle
正解:A
林絵** -
AD0-E116問題集を利用したので、自信満々です。AD0-E116試験に満点で合格しました。ありがとうございました。