An enterprise application runs in a cloud environment using containerized microservices operating under an immutable infrastructure deployment model. A vulnerability scan detects a critical remote code execution vulnerability within a software library contained inside several active production containers. Which of the following patch and configuration management practices should the security team perform to resolve the vulnerability?
- AExecute automated package manager update scripts directly on live containers to install the updated library without stopping active instances.
- Update the base container image with the patched library, validate the build in a testing pipeline, and redeploy new container instances to replace the vulnerable ones.Cevap
- CDeploy network perimeter firewall blocks targeting the container host nodes until the cloud provider patches the hypervisor firmware.
- DImplement a mandatory security policy restricting developers from reviewing container log files until the vulnerability is addressed.
Cevap
Update the base container image with the patched library, validate the build in a testing pipeline, and redeploy new container instances to replace the vulnerable ones.
In an immutable infrastructure deployment model, running components (such as containers or virtual machine instances) are never patched or modified directly in production. When a security update or patch is required, the baseline source image (e.g., container image specification) is updated with the new library version, validated in a staging or CI/CD environment, and then used to deploy fresh instances while decommissioning the old, vulnerable ones. This eliminates configuration drift and ensures consistency across environments.
Adım Adım Çözüm
Anahtar Kavram
Immutable Infrastructure Patching
Tahmini Süre:1m 15s