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

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.

B.

C.

D.

    Correct Answer:

    The correct node structure that the developer needs to create in CRX to make sure that the code shown is executed successfully is C. To fetch stock prices for a specific stock symbol and be triggered every 5 minutes, the configuration should be done under /etc/importers/polling/ with the correct mixin type, source, interval, and target settings. The interval of 300 seconds (5 minutes) is correctly specified as well. Thus, node structure C is appropriate because it fits the context and requirements outlined in the question and the code snippet provided.

Discussion
AkashD

Correct answer is C.

lexxxz88

The confirmation: https://stackoverflow.com/a/31435442

chat_c

Correct, ref: https://experienceleague.adobe.com/docs/experience-manager-64/developing/platform/custom-nodetypes.html?lang=en#dam

goelamit1982

Correct answer is C only..