CV0-004 · Question #93
Which of the following can reduce the risk of CI/CD pipelines leaking secrets?
The correct answer is A. Protected Git branches. Protected Git branches help reduce the risk of CI/CD pipelines leaking secrets by imposing restrictions on who can commit to the branches, enforce status checks before merging, and prevent unauthorized access or changes to sensitive information, such as API keys, passwords, and…
Question
Which of the following can reduce the risk of CI/CD pipelines leaking secrets?
Options
- AProtected Git branches
- BUse of a VM instead of containers
- CPrivate image repositories
- DCanary tests
How the community answered
(38 responses)- A89% (34)
- B3% (1)
- C5% (2)
- D3% (1)
Explanation
Protected Git branches help reduce the risk of CI/CD pipelines leaking secrets by imposing restrictions on who can commit to the branches, enforce status checks before merging, and prevent unauthorized access or changes to sensitive information, such as API keys, passwords, and secret tokens. This ensures that only approved changes can be made to the codebase, and sensitive information is safeguarded.
Topics
Community Discussion
No community discussion yet for this question.