microsoft 70-465 exam questions & answers · complete collection of 70-465 exam's question...

34
Microsoft 70-465 Exam Questions & Answers Number : 70-465 Passing Score : 800 Time Limit : 120 min File Version : 52.4 http://www.gratisexam.com/ Microsoft 70-465 Exam Questions & Answers Exam Name: Designing Database Solutions for Microsoft SQL Server 2012

Upload: others

Post on 04-Oct-2019

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

Microsoft 70-465 Exam Questions & Answers

Number: 70-465Passing Score: 800Time Limit: 120 minFile Version: 52.4

http://www.gratisexam.com/

Microsoft 70-465 Exam Questions & Answers

Exam Name: Designing Database Solutions for Microsoft SQL Server 2012

Page 2: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

Braindumps

QUESTION 1DRAG DROPYou need to recommend a backup process for an Online Transaction Processing (OLTP) database.The process must meet the following requirements:?Ensure that if a hardware failure occurs, you can bring the database online with a minimum amount of dataloss.?Minimize the amount of administrative effort required to restore any lost data.What should you include in the recommendation?To answer, move the appropriate actions from the list of actions to the answer area and arrange them in thecorrect order.

A.B.C.D.

Correct Answer: Section: (none)Explanation

Explanation/Reference:

Complete collection of 70-465 Exam's Question and answers.http://www.braindump2go.com/70-465.html

Page 3: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

QUESTION 2DRAG DROPYou plan to install two SQL Server 2012 environments named Environment1 and Environment2. Your companyidentifies the following availability requirements for each environment:?Environment1 must have mirroring with manual failover implemented. ?Environment2 must have AlwaysOnwith automatic failover implemented. You need to identify the minimum number of SQL Server 2012 serversthat must be deployed to each environment to ensure that all data remains available if a physical server fails.How many servers should you identify?To answer, drag the appropriate number to the correct environment in the answer area.

A.B.C.D.

Correct Answer: Section: (none)Explanation

Explanation/Reference:

Complete collection of 70-465 Exam's Question and answers.

QUESTION 3DRAG DROPYou need to design a stored procedure to update rows. The stored procedure must meet the followingrequirements:?If more than one row is updated, an error must be raised to the application and the update must be discarded.?The stored procedure must be designed to maximize concurrency.What should you include in the design?To answer, move the appropriate actions from the list of actions to the answer area and arrange them in thecorrect order.

Page 4: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

A.B.C.D.

Correct Answer: Section: (none)Explanation

Explanation/Reference:

Complete collection of 70-465 Exam's Question and answers.

QUESTION 4DRAG DROPYou have two servers named SQL1 and SQL2 that have SQL Server 2008 installed. SQL1 contains a databasethat is mirrored asynchronously to SQL2. The database contents are updated once a month. You need toupgrade the database to SQL Server 2012. The solution must minimize downtime. Which upgrade steps shouldyou recommend? To answer, move the appropriate actions from the list of actions to the answer area andarrange them in the correct order.

Page 5: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

Complete collection of 70-465 Exam's Question and answers.

A.B.C.D.

Correct Answer: Section: (none)Explanation

Explanation/Reference:

QUESTION 5DRAG DROPYou plan to deploy SQL Server 2012.Your company identifies the following monitoring requirements for the database:?An e-mail message must be sent when a user logs in. ?An e-mail message must be sent if CPU utilizationexceeds 90 percent. You need to identify which feature meets each monitoring requirement. Which featuresshould you identify?To answer, drag the appropriate feature to the correct monitoring requirement in the answer area.

Page 6: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

http://www.gratisexam.com/

Complete collection of 70-465 Exam's Question and answers.

A.B.C.D.

Correct Answer: Section: (none)Explanation

Explanation/Reference:

Page 7: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

QUESTION 6You deploy a database by using SQL Server 2012. The database contains a table named Table1. You need torecommend a solution that meets the following requirements:?Stores the most recent data from Table1 by using the fastest storage solution possible. ?Stores the historicaldata from Table1 by using a slower storage solution.What should you recommend?

A. partitioned viewsB. a database snapshotC. change data captureD. table partitioning

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 7DRAG DROPYou have a SQL Azure database named Database1. You need to design the schema for a table named table1.Table1 will have less than one million rows. Table1 will contain the following information for each row:

