Your organization deploys applications as Docker containers and you want to detect known vulnerabilities in the Docker images used for provisioning. You need to integrate image scanning into the application lifecycle and surface vulnerabilities as early as possible. What should you configure?
Choose an answer
Tap an option to check your answer.
Correct answer: a task executed in the continuous integration pipeline and a scheduled task that analyzes the image registry.
Why this is the answer
The correct approach is to integrate image scanning early and continuously. A task in the continuous integration (CI) pipeline scans images as they are built, catching vulnerabilities before deployment. This "shift-left" strategy is crucial for early detection. Additionally, a scheduled task that analyzes the image registry ensures that images already built and stored are re-scanned periodically. This addresses new vulnerabilities discovered after an image was initially built, even if it hasn't been re-built. Manual tasks are inefficient and prone to human error. Scanning only during continuous deployment (CD) or against running production containers misses the opportunity for early detection and remediation, making it more costly and riskier to fix issues. Scanning only the production container also doesn't address vulnerabilities in the image itself, only the running instance.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed