PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which cryptograpny provider should you use?

You use Microsoft visual Studio 2010 and Microsoft NET Framework 4 to create an application. The
application connects to a Microsoft SQL Server database The application stores encrypted credit card
numbers in the database. You need to ensure that credit card numbers can be extracted from the
database. Which cryptograpny provider should you use?

You need to ensure that users can connect to the server application even when the number of client application

You have developed a Windows Forms server application by using Microsoft .NET
Framework 4. Client applications connect to the server application to receive streaming
media on demand on a single server. Each incoming connection is launched on a separate
thread. As the number of client applications increases, users report that connection
attempts intermittently fail. You need to ensure that users can connect to the server
application even when the number of client applications increases. What should you do?

Which approach should you recommend?

You are designing an ASP.NET Web Forms application that uses a database containing
user names and hashed passwords for authentication. The Web application includes a login
form in which users type their user names and passwords. You need to design a strategy to
ensure that the user’s login credentials cannot be stolen through a man-in-the- middle
attack. Which approach should you recommend?

Which approach should you recommend?

You are designing a SharePoint 2010 solution. You need to design the solution to meet the
following requirements: ·All sites must have a consistent structure when initially created. .All
sites must include a document library that contains Word documents with searchable
properties. .Site users must be able to generate a spreadsheet detailing the properties of
the document library contents. Which approach should you recommend?

Which code segment should you insert at line 04?

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The
application connects to a Microsoft SQL Server database. The application uses the following object
query to load a product from the database. (Line numbers are included for reference only.)
01using (AdventureWorksEntities advWorksContext = new AdventureWorksEntities())
02{
03ObjectQuery<Product> productQuery = advWorksContext.Product.Where(“it.ProductID = 900”);
04

05 }
You need to log the command that the query executes against the data source.
Which code segment should you insert at line 04?

Which line of code should you use?

You develop a Microsoft .NET Framework 4 application that uses the Entity Framework to store
entities in a Microsoft SQLServer2008 database. While the application is disconnected from the
database, entities that are added or modified are serialized to a local file. The next time the
application connects to the database, it retrieves a Customer entity from the database by using an
object context named context and stores the entity in a variable named remoteCustomer. The
application then deserializes the Customer entity from the local file and stores the entity in a
variable named localCustomer. The remoteCustomer and the localCustomer variables have the same
entity key. You need to ensure that the offline changes to the Customer entity are persisted in the
database when the ObjectContext.SaveChanges() method is called. Which line of code should you
use?

Which deployment technology should you use?

You are designing a Windows Presentation Foundation (WPF) application by using
Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The application contains a
COM component. You plan to deploy the application to several client computers by using
read-only media. You need to ensure that the COM component is registered during
deployment of the application. Which deployment technology should you use?

You need to ensure that the application can detect all conflicts that occur between the offline customer infor

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The
application connects to a Microsoft SQL Server database. The application uses DataContexts to query
the database. The application meets the following requirements:
• Stores customer data offline.
• Allows users to update customer records while they are disconnected from the server.
• Enables offline changes to be submitted back to the SQL Server by using the DataContext
object.
You need to ensure that the application can detect all conflicts that occur between the offline
customer information submitted to the SQL Server and the server version. You also need to ensure
that you can roll back local changes. What should you do?