nerdexam
CompTIA

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…

Security

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)
  • A
    89% (34)
  • B
    3% (1)
  • C
    5% (2)
  • D
    3% (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

#CI/CD Security#Secret Management#Git Security#Source Code Management

Community Discussion

No community discussion yet for this question.

Full CV0-004 Practice