[2016-New] Free Download 70-465 Exam Dumps VCE From GreatExam (21-40)

Microsoft 70-465 is often called the hardest of all Microsoft exams. GreatExam helps you kill the Microsoft 70-465 exam challenge and achieve the perfect passing score with its latest practice test, packed into the revolutionary interactive VCE. This is the best way to prepare and pass the 70-465 exam.

QUESTION 21
Drag and Drop Question
You are designing an authentication strategy for a new server that has SQL Server 2014 installed.
The strategy must meet the following business requirements:
– The account used to generate reports must be allowed to make a connection during certain hours only.
– Failed authentication requests must be logged.
You need to recommend a technology that meets each business requirement.
The solution must minimize the amount of events that are logged.
Which technologies should you recommend? To answer, drag the appropriate solution to the correct business requirement in the answer area.

 

211
Answer:
212
Explanation:
– Logon triggers fire stored procedures in response to a LOGON event.
This event is raised when a user session is established with an instance of SQL Server.
Logon triggers fire after the authentication phase of logging in finishes, but before the user session is actually established.
You can use logon triggers to audit and control server sessions, such as by tracking login activity, restricting logins to SQL Server, or limiting the number of sessions for a specific login.
– Login auditing can be configured to write to the error log on the following events.
– Failed logins
– Successful logins
– Both failed and successful logins
Incorrect:
– C2 audit mode can be configured through SQL Server Management Studio or with the c2 audit mode option in sp_configure. Selecting this option will configure the server to record both failed and successful attempts to access statements and objects.

QUESTION 22
You are designing a SQL Server database for an order fulfillment system.
You create a table named Sales.Orders by using the following script:
Each order is tracked by using one of the following statuses:
– Fulfilled
– Shipped
– Ordered
– Received
You need to design the database to ensure that you can retrieve the status of an order on a given date.
The solution must ensure that new statuses can be added in the future.
What should you do? More than one answer choice may achieve the goal. Select the BEST answer.
221

A.    To the Sales.Orders table, add a column named Status that will store the order status.
Update the Status column as the order status changes.
B.    Create a new table named Sales.OrderStatus that contains three columns named OrderID,
StatusDate, and Status. Insert new rows into the table as the order status changes.
C.    Implement change data capture on the Sales.Orders table.
D.    To the Sales.Orders table, add three columns named FulfilledDate, ShippedDate, and
ReceivedDate. Update the value of each column from null to the appropriate date as the order status changes.

Answer: A

QUESTION 23
You have two SQL Server 2012 instances named SQLDev and SQLProd.
You plan to create a new database on SQLProd that will use SQL Server Authentication.
You need to ensure that when the new database is copied from SQLProd to SQLDev, users can connect to the database on SQLDev if they do not have a login on the SQLDev instance.
What should you use? More than one answer choice may achieve the goal. Select the BEST answer.

A.    SQL Server Integration Services (SSIS) scripts
B.    Extended Events
C.    Triggers
D.    SQL Server Analysis Services (SSAS) scripts
E.    Contained database

Answer: E
Explanation:
A fully contained database includes all the settings and metadata required to define the database and has no configuration dependencies on the instance of the SQL Server Database Engine where the database is installed.

QUESTION 24
Your company has offices in Seattle and Montreal.
The network contains two servers named Server1 and Server2 that have SQL Server 2012 installed.
The servers are located in separate building within your campus.
The latency of the WAN link between the buildings is less than 10 ms.
You plan to implement an AlwaysOn availability group on both servers.
You need to recommend a failover type for the availability group.
What should you recommend?

A.    Asynchronous automatic failover
B.    Synchronous manual failover
C.    Asynchronous manual failover
D.    Synchronous automatic failover

Answer: D

QUESTION 25
Drag and Drop Question
You plan to deploy SQL Server 2014.
You identify the following security requirements for the deployment:
– Users must be prevented from intercepting and reading the T-SQL statements sent from the clients to the database engine.
– All database files and log files must be encrypted if the files are moved to another disk on another server.
You need to identify which feature meets each security requirement.
The solution must minimize processor overhead.
Which features should you identify? To answer, drag the appropriate feature to the correct requirement in the answer area.
251
Answer:
252
Explanation:
– Secure Sockets Layer (SSL) encryption enables transmitting encrypted data across the network between an instance of SQL Server and a client application.
– Transparent data encryption (TDE) performs real-time I/O encryption and decryption of the data and log files.

QUESTION 26
You have a database named DB1.
You plan to create a stored procedure that will insert rows into three different tables.
Each insert must use the same identifying value for each table, but the value must increase from one invocation of the stored procedure to the next.
Occasionally, the identifying value must be reset to its initial value.
You need to design a mechanism to hold the identifying values for the stored procedure to use.
What should you do? More than one answer choice may achieve the goal. Select the BEST answer.

