exam questions

Exam MB-500 All Questions

View all questions & answers for the MB-500 exam

Exam MB-500 topic 3 question 73 discussion

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

A company uses Dynamics 365 Finance.

You implement the Insert method for a table you create. The class must meet the following requirements:

• If FieldA is equal to “Hello,” then FieldB must save the integer value 10.
• If FieldA is equal to “World,” then FieldB must save the integer value 20.
• Otherwise FieldB must save the integer 0.

You need to implement the code.

Which two code segments can you use? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

  • A.
  • B.
  • C.
  • D.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

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
1 month ago
Selected Answer: AC
why not B? FieldB get 0 all the time. why not D? There is no break statement in the case.
upvoted 1 times
...
alinders
1 month, 1 week ago
Selected Answer: CD
A: the switch case breaks with the first option. C: the switch case doesn't break so all options can be considered
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 ...