SpinTheMic
Pro

Interview practice question

Untangling a fragile 2,000-line Bash deployment script

Cloud & DevOps · Linux and Scripting · Experienced

Your team relies on a 2,000-line Bash script for deployments that nobody understands and that breaks often. What would you do?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Document current behaviour.
  • Add safety (set -euo pipefail, ShellCheck).
  • Break into functions/modules with tests.
  • Replace with proper tooling (CI/CD, Ansible, Terraform).
  • Migrate incrementally.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics