exam questions

Exam 70-486 All Questions

View all questions & answers for the 70-486 exam

Exam 70-486 topic 1 question 74 discussion

Actual exam question from Microsoft's 70-486
Question #: 74
Topic #: 1
[All 70-486 Questions]

You are developing an ASP.NET MVC application that uses forms authentication against an Oracle database.
You need to authenticate the users.
Which code segment should you use?

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
When implementing a custom membership provider, you are required to inherit the MembershipProvider abstract class.
There are two primary reasons for creating a custom membership provider.
You need to store membership information in a data source that is not supported by the membership providers included with the .NETFramework, such as a
FoxPro database, an Oracle database, or other data source.
You need to manage membership information using a database schema that is different from the database schema used by the providers that ship with the .NET
Framework. A common example of this would be membership data that already exists in a SQL Server database for a company or Web site.
Reference: MembershipProvider Class
https://msdn.microsoft.com/en-us/library/system.web.security.membershipprovider(v=vs.110).aspx

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
hungry_ape9000
Highly Voted 4 years, 12 months ago
FINAL ANSWER: D is correct
upvoted 5 times
...
arohh
Most Recent 4 years, 5 months ago
Answet is: MembershipProvider
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago