PrepAway - Latest Free Exam Questions & Answers

What should you recommend?

You are evaluating an ASP.NET Web application that includes three methods:
-Calculate() performs CPU-intensive calculations on the server.
-GetData() retrieves data from a server-side data store and returns an XML file.
-WriteData() receives an XML file and writes data from the file to a server-side data store.
You need to recommend an approach for maximizing server throughput.
What should you recommend?

PrepAway - Latest Free Exam Questions & Answers

A.
Synchronous processing for the GetData() and WriteData() methods.

B.
Synchronous processing for the WriteData() and Calculate() methods.

C.
Asynchronous processing for the GetData() and Calculate() methods.

D.
Asynchronous processing for the GetData() and WriteData() methods.

Explanation:
Only GetData and WriteData can run in asynchronous (the operations do not require CPU performance)


Leave a Reply