FM interview question

Best OOP practices, layered architecture, security