XFN Leadership

How would you deal with a teammate who solely took credit for all the work done by the entire team?

Did you come across this question in an interview?

Interview question asked to Product Marketing Managers interviewing at DoorDash, Mastercard, Cloudera and others: How would you deal with a teammate who solely took credit for all the work done by the entire team?.