Skip to content

Quiz: AI Tools for DevOps

← Back to quiz index

3 questions

L0 (1 questions)

1. What are three things you should never paste into an AI tool like ChatGPT or Claude when asking for DevOps help?

Show answer 1. Secrets, API keys, or credentials.
2. Unsanitized logs containing internal IPs, usernames, or hostnames.
3. Sensitive compliance data (SOC2, HIPAA-relevant information). Always sanitize before sharing.

L1 (1 questions)

1. Explain the prompt engineering technique of 'prompt chaining' and give a DevOps example.

Show answer Prompt chaining breaks a complex task into a sequence of smaller prompts where each builds on the previous output. DevOps example:
1. 'Read this Terraform state and list all resources.'
2. 'Design a migration plan to split into three state files.'
3. 'Generate the terraform state mv commands for phase 1.'
4. 'Write a validation script to verify after migration.'

L2 (1 questions)

1. When would you choose Claude Code over GitHub Copilot, and when would Copilot be the better choice?

Show answer Claude Code is better for interactive debugging with live terminal commands, learning a new codebase by reading files, and writing one-off scripts with iterative refinement. Copilot is better for inline code completion as you type in the editor, boilerplate generation, and completing patterns with zero friction. Claude Code excels at multi-step tasks requiring terminal access; Copilot excels at in-editor flow.