# Track and capture work — Practice reading

Exam: GH-700 — Enhancing Operational Efficiency with Agentic AI (beta)
Knowledge domain: Use GitHub platform features (20–25%)
HTML: https://learningpathx.com/learning-path/GH-700/learn/780

This public learning practice includes correct answers and existing explanations. Reading does not save progress or create a test.

## Question 1

Type: single\_choice
Knowledge point: Reviewed changes and durable records

On GitHub.com, using product behavior checked as of November 7, 2026, a short-lived work-policy branch contains a focused policy edit. Its pull request has work-policy as the head branch and main as the base branch. The branch protection rule for main requires an approving review and the policy-validation status check.

The current PR shows:

* Required approving review: Approved; the review requirement is satisfied for the current change.
* Required check policy-validation: Failed for the current change. Its name is unique across workflows.
* Assignee: the release owner.
* Linked GitHub Projects item status: Accepted.

Merging is blocked. No other unmet requirement is reported, and the required protections must be retained.

Which diagnosis and action plan addresses the blocker while preserving the intended change into main? Choose ONE.

### Options

**A**

The release owner's assignment has not yet been converted into an approval. Request their approval, keep the failed check unchanged, and retry merging when their approving review appears on the existing PR.

**B**

The failed required check is the blocker. Inspect its failure, correct the cause, and rerun it; push any needed content correction to work-policy. Recheck the existing PR's applicable check and review requirements before merging into main.

**C**

The PR's branch direction is the blocker. Create a replacement PR with main as the head and work-policy as the base, obtain approval, and merge that replacement to complete the policy change.

**D**

The project item's Accepted state is not yet final. Move it to Done, keep the PR's approval and failed check unchanged, and retry merging once that project transition is recorded.

Correct answer: B

### Explanation

B identifies the explicitly failed required check as the merge blocker. An approving review satisfies the review requirement, but it does not override an independently required check. Assignment and a Projects status likewise do not resolve that failure. Retain protection, investigate the check, correct its cause, and verify the resulting PR state before merging. GitHub documents these enforced conditions in its [protected-branch reference](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches). The stated branch direction already proposes the intended policy edit into main.

## Question 2

Type: single\_choice
Knowledge point: Reviewed changes and durable records

For this hypothetical GitHub collaboration task, use product behavior as of November 7, 2026\. Assess the complete record below, rather than treating any single status as acceptance.

Repository and issue:

* The repository's default branch is main.
* Issue #42 is titled "Correct and publish the handoff procedure." Its complete body states: "Replace the old instruction to post the handoff only in chat. The corrected procedure must say to record the handoff in the repository issue and link the merged PR and published Handoff wiki page. Completion requires the corrected docs/handoff.md on main, an approving review of the final PR diff and a successful docs-validation check before merge, closure of this issue, project Status = Done, and publication of the matching corrected Handoff wiki page for readers. The approving-review condition has no administrator exception."

Project configuration:

* The existing issue is a project item with separate single-select fields Status and Readiness.
* The active issue-closed workflow sets Status to Done. No active workflow closes an issue when Status or Readiness changes, and no project workflow publishes wiki content.

PR configuration and diff:

* PR #58 targets main and its description contains "Closes #42".
* The effective branch protection requires one approving review and the docs-validation check. Dismiss stale approvals is enabled, and repository administrators are permitted to bypass the protection.
* The PR changes only docs/handoff.md. The initially reviewed diff replaces "Post the handoff only in chat" with "Record the handoff in the repository issue." A later revision adds "Link the merged PR and the published Handoff wiki page from the issue." This later revision is the final merged diff.

Wiki configuration:

* The existing Handoff page belongs to the separate repository ending in .wiki.git. Its initial page was created on GitHub.
* That wiki repository's default branch is master. Before this work, its published page contained the old chat-only instruction.

Timeline, all on November 7:

* 09:00: Issue #42 is Open. Its project fields show Status = In progress and Readiness = Accepted; Readiness was set manually.
* 09:10: The initial PR diff receives an approving review.
* 09:15: The additional linking sentence is pushed. The earlier approval is dismissed. No subsequent approving review is recorded.
* 09:20: The required docs-validation check succeeds for the final PR revision.
* 09:25: A repository administrator uses the permitted bypass to merge PR #58 into main. The resulting docs/handoff.md contains both corrected sentences. Issue #42 closes through the PR link, and the configured issue-closed workflow changes its project Status to Done. Readiness remains Accepted.
* 09:30: The matching corrected Handoff wiki page is committed and pushed only to the wiki branch handoff-update. The wiki's default branch master still contains the old page.
* 09:35: There are no further reviews, merges, wiki pushes, or field changes.

Which complete judgment is supported at 09:35? Choose ONE.

### Options

**A**

The task is incomplete because the final diff lacked approval and the wiki correction is unpublished. The issue closure and project Done transition are also invalid: a bypassed merge cannot activate the closing keyword or issue-closed workflow, so both transitions must be performed again manually.

**B**

The task is incomplete only because wiki publication is pending. Although the final diff was not reapproved, the administrator's successful merge satisfies the issue's approval condition. The closing keyword and configured workflow correctly account for the issue being Closed and project Status being Done.

**C**

The task is incomplete only because the final diff lacked approval. The closing keyword and issue-closed workflow correctly explain Closed and Done. Merging docs/handoff.md into main also publishes the matching wiki procedure, so the separate wiki topic-branch push leaves no additional publication gap.

**D**

The task is incomplete because the final diff lacked approval before merge and the wiki correction remains unpublished on a nondefault branch. The merge into main can still close the linked issue, and that closure can set project Status to Done. Readiness = Accepted satisfies neither outstanding condition.

Correct answer: D

### Explanation

