>DevOps Interview KB

Configuration Interview Questions — All Categories

11 questions across 4 categories

How do you control the order Argo CD applies resources within a single Application, e.g. making sure a database migration Job completes before the Deployment that depends on it rolls out?

AdvancedArgo CDKubernetes8 min

How would you handle an Argo CD migration Job that should run on every sync versus one that should only run when the migration itself actually changed?

AdvancedArgo CDKubernetes7 min

If an Argo CD PreSync hook Job fails, does Argo CD retry it automatically? How would you make that retry behavior explicit instead of relying on defaults?

IntermediateArgo CDKubernetes6 min

How would you design a pipeline template that fails fast with a clear error when a required tool is missing on the agent, instead of a raw "command not found"?

IntermediateAzure Pipelines6 min

How would you use the Cache task in Azure Pipelines to speed up dependency installation, and what determines whether your cache key is actually effective?

IntermediateAzure Pipelines5 min

How would you scope an OIDC trust policy differently for a GitHub Actions workflow that runs on pull requests versus one that only runs on main?

AdvancedGitHub ActionsAWS8 min

Your GitHub Actions build spends 3 of its 5 minutes reinstalling the same dependencies every single run. How would you design caching to fix that without risking stale or corrupted cache issues?

IntermediateGitHub Actions6 min

You're testing a library against 4 language versions and 3 operating systems using a matrix build. One combination fails immediately, but you want the others to keep running. How do you configure that?

IntermediateGitHub Actions5 min

Your GitLab pipeline runs 6 stages sequentially, but half your jobs don't actually depend on each other. How would you use 'needs' to speed this up?

IntermediateGitLab CI/CD6 min

How do you make sure a production deployment token stored as a CI/CD variable can only ever be used by pipelines running against your main branch, not a random feature branch?

IntermediateGitLab CI/CD6 min

How would you write .gitlab-ci.yml rules to prevent duplicate pipelines from firing for both a branch push and its merge request?

IntermediateGitLab CI/CD6 min