Capgemini interview question

How do you design Training and inference pipelines?