Intermediate Code Reading #yaml #config #devops

⚙️ Reading Config Files

3 exercises — read YAML and configuration files and describe them in plain English. Essential for documentation, onboarding, and code reviews.

0 / 3 completed
Describing config files — key phrases
  • "This setting tells the application to listen on / use / enable…"
  • "This value is read from an environment variable, so it can differ between environments."
  • "The service will restart automatically / wait for X before starting…"
  • "Data is persisted in a named volume, meaning it survives container restarts."
  • "The workflow triggers when code is pushed to / a pull request is opened against…"
1 / 3
Read this CI/CD pipeline configuration. Which plain-English description is most accurate?
name: Deploy to Production
on:
  push:
    branches: [main]
jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Install dependencies
        run: npm ci
      - name: Run tests
        run: npm test
      - name: Build
        run: npm run build
      - name: Deploy
        run: ./scripts/deploy.sh
        env:
          SSH_KEY: ${{ secrets.SSH_KEY }}