The solution must minimize the amount of space used to store each row. Which data types should yourecommend for each column?To answer, drag the appropriate data type to the correct column in the answer area.

Page 8: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

Complete collection of 70-465 Exam's Question and answers.

A.B.C.D.

Correct Answer: Section: (none)Explanation

Explanation/Reference:

Page 9: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

QUESTION 8You have a SQL Server 2012 environment that contains 20 servers. The corporate security policy states that allSQL Server 2012 instances must meet specific security standards. You need to recommend a managementstrategy for the SQL Server 2012 servers. What should you include in the recommendation?More than one answer choice may achieve the goal. Select the BEST answer.

A. Multi server jobsB. Maintenance plansC. Policy-Based ManagementD. Common criteria compliance

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 9You deploy a database by using SQL Server 2012. The database contains a table named Table 1. You need torecommend a solution to track all of the deletions executed on Table1. The solution must minimize the amountof custom code required. What should you recommend?

A. Change data captureB. A triggerC. StatisticsD. Master Data Services

Correct Answer: ASection: (none)Explanation

Explanation/Reference:Complete collection of 70-465 Exam's Question and answers.

Page 10: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

QUESTION 10You have four databases that are accessed by using an Online Transaction Processing (OLTP) application.The databases are stored on a server named SQL1 that has SQL Server 2012 installed. You plan to deploy anadditional server that has SQL Server 2012 installed. You need to design a high-availability solution for thedatabases that meets the following requirements:?If SQL1 fails, the databases must be available.?Users must be able to run reports against a secondary copy of the databases.What should you include in the design?More than one answer choice may achieve the goal. Select the BEST answer.

A. Database mirroringB. Log shippingC. Failover ClusteringD. AlwaysOn availability groups

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 11DRAG DROPYou plan to deploy SQL Server 2012. Your company identifies the following monitoring requirements:?Tempdb must be monitored for insufficient free space. ?Deadlocks must be analyzed by using Deadlockgraphs. You need to identify which feature meets each monitoring requirement. Which features should youidentify?To answer, drag the appropriate feature to the correct monitoring requirement in the answer area.

Complete collection of 70-465 Exam's Question and answers.

A.

Page 11: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

B.C.D.

Correct Answer: Section: (none)Explanation

Explanation/Reference:

QUESTION 12You are troubleshooting an application that runs a query. The application frequently causes deadlocks. Youneed to identify which transaction causes the deadlock. What should you do? More than one answer choicemay achieve the goal. Select the BEST answer.

A. Query the sys.dm_exec_requests dynamic management view.B. Create a trace in SQL Server Profiler that contains the Deadlock graph event.C. Query the sys.dm_exec_sessions dynamic management view.D. Create an extended events session to capture deadlock information.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:Complete collection of 70-465 Exam's Question and answers.

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

A. SQL Server 2012 StandardB. SQL AzureC. SQL Server 2012 Express with Advanced Services

Page 12: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

D. SQL Server 2012 Enterprise

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 14You are designing a database named DB1. Changes will be deployed to DB1 every Wednesday night. Youneed to recommend a strategy to deploy the changes to DB1. The strategy must meet the followingrequirements:?The strategy must not disrupt backup operations.?DB1 must be unavailable to users while the changes are deployed. ?You must be able to undo quickly theentire operation.What should you recommend?More than one answer choice may achieve the goal. Select the BEST answer.

A. Perform a copy-only database backup before the changes are deployed. If the deployment fails, restore thedatabase to another server and recover the original objects from the restored database.

B. Create a database snapshot. If the deployment fails, recover the objects from the database snapshot.C. Create a database snapshot. If the deployment fails, revert the database to the database snapshot.D. Perform a full database backup before the changes are deployed. If the deployment fails, restore the

database to another server and recover the original objects from the restored database.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:Complete collection of 70-465 Exam's Question and answers.

QUESTION 15DRAG DROPYou plan to deploy SQL Server 2012. 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 thedatabase 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 processoroverhead. Which features should you identify? To answer, drag the appropriate feature to the correctrequirement in the answer area.

