Microsoft Azure
GitHub Advanced Security
GH-500
Prepare for the GH-500 exam to validate your knowledge in GitHub Advanced Security.
141 questions
0 views
Free
Questions 81–90 of 141
What happens when a user disables GitHub Advanced Security features?
-
A
Repositories are deleted automatically
-
B
Existing alerts persist but new ones cease
-
C
Access tokens are invalidated immediately
-
D
Feature reverts to default settings
Explanation
Existing alerts remain despite feature disabling; others inaccurately describe loss of data or credentials.
Which service provides vulnerability scanning in GitHub repositories?
-
A
CodeQL
-
B
Azure Pipelines
-
C
GitHub Actions
-
D
Container Registry
Explanation
CodeQL enables automated vulnerability detection, while the others are for workflow automation or storage.
A company needs to enforce fine-grained access control through GitHub. What should they use?
-
A
Branch Protection Rules
-
B
GitHub Teams
-
C
GitHub Pages
-
D
Repository Mirrors
Explanation
Branch Protection Rules allow detailed access settings, unlike the others which serve different roles.
What happens when you delete a GitHub repository with active GitHub Actions workflows?
-
A
Workflows are deleted immediately.
-
B
Workflows are archived for future use.
-
C
Workflows continue running.
-
D
Repositories receive a warning only.
Explanation
Deleting a repository also permanently removes associated workflows, while the others suggest incorrect states.
Which service can enhance code security in GitHub repositories?
-
A
GitHub Advanced Security
-
B
Azure DevOps
-
C
Azure Functions
-
D
GitHub Actions
Explanation
GitHub Advanced Security provides code scanning and secret scanning, while the others do not focus specifically on security.
A company needs to implement branch protection rules in GitHub. What feature would you configure?
-
A
Code Scanning Alerts
-
B
Pull Request Reviews
-
C
Repository Secrets
-
D
Workflow Automation
Explanation
Pull Request Reviews ensure code changes are reviewed before merging, while the other options do not set branch protection.
What happens when you enable secret scanning in GitHub?
-
A
Removes all secrets automatically
-
B
Scans for sensitive configuration and tokens
-
C
Encrypts your source code
-
D
Disables all GitHub Actions
Explanation
Secret scanning identifies and alerts on sensitive data in your code, whereas the other options reflect incorrect functionalities.
Which service provides secrets management in Azure?
-
A
Azure Key Vault
-
B
Azure Blob Storage
-
C
Azure SQL Database
-
D
Azure Functions
Explanation
Azure Key Vault is designed for secure secret management; the others serve different purposes.
A company needs to monitor code security during development. Which Azure service should they implement?
-
A
Azure Monitor
-
B
GitHub Advanced Security
-
C
Azure DevOps
-
D
Azure Sentinel
Explanation
GitHub Advanced Security focuses specifically on code security; the others provide broader monitoring and analytics.
What happens when you enable branch protection rules in GitHub?
-
A
All branches are automatically deleted
-
B
Merge requirements enhance code review
-
C
Commits are disabled for all users
-
D
Branches cannot be created anymore
Explanation
Branch protection rules require review before merging, enhancing code quality; the other options are incorrect actions.