Daily Updated 70-457 Practice Exam Questions Free Download From Braindump2go (151-165)

New Released Braindump2go Microsoft 70-457 Dumps PDF – Questions and Answers Updated with Microsoft Official Exam Center! Visit Braindump2go and download our 70-457 Exam Questions Now, Pass 70-457 100% at your first time!

Vendor: Microsoft
Exam Code: 70-457
Exam Name: Transition Your MCTS on SQL Server 2008 to MCSA: SQL Server 2012, Part 1 Exam

1102[2] 

QUESTION 151
You administer a Microsoft SQL Server 2012 database.
You configure Transparent Data Encryption (TDE) on the Orders database by using the following statements:

wps69AA.tmp_thumb

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?

wps7CDD.tmp_thumb

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: B

QUESTION 152
You administer a SQL Server 2012 server that contains a database named SalesDb. SalesDb contains a schema named Customers that has a table named Regions. A user named UserA is a member of a role named Sales. UserA is granted the Select permission on the Regions table. The Sales role is granted the Select permission on the Customers schema.
You need to ensure that the Sales role, including UserA, is disallowed to select from any of the tables in the Customers schema.
Which Transact-SQL statement should you use?

A.    REVOKE SELECT ON Schema::Customers FROM UserA
B.    DENY SELECT ON Object::Regions FROM UserA
C.    EXEC sp_addrolemember ‘Sales’, ‘UserA’
D.    DENY SELECT ON Object::Regions FROM Sales
E.    REVOKE SELECT ON Object::Regions FROM UserA
F.    DENY SELECT ON Schema::Customers FROM Sales
G.    DENY SELECT ON Schema::Customers FROM UserA
H.    EXEC sp_droproleraember ‘Sales’, ‘UserA’
I.    REVOKE SELECT ON Object::Regions FROM Sales
J.    REVOKE SELECT ON Schema::Customers FROM Sales

Answer: F

QUESTION 153
You administer a SQL Server 2012 server that contains a database named SalesDb. SalesDb contains a schema named Customers that has a table named Regions. A user named UserA is a member of a role named Sales. UserA is granted the Select permission on the Regions table. The Sales role is granted the Select permission on the Customers schema.
You need to ensure that UserA is disallowed to select from any of the tables in the Customers schema.
Which Transact-SQL statement should you use?

A.    DENY SELECT ON Object::Regions FROM UserA
B.    DENY SELECT ON Object::Regions FROM Sales
C.    REVOKE SELECT ON Schema::Customers FROM Sales
D.    REVOKE SELECT ON Schema::Customers FROM UserA
E.    REVOKE SELECT ON Object::Regions FROM Sales
F.    REVOKE SELECT ON Object::Regions FROM UserA
G.    DENY SELECT ON Schema::Customers FROM Sales
H.    DENY SELECT ON Schema::Customers FROM UserA
I.    EXEC sp_addrolemember ‘Sales’, ‘UserA’
J.    EXEC sp droprolemember ‘Sales’, ‘UserA’

Answer: H

QUESTION 154
You administer a SQL 2012 server that contains a database named SalesDb. SalesDb contains a schema named Customers that has a table named Regions. A user named UserA is a member of a role named Sales. UserA is granted the Select permission on the Regions table. The Sales role is granted the Select permission on the Customers schema.
You need to remove the Select permission for UserA on the Regions table.
You also need to ensure that UserA can still access all the tables in the Customers schema, including the Regions table, through the Sales role permissions.
Which Transact-SQL statement should you use?

A.    DENY SELECT ON Object::Regions FROM UserA
B.    DENY SELECT ON Schema::Customers FROM UserA
C.    EXEC sp_addrolemember ‘Sales’, ‘UserA’
D.    REVOKE SELECT ON Object:: Regions FROM UserA
E.    REVOKE SELECT ON Object::Regions FROM Sales
F.    EXEC sp_droproiemember ‘Sales’, ‘DserA’
G.    REVOKE SELECT ON Schema::Customers FROM UserA
H.    DENY SELECT ON Object::Regions FROM Sales
I.    DENY SELECT ON Schema:: Customers FROM Sales
J.    REVOKE SELECT ON Schema:: Customers FROM Sales

Answer: D