Complete collection of 70-465 Exam's Question and answers.

Page 13: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

A.B.C.D.

Correct Answer: Section: (none)Explanation

Explanation/Reference:

Complete collection of 70-465 Exam's Question and answers.

Page 14: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

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

A. SQL Server Integration Services (SSIS) scriptsB. Extended EventsC. TriggersD. SQL Server Analysis Services (SSAS) scriptsE. Contained database

Correct Answer: ESection: (none)Explanation

Explanation/Reference:

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

Complete collection of 70-465 Exam's Question and answers.

A. Create a sequence object that holds the next value in the sequence. Retrieve the next value by using thestored procedure.

B. Increment the sequence object to the next value by using an ALTER SEQUENCE statement. Reset thevalue as needed by using a different ALTER SEQUENCE statement.

C. Create an identity column in each of the three tables. Use the same seed and the same increment for eachtable. Insert new rows into the tables by using the stored procedure. Use the DBCC CHECKIDENTcommand to reset the columns as needed.

D. Create a fourth table that holds the next value in the sequence. At the end each transaction, update thevalue by using the stored procedure. Reset the value as needed by using an UPDATE statement.

E. Create a sequence object that holds the next value in the sequence. Retrieve the next value by using thestored procedure. Reset the value by using an ALTER SEQUENCE statement as needed.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

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

Page 15: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

A. Max Degree of ParallelismB. Resource GovernorC. Windows System Resource Manager (WSRM)D. Processor affinity

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 19You 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 followingrequirements:?The database schemas must be synchronized from SQLDev to SQLProd. ?The database on SQLDev mustbe 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 snapshotB. A data-tier applicationC. Change data captureD. SQL Server Integration Services (SSIS)

Correct Answer: BSection: (none)Explanation

Explanation/Reference:Complete collection of 70-465 Exam's Question and answers.

QUESTION 20DRAG DROPYou plan to deploy a database to SQL Azure. You are designing two stored procedures named SP1 and SP2that have the following requirements:?Prevent data read by 5P1 from being modified by other active processes.?Allow SP2 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 correctstored procedure in the answer area.

Page 16: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

Complete collection of 70-465 Exam's Question and answers.

A.B.C.D.

Correct Answer: Section: (none)Explanation

Explanation/Reference:

QUESTION 21You have a server that has SQL Server 2012 installed. The server contains 100 user databases. You need torecommend 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 everyday. ?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

Page 17: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

B. SQL Server Agent jobsC. Policy-Based ManagementD. A Data Definition Language (DDL) trigger

Correct Answer: ASection: (none)Explanation

Explanation/Reference:Complete collection of 70-465 Exam's Question and answers.

QUESTION 22DRAG DROPYou plan to deploy three highly available SQL Server environments that will use SQL Server 2012. You identifythe following specifications for each environment as shown following table.

You need to recommend which high-availability feature is required for each environment. Which featuresshould you identify?To answer, drag the appropriate feature to the correct requirement in the answer area.

Complete collection of 70-465 Exam's Question and answers.

Page 18: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

A.B.C.D.

Correct Answer: Section: (none)Explanation

Explanation/Reference:

QUESTION 23DRAG DROPYou plan to deploy SQL Server 2012. You must create two tables named Table 1 and Table 2 that will have thefollowing specifications:?Table1 will contain a date column named Column1 that will contain a null value approximately 80 percent ofthe 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 bedefined for the columns. The solution must minimize the storage requirements for the tables. Which optionsshould you recommend?To answer, drag the appropriate options to the correct column in the answer area.

Complete collection of 70-465 Exam's Question and answers.

Page 19: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

A.B.C.D.

Correct Answer: Section: (none)Explanation

Explanation/Reference:

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

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

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

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

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

Correct Answer: ASection: (none)Explanation

Page 20: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

Explanation/Reference:Complete collection of 70-465 Exam's Question and answers.