Two acceptance conditions remain unsatisfied. The final diff changed after the approving review, and the configured stale-approval control dismissed that approval. The final check succeeded, but no approving review of the final diff preceded merge. Administrator bypass explains how the merge could occur; it does not satisfy the issue's expressly exception-free approval condition. The wiki correction is also unpublished. The ordinary repository and its wiki are separate Git repositories. The corrected wiki content was pushed only to handoff-update, while the wiki's default branch master retains the old page. Neither the ordinary repository merge nor the topic-branch push establishes publication of the corrected wiki page. The remaining recorded transitions are coherent: PR #58 targeted the default branch main with Closes #42, its merge closed the issue, and issue closure triggered the configured project Status update. Those transitions can occur despite the unmet acceptance conditions. The independently maintained Readiness value is planning information, not proof that review or publication occurred.

## Question 3

Type: single\_choice
Knowledge point: Reviewed changes and durable records

On GitHub.com, apply the documented behavior as of November 7, 2026\. A pull request in northstar/portal targets main, which is that repository's default branch.

When merged, the PR must automatically close exactly these issues:

* northstar/portal#42
* northstar/portal#108
* northstar/api#42

An unrelated issue, northstar/docs#42, must remain open. All four issues are currently open, and there are no existing issue links or other closing references.

Which PR description snippet supplies the complete closing-keyword references for this result? Choose ONE.

### Options

**A**

Resolves #42, resolves #108\. Related work: northstar/api#42.

**B**

Resolves #42, resolves #108, resolves #42.

**C**

Resolves #42, resolves #108, resolves northstar/api#42.

**D**

Resolves #42, resolves #108, resolves northstar/docs#42.

Correct answer: C

### Explanation

C provides a supported closing keyword and the appropriate issue reference for every intended issue. Because the PR belongs to northstar/portal, #42 and #108 identify issues in that repository. The cross-repository issue requires northstar/api#42 to identify the correct repository and issue number. The unrelated northstar/docs#42 is excluded. The PR already targets the default branch, so the closing references establish the intended links, and the linked issues close when the PR merges into main. Saving the description alone does not close them.

## Question 4

Type: single\_choice
Knowledge point: Reviewed changes and durable records

A team uses a repository on GitHub.com. Its wiki is enabled, and the people responsible for team guidance can edit it. Four related objects already exist:

* An issue tracking problems to resolve before a service handoff.
* A pull request reviewing a change to the handoff script.
* A GitHub Projects status view tracking the handoff work.
* A repository wiki containing team procedures.

The team needs a complete handoff procedure that colleagues can find and update for repeated use after the current issue and pull request are closed. The existing objects must continue serving their work-tracking, code-review, planning, and documentation purposes.

Which choice best meets the long-term documentation need? Choose ONE.

Scope: GitHub.com behavior as of November 7, 2026.

### Options

**A**

Make the existing GitHub Projects status view the procedure's main reference, maintain the guidance alongside the handoff work's progress, and link the other objects to that view.

**B**

Maintain the complete procedure in the existing issue's description, use that issue as the ongoing reference after closure, and link the other objects to it.

**C**

Create or update a procedure page in the repository wiki, maintain the current guidance there, and link the issue, pull request, and project to that page where relevant.

**D**

Maintain the complete procedure in the existing pull request's description, use that pull request as the ongoing reference after the script change is reviewed, and link the other objects to it.

Correct answer: C

### Explanation

The repository wiki is the best fit for maintained explanatory pages that colleagues need to find and update over time. The handoff procedure is reusable guidance whose maintenance continues beyond the current issue, script review, and rollout. Creating or updating its wiki page gives that guidance an appropriate documentation home, while links preserve its relationship to the work. Issues, pull requests, and GitHub Projects remain useful for tracking problems, reviewing changes, and showing progress respectively. Their ability to contain related information does not make them the best primary location for this procedure.

## Question 5

Type: single\_choice
Knowledge point: Reviewed changes and durable records

Apply GitHub's protected-branch behavior documented as of November 7, 2026\. These product details are not asserted to have been available on the adopted study guide's October 13, 2026 update date. A pull request targets a protected branch requiring two approving reviews. Two authorized reviewers have approved it. One of those reviewers, who is not the pull request author, then pushes a commit that adds a new operational step to the proposed documentation, changing the reviewed diff. The other reviewer has not reviewed this update. The base branch and merge base remain unchanged, all non-review requirements are satisfied, and no bypass will be used. The team wants to retain the earlier approvals without requiring both reviewers to approve again. However, merging must remain blocked until an authorized reviewer other than the latest pusher approves after that push. A previous reviewer may supply this fresh approval. Which configuration and follow-up action satisfy these requirements? Choose ONE.

### Options

**A**

Leave both review-freshness settings disabled and proceed using the two existing approvals after confirming that the required approval count is satisfied.

**B**

Leave Dismiss stale pull request approvals when new commits are pushed disabled, enable Require approval of the most recent reviewable push, and have the reviewer who pushed approve again after the update.

**C**

Enable Dismiss stale pull request approvals when new commits are pushed, leave Require approval of the most recent reviewable push disabled, and obtain new approvals from both reviewers.

**D**

Leave Dismiss stale pull request approvals when new commits are pushed disabled, enable Require approval of the most recent reviewable push, and have the reviewer who did not push approve again after the update.

Correct answer: D

### Explanation

D satisfies both requirements. Requiring approval of the most recent reviewable push requires an authorized person other than that push's author to approve after the update, while retaining earlier reviews when stale-approval dismissal is disabled in this scenario. An existing reviewer can reapprove after the latest push, so the reviewer who did not push can supply the fresh approval without requiring both reviewers to repeat their approvals. Stale-approval dismissal would invalidate the existing approvals because the reviewed diff changed. Leaving both settings disabled would not enforce review of the new content, and reapproval by the latest pusher would not satisfy the independent approval requirement. The unchanged merge base excludes the documented exception in which merge-base changes introducing new changes can dismiss approvals under these settings.

## Question 6

Type: single\_choice
Knowledge point: Reviewed changes and durable records

