AD0-E103 無料問題集「Adobe Experience Manager Developer」
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?
正解:B
解答を投票する
A developer has a component named foobar with the following file:
FooBar.java
import com.adobe.cq.sightly.WCMUsePojo;
public class FooBar extends WCMUsePojo; {
@Override
public void activate() throws Exception {}
public String getLink() {
return "http://www.foo'bar.com";
}
public String getText() {
return "foo'bar";
}
}
foobar.html
<div data-sly-use.fooBar="FooBar">
<a href="${fooBar.link}" title="${fooBar.text}">
${fooBar.text}
</a>
</div>
What is the output when the component is rendered?
FooBar.java
import com.adobe.cq.sightly.WCMUsePojo;
public class FooBar extends WCMUsePojo; {
@Override
public void activate() throws Exception {}
public String getLink() {
return "http://www.foo'bar.com";
}
public String getText() {
return "foo'bar";
}
}
foobar.html
<div data-sly-use.fooBar="FooBar">
<a href="${fooBar.link}" title="${fooBar.text}">
${fooBar.text}
</a>
</div>
What is the output when the component is rendered?
正解:C
解答を投票する
After a recent code deployment, an AEM site is experiencing longer than usual query execution time. The deployment package contained some new Lucene index definitions. A developer needs to identify the long running queries and confirm that the new index definitions are getting applied correctly.
Which action should the developer take to investigate this problem?
Which action should the developer take to investigate this problem?
正解:A
解答を投票する
A developer needs to create a banner component. This component shows an image across the full width of the page. A title is shown on top of the image. This text can be aligned to the left, middle, or right. The core components feature a teaser component which matches almost all requirements, but not all.
What is the most maintainable way for the developer to implement these requirements?
What is the most maintainable way for the developer to implement these requirements?
正解:B
解答を投票する
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?
正解:B
解答を投票する
A developer has a component located under the path /apps. This component has a Client Library which is directly loaded onto a page. The publish instance loads the page correctly. The dispatcher also loads the page but the Client Library is missing.
How should the developer resolve this issue, while taking security into consideration?
How should the developer resolve this issue, while taking security into consideration?
正解:D
解答を投票する