[Free] Download New Updated (February 2016) Microsoft 70-458 Practice Tests 1-10

Ensurepass

QUESTION 1

DRAG DROP

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.

 

Select and Place:

clip_image002

 

Correct Answer:

clip_image004

 

 

 

 

 

 

 

 

 

 

QUESTION 2

DRAG DROP

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.

 

Select and Place:

clip_image006

 

Correct Answer:

clip_image008

 

 

 

 

QUESTION 3

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.

 

Correct Answer: B

 

 

QUESTION 4

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.

 

Correct Answer: A

 

 

QUESTION 5

You administer a Microsoft SQL Server 2012 database. You create an availability group named

haContosoDbs. Your primary replica is available at Server01Contoso01. 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 ‘Server01Contoso01’

WITH (AVAILABILITY_MODE = ASYNCHRONOUS_COMMIT, FAILOVER_MODE = AUTOMATIC)

B. &
nbsp;    
ALTER AVAILABILITY GROUP haContosoDbs MODIFY REPLICA ON ‘Server01Contoso01’

WITH (AVAILABILITY_MODE = SYNCHRONOUS_COMMIT, FAILOVER_MODE = MANUAL)

C.       ALTER AVAILABILITY GROUP haContosoDbs MODIFY REPLICA ON ‘Server01Contoso01’

WITH (AVAILABILITY_MODE = SYNCHRONOUS_COMMIT, FAILOVER_MODE = AUTOMATIC)

 

D.       ALTER AVAILABILITY GROUP haContosoDbs MODIFY REPLICA ON ‘Server01Contoso01’

WITH (AVAILABILITY_MODE = ASYNCHRONOUS_COMMIT, FAILOVER_MODE = MANUAL)

 

Correct Answer: C

 

 

QUESTION 6

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.

E.      Company 2

 

Correct Answer: B

 

 

QUESTION 7

You are migrating a database named Orders to a new server that runs Microsoft SQL Server 2012.

You attempt to add the [CorpnetUser1] login to the database. However, you receive the

following error message:

 

“User already exists in current database.”

 

You need to configure the [CorpnetUser1] 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 [CorpnetUser1] FOR LOGIN [CorpnetUser1];

ALTER ROLE [db_owner] ADD MEM3ER [CorpnetUser1];

B.       ALTER SERVER RCLS Isysadmin] ADD MEMBER [CorpnetUser1];

C.       ALTER USER [CorpnetUser1] WITH LOGIN [CorpnetUser1];

D.       ALTER ROLE [db owner] ADD MEMBBR [CorpnetUser1];

 

Correct Answer: C

 

 

 

 

 

QUESTION 8

You administer a Microsoft SQL Server 2012 database. You configure Transparent Data Encryption

(TDE) on the Orders database by using the following statements:

 

clip_image010

 

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;

 

Correct Answer: C

 

 

 

 

 

 

 

 

 

 

 

QUESTION 9

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.

 

Correct Answer: BC

 

 

QUESTION 10

You use a contained database named ContosoDb within a domain. You need to create a user who

can log on to the ContosoDb database. You also need to ensure that you can port the database to

different database servers within the domain without additional user account configurations.

Which type of user should you create?

 

A.     SQL user without login

B.     SQL user with a custom SID

C.     SQL user with login

D.     Domain user

 

Correct Answer: D

 

Free VCE & PDF File for Microsoft 70-458 Real Exam

Instant Access to Free VCE Files: MCSE|MCSA|MCITP…
Instant Access to Free PDF Files: MCSE|MCSA|MCITP…