Use GitHub product behavior checked as of November 7, 2026; availability at the October 13, 2026 study-guide snapshot is not asserted.

A pull request targets main. The effective branch protection rule requires one approving review and a status check named validate, with GitHub Actions selected as its expected source. Repository policy requires both build validation and security validation to remain individually enforced before merging.

Workflow definitions:

* build.yml has workflow name Build, job ID build, and job name validate.
* security.yml has workflow name Security, job ID security, and job name validate.

Check records for the current pull-request head:

* Workflow: Build; check name: validate; source: GitHub Actions; status: completed; conclusion: success.
* Workflow: Security; check name: validate; source: GitHub Actions; status: completed; conclusion: success.

The required approving review is satisfied after the latest push. All other merge requirements are satisfied, but the merge box still shows the required validate check as unresolved and blocks merging.

Which diagnosis and corrective plan best preserve the repository policy? Choose ONE.

### Options

**A**

Treat the blocker as an outdated approval: obtain another approving review, retain validate as the sole required check, and rerun both workflows with their existing job names before checking merge readiness.

**B**

Treat the blocker as missing pull-request ownership: set an assignee responsible for incorporating feedback, retain validate as the sole required check, and rerun both workflows with their existing job names before checking merge readiness.

**C**

Treat the duplicate job names as a source of check ambiguity: give the jobs names unique across workflows, update protection to require both distinct checks from GitHub Actions, and verify the checks and review requirements on the resulting pull-request head.

**D**

Treat the blocker as insufficient workflow identification: rename the workflows to Build validation and Security validation, retain validate as both job names, and update protection to require Build validation and Security validation separately from GitHub Actions; rerun both workflows and verify checks and review requirements on the resulting pull-request head.

Correct answer: C

### Explanation

C addresses the identity of the unresolved required check while preserving the intended protections. GitHub warns that using the same job name in multiple workflows can produce ambiguous status-check results and block merging. Here, both workflows report validate from GitHub Actions, so selecting that expected source does not distinguish the jobs. Give the jobs unique names, such as build-validation and security-validation, and configure both as required checks from the expected source. Run the relevant workflows and verify all requirements on the resulting pull-request head, including any review requirement affected by the changes. Another approval, workflow renaming, or an assignee does not resolve the duplicate job names. Requiring workflow names also fails to match the check names shown in the records. GitHub reference: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches. This explanation applies to product behavior checked as of November 7, 2026; availability at the October 13, 2026 study-guide snapshot is not asserted.

## Question 7

Type: single\_choice
Knowledge point: Reviewed changes and durable records

On GitHub.com, using product behavior checked as of November 7, 2026, you need to correct two mistaken pull request–issue relationships in one repository.

You have write access and permission to edit both pull request descriptions. The repository's default branch is main. Both pull requests target main, remain unmerged, and reference issues that are still open.

* PR #81 is linked to issue #42 solely through `Fixes #42` in its description. This relationship was never created manually.
* PR #82 is linked to issue #43 solely through a manual selection in the Development sidebar. Its description contains the ordinary reference `Related work: #43`, with no closing keyword.
* There are no other sources for either relationship.

You must remove both relationships while keeping both issues and both pull requests open, retaining their target branches, proposed changes, and unrelated description text.

Which plan accomplishes this? Choose ONE.

### Options

**A**

Manually unlink each pull request from its respective issue through Development, leaving both pull request descriptions unchanged.

**B**

Remove `Fixes #42` from PR #81's description, and manually unlink PR #82 from issue #43 through Development, leaving its ordinary description reference unchanged.

**C**

Manually unlink PR #81 from issue #42 through Development without editing its description; remove `Related work: #43` from PR #82's description while retaining its manual Development selection.

**D**

Remove `Fixes #42` from PR #81's description and `Related work: #43` from PR #82's description, leaving PR #82's manual Development selection unchanged.

Correct answer: B

### Explanation

The removal mechanism depends on how each relationship was created. PR #81's relationship comes from a closing keyword in its description, so removing `Fixes #42` from that description removes the keyword-created relationship. Only manually linked relationships can be manually unlinked, so PR #82's relationship must be removed through the manual unlink action. Its ordinary `Related work: #43` reference can remain because an ordinary mention does not establish the closing relationship. This plan removes both relationships without closing or merging either item, changing target branches, or altering proposed changes. Editing both descriptions is the nearest alternative, but it leaves PR #82's manually created relationship intact.

## Question 8

Type: single\_choice
Knowledge point: Reviewed changes and durable records

Use GitHub.com wiki behavior checked on November 7, 2026\. This scope does not establish feature availability on the study guide's October 13, 2026 update date.

A documentation maintainer is troubleshooting a wiki page with these confirmed conditions:

* The file is in the separate wiki repository ending in .wiki.git.
* The wiki's default branch is main. The latest commit has been pushed to main, and its updated content is visible on the website.
* The filename is Draft.textile.
* The body was written as Markdown. Its first line is '# RecoveryGuide', followed by a blank line and 'Use **read-only** checks before making changes.'
* The displayed page title is Draft, and the first line does not render as the intended level-one heading.

The required result is a page titled RecoveryGuide with the existing body rendered as Markdown, without rewriting the body into another markup language. Which next action addresses both problems for readers?

Choose ONE.

### Options

**A**

Rename Draft.textile to Draft.md, retain the Markdown body and its RecoveryGuide heading, and commit and push the rename to the wiki's main branch.

**B**

Rename Draft.textile to RecoveryGuide.md, retain the Markdown body, and commit and push the rename to the wiki's main branch.

**C**

Rename Draft.textile to RecoveryGuide.textile, retain the Markdown body, and commit and push the rename to the wiki's main branch.

**D**

Rename Draft.textile to RecoveryGuide.md, retain the Markdown body, and commit and push the rename only to a wiki topic branch, leaving main unchanged.

Correct answer: B

### Explanation

