Bird
0
0

How can you combine container image scanning with automated deployment to improve security?

hard📝 Workflow Q8 of 15
Docker - Security
How can you combine container image scanning with automated deployment to improve security?
ADeploy images first, then scan containers manually after deployment
BIgnore scanning and rely on host firewall for security
CIntegrate image scanning in CI/CD pipelines to block vulnerable images from deployment
DUse scanning only on production images, not during development
Step-by-Step Solution
Solution:
  1. Step 1: Understand CI/CD integration

    Automated scanning in pipelines prevents vulnerable images from reaching production.
  2. Step 2: Evaluate other options

    Manual post-deployment scanning is late; ignoring scanning or limiting it reduces security.
  3. Final Answer:

    Integrate image scanning in CI/CD pipelines to block vulnerable images from deployment -> Option C
  4. Quick Check:

    Best practice = Scan in CI/CD pipelines [OK]
Quick Trick: Scan images during CI/CD to prevent risky deployments [OK]
Common Mistakes:
  • Scanning only after deployment
  • Ignoring scanning relying on firewalls
  • Skipping scans during development

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Docker Quizzes