exam questions

Exam 98-361 All Questions

View all questions & answers for the 98-361 exam

Exam 98-361 topic 1 question 95 discussion

Actual exam question from Microsoft's 98-361
Question #: 95
Topic #: 1
[All 98-361 Questions]

You have a SQL Server database named MyDB that uses SQL Server Authentication.
Which connection string should you use to connect to MyDB?

  • A. Data Source=MyDB; UserID=username; Password=P@sswOrd; Initial Catalog=Sales
  • B. Data Source=MyDB; Integrated Security=SSPI; Initial Catalog=Sales
  • C. Data Source=MyDB; Integrated Security=True; Initial Catalog=Sales
  • D. Data Source=MyDB; Trusted_Connection=True; MultipleActiveResultSets=True; Initial Catalog=Sales
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
Integrated Security -
Integrated Security is by default set to false.
When false, User ID and Password are specified in the connection.
Incorrect:
not C: Windows Authentication (Integrated Security = true) remains the most secure way to log in to a SQL Server database.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Currently there are no comments in this discussion, be the first to comment!
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago