최신 AD0-E103 무료덤프 - Adobe Experience Manager Developer
An application runs specific license checks against certain DAM assets every day. It should send an email to a configured list if it finds warnings, and mark the asset accordingly. A service component that uses the Apache Sling Scheduler Service is created. DAM assets that must NOT be used anymore are hidden using ACLs and the license check must re-check them.
How should a developer obtain a resource resolver that can read and update the DAM assets?
How should a developer obtain a resource resolver that can read and update the DAM assets?
정답: C
A developer is working on the following Sling Model that is being used in a component.
@Model(adaptables = SlingHttpServletRequest.class, defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL) public class SampleModel {
@Inject
private Page currentPage;
private boolead matchingTitle;
@PostConstruct
private void init(){
matchingTitle = title.equals(currentPage.getName());
}
public boolean isMatchingTitle(){
return matchingTitle;
}
}
The model must check if the configured value of the jct:title property for the component matches the same name of the current page. If the jcr:title property of the component has NOT been configured, then isMatchingTitle() must return false.
How should the developer inject the title property in this model?
@Model(adaptables = SlingHttpServletRequest.class, defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL) public class SampleModel {
@Inject
private Page currentPage;
private boolead matchingTitle;
@PostConstruct
private void init(){
matchingTitle = title.equals(currentPage.getName());
}
public boolean isMatchingTitle(){
return matchingTitle;
}
}
The model must check if the configured value of the jct:title property for the component matches the same name of the current page. If the jcr:title property of the component has NOT been configured, then isMatchingTitle() must return false.
How should the developer inject the title property in this model?
정답: D
A custom AEM application contains a service component that needs to access the JCR repository within the activate method. The activate method uses ResourceResolverFactory.getServiceResourceResolver(...) without specifying a sub service name.
What should a developer do to make sure the user service mapping for the service component is available?
What should a developer do to make sure the user service mapping for the service component is available?
정답: C
A developer creates a template-type for building editable templates.
The resulting editable templates and pages must always contain a specific layout container that can NOT be deleted by the author.
How should the developer meet this requirement?
The resulting editable templates and pages must always contain a specific layout container that can NOT be deleted by the author.
How should the developer meet this requirement?
정답: C
A custom AEM application contains Bundle A and Bundle B.
Bundle A has a dependency to Bundle B via Import-Package.
How can both bundles be deployed most efficiently across all environments?
Bundle A has a dependency to Bundle B via Import-Package.
How can both bundles be deployed most efficiently across all environments?
정답: A
There are performance, stability, and security issues with an installed AEM instance.
What should a developer do to fix these issues?
What should a developer do to fix these issues?
정답: D
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?
* 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?
정답: C
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?
How should a developer analyze the requests with long response times?
정답: A
A developer creates a custom Client Library named foobar.
This Client Library embeds 5 other Client Libraries and contains 10 JavaScript source files. One of these files, called foo.js, has a bug on line 8 which causes an exception. The Client Library is throwing this exception on line 1350 when it is included on a webpage.
How should a developer find the exact line in foo.js where the exception has been thrown?
This Client Library embeds 5 other Client Libraries and contains 10 JavaScript source files. One of these files, called foo.js, has a bug on line 8 which causes an exception. The Client Library is throwing this exception on line 1350 when it is included on a webpage.
How should a developer find the exact line in foo.js where the exception has been thrown?
정답: D
A developer needs to create a new component called "Component A". Component A must show a list of other components that all have a resource type of existing "Component B". Component A must render this list of tiles for each Component B where the tile rendering is different from the default one. The list of rendered tiles must be reusable by future new components.
How should the developer implement this functionality?
How should the developer implement this functionality?
정답: C