A.    Create a sequence object that holds the next value in the sequence.
Retrieve the next value by using the stored procedure.
Reset the value by using an ALTER SEQUENCE statement as needed.
B.    Create a sequence object that holds the next value in the sequence.
Retrieve the next value by using the stored procedure.
Increment the sequence object to the next value by using an ALTER SEQUENCE statement.
Reset the value as needed by using a different ALTER SEQUENCE statement.
C.    Create a fourth table that holds the next value in the sequence.
At the end each transaction, update the value by using the stored procedure.
Reset the value as needed by using an UPDATE statement.
D.    Create an identity column in each of the three tables.
Use the same seed and the same increment for each table.
Insert new rows into the tables by using the stored procedure.
Use the DBCC CHECKIDENT command to reset the columns as needed.

Answer: A
Explanation:
– an application can obtain the next sequence number without inserting the row by calling the NEXT VALUE FOR function.
– ALTER SEQUENCE
Includes argument:
RESTART [ WITH <constant> ]
The next value that will be returned by the sequence object. If provided, the RESTART WITH value must be an integer that is less than or equal to the maximum and greater than or equal to the minimum value of the sequence object. If the WITH value is omitted, the sequence numbering restarts based on the original CREATE SEQUENCE options.
– CREATE SEQUENCE
Creates a sequence object and specifies its properties. A sequence is a user-defined schema bound object that generates a sequence of numeric values according to the specification with which the sequence was created. The sequence of numeric values is generated in an ascending or descending order at a defined interval and can be configured to restart (cycle) when exhausted.

QUESTION 27
You plan to create a database.
The database will be used by a Microsoft .NET application for a special event that will last for two days. During the event, data must be highly available.
After the event, the database will be deleted.
You need to recommend a solution to implement the database while minimizing costs.
The solution must not affect any existing applications.
What should you recommend? More than one answer choice may achieve the goal. Select the BEST answer.

A.    Max Degree of Parallelism
B.    Resource Governor
C.    Windows System Resource Manager (WSRM)
D.    Processor affinity

Answer: D

QUESTION 28
You are building a stored procedure for a SQL Azure database.
The procedure will add multiple rows to a table.
You need to design the stored procedure to meet the following requirements:
– If any of the new rows violates a table constraint, then no further additions must be attempted and all changes made by the stored procedure must be discarded.
– If any errors occur, a row must be added to an audit table, and the original error must be returned to the caller of the stored procedure.
What should you include in the design?

A.    An implicit transaction that has XACT_ABORT enabled
B.    An explicit transaction that has XACT_ABORT disabled
C.    An implicit transaction that has error handling enabled
D.    An explicit transaction that has error handling enabled

Answer: D
Explanation:
http://technet.microsoft.com/en-us/library/ms175127(v=SQL.105).aspx

QUESTION 29
You have a SQL Server 2012 database named DB1.
You plan to import a large number of records from a SQL Azure database to DB1.
You need to recommend a solution to minimize the amount of space used in the transaction log during the import operation.
What should you include in the recommendation?

A.    a new log file
B.    a new filegroup
C.    the full recovery model
D.    a new partitioned table
E.    the bulk-logged recovery model

Answer: E
Explanation:
Compared to the full recovery model, which fully logs all transactions, the bulk-logged recovery model minimally logs bulk operations, although fully logging other transactions.
The bulk-logged recovery model protects against media failure and, for bulk operations, provides the best performance and least log space usage.
Note:
The bulk-logged recovery model is a special-purpose recovery model that should be used only intermittently to improve the performance of certain large-scale bulk operations, such as bulk imports of large amounts of data.
Recovery Models (SQL Server)

QUESTION 30
You have two SQL Server instances named SQLDev and SQLProd that have access to various storage media.
You plan to synchronize SQLDev and SQLProd.
You need to recommend a solution that meets the following requirements:
– The database schemas must be synchronized from SQLDev to SQLProd.
– The database on SQLDev must be deployed to SQLProd by using a package.
– The package must support being deployed to SQL Azure.
What should you recommend? More than one answer choice may achieve the goal. Select the BEST answer.

A.    A database snapshot
B.    A data-tier application
C.    Change data capture
D.    SQL Server Integration Services (SSIS)

Answer: B
Explanation:
* SIS supports connections to SQL Database by using the ADO.NET provider. OLEDB is not supported at this time. You can build the SSIS package connecting to SQL Database and create the data flow tasks the same way as you would against a typical on-premise SQL Server.
http://technet.microsoft.com/en-us/library/ee210546.aspx

