CompTIA Cloud+ (CV0-004) — Question 114
Which of the following can eliminate the risk of CI/CD pipelines leaking secrets on containers?
Answer options
- A. Peer-reviewed pull requests
- B. Use of a VM instead of containers
- C. Private image repositories
- D. Canary tests
Correct answer: C
Explanation
Using private image repositories helps ensure that sensitive credentials and secrets are not exposed to the public, thus reducing the risk of leaks. Peer-reviewed pull requests, VMs, and canary tests do not directly address the specific issue of secrets being exposed within container images.