The wiki filename determines the page title, while its extension determines which markup converter renders the body. RecoveryGuide.md supplies the required title and selects the Markdown converter for the existing Markdown content. The current commit is already published from the correct wiki repository and default branch, so the observations point to the filename and extension rather than a publication failure. Renaming only the basename leaves the wrong converter selected; changing only the extension leaves the wrong page title. The complete rename must reach the wiki's default branch to affect readers. After pushing it, verify the displayed title and rendered heading.

## Question 9

Type: single\_choice
Knowledge point: Reviewed changes and durable records

In a GitHub.com repository, main is the destination branch for two proposed changes: • Correct a broken link in the onboarding documentation. • Revise the incident-notification policy. The changes are unrelated, and neither depends on the other. Required approval of the policy revision is blocked by an unresolved wording issue. The documentation correction can complete its own review and checks without resolving that issue. Every change must go through a pull request and satisfy its applicable review and check requirements. The documentation correction must be able to merge while the policy review remains blocked. If either change later needs to be reverted, the other must be able to remain in place. Using GitHub.com behavior documented as of November 7, 2026, which plan best meets these conditions? Choose ONE.

### Options

**A**

Commit the policy revision on a branch from main, then create the documentation branch from that policy branch and commit the link correction. Open both PRs against main and merge the documentation PR when only the documentation review and checks are complete.

**B**

Keep the policy revision on a short-lived branch with its own PR against main. Obtain approval for the documentation correction outside a PR and commit it directly to main, so documentation can proceed and its commit can later be reverted separately.

**C**

Create two independent short-lived branches from main, one for each change, and open a focused PR from each branch against main. Merge each PR only after its own requirements are met, allowing documentation to merge while policy review remains blocked and either change to be reverted independently.

**D**

Create one short-lived branch from main, put the changes in separate commits, and open one PR against main. Review the commits separately, wait for both changes to meet their requirements, and then merge the PR.

Correct answer: C

### Explanation

Use independent short-lived branches and focused PRs for the unrelated changes. Creating both branches from main keeps the policy revision out of the documentation PR's proposed changes. The documentation PR can therefore merge after satisfying its own requirements while the policy PR remains blocked. Keeping the changes separate also supports reverting one without unnecessarily reverting and reapplying the other. Separate commits within one combined PR do not provide independent merge timing, a documentation branch created from the changed policy branch includes that policy work when compared with main, and a direct commit would violate the stated PR requirement.

## Question 10

Type: single\_choice
Knowledge point: Reviewed changes and durable records

Use GitHub.com branch-protection behavior checked as of November 7, 2026.

You administer a repository whose main branch contains production access policies. The team uses short-lived work branches and focused pull requests. A proposed change expands access to a production service.

The release policy requires the repository to prevent merging unless:

* At least one authorized reviewer has approved the complete diff being merged. A subsequent change to that diff requires fresh approval.
* The policy-validation status check has passed for the proposed change.
* These requirements also apply when a repository administrator merges.

There is no requirement for signed commits, linear history, or a merge queue. The effective branch protection for main currently requires neither approving reviews nor status checks, and its restrictions do not apply to administrators. No other rules or bypass permissions apply.

The current pull request received an approval, but a later commit changed the access policy. The latest policy-validation check is failing.

Which complete plan enforces the release policy and handles the current pull request correctly? Choose ONE.

### Options

**A**

Keep the short-lived branch and pull request workflow. Require an approving review and a passing policy-validation check on main, including for administrators, but leave review-freshness controls disabled. Retain the existing approval, resolve the failing check, and merge once that check passes.

**B**

Keep the short-lived branch and pull request workflow. Require signed commits and linear history on main, but leave approving reviews and status checks optional. Obtain fresh approval and a passing policy-validation result, record both in the pull request, and then merge.

**C**

Keep the short-lived branch and pull request workflow. Require an approving review on main, dismiss stale approvals when the reviewed diff changes, require a passing policy-validation check, and apply these restrictions to administrators. Obtain approval of the updated diff and a passing check before merging.

**D**

Keep the short-lived branch and pull request workflow. Require an approving review, dismiss stale approvals, and require a passing policy-validation check for contributors. Leave administrators exempt and ask them to follow the same process voluntarily. Obtain fresh approval and a passing check before the current merge.

Correct answer: C

### Explanation

C maps each release condition to an enforceable branch-protection requirement. Required approving reviews make review a merge gate; dismissing stale approvals addresses changes to the reviewed diff; the required policy-validation check prevents merging while that check fails; and applying the restrictions to administrators closes the stated administrator exemption. The current pull request needs approval of its updated diff and a successful validation result before merging. Short-lived branches and pull requests remain suitable for organizing the work, but their existence does not enforce these conditions. Signed commits, linear history, and a merge queue are separate optional controls whose necessity depends on the actual risk and requirements.

## Question 11

Type: single\_choice
Knowledge point: Reviewed changes and durable records

On GitHub.com, using product behavior as of November 7, 2026, you must create a review-ready pull request proposing only a heading correction in docs/deployment.md into release/2.4\. The main branch is not an acceptable destination. Changes to the application's retry policy or CI workflow are outside this request. All named branches are in the same repository and are available for PR creation.

Your current selection is base release/2.4 and head docs/deployment. The available comparisons show these complete relevant differences:

* Base release/2.4, head docs/deployment: corrects the heading from "Deplyoment" to "Deployment", changes the application retry policy, and changes the CI workflow.
* Base main, head docs/deployment: contains only the intended heading correction.
* Base release/2.4, head docs/deployment-release: contains only the intended heading correction.
* Base docs/deployment-release, head release/2.4: changes the corrected heading "Deployment" back to "Deplyoment".

Which operation satisfies the destination and change-scope requirements? Choose ONE.

### Options

**A**

Select base release/2.4 and head docs/deployment-release, verify the documentation-only diff, and create a review-ready PR with a title and body describing the heading correction.

**B**

Select base main and head docs/deployment, verify the documentation-only diff, and create a review-ready PR with a title and body describing the heading correction.

**C**

Select base docs/deployment-release and head release/2.4, verify the displayed reverse diff, and create a review-ready PR with a title and body describing the heading correction.

**D**

Keep base release/2.4 and head docs/deployment, retain the displayed diff, and create a review-ready PR whose title and body state that only the heading correction is in scope.

Correct answer: A

### Explanation

A satisfies both requirements: release/2.4 is the destination base branch, and docs/deployment-release is the head branch containing the proposed correction. Their supplied comparison contains only the intended documentation change. B has a clean diff but targets main. D targets the correct destination but includes unrelated changes; describing a narrower scope in the title or body does not remove those changes. C reverses the required direction and proposes restoring the misspelling. The decision must follow both the base/head selections and the actual diff. Creating the PR requests review; it does not itself approve or merge the changes.

## Question 12

Type: single\_choice
Knowledge point: Reviewed changes and durable records

On GitHub.com, using product behavior documented as of November 7, 2026, you need to propose a documentation correction to the main branch of the organization-owned repository example-org/handbook. You have read access to that repository but cannot create or push branches there. The repository's settings and the organization's policies permit you to fork it into your personal account. You can create and push branches in your fork, your-account/handbook. Your correction will be committed on a branch named fix-guide. You must submit the correction for consideration in example-org/handbook:main without obtaining additional upstream permissions. Which complete operation plan meets these conditions? Choose ONE.

### Options

**A**

Fork example-org/handbook into your personal account, create and push the correction on your-account/handbook:fix-guide, then open a pull request with base example-org/handbook:main and head your-account/handbook:fix-guide.

**B**

Create fix-guide in example-org/handbook, commit and push the correction there, then open a pull request with base example-org/handbook:main and head example-org/handbook:fix-guide.

**C**

Fork example-org/handbook into your personal account, create and push the correction on your-account/handbook:fix-guide, then open a pull request with base your-account/handbook:main and head your-account/handbook:fix-guide.

**D**

Fork example-org/handbook into your personal account, create and push the correction on your-account/handbook:fix-guide, then open a pull request with base your-account/handbook:fix-guide and head example-org/handbook:main.

Correct answer: A

### Explanation

A satisfies both the permission boundary and the required contribution direction. Read access does not authorize creating or pushing branches in the upstream repository. The explicitly permitted fork provides a repository where you can push the correction. The pull request must use example-org/handbook:main as its base because that is the intended destination, and your-account/handbook:fix-guide as its head because that branch contains the proposed correction. Opening the pull request requests consideration; it does not approve or merge the change. B requires unavailable upstream write access. D reverses the contribution direction. C creates a pull request whose destination is the personal fork.

## Question 13

Type: single\_choice
Knowledge point: Reviewed changes and durable records

On GitHub.com, a contributor is updating documentation through the following sequence:

* Initial state: A draft pull request from docs-update (head) into main (base) is already open for early collaboration. Validation is unfinished, and the work should not yet be presented as ready for formal review.
* Next event: While validation remains unfinished, the contributor pushes a corrective commit to docs-update.
* Later goal: Once validation is complete, the work should be presented as ready for formal review.

Which plan and prediction correctly describe what these pull request operations themselves do? Choose ONE.

Applicability: GitHub.com product behavior checked as of November 7, 2026\. The adopted GH-700 study-guide snapshot is October 13, 2026; the November product behavior is not asserted to have existed on that earlier date, and the guide-update date is not an exam effective date.

### Options

**A**

Keep the existing PR as a draft while validation continues. The new head commit updates that PR. After validation finishes, mark the same PR ready for review; the readiness change itself automatically approves and merges the change.

**B**

Keep the existing PR as a draft while validation continues. The new head commit requires a replacement PR to include the update. After validation finishes, mark the replacement ready for review; neither the push nor the readiness change itself approves or merges the change.

**C**

Keep the existing PR as a draft while validation continues. The new head commit updates that PR. After validation finishes, mark the same PR ready for review; neither the push nor the readiness change itself approves or merges the change.

**D**

Mark the existing PR ready for review while validation continues. The new head commit updates that PR. After validation finishes, continue formal review on it; neither the push nor the readiness change itself approves or merges the change.

Correct answer: C

### Explanation

C satisfies the complete sequence. A draft PR supports early collaboration while signaling that the work is not yet ready for formal review. A new commit pushed to its head branch updates the existing PR, so a replacement PR is unnecessary. Once validation is complete, the contributor can mark the same PR ready for review. This changes its readiness state; it does not itself supply an approving review or merge the change. Applicable review and merge requirements must still be satisfied.

## Question 14

Type: single\_choice
Knowledge point: Reviewed changes and durable records

On GitHub.com, using product behavior checked on November 7, 2026, a pull request targets release/2026.11\. The following configuration has been verified:

* Branch protection rule P1 targets release/2026.11 and requires one approving review.
* Branch protection rule P2 targets release/\* and requires two approving reviews.
* Both patterns match the destination branch, but inspection confirms that P1 is the effective branch protection rule.
* Active ruleset R1 applies to the destination branch and requires the build check to pass.
* Active ruleset R2 also applies to the destination branch and requires the security-policy check to pass.
* Both rulesets apply to all actors in this scenario, with no applicable bypass.
* P1 retains the default exemption for repository administrators and roles with permission to bypass branch protections.

The PR contributor has ordinary write access and no bypass permission. The PR has one approving review, build has passed, and security-policy has failed. All other merge conditions are satisfied.

The repository maintainer must identify the current requirements for this PR and make administrators subject to P1's review requirement without increasing the intended review count.

Choose ONE correct assessment and action plan.

### Options

**A**

Treat one approval and both checks as currently required because P1 is effective and R1 and R2 both apply. Resolve the security-policy failure before merging; configure P1 to apply its restrictions to administrators.

