exam questions

Exam 70-487 All Questions

View all questions & answers for the 70-487 exam

Exam 70-487 topic 5 question 3 discussion

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

You need to implement a solution that meets the logging requirements.
Which class should you use?

  • A. RouteAttribute
  • B. RoutePrefixAttribute
  • C. AcceptVerbsAttribute
  • D. ActionFilterAttribute
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
ozner16
4 years, 5 months ago
answer is correct. Requirement: "Before any action in CarController is executed, the following line of code must execute first. Debug.WriteLine("pre-processing logging");" OnActionExecuting would do this: Called by the ASP.NET MVC framework before the action method executes. https://docs.microsoft.com/en-us/dotnet/api/system.web.mvc.actionfilterattribute?view=aspnet-mvc-5.2
upvoted 4 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