If a data analyst compares the cost of an investment to the net profit of that investment over a period of time, they’re analyzing the investment scope.

Correct
If a data analyst compares the cost of an investment to the net profit of that investment over a period of time, they’re analyzing the return on investment.