IBM Interview Question

Scenario questiion