全部文章
Technical skills

DevOps 初筛面试问题:给招聘人员的 7 个问题(已在 Claude 和 Gemini 中测试)

别问 DevOps 候选人术语是什么意思,问他们做过、修过、搞砸过什么。7 个问题、该听什么,以及 AI 的建议哪里不对。

  • Better hires
  • Consistent decisions
  • Saves time

2026年10月1日 · 6 分钟阅读

提示词为英文:在各类AI工具中英文提示词效果最佳。

七个问题,20 分钟,没有一个以"什么是"开头。这是 Claude 为一位无法判断技术深度的招聘人员写的初筛题。七个问题问的都是候选人自己做过什么。

简短回答: 好的 DevOps 初筛问题要的是一个真实的故事:他们提速过的流水线、上线过的 Terraform 变更、处理过的故障。定义类问题("什么是 CI/CD?")可以背。要听的是:一个具体问题、他们自己做了什么、结果如何。下面是 7 个经过测试的问题,以及 AI 的建议哪里不对。

打电话之前

岗位:一家 60 人软件公司的中级 DevOps 工程师。GitHub Actions 流水线,AWS 上的 Terraform(通过编写文件而不是点鼠标来搭建云服务器),Docker 和 Kubernetes(读作 "库伯尼特斯",在生产环境中运行大量打包好的应用),监控和值班。

Claude 还列出了岗位描述中不清楚的地方。先去问用人经理:

1. Will this person be the only DevOps engineer, or join a team?
2. What does "mid-level" mean here, and is production Kubernetes a must?
3. Is Kubernetes already set up, and is it Amazon's managed version (EKS)?
4. How often is on-call, how many people share it, and is it paid?
5. Which monitoring tools do we use?
6. What's wrong with the current pipelines: speed, reliability, something else?

通话时,每个问题花 2-3 分钟。如果回答一直很笼统,就问:"能说一个你做这件事的具体例子吗?" 每个问题记录:有没有具体的故事,是或否;有没有数字,并且能说清楚怎么衡量的,是或否。第 1-5 题大部分为"是",即使第 6、7 题答得弱,也可以进入技术面。

7 个问题及点评

内容摘自 Claude 的回答并有删减。我们去掉了它列举的工具示例(Datadog、Vault 等);后面的统计用的是它的完整回答。

1. Tell me about a build-and-deploy pipeline you worked on, for example in GitHub Actions. What was wrong with it or slow about it, and what did you change?
STRONG: names a specific problem ("deploys took 40 minutes"); a before and after; clear about their part vs the team's.
WEAK: only describes what the pipeline does; no problem, no result.
FOLLOW-UP: How did you make sure your change didn't break deploys for the rest of the team?

我们的点评: AI 想要"前后对比的结果,最好有数字"。数字很容易编。再追问一句:"你是怎么衡量的?"

2. Walk me through something you built or changed on AWS using Terraform. What was it, and how did you get the change safely into production?
STRONG: a real thing they built (a database, a network); reviews a preview of the change first (often called a "plan"); tests outside production.
WEAK: sets things up by clicking in the AWS website; only ran Terraform someone else wrote; applies straight to production.
FOLLOW-UP: Tell me about a time a Terraform change did something you didn't expect.
3. Tell me about an app you ran on Kubernetes in production. What was your part in it, and what's one problem you had to fix there?
STRONG: a live system with real users and a sense of size; a concrete problem (apps restarting, running out of memory) and how they found the cause.
WEAK: only courses or personal projects; no problem they fixed themselves.
FOLLOW-UP: Who set up that Kubernetes system in the first place, you or someone else?

我们的点评: 整套题里最好的追问。对中级来说,维护别人搭好的集群没问题,只要你清楚是哪种情况。

