Download PassLeader Free 70-464 Dumps with VCE and PDF (Question 136 – Question 150)

Valid 70-464 Dumps shared by PassLeader for Helping Passing 70-464 Exam! PassLeader now offer the newest 70-464 VCE dumps and 70-464 PDF dumps, the PassLeader 70-464 exam questions have been updated and ANSWERS have been corrected, get the newest PassLeader 70-464 dumps with VCE and PDF here: http://www.passleader.com/70-464.html (191 Q&As Dumps)

BTW, DOWNLOAD part of PassLeader 70-464 dumps from Cloud Storage: https://drive.google.com/open?id=0B-ob6L_QjGLpfkFyU2lhYkdqNDdDa1JBZWhDTzNka1k0NmtOeXdYVXVZaHR4eElZZHZNTE0

QUESTION 136
You plan to create a database that has multiple tables. The tables will contain product information. Each product has a stock-keeping unit (SKU). You need to recommend a solution to ensure that each SKU starts with the letters “ADV” and is followed by 10 digits. The solution must minimize the amount of development effort required. What should you include in the recommendation?

A.    A CHECK constraint
B.    A FOREIGN KEY constraint
C.    A trigger
D.    A user-defined data type

Answer: D

QUESTION 137
You have a Microsoft SQL Azure database. You have the following stored procedure:
passleader-70-464-dumps-1371
You discover that the stored procedure periodically fails to update Person.Contact. You need to ensure that Person.Contact is always updated when UpdateContact executes. The solution must minimize the amount of time required for the stored procedure to execute and the number of locks held. What should you do?

A.    Add the following line of code to line 08:
WITH (UPDLOCK)
B.    Add the following line of code to line 12:
WITH (UPDLOCK)
C.    Add the following line of code to line 05:
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
D.    Add the following line of code to line 05:
SET TRANSACTION ISOLATION LEVEL SNAPSHOT

Answer: A
Explanation:
– Overall, you should use UPDLOCK when you read a value that you plan to update later in the same transaction to prevent the value from changing.
– UPDLOCK. Specifies that update locks are to be taken and held until the transaction completes. UPDLOCK takes update locks for read operations only at the row-level or page-level. If UPDLOCK is combined with TABLOCK, or a table-level lock is taken for some other reason, an exclusive (X) lock will be taken instead. When UPDLOCK is specified, the READCOMMITTED and READCOMMITTEDLOCK isolation level hints are ignored. For example, if the isolation level of the session is set to SERIALIZABLE and a query specifies (UPDLOCK, READCOMMITTED), the READCOMMITTED hint is ignored and the transaction is run using the SERIALIZABLE isolation level.

QUESTION 138
Drag and Drop Question
Your network contains a SQL Server 2012 instance named SQL1. SQL1 contains a database named DB1. DB1 contains three tables. The tables are configured as shown in the following table:
passleader-70-464-dumps-1381
You plan to create indexes for the tables. You need to identify which type of index must be created for each table. The solution must minimize the amount of time required to return information from the tables. Which type of index should you create for each table? To answer, drag the appropriate index type to the correct table in the answer area.
passleader-70-464-dumps-1382

Answer:
passleader-70-464-dumps-1383

QUESTION 139
Drag and Drop Question
You plan to create a custom aggregation function named Function1. You plan to deploy Function1 to SQL Server 2012. You need to ensure that Function1 can access a web service. The solution must minimize the number of changes made to the database. You create a Microsoft .NET Framework class that contains the definition of Function1. You upload a certificate to SQL Server. What three tasks should you perform next? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
passleader-70-464-dumps-1391

Answer:
passleader-70-464-dumps-1392

QUESTION 140
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.    User mapped to a certificate
B.    SQL user without login
C.    Domain user
D.    SQL user with login

Answer: C

QUESTION 141
You administer a Microsoft SQL Server 2012 database that has multiple tables in the Sales schema. Some users must be prevented from deleting records in any of the tables in the Sales schema. You need to manage users who are prevented from deleting records in the Sales schema. You need to achieve this goal by using the minimum amount of administrative effort. What should you do?

