If notification and alert recipients are not customized, which users receive notifications about new Dependabot alerts in an affected repository?
Answer(s): C
Access to Dependabot alertsYou can see all of the alerts that affect a particular project on the repository's Security tab or in the repository's dependency graph.By default, we notify people with write, maintain, or admin permissions in the affected repositories about new Dependabot alerts.Write permissionis the minimum levelneeded to be automatically notified.
https://docs.github.com/en/code-security/dependabot/dependabot-alerts/about-dependabot-alerts
Which of the following options are code scanning application programming interface (API) endpoints? Each answer presents part of the solution. (Choose two.)
Answer(s): C,D
REST API endpoints for code scanningUse the REST API to retrieve and update code scanning alerts from a repository.[D] Get a code scanning alertGets a single code scanning alert.OAuth app tokens and personal access tokens (classic) need the security_events scope to use this endpoint with private or public repositories, or the public_repo scope to use this endpoint with only public repositories. Fine-grained access tokens for "Get a code scanning alert"This endpoint works with the following fine-grained token types:GitHub App user access tokensGitHub App installation access tokensFine-grained personal access tokens[C] Update a code scanning alertUpdates the status of a single code scanning alert. OAuth app tokens and personal access tokens (classic) need the security_events scope to use this endpoint with private or public repositories, or the public_repo scope to use this endpoint with only public repositories.
https://docs.github.com/en/enterprise-server@3.17/rest/code-scanning/code-scanning?apiVersion=2022-11-28
By default, what is the minimum role needed to bypass push protection in a repository?
Answer(s): D
By default, when push protection is enabled for a repository, anyone with write access can still push a secret to the repository, provided that they specify a reason for bypassing push protection.
https://docs.github.com/en/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protectio n-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection
You have enabled security updates for a repository. When does GitHub mark a Dependabot alert as resolved for that repository?
Answer(s): A
If you have enabled Dependabot security updates for your repository, the alert may also contain a link to a pull request to update the manifest or lock file to the minimum version that resolves the vulnerability.
Which GitHub security feature should you use to see details of any vulnerable dependency versions within a pull request?
Dependency review helps you understand dependency changes and the security impact of these changes at every pull request. It provides an easily understandable visualization of dependency changes with a rich diff on the "Files Changed" tab of a pull request. Dependency review informs you of:Which dependencies were added, removed, or updated, along with the release datesHow many projects use these componentsVulnerability data for these dependencies
https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/abo ut-dependency-review
Post your Comments and Discuss Microsoft GH-500 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the GH-500 content, but please register or login to continue.