Case Study: 1Litware, Inc Case AOverviewYou 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 willuse the application. You have an existing desktop application that uses a SQL Server 2005 database namedApp1_DB. App1_DB will remain in production.RequirementsPlanned ChangesYou plan to deploy a SQL Server 2012 instance that will contain two databases named Database1 andDatabase2. All database files will be stored in a highly available SAN. Database1 will contain two tables namedOrders and OrderDetails. Database1 will also contain a stored procedure named usp_UpdateOrderDetails. Thestored procedure is used to update order information. The stored procedure queries the Orders table twiceeach time the procedure executes. The rows returned from the first query must be returned on the secondquery unchanged along with any rows added to the table between the two read operations. Database1 willcontain several queries that access data in the Database2 tables. Database2 will contain a table namedInventory. Inventory will contain over 100 GB of data. The Inventory table will have two indexes: a clusteredindex on the primary key and a nonclustered index. The column that is used as the primary key will use theidentity 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 ofhierarchies.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 datafrom Database2 will be sent to a database named Appl_Dbl as soon as changes occur to the data inDatabase2.Litware plans to use offsite storage for all SQL Server 2012 backups.Business RequirementsYou 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 effortmust be minimized whenever possible. ?The storage requirements for databases must be minimized. ?Systemadministrators must be able to run real-time reports on disk usage.

Complete collection of 70-465 Exam's Question and answers.

?The databases must be available if the SQL Server service fails. ?Database administrators must receive adetailed report that contains allocation errors and data corruption.?Application developers must be denied direct access to the database tables. Applications must be denieddirect 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 26You need to recommend a solution for the deployment of SQL Server 2012. The solution must meet thebusiness requirements. What should you include in the recommendation?

A. Deploy two servers that have SQL Server 2012 installed and implement database mirroring.B. Create a new instance of SQL Server 2012 on the server that hosts the SQL Server 2005 instance.C. Upgrade the existing SQL Server 2005 instance to SQL Server 2012.D. Deploy two servers that have SQL Server 2012 installed and implement Failover Clustering.

Correct Answer: CSection: (none)Explanation

Page 21: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

Explanation/Reference:Complete collection of 70-465 Exam's Question and answers.

QUESTION 27You need to recommend a disk monitoring solution that meets the business requirements. What should youinclude in the recommendation?

A. a SQL Server Agent alertB. a dynamic management viewC. a maintenance planD. an audit

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 28You need to recommend a solution for Application1 that meets the security requirements. What should youinclude in the recommendation?

A. Encrypted columnsB. Certificate AuthenticationC. Secure Socket Layer (SSL)D. Signed stored procedures

Correct Answer: BSection: (none)Explanation

Explanation/Reference:Complete collection of 70-465 Exam's Question and answers.

QUESTION 29You need to recommend a feature to support your backup solution. What should you include in therecommendation?

A. Column-level encryptionB. A Secure Sockets Layer (SSL)C. An NTFS file permissionD. Transparent Data Encryption (TDE)

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 30You need to recommend a solution to allow application users to perform UPDATE operations on the databasetables. The solution must meet the business requirements. What should you recommend?

Page 22: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

A. Create stored procedures that use EXECUTE AS clauses.B. Create a user-defined database role and add users to the role.C. Create functions that use EXECUTE AS clauses.D. Create a Policy-Based Management Policy.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:Case Study: 2Contoso, LtdOverviewApplication OverviewContoso, Ltd., is the developer of an enterprise resource planning (ERP) application. Contoso is designing anew version of the ERP application. The previous version of the ERP application used SQL Server 2008 R2.The new version will use SQL Server 2012. The ERP application relies on an import process to load supplierdata. The import process updates thousands of rows simultaneously, requires exclusive access to thedatabase, and runs daily. You receive several support calls reporting unexpected behavior in the ERPapplication. After analyzing the calls, you conclude that users made changes directly to the tables in thedatabase.TablesThe current database schema contains a table named OrderDetails. The OrderDetails table containsinformation about the items sold for each purchase order. OrderDetails stores the product ID, quantities, anddiscounts applied to each product in a purchase order. The product price is stored in a table named Products.

Complete collection of 70-465 Exam's Question and answers.

The Products table was defined by using the SQL_Latin1_General_CP1_CI_AS collation. A column namedProductName was created by using the varchar data type. The database contains a table named Orders.Orders contains all of the purchase orders from the last 12 months. Purchase orders that are older than 12months are stored in a table named OrdersOld.The previous version of the ERP application relied on table-level security.Stored ProceduresThe current version of the database contains stored procedures that change two tables. The following showsthe relevant portions of the two stored procedures:

Page 23: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

Customer ProblemsInstallation IssuesThe current version of the ERP application requires that several SQL Server logins be set up to functioncorrectly. Most customers set up the ERP application in multiple locations and must create logins multipletimes.Index Fragmentation IssuesCustomers discover that clustered indexes often are fragmented. To resolve this issue, the customersdefragment the indexes more frequently. All of the tables affected by fragmentation have the following columnsthat are used as the clustered index key:

Backup IssuesCustomers who have large amounts of historical purchase order data report that backup time is unacceptable.

Complete collection of 70-465 Exam's Question and answers.

Search IssuesUsers report that when they search product names, the search results exclude product names that containaccents, unless the search string includes the accent.Missing Data IssuesCustomers report that when they make a price change in the Products table, they cannot retrieve the price thatthe item was sold for in previous orders.Query Performance IssuesCustomers report that query performance degrades very quickly. Additionally, the customers report that userscannot run queries when SQL Server runs maintenance tasks.Import IssuesDuring the monthly import process, database administrators receive many supports call from users who reportthat they cannot access the supplier data. The database administrators want to reduce the amount of timerequired to import the data.Design RequirementsFile Storage RequirementsThe ERP database stores scanned documents that are larger than 2 MB. These files must only be accessedthrough the ERP application. File access must have the best possible read and write performance.Data Recovery RequirementsIf the import process fails, the database must be returned to its prior state immediately.Security RequirementsYou must provide users with the ability to execute functions within the ERP application, without having directaccess to the underlying tables.Concurrency RequirementsYou must reduce the likelihood of deadlocks occurring when Sales.Prod and Sales.Proc2 execute.

QUESTION 31You need to recommend a solution that addresses the index fragmentation and index width issue. What shouldyou include in the recommendation? (Each correct answer presents part of the solution. Choose all that apply.)

A. Change the data type of the modifiedBy column to tinyint.B. Change the data type of the lastModified column to smalldatetime.C. Remove the id column from the clustered index.

Page 24: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

D. Remove the modifiedBy column from the clustered index.E. Change the data type of the id column to bigint.F. Remove the lastModified column from the clustered index.

Correct Answer: ABFSection: (none)Explanation

Explanation/Reference:Complete collection of 70-465 Exam's Question and answers.

QUESTION 32You need to recommend a solution that addresses the concurrency requirement. What should yourecommend?

A. Call the stored procedures in a Distributed Transaction Coordinator (DTC) transaction.B. Modify the stored procedures to update tables in the same order for all of the stored procedures.C. Make calls to Sales.Proc1 and Sales.Proc2 synchronously.D. Break each stored procedure into two separate procedures, one that changes Sales.Table1 and one that

changes Sales.Table2.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 33You need to recommend a solution that addresses the backup issue. The solution must minimize the amount ofdevelopment effort. What should you include in the recommendation?

A. FilegroupsB. Table partitioningC. Indexed viewsD. Indexes

Correct Answer: ASection: (none)Explanation

Explanation/Reference:Complete collection of 70-465 Exam's Question and answers.

QUESTION 34You need to recommend a solution that meets the data recovery requirement. What should you include in therecommendation?

A. A database snapshot

Page 25: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

http://www.gratisexam.com/

B. A transaction log backupC. Snapshot isolationD. A differential backup

Correct Answer: ASection: (none)Explanation

Explanation/Reference:Case Study: 3A. Datum Case AGeneral OverviewA. Datum Corporation has offices in Miami and Montreal. The network contains a single Active Directory forestnamed adatum.com. The offices connect to each other by using a WAN link that has a 5-ms latency. A. Datumstandardizes its database platform by using SQL Server 2012 Standard edition.DatabasesEach office contains databases named Sales, Inventory, Customers, Products, Personnel, and Dev. Serversand databases are managed by a team of database administrators. Currently, all of the databaseadministrators have the same level of permissions on all of the servers and all of the databases.The Customers database contains two tables named Customers and Classifications. The following graphicshows the relevant portions of the tables:

The following table shows the current data in the Classifications table:

