exam questions

Exam MB-500 All Questions

View all questions & answers for the MB-500 exam

Exam MB-500 topic 2 question 3 discussion

Actual exam question from Microsoft's MB-500
Question #: 3
Topic #: 2
[All MB-500 Questions]

You are a Dynamics 365 Finance developer. You make changes to an existing custom class.
The code comparison tool shows version conflicts between your version and the latest checked-in version of the custom class.
In Visual Studio, you open the Source Control Explorer. You locate the latest changeset for the class and you open the changeset in Team Explorer.
You need to compare the latest code that is in source control with the code that you created.
Which option should you use?

  • A. Compare with Workspace Version
  • B. Compare with Previous Version
  • C. View History
  • D. Compare with Latest Version
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
sertan
Highly Voted 3 years ago
Correct answer is A, it says you open the latest changeset and compare it to your version (which gives conflict) so you compare it to your local code then, which is Compare to Workspace version.
upvoted 15 times
TBM1987
2 years, 10 months ago
What? No! There is a conflict between your modifications and the LATEST CHECK-IN VERSION from someone else. So, you compare your changes to the latest version that is already checked-in by someone else. Therefore the answer is D. "A"would be correct if you compare your changes to the version you have checked-out it from
upvoted 3 times
kushal095
2 years, 9 months ago
No, correct answer is A because, as the question said, you opened the latest changeset and you are comparing this changeset to the changes you made, hence workspace version
upvoted 4 times
...
...
...
globeearth
Most Recent 2 weeks, 1 day ago
Selected Answer: D
To compare the latest code in source control with the code you created, you should use D. Compare with Latest Version in Team Explorer. This option compares your local workspace version (the code you modified) with the latest version of the class in source control, allowing you to identify and resolve version conflicts effectively.
upvoted 1 times
...
theCoder1
5 months, 3 weeks ago
Selected Answer: D
correct D right-click the file and select Compare with Latest Version to compare your changes to the latest version of the file on Azure DevOps Server. A for check out to compare with workspace https://learn.microsoft.com/en-us/azure/devops/repos/tfvc/compare-files?view=azure-devops
upvoted 1 times
...
Aghenon
6 months, 1 week ago
If you select Compare with Workspace Version, you might be comparing your current local file with the last downloaded version, which may not be the latest version in the repository if you haven't synchronized recently. This might not show you all the recent changes made by others, which is crucial for resolving conflicts accurately.
upvoted 1 times
...
ManjunathCH
6 months, 1 week ago
Selected Answer: D
when you have conflict, the changes are not yet present in workspace, so compare with Latest version is correct. Option D is correct.
upvoted 2 times
...
JorgeNieves
6 months, 4 weeks ago
Selected Answer: A
A is correct
upvoted 1 times
...
theCoder1
1 year, 4 months ago
Or, right-click the file and select Compare with Latest Version to compare your changes to the latest version of the file on Azure DevOps Server.
upvoted 1 times
sohaiby
1 year, 1 month ago
Yeah, but the question is asking you to open the changeset, which is the code checked-in to the repo, so you need to compare it with your local (Workspace version) to check the conflicts
upvoted 1 times
...
...
Hmedd
1 year, 7 months ago
Selected Answer: A
Compare with workspace version
upvoted 1 times
...
jorgepuebla
1 year, 8 months ago
In the "Unsynced Commits" section, you should see your changes that are pending to be checked-in. Right-click on the change and select "Compare with Latest Version". Alternatively, if you want to compare the changes in the custom class directly, you can use the "Compare with Workspace Version" option instead.
upvoted 1 times
...
jovank
2 years, 9 months ago
Selected Answer: A
Correct is A
upvoted 1 times
...
TBM1987
2 years, 10 months ago
Correct is D There is a conflict between your modifications and the LATEST CHECK-IN VERSION from someone else. So, you compare your changes to the latest version that is already checked-in by someone else. Therefore the answer is D. "A"would be correct if you compare your changes to the version you have checked-out it from
upvoted 2 times
kushal095
2 years, 9 months ago
No, correct answer is A because, as the question said, you opened the latest changeset and you are comparing this changeset to the changes you made, hence workspace version
upvoted 1 times
...
...
gverstrepen
2 years, 10 months ago
Selected Answer: A
Correct answer is "A"... you need to the "latest version" in DevOps to the "Workspace version"
upvoted 1 times
...
Bukhari
3 years, 6 months ago
Correct
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...