QUESTION 155
You administer a SQL Server 2012 server that contains a database named SalesDb. SalesDb contains a schema named Customers that has a table named Regions. A user named UserA is a member of a role named Sales. UserA is granted the Select permission on the Regions table and the Sales role is granted the Select permission on the Customers schema.
You need to ensure that the Sales role, including UserA, is disallowed to select from the Regions table.
Which Transact-SQL statement should you use?

A.    REVOKE SELECT OK Schema::Customers FROM UserA
B.    REVOKE SELECT ON Object::Regions FROM UserA
C.    EXEC sp_addrolemember ‘Sales’, ‘UserA’
D.    DENY SELECT ON Schema::Customers FROM Sales
E.    EXEC sp_droprolemember ‘Sales’, ‘UserA’
F.    REVOKE SELECT ON Schema::Customers FROM Sales
G.    DENY SELECT ON Object::Regions FROM UserA
H.    REVOKE SELECT ON Object::Regions FROM Sales
I.    DENY SELECT ON Schema::Customers FROM UserA
J.    DENY SELECT ON Object::Regions FROM Sales

Answer: J

QUESTION 156
You administer a single server that contains a Microsoft SQL Server 2012 default instance on which several production databases have been deployed.
You plan to install a new ticketing application that requires the deployment of a database on the server. The SQL login for this application requires sysadmin permissions.
You need to ensure that the login for the ticketing application cannot access other production databases.
What should you do?

A.    Use the SQL Server default instance and enable Contained Databases.
B.    Use the SQL Server default instance and configure a user-defined server role.
Add the login for the ticketing application to this role.
C.    Install a new named SQL Server instance on the server.
D.    Install a new default SQL Server instance on the server.

Answer: C

QUESTION 157
You administer a Microsoft SQL Server 2012 failover cluster that contains two nodes named Node A and Node B. A single instance of SQL Server is installed on the cluster.
An additional node named Node C has been added to the existing cluster.
You need to ensure that the SQL Server instance can use all nodes of the cluster.
What should you do?

A.    Create a ConfigurationFile.ini file from Node B, and then run the AddNode command-line tool on Node A.
B.    Use Node A to install SQL Server on Node C.
C.    Run the Add Node to SQL Server Failover Cluster Wizard on Node C.
D.    Use Cluster Administrator to add a new Resource Group to Node B.

Answer: C

QUESTION 158
You are creating an application that will connect to the AgentPortal database by using a SQL login named AgentPortalUser. Stored procedures in the database will use sp_send_dbmail to send email messages.
You create a user account in the msdb database for the AgentPortalUser login.
You use the Database Mail Configuration Wizard to create a Database Mail profile. Security has not been configured for the Database Mail profile.
You need to ensure that AgentPortalUser can send email messages.
What should you do?

A.    In the Database Mail Configuration Wizard, configure the Database Mail profile as a private profile
for the AgentPortalUser account.
B.    Disable the guest user in the msdb database.
C.    Use the sysmail_help_profileaccount_sp stored procedure to add accounts to the Database Mail profile.
D.    In the Database Mail Configuration Wizard, create an email account for each recipient’s email
address in the Database Mail profile.

Answer: A
Explanation:
Http://msdn.microsoft.com/en-us/library/ms189635.aspx

QUESTION 159
Drag and Drop Question
You administer a Microsoft SQL Server 2012 database.
You need to convert the database to a contained database.
You also need to ensure that all users are converted to contained users.
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.)

wpsB211.tmp_thumb

Answer:

wpsE023.tmp_thumb

QUESTION 160
You administer a Microsoft SQL Server 2012 default instance.
The instance is hosted by a server that has a local firewall configured. The firewall only allows inbound connections on port 1433. The server only hosts a single instance of SQL Server.
You need to ensure that the instance is configured to allow remote connections even if the SQL Server is unresponsive to client connections.
What should you do? Choose all that apply.

A.    Enable inbound connections on TCP port 1434 in the Windows Firewall on the server.
B.    Execute the following Transact-SQL command:
sp_configure ‘remote admin connections’,
C.    Execute the Reconfigure command.
D.    Execute the following Transact-SQL command:
sp_configure ‘remote access’, 1
E.    Restart the SQL Server Agent Service.
F.    Enable inbound connections on TCP port 135 in the Windows Firewall on the server.

