By default, what is the minimum role needed to bypass push protection in a repository?
Answer : D
By default, who will receive an e-mail when a secret has been detected in a repository? Each answer presents a complete solution. (Choose two.)
Answer : BD
Which of the following is the most proactive and practical way to prevent new secret scanning alerts?
Answer : D
By default, where will secret scanning look in a repository in order to execute its job? Each correct answer presents part of the solution. (Choose three.)
Answer : CDE
Which of the following would raise secret scanning alerts?
Answer : A
What is the purpose of push protection?
Answer : D
Which of the following pre-defined roles is required to manage code scanning alerts in a repository?
Answer : C
Where is secret scanning enabled on a private repository?
Answer : D
HOTSPOT
-
You have a GitHub Enterprise Server instance named Server1 that contains multiple organizations. Server1 uses GitHub Advanced Security and has GitHub Secret Protection enabled. Repository administrators can change the secret scanning settings of their respective repository.
You discover the following issues:
• The developers at your company bypass secret scanning push protection by asking the repository administrators to temporarily disable secret scanning.
• Some security-critical secret scanning alerts are dismissed by non-security staff without review.
You need to configure enterprise governance to meet the following requirements:
• Ensure that the repository administrators can no longer manage or modify secret scanning.
• Ensure that dismissing secret scanning alerts requires the approval of designated users.
What should you do for each requirement? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer :
You have a GitHub repository named Repo1 that runs CodeQL code scanning. Repo1 contains both Java and Kotlin source code. Repo1 generates additional source files during compilation.
Recent alerts indicate that Kotlin files cannot be processed without a build.
You need to ensure that CodeQL analyzes both the Java files and the Kotlin files and includes the generated source files in the CodeQL database.
What should you do?
Answer : D
You have a GitHub Enterprise Cloud Organization.
You enable secret scanning alerts and secret scanning push protection across all repositories.
You review the alerts by using the Overview dashboard of security overview in the GitHub interface.
You need to identify only the secret scanning alerts that were generated when push protection was bypassed.
Which filter should you use?
Answer : B
You have a GitHub Enterprise Cloud Organization that contains a private repository named Repo1 and has GitHub Secret Protection enabled. Repo1 contains a workflow that writes an access key ID to config.txt and a secret access key to secrets.txt. Repo1 has secret scanning push protection enabled.
You discover that a developer at your company was able to push changes that contain both the access key ID and the secret access key without the push being blocked.
What is the cause of the issue?
Answer : D
Which of the following is the most complete method for Dependabot to find vulnerabilities in third-party dependencies?
Answer : D
In a private repository, what minimum requirements does GitHub need to generate a dependency graph? (Each answer presents part of the solution. Choose two.)
Answer : BD
You have enabled security updates for a repository. When does GitHub mark a Dependabot alert as resolved for that repository?
Answer : A
Have any questions or issues ? Please dont hesitate to contact us