4. Tell me about the worst production outage or incident you handled while on call. What happened, what did you do, and what changed afterwards?
STRONG: a clear order (how they found out, narrowed it down, fixed it); kept others informed; a lasting fix, no blaming.
WEAK: never on call; blames another team; ends at "we restarted it".
FOLLOW-UP: Did an alert tell you something was wrong, or did a customer? (An alert is better. A customer is OK if they then added an alert.)
5. Tell me about monitoring or alerting you set up or improved. How did you decide what should wake someone up at night and what could wait?
STRONG: says what they measured, not only which tool; cut noisy alerts; ties alerts to what customers feel ("logins are failing").
WEAK: lists tools only; thinks more alerts is always better.
FOLLOW-UP: What's an alert you removed because it wasn't useful?
6. (Nice to have) Have you ever reduced a company's AWS bill? What did you find and what did you change?
STRONG: how they found the waste (unused or oversized servers, old storage); checked reliability didn't suffer.
WEAK: "that was finance's job"; general ideas, none done.
FOLLOW-UP: How did you keep the costs from creeping back up?

我们的点评: AI 补充说,对于加分项,回答"没有,但我会这样做"也可以。这一点要保留。

7. (Nice to have) How were passwords, API keys and other secrets handled in a pipeline you worked on? Did you ever change how that was done?
STRONG: a secure secrets store, never in the code; automatic scans; a story about rotating a leaked key.
WEAK: "fine in the code if the repo is private"; no idea how it was done.
FOLLOW-UP: What would you do if a key was accidentally published in code? (Replace the key right away. Deleting the file is not enough.)

Gemini 针对同一岗位写了什么

Gemini(gemini-3.8-flash,通过 API,同样的提示词、同一天)同样没有问定义,但它的七个问题里有两个是假设题:"Imagine a software service running in Kubernetes suddenly crashes...",以及如何应对一个赶进度的开发。按我们脚本的统计,它的强信号里出现了 20 个工具和技术术语,Claude 是 8 个:

Gemini 的强信号或弱信号 为什么不能用在初筛中 应该听什么
提到 "kubectl describe" 谁都能突击背下来的命令 他们怎样按顺序找到原因
"OOMKilled" 凭耳朵无法核实的行话 什么出了问题、他们改了什么
弱信号:"说不出任何用于扫描容器的工具" 考的是词汇量 修复某个有风险问题的故事
"回答迅速、毫不犹豫" 奖励口才好的人,对母语不是该语言的人不利 清晰的步骤顺序,不论语速

Gemini 确实多加了一个好问题:如何回应想马上上线的开发。把它作为第八个问题来问,并用 Gemini 自己的追问:"Can you share a real example?"

为其他岗位生成你自己的题目

PERSONA
You are a senior DevOps engineer helping a recruiter who is not technical run a 20-minute phone screen.

TASK
Write 7 screening questions for the job below.

CONTEXT
- The recruiter will read the questions aloud and take notes. They cannot judge technical depth on their own.
- Prefer questions about what the candidate actually did and how they handled a real situation. Avoid definition questions that can be memorized ("What is CI/CD?").
- For each question, give 2-3 signals of a strong answer and 2-3 signals of a weak answer, in plain words a non-technical person can hear in an answer.
- Do not ask about age, family, nationality, health or anything not related to the job.
- If a requirement in the job is unclear, say so instead of guessing.

FORMAT
For each question: the question, what it checks (one line), strong signals, weak signals, one follow-up.

JOB
[paste the job: level, company size, must-haves, nice-to-haves]

它应该也能粘贴到 Microsoft Copilot 中使用,但我们只在 Claude 和 Gemini 中测试过。

初筛中绝对不要出现这些

  • 关于年龄、家庭、国籍或健康的问题。即使如此,也要检查输出。
  • 把 Kubernetes 的使用年限当作通过或淘汰的标准。问他们用它做过什么。
  • 把 AI 的信号当作淘汰清单。讲故事类的问题对表达流利的人有利,所以请记录他们的原话,最后由人来决定。

下一步: 初筛之后的环节,请看不懂技术栈也能问的技术面试问题,并用结构化面试评分表保证评分公平。

This article is general information, not legal advice. Laws differ by country and change often, so consult your lawyer before you rely on it for your situation.

继续阅读