Capgemini interview question

Lightning Web Component Trigger scenario based coding