Behavioural CompetencyHard
Arjun is reviewing a pull request from Gaurav, a senior developer, and sees a possible race condition problem. Previous reviews of Gaurav's code were approved quickly by others. What is the BEST course of action?
- A. Comment on the issue with evidence and a suggested fix, and block the merge until it is addressed
- B. Approve it because Gaurav is senior and others approved before, since that has worked on earlier projects
- C. Fix it yourself in Gaurav's branch without comment, to keep things moving for everyone
- D. Ask Gaurav to add a comment justifying it and approve in the meantime, because the team is under pressure already
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.
Practise more Behavioural Competency (Capgemini) questionsBehavioural Competency (Capgemini): notes and key points
More Behavioural Competency (Capgemini) questions
- Divya breaks a build server in the test environment while experimenting, blocking Rekha's team for the afternoon testing slot. Nobody…
- Karan, a new joiner, realises during a call with the product owner that the client has misunderstood what was agreed regarding the…
- A production issue in a telecom client's reconciliation job is traced to a change Karan deployed that afternoon. The client has not yet…
- Ananya is asked to demo a reporting feature to the client that is only 70% built. Shreya, the product lead, wants it to look finished…
- Rohan suspects a colleague Varun is exaggerating hours on the time-and-material timesheet by about an hour a day. Rohan has noticed it in…
- Sneha is the on-call analyst and gets an alert at 3 am for a job failure that has been seen twice this month and auto-recovered each time…