Exam AD0-E103 All QuestionsBrowse all questions from this exam
Question 1

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?

    Correct Answer: D

    Inheriting from the teaser core component is the most maintainable approach because it allows the developer to reuse existing functionality while extending it to meet all specific requirements. This method avoids duplicating code and ensures future updates to the teaser core component will propagate to the custom component, enhancing maintainability and consistency.

Discussion
mtaracenaOption: D

Should be D, since teaser component doesn't match all requirements. should inherit from the teaser and implement missing requirements on the new component.