You need to eliminate the performance degradation caused by workflow status checks
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?
Which two actions should you recommend?
You are designing a Windows Presentation Foundation (WPF) application that uses .NET
Framework 4. The application uses a subset of the functionality provided by a third-party
COM component that will be replaced later. The application developers must have access
to only the required subset of functionality. You need to recommend a solution that meets
the requirements. Which two actions should you recommend? (Each correct answer
presents part of the solution. Choose two.)
What should you recommend?
You are designing an n-tier solution for use by multiple groups of users. The solution
consists of a client application that collects information from users and transmits it to a
business layer for processing. The business layer sends the information to a service layer
by using Windows Communication Foundation (WCF). The service layer exists on multiple
servers. The solution must send the collected information to a specific server in the service
layer based on the user’s group. You need to recommend an approach that will allow the
information to be sent to the correct server. What should you recommend?
You need to ensure that deadlocks are prevented
You are designing a Windows application by using Microsoft .NET Framework 4 and
Microsoft Visual Studio 2010. The business logic layer of the application is implemented by
using Windows Communication Foundation (WCF). You create a duplex bidirectional WCF
service that contains a single operation. The service operation sends the result back to the
client application by using a twoway callback operation. You plan to design a service
interaction strategy. You need to ensure that deadlocks are prevented. What should you
do?
Which location should you recommend?
You are designing a Windows Presentation Foundation (WPF) application. The WPF
application contains code that will be executed by both full trust callers and partial trust
callers. The WPF application code does not have the AllowPartialTmstCallers attribute set.
You have the following requirements: The application security settings must allow partial
trust callers to create and write to a file. Users must have access only to files that they
create and not to files created by other users. You need to recommend a location for storing
each user’ s files. Which location should you recommend?
Which class should you use?
You are designing an application by using Microsoft .NET Framework 4 and Microsoft
Visual Studio 2010. The application will store data that includes a time and date stamp. The
middle tier of the application is implemented by using Windows Communication Foundation
(WCF). The middle tier connects to geographically separated database servers. You need
to ensure that the application meets the following requirements: Data stored contains time
and date information local to the database server. Data stored contains Universal
Coordinated Time (UTC). Which class should you use?
What are two possible ways to achieve this goal?
You are designing a Windows Presentation Foundation (WPF) application. The application
calls methods that perform long-running computational tasks. You need to recommend an
approach for ensuring that the application remains responsive while the tasks are executing.
What are two possible ways to achieve this goal? (Each correct answer presents a
complete solution. Choose two.)
What are two possible message exchange patterns that will meet the requirements?
You are designing a Windows Presentation Foundation (WPF) client application that
requests reports from a Windows Communication Foundation (WCF) Web service. Users
must be able to perform other tasks while the WCF Web service generates the report. You
need to recommend a message exchange pattern for the communication between the WPF
application and the WCF Web service. What are two possible message exchange patterns
that will meet the requirements? (Each correct answer presents a complete solution.
Choose two.)
What should you recommend?
You are designing an n-tier solution that includes a Windows Presentation Foundation
(WPF) client application. The WPF application connects to a middle-tier server that runs the
data access layer. The data access layer connects to a Microsoft SQL Server 2008
database and to a mainframe-based database. The mainframe-based database will be
replaced in one year. You have the following requirements: Centrally manage all database
connections. Minimize changes to the code base when the database is replaced. Ensure
that the WPF application will not need to be redeployed when the database is replaced. You
need to recommend an approach for designing the data access layer. What should you
recommend?
Which two tasks should you perform?
You are designing a Windows application by using Microsoft .NET Framework 4 and
Microsoft Visual Studio 2010. You need to use a replacement culture for the application at
runtime. You also need to ensure that the information in the custom culture will be available
to the application. Which two tasks should you perform? (Each correct answer presents part
of the solution. Choose two.)