最高でGH-500最新の2026問題集は100%試験合格率保証付きます [Q43-Q62]

Share

最高でGH-500最新の2026問題集は100%試験合格率保証付きます

ベストな方法はMicrosoft GH-500練習試験問題集

質問 # 43
If notification and alert recipients are not customized, which users receive notifications about new Dependabot alerts in an affected repository?

  • A. Users with Admin privileges to the repository
  • B. Users with Maintain privileges to the repository
  • C. Users with Write permissions to the repository
  • D. Users with Read permissions to the repository

正解:C

解説:
By default, users with Write, Maintain, or Admin permissions will receive notifications for new Dependabot alerts. However, Write permission is the minimum level needed to be automatically notified. Users with only Read access do not receive alerts unless added explicitly.


質問 # 44
Assuming there is no custom Dependabot behavior configured, where possible, what does Dependabot do after sending an alert about a vulnerable dependency in a repository?

  • A. Scans repositories for vulnerable dependencies on a schedule and adds those files to a manifest
  • B. Creates a pull request to upgrade the vulnerable dependency to the minimum possible secure version
  • C. Constructs a graph of all the repository's dependencies and public dependents for the default branch
  • D. Scans any push to all branches and generates an alert for each vulnerable repository

正解:B

解説:
After generating an alert for a vulnerable dependency, Dependabot automatically attempts to create a pull request to upgrade that dependency to the minimum required secure version-if a fix is available and compatible with your project.
This automated PR helps teams fix vulnerabilities quickly with minimal manual intervention. You can also configure update behaviors using dependabot.yml, but in the default state, PR creation is automatic.


質問 # 45
Secret scanning will scan:

  • A. Any Git repository.
  • B. A continuous integration system.
  • C. External services.
  • D. The GitHub repository.

正解:D

解説:
Secret scanning is a feature provided by GitHub that scans the contents of your GitHub repositories for known types of secrets, such as API keys and tokens. It operates within the GitHub environment and does not scan external systems, services, or repositories outside of GitHub. Its primary function is to prevent the accidental exposure of sensitive information within your GitHub-hosted code.


質問 # 46
Where can you use CodeQL analysis for code scanning? (Each answer presents part of the solution. Choose two.)

  • A. In an external continuous integration (CI) system
  • B. In a third-party Git repository
  • C. In the Files changed tab of the pull request
  • D. In a workflow

正解:A、D

解説:
In a workflow: GitHub Actions workflows are the most common place for CodeQL code scanning. The codeql-analysis.yml defines how the analysis runs and when it triggers.
In an external CI system: GitHub allows you to run CodeQL analysis outside of GitHub Actions. Once complete, the results can be uploaded using the upload-sarif action to make alerts visible in the repository.
You cannot run or trigger analysis from third-party repositories directly, and the Files changed tab in pull requests only shows diff - not analysis results.


質問 # 47
Which alerts do you see in the repository's Security tab? (Each answer presents part of the solution. Choose three.)

  • A. Repository permissions
  • B. Security status alerts
  • C. Code scanning alerts
  • D. Dependabot alerts
  • E. Secret scanning alerts

正解:C、D、E

解説:
In a repository's Security tab, you can view:
Secret scanning alerts: Exposed credentials or tokens
Dependabot alerts: Vulnerable dependencies from the advisory database
Code scanning alerts: Vulnerabilities in code detected via static analysis (e.g., CodeQL) You won't see general "security status alerts" (not a formal category) or permission-related alerts here.


質問 # 48
Assuming that notification and alert recipients are not customized, what does GitHub do when it identifies a vulnerable dependency in a repository where Dependabot alerts are enabled? (Each answer presents part of the solution. Choose two.)

  • A. It generates Dependabot alerts by default for all private repositories.
  • B. It consults with a security service and conducts a thorough vulnerability review.
  • C. It notifies the repository administrators about the new alert.
  • D. It generates a Dependabot alert and displays it on the Security tab for the repository.

正解:C、D