Complete collection of 70-465 Exam's Question and answers.

Page 26: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

The Inventory database is used mainly for reports. The database is recreated every day. A full backup of thedatabase currently takes three hours to complete.Stored ProceduresA stored procedure named sp1 generates millions of rows of data for multiple reports. Sp1 combines data fromfive different tables from the Sales and Customers databases in a table named Table1.After Table1 is created, the reporting process reads data from a table in the Products database and searchesfor information in Table1 based on input from the Products table. After the process is complete, Table1 isdeleted.A stored procedure named sp2 is used to generate a product list. Sp2 takes several minutes to run due to lockson the tables the procedure accesses. A stored procedure named sp3 is used to update prices. Sp3 iscomposed of several UPDATE statements called in sequence from within a transaction. Currently, if one of theUPDATE statements fails, the stored procedure continues to execute. A stored procedure named sp4 callsstored procedures in the Sales, Customers, and Inventory databases. The nested stored procedures readtables from the Sales, Customers, and Inventory databases. Sp4 uses an EXECUTE AS clause.A stored procedure named sp5 changes data in multiple databases. Security checks are performed each timesp5 accesses a database.You suspect that the security checks are slowing down the performance of sp5. All stored procedures accessedby user applications call nested stored procedures. The nested stored procedures are never called directly.Design RequirementsData RecoveryYou must be able to recover data from the Inventory database if a storage failure occurs. You have a RecoveryPoint Objective (RPO) of one hour. You must be able to recover data from the Dev database if data is lostaccidentally. You have a Recovery Point Objective (RPO) of one day.Classification ChangesYou plan to change the way customers are classified. The new classifications will have four levels based on thenumber of orders. Classifications may be removed or added in the future. Management requests that historicaldata be maintained for the previous classifications.Security

Complete collection of 70-465 Exam's Question and answers.

A group of junior database administrators must be able to view the server state of the SQL Server instance thathosts the Sales database. The junior database administrators will not have any other administrative rights.

QUESTION 35You need to recommend a disaster recovery strategy for the Inventory database. What should you include inthe recommendation?

A. SQL Server Failover ClusteringB. AlwaysOn availability groupsC. Peer-to-peer replicationD. Log shipping

Page 27: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 36You need to recommend a solution to minimize the amount of time it takes to execute sp5. What should youinclude in the recommendation?

A. Use the EXECUTE AS clause in sp5.B. Enable cross-database chaining.C. Use a server role to group all logins.D. Copy sp5 to each database.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 37You need to recommend a change to sp3 to ensure that the procedure completes only if all of the UPDATEstatements complete. Which change should you recommend?

A. Set the XACT_ABORT option to on.B. Set the IMPLICIT_TRANSACTIONS option to off.C. Set the IMPLICIT_TRANSACTIONS option to on.D. Set the XACT_ABORT option to off

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 38You need to recommend a solution for the planned changes to the customer classifications. What should yourecommend? (Each correct answer presents part of the solution. Choose all that apply.)

A. Implement change data capture.B. Add a table to track any changes made to the classification of each customer.C. Add columns for each classification to the Customers table.D. Add a row to the Customers table each time a classification changes.E. Add a column to the Classifications table to track the status of each classification.

Correct Answer: ACSection: (none)Explanation

Explanation/Reference:Complete collection of 70-465 Exam's Question and answers.

Page 28: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

Case Study: 4Litware, Inc Case BOverviewYou 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 willuse the application. You have an existing desktop application that uses a SQL Server 2005 database namedApp1_DB. App1_Db will remain in production.RequirementsPlanned ChangesYou plan to deploy a SQL Server 2012 instance that will contain two databases named Databasel andDatabase2.Database1 will contain two tables named Orders and OrderDetails. Databasel will also contain a storedprocedure named usp_UpdateOrderDetails. The stored procedure is used to update order information. Thestored procedure queries the Orders table twice each time the procedure executes. Each query against theOrders table must return the same data. All statements in the stored procedure run in a single transaction.Database1 will contain several queries that access data in the Database2 tables. Database2 will contain a tablenamed Inventory. Inventory will contain over 100 GB of data. The Inventory table will have two indexes: aclustered index on the primary key and a nonclustered index. The column that is used as the primary key willuse the identity property. Database2 will contain a table named Inventory. Inventory will contain over 100 GB ofdata. 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 will contain a storedprocedure named usp_UpdateInventory. Usp_UpdateInventory will manipulate several small data sets of up to100 rows each. Each data set will be used multiple times.Data from Database2 will be accessed periodically by an external application named Application!. The datafrom Database2 will be sent to a database named App1_Db1 as soon as changes occur to the data inDatabase2.Litware plans to use offsite storage for all SQL Server 2012 backups.Business RequirementsYou have the following requirements:?Costs for new equipment must be minimized.?External access to the databases must be encrypted. ?Development effort must be minimized wheneverpossible. ?System administrators must be notified when disk space falls below a certain threshold.

