PrepAway - Latest Free Exam Questions & Answers

Category: 70-518

Exam 70-518: Pro: Designing and Developing Windows Applications Using Microsoft .NET Framework 4

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?

What should you do?

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 two-way callback operation.

You plan to design a service interaction strategy.

You need to ensure that deadlocks are prevented.

What should you do?

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?

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 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?

What should you recommend?

You are designing a Windows Presentation Foundation (WPF) application that accesses a Microsoft SQL Server 2008 database.

You must ensure that database administrators can change the structure of database tables without requiring redeployment of the WPF application.

You need to recommend a data modeling and data access strategy.

What should you recommend?.

What should you do?

You are analyzing a Windows client application that uses Microsoft Visual Studio 2010 and Microsoft SQL Server 2008.

The application updates two database tables from the main user interface (UI) thread. You need to ensure that the following requirements are met:
The database tables are either updated simultaneously or not updated at all. Users are notified of the success or failure of the updates. Users are able to perform other tasks during the update process.

What should you do?

What should you recommend?

You are designing a Windows Presentation Foundation (WPF) application. The WPF application displays indicators to compare your company’s past performance to the current day’s operations data. The WPF application accesses historic data from your company’s data warehouse through a Web service, and accesses current data directly from a Microsoft SQL Server 2008 database.

The WPF application must meet the following requirements:
Retrieve historic data from the data warehouse at application startup and then once per day. Retrieve current data from the database every five minutes, and then update the indicators.
Cache all retrieved data.
Target the .NET Framework 4 Client Profile.
You need to recommend an approach to data caching.

What should you recommend?

What should you do?

You are developing an application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.

The application contains a grid that displays customer data stored in a database table. Users report that the grid takes a long time to display.

You plan to implement data caching to improve loading time for the grid.

You need to ensure that the cached data expires when the customer data is updated.

What should you do?

What should you recommend?

You are modifying an existing Windows Presentation Foundation (WPF) application that uses .NET Framework 4. The WPF application uses a wizard to capture data and insert the data into a database. The database includes one parent table and many child tables.

Inserting captured data in the database locks many database tables and delays application access.

You have the following requirements:
Reduce delays when saving data.
Ensure that other application users are not blocked from reading data. Ensure that captured data is available only after all child tables are updated.

You need to recommend an approach for inserting captured data into the database.

What should you recommend?


Page 9 of 10« First...678910