Bird
0
0

You want to ensure your Docker host complies with CIS benchmarks and automatically fix non-compliant container configurations. Which approach is best?

hard📝 Workflow Q8 of 15
Docker - Security
You want to ensure your Docker host complies with CIS benchmarks and automatically fix non-compliant container configurations. Which approach is best?
ADisable all containers that fail CIS checks
BUse Docker Bench Security for scanning and a configuration management tool to enforce fixes
COnly run Docker Bench Security manually when issues arise
DRely on Docker default settings without additional tools
Step-by-Step Solution
Solution:
  1. Step 1: Understand CIS benchmark scanning and fixing

    Docker Bench Security scans and reports issues but does not fix them automatically.
  2. Step 2: Combine scanning with enforcement

    Use a configuration management tool (like Ansible) to apply fixes based on scan results.
  3. Final Answer:

    Use Docker Bench Security for scanning and a configuration management tool to enforce fixes -> Option B
  4. Quick Check:

    Scan + enforce fixes = Best compliance approach [OK]
Quick Trick: Combine scanning with automation tools for compliance [OK]
Common Mistakes:
  • Expecting Docker Bench Security to fix issues automatically
  • Ignoring scan results until problems occur
  • Disabling containers without root cause analysis

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Docker Quizzes