Implementing DevOps Solutions and Practices Using Cisco Platforms (DEVOPS) — Question 15
What are two reasons a Docker golden image should be updated? (Choose two.)
Answer options
- A. when there is a change to a username or password in the Docker secrets
- B. when the application has a new release
- C. when a fix for a security vulnerability is released
- D. when a change is needed to an environment variable in the Dockerfile
- E. when the base image is nearing the end of life
Correct answer: B, C
Explanation
Updating a Docker golden image is crucial when the application has a new release (B) to ensure new features and fixes are included. Additionally, addressing security vulnerabilities (C) is vital for maintaining the integrity and safety of the application. The other options, while important, do not directly affect the core functionality and security of the image in the same way.