Microsoft
70-516 · Question #141
70-516 Question #141: Real Exam Question with Answer & Explanation
Sign in or unlock 70-516 to reveal the answer and full explanation for question #141. The question stem and answer options stay visible for context.
Question
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server 2008 database. The application uses a Microsoft ADO.NET SQL Server managed provider. When a connection fails, the application logs connection information, including the full connection string. The information is stored as plain text in a .config file. You need to ensure that the database credentials are secure. Which connection string should you add to the .config file?
Options
- AData Source=myServerAddress; Initial Catalog=myDataBase; Integrated Security=SSPI;
- BData Source=myServerAddress; Initial Catalog=myDataBase; Integrated Security=SSPI;
- CData Source=myServerAddress; Initial Catalog=myDataBase; User Id=myUsername;
- DData Source=myServerAddress; Initial Catalog=myDataBase; User Id=myUsername;
Unlock 70-516 to see the answer
You've previewed enough free 70-516 questions. Unlock 70-516 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.