Tell me about a time you blocked a pull request.
BeginnerBehavioralSaying no: risk, unsafe deploys & quality
Answer
What they're really testing → Code review with a constructive tone.
Sample STAR answer →
- Situation: A PR added an AWS access key and secret as plain environment variables in a GitHub Actions workflow file.
- Task: Block it, and help the author do it right.
- Action: I requested changes, explained the risk, and suggested OIDC with
aws-actions/configure-aws-credentialsandrole-to-assumeso no long-lived keys were needed. I linked our example workflow. I also asked the author to rotate the key since it was in Git history. - Result: Fixed the same day, key rotated, and we added Gitleaks to pre-commit and CI.
Avoid → A harsh "this is wrong" review with no guidance.
More on Saying no: risk, unsafe deploys & quality
Tell me about a time you pushed back on an unsafe production deploy.IntermediateDescribe a time you stopped a release that the business wanted badly.AdvancedTell me about a time you were asked to skip testing to meet a deadline.BeginnerTell me about a time you insisted on a change freeze.IntermediateTell me about a time you refused to grant someone production access.IntermediateDescribe a time you had to push back on a deadline.Beginner