exam questions

Exam MB-500 All Questions

View all questions & answers for the MB-500 exam

Exam MB-500 topic 4 question 51 discussion

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

A company is developing a new solution in Dynamics 365 Supply Chain Management. Customers will be able to use the solution in their own implementations.

Several of the classes in the solution are designed to be extended by customers in other implementations to accommodate unique requirements.

Certain methods must show up in the output window during the build process to advise other developers about the intent of the methods.

You need to implement the statements for the methods.

What should you implement?

  • A. comments
  • B. attributes
  • C. global variables
  • D. properties
  • E. info() function
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
globeearth
2 weeks, 6 days ago
Selected Answer: B
Attributesare metadata that can be applied to classes, methods, or other elements to provide additional information or behavior. Specific attributes, such as [SysObsolete] or custom attributes, can be used to display messages in the output window during the build process, informing developers about the purpose or status of methods (e.g., whether they are intended for extension or deprecated).
upvoted 1 times
...
smithlaod
7 months, 1 week ago
B. attributes Explanation: Attributes in .NET can be used to annotate methods with additional metadata, which can be processed at compile time or run time. You can create a custom attribute that outputs messages during the build process. However, for general purposes, you might also see that certain build systems can utilize attributes to display information in the output window.
upvoted 1 times
...
techsupport
7 months, 1 week ago
Selected Answer: B
The SysObsolete attribute is used to mark methods as obsolete. During the build process, this attribute will trigger a warning in the output window.
upvoted 1 times
...
salvatagio
8 months, 1 week ago
Selected Answer: B
The SysObsolete attribute is used to mark methods as obsolete. During the build process, this attribute will trigger a warning in the output window.
upvoted 1 times
...
Ali20
1 year, 1 month ago
Selected Answer: A
ChatGPT: The correct choice to implement statements for methods that should show up in the output window during the build process to advise other developers about the intent of the methods is: A. comments
upvoted 2 times
8933e4c
7 months, 1 week ago
I agree. I suppose it is simply the well known todo comment.
upvoted 1 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 ...