exam questions

Exam 70-486 All Questions

View all questions & answers for the 70-486 exam

Exam 70-486 topic 1 question 147 discussion

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

You have a class that includes the following code. (Line numbers are included for reference only.)

You must enforce the following requirements for the actions:

You need to configure the class.
Which three actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. Add the following code segment at line 17:
  • B. Add the following code segment at line 1:
  • C. Add the following code segment at line 10:
  • D. Add the following code segment at line 1:
  • E. Add the following code segment at line 17:
  • F. Add the following code segment at line 10:
Show Suggested Answer Hide Answer
Suggested Answer: BEF 🗳️
References:
https://docs.microsoft.com/en-us/aspnet/core/security/authorization/roles?view=aspnetcore-2.1

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
gow
Highly Voted 5 years, 4 months ago
sorry answer is BEF. Refer https://docs.microsoft.com/en-us/aspnet/core/security/authorization/roles?view=aspnetcore-3.1
upvoted 13 times
...
Gods_Kenny
Highly Voted 5 years, 2 months ago
BEF is the correct answer
upvoted 11 times
...
mr_
Most Recent 4 years, 11 months ago
IMO BEF is correct.
upvoted 4 times
...
gow
5 years, 4 months ago
answer is BCF. Refer https://docs.microsoft.com/en-us/aspnet/core/security/authorization/roles?view=aspnetcore-3.1
upvoted 1 times
...
AlexFromGalax
5 years, 6 months ago
B,C,E is right not F
upvoted 2 times
AlexFromGalax
5 years, 6 months ago
Please ignore comment i did not see "both" in the question
upvoted 6 times
...
founderDev
5 years, 4 months ago
important keyword : both , either
upvoted 1 times
founderDev
5 years, 4 months ago
answer is BEF.
upvoted 5 times
...
aarset89
5 years ago
"OR"...
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 ...