**B**

Treat only P1's single approval as currently required because the effective branch protection rule replaces the other matching protection rule and both rulesets. Merge the PR now; configure P1 to apply its restrictions to administrators.

**C**

Treat one approval and both checks as currently required because P1 is effective and both rulesets apply. Resolve the security-policy failure before merging; leave P1 unchanged because active rulesets already extend its review requirement to administrators.

**D**

Treat two approvals and both checks as currently required because P1 and P2 match. Obtain a second approval and resolve the security-policy failure before merging; configure P1 to apply its restrictions to administrators.

Correct answer: A

### Explanation

Only one branch protection rule applies at a time. Because P1 is confirmed as effective, its one-review requirement applies to this contributor; P2 does not add a second-review requirement. Rulesets do not share that single-rule restriction, so both R1 and R2 contribute their stated requirements. The approval and build requirements are satisfied, but the failed security-policy check still blocks the PR. Separately, P1's default administrator exemption must be changed to make administrators subject to its review requirement. The presence of rulesets requiring checks does not change P1's administrator enforcement setting. These conclusions concern the stated GitHub.com behavior checked on November 7, 2026\. The adopted study-guide update of October 13, 2026 is not an asserted exam effective date or evidence that November product behavior existed on that earlier date.

## Question 15

Type: single\_choice
Knowledge point: Reviewed changes and durable records

An organization repository on GitHub.com uses the branch-protection behavior documented as of November 7, 2026\. Its policy requires every pull request into main to receive at least one approving review before merging, including merges performed by administrators or custom roles with bypass permission.

The effective configuration for main is:

* Exactly one branch protection rule matches main; no rulesets apply.
* Require a pull request before merging: enabled.
* Required approving reviews: 1.
* Do not allow bypassing the above settings: disabled.
* A custom repository role has the "bypass branch protections" permission.

While this configuration was in effect, a repository administrator merged a pull request into main with zero approving reviews.

Which conclusion and configuration change best address the policy gap for subsequent merges? Choose ONE.

### Options

**A**

The administrator's successful merge demonstrates compliance because administrator merge authority satisfies the approval requirement. Retain the current configuration and count an administrator's merge as the required approving review.

**B**

The successful merge does not demonstrate compliance because the rule permits privileged users to bypass its restrictions. Retain the required approving review and enable "Do not allow bypassing the above settings" to cover administrators and custom roles with bypass permission.

**C**

The successful merge shows that one required approval provides insufficient protection. Increase the required approving reviews from one to two while leaving "Do not allow bypassing the above settings" disabled.

**D**

The successful merge shows that a single matching branch protection rule provides insufficient enforcement. Add another rule matching main that requires one approving review, while leaving bypass restrictions disabled in both rules.

Correct answer: B

### Explanation

The policy requires an actual approving review before every merge, including privileged merges. A successful administrator merge with zero approvals therefore does not establish compliance. Under the specified GitHub.com behavior, branch protection restrictions do not apply by default to repository administrators or custom roles with the "bypass branch protections" permission. Enabling "Do not allow bypassing the above settings" applies the existing restrictions to those users as well. Retaining the one-review requirement and closing this exemption addresses the enforcement gap. Increasing the review count leaves the exemption intact, and adding another matching branch protection rule does not combine their requirements: only one branch protection rule applies at a time. The configuration change does not retroactively supply an approval for the completed merge.

## Question 16

Type: single\_choice
Knowledge point: Reviewed changes and durable records

On GitHub.com, using protected-branch behavior documented as of November 7, 2026, you must correct the history of main. Exactly one branch protection rule applies. Require linear history is enabled. Allow force pushes is also enabled for your maintenance team, and you have the required team membership and write permission. No bypass is being used. Both settings must remain enabled throughout the correction. Assume all other applicable requirements are satisfied. The current history is entirely linear and ends with commit P followed by erroneous commit E. The proposed replacement retains the history through P, then introduces R and T, each with P as its only parent. It ends at M, a merge commit whose two parents are R and T. Together, R and T contain the intended corrected content. The proposed replacement excludes E. Which judgment and next action satisfy these conditions? Choose ONE.

### Options

**A**

Reject the proposed replacement at M, rebuild the intended corrected content as a single-parent chain after P with no merge commits, and force push that linear replacement while retaining both protection settings.

**B**

Accept the proposed replacement and force push M to main, because the team's explicit force-push permission permits this history update despite M having two parents.

**C**

Reject the replacement under the current settings, temporarily disable Require linear history, force push M, and immediately restore that setting while leaving Allow force pushes enabled.

**D**

Reject the direct force push and submit the proposed history through a pull request, completing it with a merge commit because the pull-request route satisfies the linear-history requirement.

Correct answer: A

### Explanation

A satisfies both the authorization boundary and the history requirement. Allow force pushes permits an eligible contributor to perform a history-replacing update, but it does not override other branch protection requirements. M has two parents and is therefore a merge commit, so the proposed replacement violates Require linear history. Rebuilding the intended corrected content into a single-parent chain after P removes the conflicting merge structure while allowing E to be replaced. The authorized force push can then update main without suspending either protection, assuming the other stated requirements remain satisfied. Neither using a pull request with a merge commit nor temporarily disabling the protection meets the task's conditions.

## Question 17

Type: single\_choice
Knowledge point: Reviewed changes and durable records

Apply GitHub.com behavior documented as of November 7, 2026\. In repository acme/handbook, main remains the default branch throughout this timeline. All times are UTC on November 7, 2026.

* 09:00: Issues #42 and #43 are open.
* 09:05: PR #108 is created with base branch release-review and description "Fixes #42".
* 09:10: PR #109 is created with base branch main and description "Closes #43".
* 09:20: PR #108 is merged into release-review.
* 09:30: PR #109 is still open and unmerged. Both issues remain open.

Both issues and both PRs belong to this repository. No manual issue–PR links have been created, no commit messages contain closing keywords, and no other actions or automation change issue state.

