GitLab Interview Questions
10 questions
Questions on GitLab as a platform — project and permission structure, and how it differs from other Git hosting in day-to-day DevOps work.
How would you configure GitLab merge request approval rules so that changes to a payments module always require sign-off from the payments team specifically, not just any two approvers?
IntermediateGitLab CI/CD6 min
A teammate accidentally merged a merge request that was still a work in progress, because nothing in GitLab's workflow signaled it wasn't ready. How would you prevent this going forward?
BeginnerGitLab CI/CD5 min
Two approved merge requests are merged to main within minutes of each other, and the second one breaks the build even though it passed CI on its own branch. How does GitLab's merge trains feature prevent this?
IntermediateGitLab CI/CD6 min
A compliance requirement mandates that every commit merged into a regulated project be cryptographically signed and traceable to a verified author. How would you enforce this in GitLab?
AdvancedGitLab CI/CD7 min
Reviewers keep approving frontend PRs based on reading the diff alone, and subtle visual bugs keep slipping through to production. How would GitLab Review Apps address this?
IntermediateGitLab CI/CD6 min
A merge request's 'Merge' button is greyed out with the widget stuck on 'Checking if merge request can be merged...' indefinitely, even though the pipeline passed. How do you debug this?
IntermediateGitLab CI/CD6 min
What's the actual difference between GitLab's Developer, Maintainer, and Owner roles in terms of what each one can do to a protected branch and CI/CD variables?
BeginnerGitLab6 min
How do GitLab's group-level and project-level roles interact when a user has different roles assigned at each level?
IntermediateGitLab6 min
How would you structure GitLab protected branch rules differently for a fast-moving startup versus a regulated environment requiring strict change control?
IntermediateGitLab6 min
What's the difference between a "Protected" and a "Masked" GitLab CI/CD variable, and why would you want both on the same variable?
BeginnerGitLab CI/CD5 min