Answer: ABC
Explanation:
http://msdn.microsoft.com/en-us/library/ms191464.aspx
http://msdn.microsoft.com/en-us/library/ms190468.aspx

QUESTION 161
Drag and Drop Question
You administer a Microsoft SQL Server 2012 clustered instance that has two nodes named Node 1 and Node 2. Node 1 fails and the cluster fails over to Node 2.
You need to replace Node 1 and add it to the cluster.
Which four 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.)

wpsFCB9.tmp_thumb

Answer:

wpsDBA.tmp_thumb

QUESTION 162
You administer a Microsoft SQL Server 2012 database.
You need to ensure that the size of the transaction log file does not exceed 2 GB.
What should you do?

A.    In SQL Server Management Studio, right-click the instance and select Database Settings.
Set the maximum size of the file for the transaction log.
B.    In SQL Server Management Studio, right-click the database, select Properties, and then click Files.
Open the Transaction log Autogrowth window and set the maximum size of the file.
C.    Use the ALTER DATABASE…SET LOGFILE command along with the midsize parameter.
D.    In SQL Server Management Studio, expand the Storage leaf under the database.
Select the transaction log file and set the maximum size of the file.

Answer: B

QUESTION 163
Drag and Drop Question
You administer a Microsoft SQL Server 2012 server that has a database named Contoso.
The Contoso database has a table named EmployeeSalary in a schema named HumanResources.
You need to create a script that writes audit events into the application log whenever data in the EmployeeSalary table is modified.
Which four Transact-SQL statements should you use? (To answer, move the appropriate statements from the list of statements to the answer area and arrange them in the correct order.)

wps32D8.tmp_thumb

Answer:

wps4E06.tmp_thumb

QUESTION 164
You are the lead database administrator (DBA) of a Microsoft SQL Server 2012 environment.
All DBAs are members of the DOMAIN\JrDBAs Active Directory group.
You grant DOMAIN\JrDBAs access to the SQL Server.
You need to create a server role named SpecialDBARole that can perform the following functions:
– View all databases.
– View the server state.
– Assign GRANT, DENY, and REVOKE permissions on logins.
You need to add DOMAIN\JrDBAs to the server role.
You also need to provide the least level of privileges necessary.
Which SQL statement or statements should you use? Choose all that apply.

A.    CREATE SERVER ROLE [SpecialDBARole] AUTHORIZATION setupadmin;
B.    ALTER SERVER ROLE [SpecialDBARole] ADD MEMBER [DOMAIN\JrDBAs];
C.    CREATE SERVER ROLE [SpecialDBARole] AUTHORIZATION securityadmin;
D.    GRANT VIEW DEFINITION TO [SpecialDBARole];
E.    CREATE SERVER ROLE [SpecialDBARole] AUTHORIZATION serveradmin;
F.    GRANT VIEW SERVER STATE, VIEW ANY DATABASE TO [SpecialDBARole];

Answer: BCF

QUESTION 165
Drag and Drop Question
You administer a Microsoft SQL Server 2012 database. All database traffic to the SQL Server must be encrypted by using secure socket layer (SSL) certificates or the connection must be refused. Network administrators have deployed server certificates to the Windows store of all Windows servers on the network from a trusted Certificate Authority.
This is the only Certificate Authority allowed to distribute certificates on the network.
You enable the Force Encryption flag for the MSSQLServer protocols, but client computers are unable to connect. They receive the following error message:
“A connection was successfully established with the server, but then an error occurred during the pre-login handshake, (provider: SSL Provider, error: 0 – The certificate chain was issued by an authority that is not trusted.) (Microsoft SQL Server)”
You notice the following entry in the SQL Server log:
“A self-generated certificate was successfully loaded for encryption.”
You need to configure SQL Server to encrypt all client traffic across the network.
You also need to ensure that client computers are able to connect to the server by using a trusted certificate.
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.)

wps7630.tmp_thumb

Answer:

wps8EDF.tmp_thumb


Braindump2go New Released 70-457 Dump PDF Free Download, 197 Questions in all, Passing Your Exam 100% Easily!

152[2]

http://www.braindump2go.com/70-457.html