Complete collection of 70-465 Exam's Question and answers.

?The databases must be available if the SQL Server service or the storage solution 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 denieddirect 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 39You need to recommend a solution to synchronize Database2 to App1_Db1. What should you recommend?

A. Snapshot replicationB. Change data captureC. Transactional replicationD. Master Data Services

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 40

Page 29: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

You need to recommend a solution to improve the performance of usp_UpdateInventory. The solution mustminimize the amount of development effort. What should you include in the recommendation?

A. a cursorB. a subqueryC. a table variableD. a common table expression

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 41You need to recommend an isolation level for usp_UpdateOrderDetails. Which isolation level shouldrecommend?

A. repeatable readB. read uncommittedC. read committedD. serializable

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 42You need to recommend a solution for the deployment of SQL Server 2012. The solution must meet thebusiness requirements. What should you include in the recommendation?

A. Install a new instance of SQL Server 2012 on the server that hosts the SQL Server 2005 instance.Deploy a new server that has SQL Server 2012 installed. Implement AlwaysOn.

B. Upgrade the existing SQL Server 2005 instance to SQL Server 2012. Deploy a new server that has SQLServer 2012 installed. Implement AlwaysOn.

C. Deploy two servers that have SQL Server 2012 installed and implement Failover Clustering.D. Deploy two servers that have SQL Server 2012 installed. Implement AlwaysOn Availability Groups on both

servers.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:Complete collection of 70-465 Exam's Question and answers.

QUESTION 43You need to recommend a feature to support your backup solution. What should you include in therecommendation?

A. Column-level encryption

Page 30: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

B. Transparent Data Encryption (TDE)C. An NTFS file permissionD. A Secure Sockets Layer (SSL)

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 44You need to recommend a solution to allow application users to perform UPDATE operations on the databasetables. The solution must meet the business requirements. What should you recommend?

A. Create stored procedures that use EXECUTE AS clauses.B. Create a Policy-Based Management Policy.C. Create functions that use EXECUTE AS clauses.D. Create a user-defined database role and add users to the role.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:Complete collection of 70-465 Exam's Question and answers.

Case Study: 5A. Datum Case BOverviewGeneral OverviewA. Datum Corporation has offices in Miami and Montreal. The network contains a single Active Directory forestnamed adatum.com. The offices connect to each other by using a WAN link that has 5-ms latency. A. Datumstandardizes its database platform by using SQL Server 2012 Enterprise edition. Databases Each officecontains databases named Sales, Inventory, Customers, Products, Personnel, and Dev.Servers and databases are managed by a team of database administrators. Currently, all of the databaseadministrators have the same level of permissions on all of the servers and all of the databases.The Customers database contains two tables named Customers and Classifications. The following graphicshows the relevant portions of the tables:

The following table shows the current data in the Classifications table:

Page 31: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

The Inventory database is updated frequently. The database is often used for reporting. A full backup of thedatabase currently takes three hours to complete.Stored ProceduresA stored procedure named sp1 generates millions of rows of data for multiple reports. Sp1 combines data fromfive different tables from the Sales and Customers databases in a table named Table1.After Table1 is created, the reporting process reads data from Table1 sequentially several times. After theprocess is complete, Table1 is deleted. A stored procedure named sp2 is used to generate a product list. Theproduct list contains the names of products grouped by category. Sp2 takes several minutes to run due to lockson the tables the procedure accesses. The locks are caused by sp1 and sp3.

