PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which namespace structure should you use?

You are an enterprise application developer. You develop an application for a food store subsidiary of a company named Contoso, Ltd. The application contains the following components: ASP.NET applicationBusiness entitiesBusiness componentsData access layerLoggingData access helper The application design must meet the following requirements:
Use an N-tier environment.
Use components that can be reused
Use assembly names that map to the first three sections of the namespaces.

You need to identify the structure of the namespaces.
Which namespace structure should you use?

What should you do?

You create a Windows application by using the .NET Framework 3.5.
You plan to design the deployment of an application.
The requirement specifies that DLL files must be added to the global assembly cache (GAC) as part of the
deployment process.
You need to use the appropriate deployment technique to meet the requirement.
What should you do?

Which authentication mechanism should you use?

You create an ASP.NET application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
The application will be deployed to a Microsoft Windows Server 2008 server.
Intranet users will access the application by using Windows Vista client computers.
The Web server, client computers, and Windows user accounts are located in the same Active Directory.
You need to identify an appropriate authentication mechanism that meets the following requirements:
– Supports security impersonation and delegation.
– Avoids passing user credentials as clear text.
Which authentication mechanism should you use?

What should you do?

You create a Windows Forms application by using the .NET Framework 3.5. The application is used for audio/video management. The application provides the following features:

* Usage license for music or video can be purchased from an online store.
* Backup of music and video for disaster recovery can be done.
* Custom playlists can be created to organize downloaded content.

The application has the following requirements:
* A license file is required to play local music or video.
* Users can access previously-purchased content from any computer that runs the application.
* User theme settings for the UI might only be customized for each computer.

You need to design a state and data management strategy that meets the requirements.What should you do?

What should you do?

You are an enterprise application developer. You are creating a component that will be used to analyze various data sources. The component performs the following tasks in sequence: It accepts data from multiple online sources.It analyzes the data from each source.It returns a computed aggregate value. The types of data sources can change over the life of the component. You need to design the component to improve scalability. You also need to ensure that the component design allows for addition of data sources in future and also for modifications in the existing data sources.
What should you do?

What should you do?

You are creating a Windows application by using the .NET Framework 3.5.
You plan to deploy the application to the %ProgramFiles%\Contoso directory on computers that run
Windows Vista and Microsoft Windows XP operating systems.
The user settings are stored between user sessions.
Users with non-administrative privileges must be able to execute the application.
You need to store the user settings without causing a security exception or a permission exception.
What should you do?

Which binding object should you use?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
The application exposes a Windows Communication Foundation (WCF) service that will be consumed by an ASP.NET application.
The WCF application and the ASP.NET application will be deployed on the same server.
You need to ensure that the WCF service meets the following requirements:
– The communication between the applications incurs minimum latency.
– The binding satisfies the ordered delivery constraint that is specified in the service implementation by using the DeliveryRequirements attribute.
Which binding object should you use?

What should you do?

You are creating a Windows application by using the .NET Framework 3.5. Your company has an existing ASP.NET Web application that uses a Microsoft SQL Server 2008 data source. The application authenticates users by using the SqlRoleProvider and SqlMembershipProvider classes. You plan to design a strategy to
authenticate users to the Windows application by using the same SQL Server 2008 data source. You need to implement the strategy by using minimum possible code. What should you do?

What should you do?

You are an enterprise application developer. You are working on an enterprise-wide reporting application. The physical design of the application currently requires four servers that must be configured in the following manner: Two application servers as a failover cluster in the application tier. Two database servers as a failover cluster in the data tier. You need to evaluate the physical design for maximum utilization of the servers and provide a solution that is scalable.
What should you do?

Which location should you use?

You are creating a Windows application by using the .NET Framework 3.5.
The application will be installed on %ProgramFiles%. The employees use the application to maintain a list
of created and edited document files.
When the list is saved, the operating system must not display a User Account Control (UAC) elevation prompt.
You need to identify an appropriate location to save the list.
Which location should you use?