Which judgment correctly identifies the closing links created by these descriptions and explains the issue states? Choose ONE.

### Options

**A**

PR #108's description creates no closing link to #42, and its merge leaves #42 open. PR #109's description already creates a closing link to #43, which remains open until PR #109 merges into main.

**B**

PR #108's description creates no closing link to #42, and its merge leaves #42 open. PR #109's description creates a closing link that should close #43 when PR #109 is created, so #43 remaining open is unexpected.

**C**

PR #108's description creates a closing link to #42, but its merge into release-review leaves #42 open. PR #109's description creates a closing link to #43, which remains open until PR #109 merges into main.

**D**

PR #108's description creates no closing link to #42, and its merge leaves #42 open. PR #109's description creates no closing link yet; that link and the closure of #43 occur only when PR #109 merges into main.

Correct answer: A

### Explanation

Closing keywords in a pull request description are interpreted only when the PR targets the repository's default branch. Although "Fixes #42" uses a supported keyword and same-repository reference, PR #108 targets release-review rather than main. Its description therefore creates no closing link, and merging it into release-review does not close #42\. PR #109 targets main, so "Closes #43" establishes the closing link when the PR is created. Linking and closing are separate events: #43 remains open while PR #109 is unmerged and closes automatically when that linked PR merges into main. Both observed open issue states are therefore expected. A visible reference to an issue does not by itself establish this automatic closing relationship.

## Question 18

Type: single\_choice
Knowledge point: Reviewed changes and durable records

Use GitHub.com behavior documented as of November 7, 2026\. A repository's default branch is main. Pull request #87 targeted main and was merged. It contained a commit with the message "Fixes #42", and that commit is now on main. Issue #42 is in the same repository and is closed. The PR description contains no closing-keyword reference to #42, and no manual PR-to-issue link was created. Issue #42 does not list #87 as a linked pull request. You have repository write permission and need an explicit PR-to-issue relationship for traceability. Which explanation and next action correctly address these observations? Choose ONE.

### Options

**A**

The commit keyword can close #42 without making #87 a linked pull request. Add a plain #42 reference in a comment on #87 and treat that mention as the required explicit PR-to-issue relationship.

**B**

The commit keyword cannot close #42 when the commit reaches main through a PR. Create another commit on main with the message "Closes #42" and rely on that commit to establish #87 as a linked pull request.

**C**

The commit keyword can close #42 without making #87 a linked pull request. Use #87's Development sidebar to select issue #42, then verify that the explicit PR-to-issue relationship appears.

**D**

The commit keyword automatically created the PR relationship when it closed #42\. Treat the issue's closed state as sufficient proof that #87 is linked and leave the relationship unchanged.

Correct answer: C

### Explanation

Issue closure and an explicit PR-to-issue relationship are separate outcomes. A supported closing keyword in a commit message can close the referenced issue when the commit is merged into the repository's default branch. However, the PR containing that commit is not listed as a linked pull request on that basis. Therefore, the closed issue and missing linked-PR entry are consistent with the stated conditions. With write permission and both items in the same repository, use PR #87's Development sidebar to select issue #42, then verify the relationship. A plain mention supplies a reference rather than the required explicit link, and another closing-keyword commit would not establish the missing PR relationship.

## Question 19

Type: single\_choice
Knowledge point: Reviewed changes and durable records

On GitHub.com, apply the documented behavior checked on November 7, 2026\. You have write permission to both acme/service and acme/operations and can access all the items below. Pull request acme/service#84 addresses two existing issues: acme/service#21 and acme/operations#63\. Neither issue is currently linked to the pull request. The pull request page and both issue pages have a Development section in their sidebars. Before merging, you need both existing issues to show acme/service#84 as a linked pull request in Development. Keep both issues in their current repositories and leave the pull request description and commit messages unchanged. Which complete action plan establishes both required relationships? Choose ONE.

### Options

**A**

Open acme/service#84 and select acme/service#21 in its Development section. Then add a comment mentioning acme/service#84 to acme/operations#63, using that reference to establish the second Development relationship.

**B**

Open each issue's Development section. For acme/service#21, select repository acme/service and pull request #84, then click Apply. For acme/operations#63, select repository acme/operations and look for acme/service#84 there, then click Apply.

**C**

Open acme/service#84 and use its Development section to select acme/service#21\. In that same pull request sidebar, switch the issue picker to acme/operations and select issue #63.

**D**

Open acme/service#84 and select acme/service#21 in its Development section. Then open acme/operations#63, use its Development section to choose repository acme/service, select pull request #84, and click Apply.

Correct answer: D

### Explanation

The two Development entry points have different repository scopes. From a pull request's sidebar, a writer can manually link issues in the same repository, so acme/service#21 can be selected from acme/service#84\. For the cross-repository relationship, open acme/operations#63 and use the issue's Development section. Select acme/service because it contains the pull request, select pull request #84, and click Apply. This establishes the requested relationships without moving issues or editing descriptions or commit messages. A comment mentioning the pull request provides a reference rather than the requested Development link. Establishing these links before merge does not mean a merge or issue closure has occurred.

## Question 20

Type: single\_choice
Knowledge point: Reviewed changes and durable records

In this practice scenario, you are updating the existing Deployment checklist page in a repository wiki on GitHub.com. The web-editor behavior is bounded to product evidence checked on November 7, 2026.

Before editing, the page contains these two sentences:  
Before deployment, record the change identifier.  
After deployment, run the smoke test.

Required update:

* Keep the first sentence unchanged.
* Replace the second sentence with: After deployment, run the smoke test and record its result.
* Display the words smoke test in bold.
* Use an edit message that accurately describes the change, then verify the saved rendering and its corresponding history entry.

First attempted edit:

* Edit mode was Markdown.
* The replacement sentence enclosed smoke test with one asterisk on each side.
* The edit message was: Record smoke-test results before deployment.
* Save Page was selected.

