exam questions

Exam 70-483 All Questions

View all questions & answers for the 70-483 exam

Exam 70-483 topic 2 question 152 discussion

Actual exam question from Microsoft's 70-483
Question #: 152
Topic #: 2
[All 70-483 Questions]

You are developing an application that will use multiple asynchronous tasks to optimize performance.
You create three tasks by using the following code segment. (Line numbers are included for reference only.)

You need to ensure that the ProcessTasks() method waits until all three tasks complete before continuing.
Which code segment should you insert at line 09?

  • A. Task.WaitAll(tasks);
  • B. Task.Delay(3);
  • C. Task.WaitAny(tasks);
  • D. Task.Yield(tasks);
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
supersunny
Highly Voted 5 years, 10 months ago
A is the option.
upvoted 15 times
...
ABF_80
Most Recent 4 years, 9 months ago
A is correct
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 ...