解説:
Comprehensive and Detailed Explanation:
When GitHub identifies a vulnerable dependency in a repository with Dependabot alerts enabled, it performs the following actions:
Generates a Dependabot alert: The alert is displayed on the repository's Security tab, providing details about the vulnerability and affected dependency.
Notifies repository maintainers: By default, GitHub notifies users with write, maintain, or admin permissions about new Dependabot alerts.
GitHub Docs
These actions ensure that responsible parties are informed promptly to address the vulnerability.


質問 # 49
Who can fix a code scanning alert on a private repository?

  • A. Users who have the security manager role within the repository
  • B. Users who have Read permissions within the repository
  • C. Users who have Write access to the repository
  • D. Users who have the Triage role within the repository

正解:C

解説:
Comprehensive and Detailed Explanation:
In private repositories, users with write access can fix code scanning alerts. They can do this by committing changes that address the issues identified by the code scanning tools. This level of access ensures that only trusted contributors can modify the code to resolve potential security vulnerabilities.
GitHub Docs
Users with read or triage roles do not have the necessary permissions to make code changes, and the security manager role is primarily focused on managing security settings rather than directly modifying code.
Reference:
GitHub Docs


質問 # 50
Which of the following statements best describes secret scanning push protection?

  • A. Buttons for sensitive actions in the GitHub UI are disabled.
  • B. Secret scanning alerts must be closed before a branch can be merged into the repository.
  • C. Commits that contain secrets are blocked before code is added to the repository.
  • D. Users need to reply to a 2FA challenge before any push events.

正解:C

解説:
Comprehensive and Detailed Explanation:
Secret scanning push protection is a proactive feature that scans for secrets in your code during the push process. If a secret is detected, the push is blocked, preventing the secret from being added to the repository. This helps prevent accidental exposure of sensitive information.
GitHub Docs


質問 # 51
When using CodeQL, what extension stores query suite definitions?

  • A. .qll
  • B. .yml
  • C. .qls
  • D. .ql

正解:C

解説:
Query suite definitions in CodeQL are stored using the .qls file extension. A query suite defines a collection of queries to be run during an analysis and allows for grouping them based on categories like language, security relevance, or custom filters.
In contrast:
.ql files are individual queries.
.qll files are libraries used by .ql queries.
.yml is used for workflows, not query suites.


質問 # 52
Assuming that notification settings and Dependabot alert recipients have not been customized, which user account setting should you use to get an alert when a vulnerability is detected in one of your repositories?

  • A. Enable all in existing repositories
  • B. Enable all for Dependabot alerts
  • C. Enable by default for new public repositories
  • D. Enable all for Dependency graph

正解:B

解説:
To ensure you're notified whenever a vulnerability is detected via Dependabot, you must enable alerts for Dependabot in your personal notification settings. This applies to both new and existing repositories. It ensures you get timely alerts about security vulnerabilities.
The dependency graph must be enabled for scanning, but does not send alerts itself.


質問 # 53
What happens when you enable secret scanning on a private repository?

  • A. Your team is subscribed to security alerts.
  • B. Repository administrators can view Dependabot alerts.
  • C. GitHub performs a read-only analysis on the repository.
  • D. Dependency review, secret scanning, and code scanning are enabled.

正解:C

解説:
When secret scanning is enabled on a private repository, GitHub performs a read-only analysis of the repository's contents. This includes the entire Git history and files to identify strings that match known secret patterns or custom-defined patterns.
GitHub does not alter the repository, and enabling secret scanning does not automatically enable code scanning or dependency review - each must be configured separately.


質問 # 54
As a developer with write access, you navigate to a code scanning alert in your repository. When will GitHub close this alert?

  • A. When you use data-flow analysis to find potential security issues in code
  • B. After you triage the pull request containing the alert
  • C. After you find the code and click the alert within the pull request
  • D. After you fix the code by committing within the pull request

正解:D

解説:
GitHub automatically closes a code scanning alert when the vulnerable code is fixed in the same branch where the alert was generated, usually via a commit inside a pull request. Simply clicking or triaging an alert does not resolve it. The alert is re-evaluated after each push to the branch, and if the issue no longer exists, it is marked as resolved.


質問 # 55
Assuming that no custom Dependabot behavior is configured, who has the ability to merge a pull request created via Dependabot security updates?

  • A. A user who has read access to the repository
  • B. A repository member of an enterprise organization
  • C. A user who has write access to the repository
  • D. An enterprise administrator

