PrepAway - Latest Free Exam Questions & Answers

Category: 70-504

Exam 70-504: TS: Microsoft .NET Framework 3.5 – Workflow

What should you do to add an activity before the throwActivity1 activity?

You create a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5.

The workflow design is as shown in the following exhibit. (Click the Exhibit button.)

You need to add an activity before the throwActivity1 activity. You also need to ensure that the added activity allows the throwActivity1 activity to throw an exception only if the Approved event is not received in four hours.

exhibit What should you do?

What should you do to ensure that the workflow queue is available for local services before the custom activit

You are creating a Windows Workflow Foundation custom activity by using Microsoft .NET Framework 3.5. The workflow has an event-based activity that waits for an item to arrive in a workflow queue. You need to ensure that the workflow queue is available for local services before the custom activity is executed. What should you do?

What should you do to add a CodeActivity activity named CleanupActivity for the eventDrivenActivity1 branch?

You create a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5.

The workflow has a ListenActivity activity as shown in the following exhibit. (Click the Exhibit button.)

The event handlers are bound to an ExternalDataExchange interface that defines the Approve and Decline events.
You need to add a CodeActivity activity named CleanupActivity for the eventDrivenActivity1 branch to execute when a Decline event is raised.

exhibit What should you do?

What should you do to ensure that the workflow performs the following tasks?

You create a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5. The application uses a sequential workflow.

You plan to add a workflow to the application.

You need to ensure that the workflow performs the following tasks:

It listens for an event raised by the host application.
It waits only for 30 minutes for the event to be raised.

What should you do?

What should you do to ensure that the tool loads the workflow diagram in the viewer?

You create a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5. The application hosts state machineCbased workflows. The application contains two assemblies. One assembly contains the workflows and the other assembly contains the ExternalDataExchange interfaces. You monitor the application by using the Workflow Monitor tool. You need to ensure that the tool loads the workflow diagram in the viewer. What should you do?

What should you do to configure the tracking service?

You create a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5. The application is a high-volume shopping cart system that processes over 100,000 transactions every day. The application tracks workflows by using the SqlTrackingService class. The application must partition data based on a 24-hour period. You need to configure the tracking service.
What should you do?

What should you do to ensure that the VotingService service informs the custom activity ?

You are creating a Windows Workflow Foundation custom activity by using Microsoft .NET Framework 3.5.

The custom activity has the following features:

It uses a voting process.
It completes execution after the receipt of a Yes or a No vote from an end user.

The voting process is managed by a local service of type VotingService. The voting process can take 15 to 20 days.
You need to ensure that the VotingService service informs the custom activity when a vote is received.

What should you do?

What should you do to ensure that the customer list does not appear in XAML ?

You are creating a Windows Workflow Foundation custom activity class named UpdateCustomersActivity by using Microsoft .NET Framework 3.5.

You write the following code segment in the class.
IList _customerList = new List<int>();
public IList CustomerList
{
get { return _customerList; }
}

The custom activity uses the WorkflowMarkupSerializer class.

You need to ensure that the customer list does not appear in XAML when the custom activity is serialized.

What should you do?


Page 1 of 912345...Last »