Free Microsoft GH-900 Actual Exam Questions - Question 4 Discussion

Question No. 4
How are commits related to pull requests?
Select one option, then reveal solution.
US
FY
Farhan Y.
2026-02-21

Maybe A, since commits exist on branches and PRs link to those branches.

0
FY
Farhan Y.
2026-02-19

It’s A for sure. Commits are tied to branches, and the pull request is basically a proposal to merge those branch commits. B and C don’t work because you can add commits both before and after opening a PR. D is off since commits aren’t made “on” a PR; the PR just references the branch’s commits. So A captures the relationship best without mixing up the order or scope of commits and PRs.

0
FY
Farhan Y.
2026-02-18

B tbh, commits can't only happen after a PR since you normally commit first to the branch. So B is definitely out. A fits better because PRs are just requests to merge commits already on a branch.

0
FY
Farhan Y.
2026-02-17

A vs C? I don’t think commits only happen before a PR is created because you can keep pushing commits to the branch after opening the PR, which will update the PR automatically. So C feels wrong. D is off because commits aren’t made on the PR itself, they’re always on branches. That leaves A as the most straightforward and general option.

0
FY
Farhan Y.
2026-02-15

Probably A, since commits belong to branches which PRs then propose to merge.

0
ZN
Zain N.
2026-02-10

D imo, commits don't happen "on a pull request" itself; PRs are more like a request to merge a branch with commits. So commits belong to branches, not directly to PRs.

0
ZN
Zain N.
2026-01-25

It’s A, commits happen on branches and PRs just link to those branches.

0
AX
Ali X.
2026-01-25

A imo, commits live on branches independently of pull requests. You can keep committing after opening a PR, and the PR just tracks those branch changes. B and C are off because commits aren’t tied strictly to before or after PR creation, and D mixes up how branches and PRs relate.

0
YW
Yasir W.
2026-01-15

A commits happen on branches; pull requests just propose merging those branches.

0
AS
Ali S.
2026-01-12

It's gotta be A. Commits happen on a branch, and that branch can have a pull request linked to it. B and C are too strict, and D flips the relationship wrong.

0