Behavioural CompetencyHard

Imran is reviewing a pull request from Priya, a senior developer, and sees a possible hard-coded secret problem. Previous reviews of Priya's code were approved quickly by others. What is the BEST course of action?

  1. A. Comment on the issue with evidence and a suggested fix, and block the merge until it is addressed
  2. B. Approve it because Priya is senior and others approved before, because the team is under pressure already
  3. C. Fix it yourself in Priya's branch without comment, since that has worked on earlier projects
  4. D. Ask Priya to add a comment justifying it and approve in the meantime, to keep things moving for everyone

Correct answer: A. Comment on the issue with evidence and a suggested fix, and block the merge until it is addressed

Review exists to catch issues regardless of seniority; explicit feedback with a fix is transparent. Silent fixes or approving first defeat the purpose.

More Behavioural Competency (Capgemini) questions

Exams that ask this topic