nerdexam
Adobe

AD0-E128 · Question #66

Which method is used to define a custom Sling Model in AEM?

The correct answer is B. @Model(adaptables = Resource.class). See the full explanation below for the reasoning.

Question

Which method is used to define a custom Sling Model in AEM?

Options

  • A@SlingServlet
  • B@Model(adaptables = Resource.class)
  • C@OSGiService
  • D@Component(adaptable = AEM.class)

How the community answered

(24 responses)
  • A
    4% (1)
  • B
    75% (18)
  • C
    13% (3)
  • D
    8% (2)

Community Discussion

No community discussion yet for this question.

Full AD0-E128 Practice