正解:C

解説:
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.


質問 # 56
Which details do you have to provide to create a custom pattern for secret scanning? (Each answer presents part of the solution. Choose two.)

  • A. A list of repositories to scan
  • B. Additional match requirements for the secret format
  • C. The secret format
  • D. The name of the pattern

正解:C、D

解説:
When defining a custom pattern for secret scanning, two key fields are required:
Name of the pattern: A unique label to identify the pattern
Secret format: A regular expression that defines what the secret looks like (e.g., token format) You can optionally specify additional match requirements (like required context keywords), but they're not mandatory. Listing repositories is also not part of the required fields during pattern creation.


質問 # 57
Which of the following Watch settings could you use to get Dependabot alert notifications? (Each answer presents part of the solution. Choose two.)

  • A. The Participating and @mentions setting
  • B. The Custom setting
  • C. The All Activity setting
  • D. The Ignore setting

正解:B、C

解説:
Comprehensive and Detailed Explanation:
To receive Dependabot alert notifications for a repository, you can utilize the following Watch settings:
Custom setting: Allows you to tailor your notifications, enabling you to subscribe specifically to security alerts, including those from Dependabot.
All Activity setting: Subscribes you to all notifications for the repository, encompassing issues, pull requests, and security alerts like those from Dependabot.
The Participating and @mentions setting limits notifications to conversations you're directly involved in or mentioned, which may not include security alerts. The Ignore setting unsubscribes you from all notifications, including critical security alerts.
GitHub Docs
+1
GitHub Docs
+1


質問 # 58
Where can you find a deleted line of code that contained a secret value?

  • A. Insights
  • B. Dependency graph
  • C. Issues
  • D. Commits

正解:D

解説:
Secrets committed and then deleted are still accessible in the repository's Git history. To locate them, navigate to the Commits tab. GitHub's secret scanning can detect secrets in both current and historical commits, which is why remediation should also include revoking the secret, not just removing it from the latest code.


質問 # 59
What were the long-term impacts of the Cultural Revolution on Chinese society?

  • A. Write
  • B. Triage
  • C. Admin
  • D. Maintain

正解:C

解説:
Requesting a CVE ID for a security advisory in a GitHub repository requires Admin permissions. This level of access is necessary because it involves managing sensitive security information and coordinating with external entities to assign a CVE, which is a formal process that can impact the public perception and security posture of the project.


質問 # 60
What combination of security measures helps to mitigate risks throughout the SDLC (Software Development Life Cycle)?

  • A. Search for potential security vulnerabilities, detect secrets, and show the full impact of changes to dependencies
  • B. View alerts about dependencies that are known to contain security vulnerabilities
  • C. Automatically raise pull requests, which reduces your exposure to older versions of dependencies
  • D. Confidentially report security vulnerabilities and privately discuss and fix security vulnerabilities in your repository's code

正解:A

解説:
These three features provide a complete layer of defense:
Code scanning identifies security flaws in your source code
Secret scanning detects exposed credentials
Dependency review shows the impact of package changes during a pull request Together, they give developers actionable insight into risk and coverage throughout the SDLC.


質問 # 61
When using CodeQL, how does extraction for compiled languages work?

  • A. By running directly on the source code
  • B. By monitoring the normal build process
  • C. By resolving dependencies to give an accurate representation of the codebase
  • D. By generating one language at a time

正解:B

解説:
For compiled languages, CodeQL performs extraction by monitoring the normal build process. This means it watches your usual build commands (like make, javac, or dotnet build) and extracts the relevant data from the actual build steps being executed. CodeQL uses this information to construct a semantic database of the application.
This approach ensures that CodeQL captures a precise, real-world representation of the code and its behavior as it is compiled, including platform-specific configurations or conditional logic used during build.


質問 # 62
......

GitHub Advanced Security認証サンプル問題と練習試験:https://www.jpntest.com/shiken/GH-500-mondaishu

リアルな試験問題と解答でMicrosoft GH-500問題集が待ってます:https://drive.google.com/open?id=1gpQ__-HGVyPL_1HM872JEjyYRmyPGqwf

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