EPAM Systems interview question

cache vs persist? iterator vs generator?