AI Hints
CI/CD with GitHub Actions · Lesson 127 of 138

Interview Question 1

CI versus CD.

⏱ 2 min read▶ Video at 2:27:39🎓 Free
Watch this lesson in the CI/CD with GitHub Actions courseWatch on YouTube ↗Full CI/CD with GitHub Actions course

Let's practise some interview questions. The first one is very common. What's the difference between continuous integration, continuous delivery, and continuous deployment?

Interview Question 1
From the video: Interview Question 1
  • A very common question
  • CI, delivery, deployment
  • What's the difference?

A strong answer

Start with integration. Developers merge small changes often, and every change is built and tested automatically. Delivery adds packaging, so every passing change is ready to release, with one click. Deployment goes one step further. Every passing change goes to production automatically, with no human step.

  1. CI: merge and test often
  2. Delivery: always releasable
  3. Deployment: auto to prod
A strong answer
From the video: A strong answer

Make it stand out

Give an example from your own work, like a pipeline you built. Mention the trade off. Deployment needs very good tests and monitoring. And say why it matters. Small, frequent changes are easier to review, test, and roll back.

keyvalue
Examplea pipeline you built
Trade-offneeds great tests
Whysmall changes, low risk
Keep it shortabout a minute

A likely follow-up

Interviewers often ask, which one does your team use, and why? A good answer is honest. Many teams do continuous delivery, with an approval before production, because they need a human check, or have rules to follow. Others deploy automatically, because their tests and monitoring are strong. Explain which fits, and what would need to change to move further.

keyvalue
Which do you use?be honest
Deliveryapproval before prod
Deploymentstrong tests, monitoring
What's missing?to go further

Summary

CI tests every change, delivery keeps every change releasable, and deployment releases automatically. Next, a question about secrets.

Key takeaways
  • CI: test every change
  • Delivery: ready
  • Deployment: automatic
Next up: Interview Question 2 — keeping secrets safe