exam questions

Exam 70-483 All Questions

View all questions & answers for the 70-483 exam

Exam 70-483 topic 3 question 10 discussion

Actual exam question from Microsoft's 70-483
Question #: 10
Topic #: 3
[All 70-483 Questions]

You have an assembly named Assembly named Assembly1 that is written in C#.
Your company plans to sell Assembly =1 to customers. The customers might debug Assembly1.
You need to minimize the amount of information contained within the debug symbols that are shipped with Assembly1.
How should you create the debug symbols for Assembly1?

  • A. Create a new PDB file by running pdbcopy.exe.
  • B. Build Assembly1 by using a Debug configuration.
  • C. On the Build page of the project properties for Assembly1, click Define TRACE constant and clear Define DEBUG constant.
  • D. Build Assembly1 by using a Release configuration.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Reference:
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/preprocessor-directives/preprocessor-define

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
izi
Highly Voted 5 years, 5 months ago
I think the correct answer is A. https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/using-pdbcopy Moreover, it's described in the 'Public and private symbols' section in the preparation book.
upvoted 23 times
...
sscooter1010
Highly Voted 5 years, 3 months ago
Page 282 of the 70-483 exam ref leads me to believe the answer has to be A. "The tool pdbcopy can be used to make a copy of a pdb file and remove all the private elements. You can also provide pdbcopy with a list of symbols to be removed."
upvoted 12 times
...
Ptu12125
Most Recent 4 years, 4 months ago
Answer A can be an answer but only after applying the Debug symbol updates provided in Answer C. So, correct answer is C.
upvoted 1 times
...
Ptu12125
4 years, 4 months ago
I think correct answer is C. The reason is, in the question main goal is to define symbols not to create debug file. In the question, requirement is to minimize amount of information contained within Debug symbol. text from the question: You need to minimize the amount of information contained within the debug symbols that are shipped with Assembly1. How should you create the debug symbols for Assembly1?
upvoted 1 times
...
lh2607
4 years, 10 months ago
A is correct
upvoted 4 times
...
jj6000
5 years, 3 months ago
Anyone can confirm it's A?
upvoted 5 times
mendolf92
5 years, 3 months ago
Yes, with the pdbcopy tool you will do a copy of the original pdb file without the private member included
upvoted 9 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago