CCCS-203B · Question #208
When reviewing container images in a cloud environment for security vulnerabilities, which of the following practices is considered the most effective in ensuring a secure deployment?
The correct answer is C. Use a scanning tool to identify vulnerabilities and ensure all detected issues are addressed before. Option A: Encryption helps protect the image from unauthorized access during storage or transit but does not address vulnerabilities within the image itself. Option B: While cloud provider images may have baseline security, they are not immune to vulnerabilities, especially as…
Question
When reviewing container images in a cloud environment for security vulnerabilities, which of the following practices is considered the most effective in ensuring a secure deployment?
Options
- AEncrypt the container images to prevent unauthorized access.
- BRely on the cloud provider's default container images for security.
- CUse a scanning tool to identify vulnerabilities and ensure all detected issues are addressed before
- DManually review the Dockerfile for potential vulnerabilities and remove any unnecessary lines.
How the community answered
(31 responses)- A6% (2)
- B10% (3)
- C81% (25)
- D3% (1)
Explanation
Option A: Encryption helps protect the image from unauthorized access during storage or transit but does not address vulnerabilities within the image itself. Option B: While cloud provider images may have baseline security, they are not immune to vulnerabilities, especially as dependencies update over time. Trusting default images without further review can lead to unnoticed vulnerabilities being deployed. Option C: Using a scanning tool is an industry-standard best practice for identifying vulnerabilities in container images. Tools like CrowdStrike Falcon Horizon, Aqua Security, or Snyk can analyze images for known vulnerabilities in their dependencies and configurations. Addressing the issues before deployment reduces the risk of exposing a production environment to potential exploits. Option D: While reviewing the Dockerfile is a good practice, it is insufficient on its own. Automated scanning tools can identify vulnerabilities in underlying layers and dependencies that manual reviews might miss.
Topics
Community Discussion
No community discussion yet for this question.