A.    Create a custom database role that includes the users.
Deny Delete permissions on the Sales schema for the custom database role.
B.    Include the Sales schema as an owned schema for the db_denydatawriter role.
Add the users to the db_denydatawriter role.
C.    Deny Delete permissions on each table in the Sales schema for each user.
D.    Create a custom database role that includes the users.
Deny Delete permissions on each table in the Sales schema for the custom database role.

Answer: A

QUESTION 142
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 143
You administer a Microsoft SQL Server 2012 database. You provide temporary securityadmin access to User1 to the database server. You need to know if User1 adds logins to securityadmin. Which server-level audit action group should you use?

A.    SERVER_STATE_CHANGE_GROUP
B.    SERVER_PRINCIPAL_IMPERSONATION_GROUP
C.    SUCCESSFUL_LOGIN_GROUP
D.    SERVER_ROLE_MEMBER_CHANGE_GROUP

Answer: D

QUESTION 144
You administer a Microsoft SQL Server 2012 instance. You need to stop a blocking process that has an SPID of 64 without stopping other processes. What should you do?

A.    Execute the following Transact-SQL statement:
EXECUTE sp_KillSPID 64
B.    Restart the SQL Server service
C.    Execute the following Transact-SQL statement:
KILL 64
D.    Execute the following Transact-SQL statement:
ALTER SESSION KILL ’64’

Answer: C

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

A.    Execute sp_configure ‘max log size’, 2G.
B.    use the ALTER DATABASE…SET LOGFILE command along with the maxsize parameter.
C.    In SQL Server Management Studio, right-click the instance and select Database Settings.
Set the maximum size of the file for the transaction log.
D.    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.

Answer: D

QUESTION 146
You administer a Microsoft SQL Server 2012 server. You plan to deploy new features to an application. You need to evaluate existing and potential clustered and non-clustered indexes that will improve performance. What should you do?

A.    Query the sys.dm_db_index_usage_stats DMV.
B.    Query the sys.dm_db_missing_index_details DMV.
C.    Use the Database Engine Tuning Advisor.
D.    Query the sys.dm_db_missing_index_columns DMV.

Answer: C

QUESTION 147
You administer a Microsoft SQL Server 2012 database named Contoso on a server named Server01. You need to write messages to the Application Log when users are added to or removed from a fixed server role in Server01. What should you create?

A.    a Database Audit Specification
B.    a Policy
C.    an Alert
D.    a SQL Profiler Trace
E.    a Resource Pool
F.    an Extended Event session
G.    a Server Audit Specification

Answer: G

QUESTION 148
You administer a Microsoft SQL Server 2012 database named Contoso on a server named Server01. You need to be notified immediately when fatal errors occur on Server01. What should you create?

A.    an Alert
B.    a Server Audit Specification
C.    an Extended Event session
D.    a Resource Pool
E.    a Policy
F.    a SQL Profiler Trace
G.    a Database Audit Specification

Answer: A

QUESTION 149
You administer a Microsoft SQL Server 2012 database named Contoso on a server named Server01. You need to diagnose deadlocks that happen when executing a specific set of stored procedures by recording events and playing them back on a different test server. What should you create?

A.    an Extended Event session
B.    a Policy
C.    a Database Audit Specification
D.    an Alert
E.    a Server Audit Specification
F.    a SQL Profiler Trace
G.    a Resource Pool

Answer: F

QUESTION 150
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


Get the newest PassLeader 70-464 VCE dumps here: http://www.passleader.com/70-464.html (191 Q&As Dumps)

And, DOWNLOAD the newest PassLeader 70-464 PDF dumps from Cloud Storage for free: https://drive.google.com/open?id=0B-ob6L_QjGLpfkFyU2lhYkdqNDdDa1JBZWhDTzNka1k0NmtOeXdYVXVZaHR4eElZZHZNTE0