If getting on with your job when a customer has left $0.02 on the counter would be such a severe violation of your principles, you're likely unsuitable for jobs.
The question is hypothetical rather than practical, and in many roles (civil service, accountancy, law) demonstrated principles are a fundamental requirement.
The premise of the manager's hypothetical question was to determine whether someone is dishonest, which is flawed.