70-432 · Question #67
You are the administrator of a SQL Server 2008 with two instances. The two instances are respectively named InstanceA and InstanceB. There is a database named Dworks on InstanceA. You move the…
Sign in or unlock 70-432 to reveal the answer and full explanation for question #67. The question stem and answer options stay visible for context.
Question
You are the administrator of a SQL Server 2008 with two instances. The two instances are respectively named InstanceA and InstanceB. There is a database named Dworks on InstanceA. You move the Dworks database to InstanceB. A user use a SQL Server login named Mary to access the database on InstanceA with the password "Tk@87#34". On InstanceB, you create the same SQL Server login. The user tries to use the SQL Server login Mark to access the Dworks database on InstanceB. But the user gets an error message, according to the indication of the message, the access to the Dworks database has been denied. You have to make sure that the user can access the Dworks database on InstanceB successfully. On InstanceB, which Transact-SQL statements should you execute?
Options
- AUSE AdventureWorks;ALTER USER Mary WITH LOGIN = Mary;
- BUSE AdventureWorks;ALTER LOGIN Mary ENABLE;
- CUSE AdventureWorks;ALTER LOGIN Mary WITH PASSWORD = "Tk@87#34" UNLOCK;
- DUSE AdventureWorks;ALTER LOGIN Mary WITH DEFAULT_DATABASE = AdventureWorks;
Unlock 70-432 to see the answer
You've previewed enough free 70-432 questions. Unlock 70-432 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.