Mastercard interview question

Scenario based real life example and