QUESTION 31
Your company has offices in Seattle and Montreal.
The network contains two servers named Server1 and Server2 that have SQL Server 2012 installed. Server1 is located in the Seattle office. Server2 is located in the Montreal office.
The latency of the WAN link between the Montreal office and the Seattle office is more than 200 ms.
You plan to implement an AlwaysOn availability group on both servers.
You need to recommend a failover type for the availability group.
What should you recommend?

A.    Synchronous manual failover
B.    Synchronous automatic failover
C.    Asynchronous automatic failover
D.    Asynchronous manual failover

Answer: D

QUESTION 32
You have a server that has SQL Server 2014 installed.
The server contains 100 user databases.
You need to recommend a backup solution for the user databases.
The solution must meet the following requirements:
– Perform a transaction log backup every hour.
– Perform a full backup of each database every week.
– Perform a differential backup of each database every day.
– Ensure that new user databases are added automatically to the backup solution.
What should you recommend? More than one answer choice may achieve the goal. Select the BEST answer.

A.    A maintenance plan
B.    SQL Server Agent jobs
C.    Policy-Based Management
D.    A Data Definition Language (DDL) trigger

Answer: A
Explanation:
Maintenance plans create a workflow of the tasks required to make sure that your database is optimized, regularly backed up, and free of inconsistencies.
Maintenance plans can be created to perform the following task (among others):
Back up the database and transaction log files. Database and log backups can be retained for a specified period. This lets you create a history of backups to be used if you have to restore the database to a time earlier than the last database backup.
You can also perform differential backups.

QUESTION 33
Drag and Drop Question
You plan to deploy a database to SQL Azure.
You are designing two stored procedures named USP_1 and USP_2 that have the following requirements:
– Prevent data read by USP_1 from being modified by other active processes.
– Allow USP_2 to perform dirty reads.
You need to recommend the isolation level for the stored procedures.
The solution must maximize concurrency.
Which isolation levels should you recommend? To answer, drag the appropriate isolation level to the correct stored procedure in the answer area.
331
Answer:
332
Explanation:
Note:
– SP1: repeatable read
a repeatable read scan retains locks on every row it touches until the end of the transaction.
Even rows that do not qualify for the query result remain locked.
These locks ensure that the rows touched by the query cannot be updated or deleted by a concurrent session until the current transaction completes (whether it is committed or rolled back).
– SP2: read uncommitted permits repeatable reads

QUESTION 34
You have a SQL Server 2014 instance named SQL1.
SQL1 creates error events in the Windows Application event log.
You need to recommend a solution that will run an application when SQL1 logs a specific error in the Application log.
Which SQL elements should you include in the recommendation? (Each correct answer presents part of the solution. Choose all that apply.)

A.    A policy
B.    A maintenance plan
C.    An alert
D.    A job
E.    A trigger

Answer: DE
Explanation:
Use a trigger that starts a job which executes the application.
http://technet.microsoft.com/en-us/library/hh849759.aspx

QUESTION 35
Drag and Drop Question
You plan to deploy SQL Server 2012.
You must create two tables named Table 1 and Table 2 that will have the following specifications:
– Table1 will contain a date column named Column1 that will contain a null value approximately 80 percent of the time.
– Table2 will contain a column named Column2 that is the product of two other columns in Table2.
Both Table1 and Table2 will contain more than 1 million rows.
You need to recommend which options must be defined for the columns.
The solution must minimize the storage requirements for the tables.
Which options should you recommend? To answer, drag the appropriate options to the correct column in the answer area.
351
Answer:
352
Explanation:
http://msdn.microsoft.com/en-us/library/cc280604.aspx
http://msdn.microsoft.com/en-us/library/ms186241.aspx

QUESTION 36
Drag and Drop Question
You plan to deploy a database by using SQL Server 2014.
Your company identifies the following requirements for the database:
– The name of all stored procedures must start with “usp_”always.
– All distribution statistics must be updated daily.
You need to identify which feature must be used to meet each database requirement.
Which features should you identify? To answer, drag the appropriate feature to the correct database requirement in the answer area.
361
Answer:
362
Explanation:
– Policy-Based Management
Each Stored Procedure that are created and that will be created has to have prefix “USP_”.
– Maintenance plans create a workflow of the tasks required to make sure that your database is optimized, regularly backed up, and free of inconsistencies.

QUESTION 37
Drag and Drop Question
You plan to deploy three highly available SQL Server environments that will use SQL Server 2014.
You identify the following specifications for each environment as shown following table.
371
You need to recommend which high-availability feature is required for each environment.
Which features should you identify? To answer, drag the appropriate feature to the correct requirement in the answer area.
372
Answer:
373
Explanation:
– Always on availability groups
he AlwaysOn Availability Groups feature is a high-availability and disaster-recovery solution that provides an enterprise-level alternative to database mirroring. Introduced in SQL Server 2012, AlwaysOn Availability Groups maximizes the availability of a set of user databases for an enterprise. Deploying AlwaysOn Availability Groups requires a Windows Server Failover Clustering (WSFC) cluster.

