GitHub Advanced Security GHAS Exam Questions and Answers
Question 21
Assuming that no custom Dependabot behavior is configured, who has the ability to merge a pull request created via Dependabot security updates?
Options:
A.
An enterprise administrator
B.
A user who has write access to the repository
C.
A user who has read access to the repository
D.
A repository member of an enterprise organization
Answer:
B
Explanation:
Comprehensive and Detailed Explanation:
By default, users with write access to a repository have the ability to merge pull requests, including those created by Dependabot for security updates. This access level allows contributors to manage and integrate changes, ensuring that vulnerabilities are addressed promptly.
Users with only read access cannot merge pull requests, and enterprise administrators do not automatically have merge rights unless they have write or higher permissions on the specific repository.
Which patterns are secret scanning validity checks available to?
Options:
A.
High entropy strings
B.
Custom patterns
C.
Partner patterns
D.
Push protection patterns
Answer:
C
Explanation:
Validity checks— where GitHub verifies if a secret is still active — are available forpartner patternsonly. These are secrets issued by GitHub's trusted partners (like AWS, Slack, etc.) and have APIs for GitHub to validate token activity status.
Custom patterns and high entropy patterns donotsupport automated validity checks.
[: GitHub Docs – Secret Validation for Partner Patterns, ==========]