Salesforce Certified Business Analyst Practice Questions

Salesforce Certified Business Analyst exam preparation

Salesforce Certified Business Analyst practice questions in English: 180 questions with explanations. The mock exam has 60 questions and 105 minutes.

Salesforce Certified Business Analyst free question 9 / 10 · Domain 5: User Stories

Two business analysts edit the same lines of one requirements file on separate branches. After the first branch is merged, the second pull request shows a problem. What has happened, and how does the Trailhead unit say to resolve it?

  1. A failed review, resolved by asking the same reviewer to approve the second pull request again
  2. A duplicate branch, resolved by deleting the older branch on GitHub so that the newer one remains
  3. A merge conflict, resolved by keeping the version of the lines you want, deleting the markers, and committing
  4. A permissions error, resolved by adding the second analyst as a collaborator on the repository
Show the answer and explanation

Answer: C

Why this is correct
The Handle Merge Conflicts section says merge conflicts occur when there are multiple commits on separate branches to the same sections of the same files. Here the second pull request conflicts with the first branch after it is merged. To resolve it, the author finds the file with the conflict, picks which version of the lines to keep, and deletes the other along with the conflict markers Git added. The author then commits the change, after which the pull request is free of conflicts and can be merged.

Why the other options are wrong
"A failed review, resolved by asking the same reviewer to approve the second pull request again" … The problem described comes from commits to the same sections of the same file on separate branches, which the unit calls a merge conflict. It is not a review outcome.
"A duplicate branch, resolved by deleting the older branch on GitHub so that the newer one remains" … Deleting a branch discards its changes. The unit says to keep the version you want from the two that are present, and then commit.
"A permissions error, resolved by adding the second analyst as a collaborator on the repository" … A conflict arises from the edits themselves, not from access rights. The unit says to resolve it in the file or on GitHub, then merge.

Key points
Depending on how complex the conflict is, it can be resolved in the browser on GitHub, or locally by merging main into the branch.

Go to the Salesforce Certified Business Analyst practice app (10 free questions; purchase unlocks all questions)

See the full practice set