70-563 Pro: Designing and Developing Windows Applications Using the Microsoft .NET Framework 3.5 - Presentation Transcript
Exam Name: Pro: Designing and Developing Windows Applications Using the Microsoft .NET
Framework 3.5
Exam Type: Microsoft
Exam Code: 70-563 (CSharp) Total Questions: 86
Question: 1
You are creating a Windows Forms application by using the .NET Framework 3.5. The application
will use a wizard interface that has 14 panels. Each panel will use data elements stored in the
local database. The application will use a Microsoft SQL Server 2008 Compact Edition to locally
store application data. The users can save their position in the wizard between application
sessions. Users will access the application from their Windows Vista client computers. You need
to ensure that users can retrieve their position in the wizard from any client computer. What
should you do?
A. Store the application state in the App.config file
B. Store the application state in the Machine.config file
C. Store the application state in the local data store. Use SQL Server 2008 replication to
synchronize the application state data to a remote SQL Server 2008 database instance.
D. Store the application state in the local data store. Use the Microsoft Sync Framework to
synchronize the local data store to a remote SQL Server 2008 database instance.
Answer: D
Question: 2
You are creating a Windows application by using the .NET Framework 3.5. You can use data
manipulation operations on the entities stored in a database. You are designing a data access
layer for the application. The database schema can change. You need to ensure that the
application is minimally affected by the changes made to the database schema. What should you
do?
A. Use stored procedures to perform data manipulation on the entities.
B. Use parameterized command objects to perform data manipulation on the entities.
C. Use the DataReader and Command objects to perform data manipulation on the entities.
D. Use the DataAdapter and typed DataSet objects to perform data manipulation on the entities.
Answer: A
Question: 3
You are creating a Windows application by using the .NET Framework 3.5. The application will
access data files that are installed along with the application. The application must be able to
locate these data files. You need to record the location of the installed data files. You also need to
ensure that the application can be accessed by roaming users. What should you do?
A. Change the Known Folder FOLDERID_Profile to the location where the application is installed.
B. Create an application-specific Known Folder that is prefaced by using FOLDERID along with
the location where the application is installed.
C. Append your application name to the Known Folder FOLDERID_Program location. Write this
value to an HKLM registry key.
D. Append your application name to the Known Folder FOLDERID_ProgramFiles location. Write
this value to an HKLM registry key.
Answer: B
Question: 4
You create a Windows application by using the .NET Framework 3.5. The application connects to
a Microsoft SQL Server 2008 database table named Customer to retrieve and display customer
information. Users of the application view and modify data from the Customers table. You plan to
use a DataAdapter object and a DataSet object to retrieve data. You need to select an
Page 1 of 32
Exam Name: Pro: Designing and Developing Windows Applications Using the Microsoft .NET
Framework 3.5
Exam Type: Microsoft
Exam Code: 70-563 (CSharp) Total Questions: 86
appropriate concurrency strategy that maintains data integrity and scalability. What should you
do?
A. During updates, examine only the primary key column to update the customer details.
B. Add a time stamp column to the Customer table. During updates, examine the time stamp
column to see whether data is changed.
C. Create a SQL transaction object that has the isolation level set to Serializable. During updates,
set the transaction object to the UpdateCommand command of the DataAdapter object.
D. Create a SQL transaction object that has the isolation level set to RepeatableRead. Set the
transaction object to the SelectCommand command of the DataAdpater object, and then
retrieve data. During updates, set the same transaction object to the UpdateCommand
command of the DataAdapter object.
Answer: B
Question: 5
You are creating a Windows application by using the .NET Framework 3.5. The application stores
customer details in a database within the corporate network. The application has a form that
contains a TextBox control to capture the customer name. The auto-complete feature must be
used in the TextBox control to display the customer names entered since the application started.
You need to ensure that the application meets the following requirements:
It is available in the offline mode.
It provides the fastest response time for the auto-complete feature.
What should you do?
A. Implement one-level caching by caching all customer records within a DataSet object in the
application.
B. Implement one-level caching by caching all customer records within a Microsoft SQL Server
2008 Express Edition database.
C. Implement two-level caching. First, cache all customer records within a DataSet object in the
application. Then, cache the customer names entered in the TextBox control to a Microsoft
SQL Server 2008 Compact Edition database.
D. Implement two-level caching. First, cache all customer records within a Microsoft SQL Server
2008 Compact Edition database. Then, cache the customer names entered in the TextBox
control within a List<T> object in the application.
Answer: D
Question: 6
You are creating a Windows application by using the .NET Framework 3.5. The application will
access an external Windows Communication Foundation (WCF) service by using the following
contract.
[ServiceContract(SessionMode=SessionMode.NotAllowed)]
public interface IOrderService
{
}
The service contract has multiple operations. The operations will be called by the Windows
application when required. For a single invocation of the application, you plan to maintain the
information of the application state between subsequent method calls to the WCF service. The
Page 2 of 32
Exam Name: Pro: Designing and Developing Windows Applications Using the Microsoft .NET
Framework 3.5
Exam Type: Microsoft
Exam Code: 70-563 (CSharp) Total Questions: 86
application state information cannot be persisted once the application closes. You need to ensure
that the application can consume the WCF service. What should you do?
A. Save the information of the application state in the Windows application.
B. Save the information of the application state in a Microsoft SQL Server 2008 database.
C. Save the information of the application state in the HttpContext.Current.Session property.
D. Use the binding and transport elements to support sessions for the WCF service in the
Windows application.
Answer: A
Question: 7
You are creating a Windows application by using the .NET Framework 3.5. The application
creates lookup fields by using data from a database within the corporate network. You use the
DataAdapter object to retrieve data as a DataSet from the database. You need to reduce the
network bandwidth that is used by the application. What should you do?
A. Use a DataReader object instead of the DataAdapter object to retrieve data.
B. Use a LINQ to SQL query to retrieve data. Defer loading the data until required.
C. Create a local database cache in the application by using a Microsoft SQL Server 2008
Compact 3.5 database.
D. Create a Windows Communication Foundation (WCF) service to return the data. Use the
service from the application.
Answer: C
Question: 8
You create a Windows application by using the .NET Framework 3.5. The application is used by
employees to submit timesheets and to generate reports. The application must contain a
Managers role and an Employees role. You have the following security requirements:
Members of the Managers role can approve the timesheets.
Members of the Employees role can generate reports only if they are a member of the local
administrators group.
Members of the Managers role can access the application from untrusted domains.
You need to design a security model to meet the design requirements. What should you do ?
A. Define the Managers and Employees roles as custom roles in the database.
B. Define the Managers and Employees roles as local system roles.
C. Define the Employees role as a custom role in the database and the Managers role as a local
system role.
D. Define the Managers role as a custom role in the database and the Employees role as a local
system role.
Answer: D
Question: 9
You are creating a Windows application by using the .NET Framework 3.5. The application is
used to browse through purchase orders. The purchase order data is stored in a file on the local
computer. The application synchronizes purchase order data with a central database by using a
Web service. You discover that other applications on the computer can access the purchase
order data. You need to ensure that the purchase order data can be accessed only by the
Windows application. What should you do?
Page 3 of 32
END OF DEMO EXAM
See below to purchase full and up-to-date version.
Testking $89 Lifetime Membership Features;
- Testking $89 Lifetime Membership Package includes over 1700 Exams.
- All Testking questions and answers are included in $89 package.
- All Testking audio exams are included free in $89 package (See List).
- All Testking study guides are included free in $89 package (See List).
- Lifetime login access.
- Free updates for Lifetime.
- Free Download Access to All new exams added in future.
- Accurate answers with explanations (If applicable).
- Questions accompanied by exhibits (If applicable)
- Verified answers researched by industry experts.
- Study Material updated on regular basis.
- Questions, Answers and Study Guides are downloadable in PDF format.
- Audio Exams are downloadable in MP3 format.
- No authorization code required to open exam.
- Portable anywhere.
- 100% success Guarantee.
- Fast, helpful support 24x7.
View list of All exams (Q&A) downloads
http://www.test-kings.com/allexams.asp
View list of All Study Guides (SG) downloads
http://www.test-kings.com/study-guides.asp
View list of All Audio Exams (AE) downloads
http://www.test-kings.com/audio-exams.asp
Download All Exams Samples
http://www.test-kings.com/samples.asp
To purchase $89 Lifetime Full Access Membership click here
http://www.test-kings.com/purchase.asp
3COM CompTIA Filemaker IBM LPI OMG Sun
ADOBE ComputerAssociates Fortinet IISFA McAfee Oracle Sybase
APC CWNP Foundry Intel McData PMI Symantec
Apple DELL Fujitsu ISACA Microsoft Polycom TeraData
BEA ECCouncil GuidanceSoftware ISC2 Mile2 RedHat TIA
BICSI EMC HDI ISEB NetworkAppliance Sair Tibco
CheckPoint Enterasys Hitachi ISM Network-General SASInstitute TruSecure
Cisco ExamExpress HP Juniper Nokia SCP Veritas
Citrix Exin Huawei Legato Nortel See-Beyond Vmware
CIW ExtremeNetworks Hyperion Lotus Novell SNIA
SAMPLE EXAM
Note: Sample Exam is for DEMO purpose only it can be out-of-date. Full Version is up-to-date.
0 comments
Post a comment