Same Microsoft 70-458 Practice Tests Questions From Microsoft Centre 100% Pass! (81-90)
New Released Braindump2go Microsoft 70-458 Dumps PDF – Questions and Answers Updated with Microsoft Official Exam Center! Visit Braindump2go and download our 70-458 Exam Questions Now, Pass 70-458 100% at your first time!
Vendor: Microsoft
Exam Code: 70-458
Exam Name: Transition Your MCTS on SQL Server 2008 to MCSA: SQL Server 2012, Part 2 Exam
QUESTION 81
Drag and Drop Question
You administer a database named SalesDb that has users named UserA, userB, and UserC.
You need to ensure that the following requirements are met:
– UserA must be able to provide Windows logins access to the database.
– UserB must be able to select, update, delete, and insert data to the database tables.
– UserC must be able to create new tables and stored procedures.
You need to achieve this goal by granting only the minimum permissions required.
To which fixed database role or roles should you add the users? (To answer, drag the appropriate use role or roles. Answer choices may be used once, more than once, or not at all. Answer targets may be additionally, you may need to drag the split bar between panes or scroll to view content.)
Answer:
Box 1:
db_ddladmin: UserC
UserC needs to be able to add tables and procedures. He can do these through the db_ddladmin role (through the create statement).
Members of the db_ddladmin fixed database role can run any Data Definition Language (DDL) command in a database.
DDL is abbreviation of Data Definition Language. It is used to create and modify the structure of database objects in database.
Examples: CREATE, ALTER, DROP statements
Box 2:
db_datareader: UserB
UserB needs to be able to select data.
Members of the db_datareader fixed database role can run a SELECT statement against any table or view in the database.
Box 3:
db_datawriter: UserB
UserB needs to update, delete, and insert data. He can do these through the db_datawriter role. Members of the db_datawriter fixed database role can add, delete, or change data in all user tables.
Box 4:
db_owner: <leave blank>
Not required in this scenario.
Members of the db_owner fixed database role can perform all configuration and maintenance activities on the database.
Box 5:
db_acccessadmin: UserA
This enables UserA to provide Windows logins access. Members of the db_accessadmin fixed database role can add or remove access for Windows logins, Windows groups, and SQL Server logins.
QUESTION 82
Drag and Drop Question
You administer several Microsoft SQL Server 2012 servers.
Your company has a number of offices across the world connected by using a wide area network (WAN).
Connections between offices vary significantly in both bandwidth and reliability.
You need to identify the correct replication method for each scenario.
What should you do? (To answer, drag the appropriate replication method or methods to the correct location or locations in the answer area. Each replication method may be used once, more than once, or not at all.)
Answer:
Explanation:
http://msdn.microsoft.com/en-us/library/ms151198.aspx
QUESTION 83
Drag and Drop Question
You are a database administrator of a Microsoft SQL Server 2012 environment.
The environment contains two servers named SQLServer01 and SQLServer02.
The database Contoso exists on SQLServer01.
You plan to mirror the Contoso database between SQLServer01 and SQLServer02 by using database mirroring.
You need to prepare the Contoso database for database mirroring.
Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)
Answer:
Explanation:
http://msdn.microsoft.com/en-us/library/ms190941.aspx
http://msdn.microsoft.com/en-us/library/ms189852.aspx
QUESTION 84
You create an availability group that has replicas named HA/Server01 and HA/Server02. Currently, HA/Server01 is the primary replica.
You have multiple queries that read data and produce reports from the database.
You need to offload the reporting workload to the secondary replica when HA/Server01 is the primary replica.
What should you do?
A. Set the Availability Mode property of HA/Server02 to Asynchronous commit.
B. Set the Readable Secondary property of HA/Server02 to Read-intent only.
C. Set the Connections in Primary Role property of HA/Server01 to Allow read/write
connections.
D. Set the Availability Mode property of HA/Server01 to Asynchronous commit.
Answer: B
Explanation:
http://msdn.microsoft.com/en-us/library/jj542414.aspx
QUESTION 85
You administer several Microsoft SQL Server 2012 database servers.
Merge replication has been configured for an application that is distributed across offices throughout a wide area network (WAN).
Many of the tables involved in replication use the XML and varchar (max) data types. Occasionally, merge replication fails due to timeout errors.
You need to reduce the occurrence of these timeout errors.
What should you do?
A. Set the Merge agent on the problem subscribers to use the slow link agent profile.
B. Create a snapshot publication, and reconfigure the problem subscribers to use the
snapshot publication.
C. Change the Merge agent on the problem subscribers to run continuously.
D. Set the Remote Connection Timeout on the Publisher to 0.
Answer: A
Explanation:
http://msdn.microsoft.com/en-us/library/ms151223.aspx http://msdn.microsoft.com/en-us/library/ms147839.aspx
QUESTION 86
You administer a Microsoft SQL Server 2012 database.
You create an availability group named haContosoDbs.
Your primary replica is available at Server01\Contoso01.
You need to configure the availability group to have the highest availability.
You also need to ensure that no data is lost.
Which Transact-SQL statement should you use?
A. ALTER AVAILABILITY GROUP haContosoDbs MODIFY REPLICA ON ‘Server01\Contoso01’ WITH
(AVAILABILITY_MODE = ASYNCHRONOUS_COMMIT, FAILOVER_MODE = AUTOMATIC)
B. ALTER AVAILABILITY GROUP haContosoDbs MODIFY REPLICA ON ‘Server01\Contoso01’ WITH
(AVAILABILITY_MODE = SYNCHRONOUS_COMMIT, FAILOVER_MODE = MANUAL)
C. ALTER AVAILABILITY GROUP haContosoDbs MODIFY REPLICA ON ‘Server01\Contoso01’ WITH
(AVAILABILITY_MODE = SYNCHRONOUS_COMMIT, FAILOVER_MODE = AUTOMATIC)
D. ALTER AVAILABILITY GROUP haContosoDbs MODIFY REPLICA ON ‘Server01\Contoso01’ WITH
(AVAILABILITY_MODE = ASYNCHRONOUS_COMMIT, FAILOVER_MODE = MANUAL)
Answer: C
Explanation:
http://msdn.microsoft.com/en-us/library/ff877931.aspx
QUESTION 87
You administer two Microsoft SQL Server 2012 servers.
Each server resides in a different, untrusted domain.
You plan to configure database mirroring.
You need to be able to create database mirroring endpoints on both servers.
What should you do?
A. Configure the SQL Server service account to use Network Service.
B. Use a server certificate.
C. Use a database certificate.
D. Configure the SQL Server service account to use Local System.
Answer: B
Explanation:
http://technet.microsoft.com/en-us/library/ms179511.aspx
http://technet.microsoft.com/en-us/library/ms186384.aspx
QUESTION 88
You are migrating a database named Orders to a new server that runs Microsoft SQL Server 2012.
You attempt to add the [Corpnet\User1] login to the database.
However, you receive the following error message:
“User already exists in current database.”
You need to configure the [Corpnet\User1] login to be able to access the Orders database and retain the original permissions.
You need to achieve this goal by using the minimum required permissions.
Which Transact-SQL statement should you use?
A. DROP USER [User1];
CREATE USER [Corpnet\User1] FOR LOGIN [Corpnet\User1];
ALTER ROLE [db_owner] ADD MEM3ER [Corpnet\User1];
B. ALTER SERVER RCLS Isysadmin] ADD MEMBER [Corpnet\User1];
C. ALTER USER [Corpnet\User1] WITH LOGIN [Corpnet\User1];
D. ALTER ROLE [db owner] ADD MEMBBR [Corpnet\User1];
Answer: C
Explanation:
http://msdn.microsoft.com/en-us/library/ms176060.aspx
QUESTION 89
You administer a Microsoft SQL Server 2012 database.
You configure Transparent Data Encryption (TDE) on the Orders database by using the following statements:
You attempt to restore the Orders database and the restore fails.
You copy the encryption file to the original location.
A hardware failure occurs and so a new server must be installed and configured. After installing SQL Server to the new server, you restore the Orders database and copy the encryption files to their original location. However, you are unable to access the database.
You need to be able to restore the database.
Which Transact-SQL statement should you use before attempting the restore?
A. CREATE ASSEMBLY TDE_Assembly FROM ‘d:\TDE_Certificate.cer’ WITH PERMISSION_SET = SAFE;
GO
CREATE CERTIFICATE TDE_Certificate FROM ASSEMBLY TDE_Assembly;
B. CREATE CERTIFICATE TDE_Certificate FROM EXECUTABLE FILE = ‘d:\TDE_Certificate.cer’
C. CREATE CERTIFICATE TDE_Certificate FROM FILE = ‘d:\TDE_Certificate.cer’ WITH PRIVATE KEY
(FILE = ‘d:\TDE_Certificate.key’,
DECRYPTION BY PASSWORD ‘MyPassword1!’);
D. DECLARE @startdate date
SET @startdate = GETDATE()
CREATE CERTIFICATE TDE_Certificate FROM FILE = ‘d:\TDE_Certificate.cer’ WITH START_DATE
= @startdate;
Answer: C
Explanation:
http://msdn.microsoft.com/en-us/library/ff773063.aspx
http://msdn.microsoft.com/en-us/library/bb510663.aspx
http://msdn.microsoft.com/en-us/library/bb934049.aspx
QUESTION 90
You administer a Microsoft SQL Server 2012 database that has Trustworthy set to On.
You create a stored procedure that returns database-level information from Dynamic Management Views.
You grant User1 access to execute the stored procedure.
You need to ensure that the stored procedure returns the required information when User1 executes the stored procedure.
You need to achieve this goal by granting the minimum permissions required.
What should you do? (Each correct answer presents a complete solution. Choose all that apply.)
A. Create a SQL Server login that has VIEW SERVER STATE permissions.
Create an application role and a secured password for the role.
B. Modify the stored procedure to include the EXECUTE AS OWNER statement.
Grant VIEW SERVER STATE permissions to the owner of the stored procedure.
C. Create a SQL Server login that has VIEW SERVER STATE permissions.
Modify the stored procedure to include the EXECUTE AS {newlogin} statement.
D. Grant the db_owner role on the database to User1.
E. Grant the sysadmin role on the database to User1.
Answer: BC
Explanation:
http://msdn.microsoft.com/en-us/library/ms187861.aspx
http://msdn.microsoft.com/en-us/library/ms191291.aspx
Braindump2go New Published Exam Dumps: Microsoft 70-458 Practice Tests Questions, 159 Latest Questions and Answers from Official Exam Centre Guarantee You a 100% Pass! Free Download Instantly!