Microsoft
70-518 · Question #69
70-518 Question #69: Real Exam Question with Answer & Explanation
Sign in or unlock 70-518 to reveal the answer and full explanation for question #69. The question stem and answer options stay visible for context.
Question
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?
Options
- ACreate a data access layer class that uses a database factory class to access all databases.
- BAdd the connection string information for the databases to the configuration file for the WPF
- CCreate a data access layer class that uses a database factory class to access all databases.
- DAdd the connection string information for the databases to the configuration file for the WPF
Unlock 70-518 to see the answer
You've previewed enough free 70-518 questions. Unlock 70-518 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.