GitHub Advanced Security GHAS - GitHub-Advanced-Security Exam Practice Test

Where can you find a deleted line of code that contained a secret value?
Correct Answer: D
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
Which of the following options are code scanning application programming interface (API) endpoints? (Each answer presents part of the solution. Choose two.)
Correct Answer: A,C
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
The autobuild step in the CodeQL workflow has failed. What should you do?
Correct Answer: A
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
Which alerts do you see in the repository's Security tab? (Each answer presents part of the solution. Choose three.)
Correct Answer: A,B,E
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
In a private repository, what minimum requirements does GitHub need to generate a dependencygraph? (Each answer presents part of the solution. Choose two.)
Correct Answer: A,D
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
Which Dependabot configuration fields are required? (Each answer presents part of the solution. Choose three.)
Correct Answer: A,B,D
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
Which of the following is the best way to prevent developers from adding secrets to the repository?
Correct Answer: A
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
As a repository owner, you do not want to run a GitHub Actions workflow when changes are made to any .txt or markdown files. How would you adjust the event trigger for a pull request that targets the main branch?
(Each answer presents part of the solution. Choose three.)
* on:
* pull_request:
* branches: [main]
Correct Answer: B,C,D
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
0
0
0
0