Complete collection of 70-465 Exam's Question and answers.

A stored procedure named sp3 is used to update prices. Sp3 is composed of several UPDATE statementscalled in sequence from within a transaction. Currently, if one of the UPDATE statements fails, the storedprocedure fails.A stored procedure named sp4 calls stored procedures in the Sales, Customers, and Inventory databases. Thenested stored procedures read tables from the Sales, Customers, and Inventory databases. Sp4 uses anEXECUTE AS clause. All nested stored procedures handle errors by using structured exception handling.A stored procedure named sp5 calls several stored procedures in the same database. Security checks areperformed each time sp5 calls a stored procedure. You suspect that the security checks are slowing down theperformance of sp5. All stored procedures accessed by user applications call nested stored procedures. Thenested stored procedures are never called directly.Design RequirementsData RecoveryYou must be able to recover data from the Inventory database if a storage failure occurs. You have a RecoveryTime Objective (RTO) of 5 minutes. You must be able to recover data from the Dev database if data is lostaccidentally. You have a Recovery Point Objective (RPO) of one day.Classification ChangesYou plan to change the way customers are classified. The new classifications will have four levels based on thenumber of orders. Classifications may be removed or added in the future. Management requests that historicaldata be maintained for the previous classifications. Security A group of junior database administrators must beable to manage security for the Sales database.The junior database administrators will not have any other administrative rights. A. Datum wants to track whichusers run each stored procedure.StorageA. Datum has limited storage. Whenever possible, all storage space should be minimized for all databases andall backups.Error HandlingThere is currently no error handling code in any stored procedure. You plan to log errors in called storedprocedures and nested stored procedures. Nested stored procedures are never called directly.

Complete collection of 70-465 Exam's Question and answers.

QUESTION 45You need to recommend a solution to minimize the amount of time it takes to execute sp1. With what shouldyou recommend replacing Table1?

Page 32: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

A. a table variableB. a functionC. a viewD. a temporary table

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 46You need to recommend a solution to minimize the amount of time it takes to execute sp5. What should youinclude in the recommendation?

A. Use the EXECUTE AS clause in sp5.B. Create all stored procedures used by sp5 by using the same owner.C. Copy sp5 to each database.D. Enable cross-database chaining.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 47You need to recommend a solution to meet the security requirements of the junior database administrators.What should you include in the recommendation?

A. a database roleB. a credentialC. a shared loginD. a server role

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 48You need to recommend a change to sp3 to ensure that the procedure continues to execute even if one of theUPDATE statements fails. Which change should you recommend?

A. Set the XACT_ABORT option to off.B. Set the XACT_ABORT option to on.C. Set the IMPLICIT_TRANSACTIONS option to on.D. Set the IMPLICIT_TRANSACTIONS option to off.

Correct Answer: ASection: (none)

Page 33: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

Explanation

Explanation/Reference:Complete collection of 70-465 Exam's Question and answers.

QUESTION 49You need to recommend a disaster recovery solution for the Dev database. What should you include in therecommendation?

A. The simple recovery model and full backupsB. The full recovery model, full backups, and transaction log backupsC. The full recovery model, full backups, and differential backupsD. The bulk-logged recovery model and full backups

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 50You need to recommend a solution for the planned changes to the customer classifications. What should yourecommend? (Each correct answer presents part of the solution. Choose all that apply.)

A. Add a row to the Customers table each time a classification changes.B. Add a table to track any changes made to the classification of each customer.C. Add columns for each classification to the Customers table.D. Add a column to the Classifications table to track the status of each classification.E. Implement change data capture.

Correct Answer: ACSection: (none)Explanation

Explanation/Reference:Complete collection of 70-465 Exam's Question and answers.

Thank You for Trying Our Product

Microsoft

EXAM - 70-465

Designing Database Solutions for Microsoft SQL Server 2012 Exam

TOTAL QUESTIONS: 74/Case Study 5

/70-465.htm

Complete collection of 70-465 Exam's Question and answers.

Page 34: Microsoft 70-465 Exam Questions & Answers · Complete collection of 70-465 Exam's Question and answers. QUESTION 10 You have four databases that are accessed by using an Online Transaction

http://www.gratisexam.com/