QUESTION 38
You manage a SQL Server 2014 instance that contains a database named DB1.
Users report that some queries to DB1 take longer than expected.
Although most queries run in less than one second, some queries take up to 20 seconds to run.
You need to view all of the performance statistics for each database file.
Which method should you use?

A.    Query the sys.dm_os_tasks dynamic management view.
B.    Query the sys.dm_os_performance_counters dynamic management view.
C.    Query the sys.dm_io_virtual_file_stats dynamic management function.
D.    Examine the Data File I/O pane in Activity Monitor.

Answer: C
Explanation:
sys.dm_io_virtual_file_stats
Returns I/O statistics for data and log files.

QUESTION 39
You are creating a database that will store usernames and credit card numbers for an application. You need to recommend a solution to store and resuse the credit card numbers in the database. What should you recommend? More than one answer choice may achieve the goal. Select the BEST answer.

A.    Data encryption
B.    Transparent Data Encryption (TDE)
C.    Encrypting File System (EFS)
D.    Data hashing

Answer: A
Explanation:
If we are going to encrypt credit card number for storage, then we should have Data Encryption Key(DEK) for encrypting the credit card number.

Case Study 1 – Litware, Inc Case (Question 40 – Question 49)
Overview
You are a database administrator for a company named Litware, Inc.
Litware is a book publishing house.
Litware has a main office and a branch office.
You are designing the database infrastructure to support a new web-based application that is being developed.
The web application will be accessed at www.litwareinc.com.
Both internal employees and external partners will use the application.
You have an existing desktop application that uses a SQL Server 2008 database named App1_DB.
App1_DB will remain in production.
Requirements
Planned Changes
You plan to deploy a SQL Server 2014 instance that will contain two databases named Database1 and Database2.
All database files will be stored in a highly available SAN.
Database1 will contain two tables named Orders and OrderDetails.
Database1 will also contain a stored procedure named usp_UpdateOrderDetails.
The stored procedure is used to update order information.
The stored procedure queries the Orders table twice each time the procedure executes.
The rows returned from the first query must be returned on the second query unchanged along with any rows added to the table between the two read operations.
Database1 will contain several queries that access data in the Database2 tables.
Database2 will contain a table named Inventory.
Inventory will contain over 100 GB of data.
The Inventory table will have two indexes: a clustered index on the primary key and a nonclustered index.
The column that is used as the primary key will use the identity property.
Database2 wilt contains a stored procedure named usp_UpdateInventory. usp_UpdateInventory will manipulate a table that contains a self-join that has an unlimited number of hierarchies.
All data in Database2 is recreated each day ad does not change until the next data creation process. Data from Database2 will be accessed periodically by an external application named Application1.
The data from Database2 will be sent to a database named Appl_Dbl as soon as changes occur to the data in Database2.
Litware plans to use offsite storage for all SQL Server 2014 backups.
Business Requirements
You have the following requirements:
– Costs for new licenses must be minimized.
– Private information that is accessed by Application must be stored in a secure format.
– Development effort must be minimized whenever possible.
– The storage requirements for databases must be minimized.
– System administrators must be able to run real-time reports on disk usage.
– The databases must be available if the SQL Server service fails.
– Database administrators must receive a detailed report that contains allocation errors and data corruption.
– Application developers must be denied direct access to the database tables. Applications must be denied direct access to the tables.
You must encrypt the backup files to meet regulatory compliance requirements.
The encryption strategy must minimize changes to the databases and to the applications.

QUESTION 40
You need to recommend an isolation level for usp_UpdateOrderDetails.
Which isolation level should recommend?

A.    Read committed
B.    Repeatable read
C.    Read uncommitted
D.    Serializable

Answer: B
Explanation:
– Scenario: Databasel will also contain a stored procedure named usp_UpdateOrderDetails.
The stored procedure is used to update order information.
The stored procedure queries the Orders table twice each time the procedure executes.
The rows returned from the first query must be returned on the second query unchanged along with any rows added to the table between the two read operations.
– REPEATABLE READ
Specifies that statements cannot read data that has been modified but not yet committed by other transactions and that no other transactions can modify data that has been read by the current transaction until the current transaction completes.

GreatExam VCE dumps only include latest 70-465 exam questions, so you will know exactly what to expect on your real exam. GreatExam products are industry’s most reliable and convenient tool to prepare for the 70-465 exam.

http://www.greatexam.com/70-465-exam-questions.html