exam questions

Exam 300-910 All Questions

View all questions & answers for the 300-910 exam

Exam 300-910 topic 1 question 97 discussion

Actual exam question from Cisco's 300-910
Question #: 97
Topic #: 1
[All 300-910 Questions]

An application is being developed to be used by the HR department of a company on a global scale. The application will be used as a central repository for employee contracts. For user access, a
RADIUS server will be used with authorized user groups.

Which action must be used to prevent developers from accidentally committing secrets in the code?

  • A. Add a unit test to block the secrets
  • B. Add a precommit Git hook to block the secrets
  • C. Add dast to the repository to block the secrets
  • D. Add a job in the CI build to block the secrets
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
psyborg
6 months, 1 week ago
Selected Answer: B
Precommit hook is the answer. You do not want secrets to get into the commit history.
upvoted 3 times
...
f143c37
11 months, 4 weeks ago
Selected Answer: B
Tests do not prevent the developer from pushing secrets to the repository.
upvoted 2 times
...
devshit
1 year ago
Selected Answer: B
unit tests are primarily used to verify the functionality of code and may not specifically focus on preventing secrets from being committed, I guess
upvoted 2 times
...
cubic
1 year, 5 months ago
Selected Answer: A
Agree with A.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...