Data Ingestion and Transformation

One ingestion processor calculates a running total for each customer across records. Another converts each record's temperature from Fahrenheit to Celsius independently. How should these processors be classified?

Show the answer

Correct answerD. The running total is stateful; the conversion is stateless.

AWhy not this: The temperature conversion does not need information retained from earlier records.

BWhy not this: The classifications are reversed: accumulation requires state, while an independent conversion does not.

CWhy not this: The running total requires accumulated information from earlier records.

DWhy this is right: The running total retains cross-record information; the temperature conversion uses only its current input.

A running total requires retained information from earlier records, making it stateful. An independent temperature conversion is stateless because its output depends only on the current record; performing a calculation does not itself require state.