What should you do?

You are designing an application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
The application includes Windows Workflow Foundation (WF) hosts that run thousands of workflow instances. Workflows usually take 2 hours of time to complete. The application also includes a Windows Communication Foundation (WCF) service that contains a method to check the completion status of a workflow stored in a database.
External applications that use the WCF service to check the status of workflows every minute causes performance degradation of the workflow that hosts the application.
You need to eliminate the performance degradation caused by workflow status checks.
What should you do?
A. Cache the status of the workflow.
. Assign a callback function based on a SqlDependencyobject.
. Reload the cache in the callback function.
B. Cache the status of the workflow.
. Set the expiry time of the Cache object to 30 minutes.
C. Create a status checking workflow.
. Return the status of the original workflow to the external application in 30 minute intervals.
D. Create a status checking workflow.
. Return the status of the original workflow to the external application after 10 requests have been made.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.