Observed after saving:

* The first sentence remains unchanged.
* The second sentence contains the requested wording, but smoke test appears in italics.
* The latest page-history entry displays: Record smoke-test results before deployment.

Which complete corrective plan satisfies all requirements? Choose ONE.

### Options

**A**

Edit the same wiki page in Markdown mode. Retain the single asterisks around smoke test and change the edit message to Record smoke-test results after deployment. Select Save Page, then confirm the unchanged first sentence, the replacement sentence with italic emphasis, and the new history message.

**B**

Edit the same wiki page in Markdown mode. Change the replacement sentence to Before deployment, run the smoke test and record its result, with double asterisks around smoke test. Use the edit message Record smoke-test results before deployment. Select Save Page, then confirm the unchanged first sentence, the revised sentence with bold emphasis, and the new history message.

**C**

Edit the same wiki page in Markdown mode. Replace the single asterisks around smoke test with double asterisks and use the edit message Record smoke-test results after deployment. Select Save Page, then confirm the unchanged first sentence, the replacement sentence with bold emphasis, and the new history message.

**D**

Edit the same wiki page in Markdown mode. Replace the single asterisks around smoke test with double asterisks and retain the edit message Record smoke-test results before deployment. Select Save Page, then confirm the unchanged first sentence, the replacement sentence with bold emphasis, and the retained message in the new history entry.

Correct answer: C

### Explanation

C corrects both demonstrated defects while preserving the requested procedure. In Markdown, double asterisks produce bold emphasis; the single asterisks used in the attempted edit produced italics. The procedure requires recording the smoke-test result after deployment, so the edit message must describe that timing accurately. Editing the existing wiki page, saving it, and inspecting both the rendered page and the corresponding history entry establishes the required content, presentation, and traceability. A leaves the formatting defect, B changes the required timing, and D leaves a misleading edit message.

## Question 21

Type: single\_choice
Knowledge point: Reviewed changes and durable records

Apply GitHub.com wiki behavior documented as of November 7, 2026\. An example public repository has Wiki enabled, and you have permission to edit its wiki. The ordinary repository clone URL is https://github.com/example-org/runbooks.git. No wiki page has ever been created. You want to clone the wiki, edit a page locally, and publish the update for readers. Your proposed first command is git clone https://github.com/example-org/runbooks.git. Which diagnosis and complete operation sequence meets this goal? Choose ONE.

### Options

**A**

The proposed URL targets the wrong repository. Immediately run git clone https://github.com/example-org/runbooks.wiki.git, create and commit Home.md locally, and push to the wiki's default branch. This push replaces the need to create an initial page on GitHub.

**B**

Both initialization and repository selection need attention. Create and save the first page in the repository's Wiki on GitHub, run git clone https://github.com/example-org/runbooks.wiki.git, edit and commit the page on a topic branch, and push that topic branch. Its pushed changes are then published to wiki readers.

**C**

Both initialization and repository selection need attention. Create and save the first page in the repository's Wiki on GitHub, run git clone https://github.com/example-org/runbooks.wiki.git, edit and commit the page locally, and push to the wiki's default branch. Verify the updated page on GitHub.

**D**

The proposed URL is suitable after initialization. Create and save the first page in the repository's Wiki on GitHub, run git clone https://github.com/example-org/runbooks.git, edit and commit Home.md in that clone, and push to the ordinary repository's default branch to publish the wiki update.

Correct answer: C

### Explanation

C satisfies all three dependencies: create and save an initial wiki page on GitHub before cloning, clone the separate repository whose URL ends in .wiki.git, and push the committed update to that wiki repository's default branch. The proposed ordinary .git URL clones the main repository rather than its wiki. Creating the initial wiki page does not change what the ordinary repository URL targets. A wiki topic branch can support local work, but pushing that branch alone does not publish its changes to readers. After the default-branch push, inspect the rendered wiki page to confirm the intended update.

## Question 22

Type: single\_choice
Knowledge point: Reviewed changes and durable records

On GitHub.com, a repository maintainer is troubleshooting a wiki update using wiki behavior documented as of November 7, 2026\. The following facts have been verified for this example:

* An initial wiki page was created on GitHub before the wiki was cloned.
* The clone's origin is https://github.com/example-org/training-portal.wiki.git.
* The wiki's remote default branch is master. The ordinary training-portal repository has main as its default branch.
* A commit updating the existing Deployment-Guide.md page is present on both the local docs-refresh branch and the remote origin/docs-refresh branch. The wiki's origin/master does not contain that commit.
* The maintainer can push to the wiki's master branch. The filename and valid Markdown format have not changed, but the wiki page still displays the old content.

Which diagnosis and complete next action best addresses these observations? Choose ONE.

### Options

**A**

The page's .md extension is preventing publication. Rename Deployment-Guide.md to Deployment-Guide.markdown on docs-refresh, commit and push that branch to origin, and reload the wiki page.

**B**

The topic-branch push already satisfies the publication requirement. Push docs-refresh to origin/docs-refresh again, leave master unchanged, and reload the wiki page to complete publication.

**C**

The wiki publishes from the ordinary repository's default branch. Copy the updated page into the training-portal repository, commit and push it on main there, and check the wiki page.

**D**

The update is confined to a nondefault wiki branch. Merge docs-refresh into the wiki's master branch, push master to the existing .wiki.git origin, and verify the rendered wiki page.

Correct answer: D

### Explanation

The commit reached the correct wiki repository, but it exists only on docs-refresh. Wiki branches can hold changes without publishing them: only changes pushed to the wiki's default branch become live for readers. Here, that branch is master. Merging the update into the wiki's master branch and pushing master to the .wiki.git origin addresses the missing publication condition. The rendered page should then be checked. Pushing the ordinary repository's main branch affects a separate repository, repeating the topic-branch push leaves master unchanged, and switching between supported Markdown extensions does not correct the destination branch.

