microsoft.practicetest.70-465.v2013-08-25.by.vertigo. partitioned views ... you should configure a...

38
70-465 Number : 000-000 Passing Score : 800 Time Limit : 120 min File Version : 1.0 http://www.gratisexam.com/

Upload: hoangcong

Post on 30-Jan-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

70-465

Number: 000-000Passing Score: 800Time Limit: 120 minFile Version: 1.0

http://www.gratisexam.com/

Exam A

QUESTION 1You 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 minimumamount of data loss.• 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 andarrange them in the correct order.

Build List and Reorder:

Correct Answer:

Section: (none)Explanation

Explanation/Reference:

QUESTION 2You need to design a stored procedure to update rows. The stored procedure must meet the following requirements:

• If more than one row is updated, an error must be raised to the application and the updatemust be discarded.• The stored procedure must be designed to maximize concurrency. What should you includein the design?

To answer, move the appropriate actions from the list of actions to the answer area and

arrange them in the correct order.

Build List and Reorder:

Correct Answer:

Section: (none)Explanation

Explanation/Reference:

QUESTION 3You are designing a monitoring application for a new SQL Server 2012 instance.

You need to recommend a solution to generate a report that displays the 10 most frequent wait types thatoccur for the instance. What should you include in the recommendation?More than one answer choice may achieve the goal. Select the BEST answer.

A. The sys.dm_os_wait_stats dynamic management viewB. The DBCC SQLPERF(WAITSTATS) commandC. The SQL Server error logD. SQL Server Profiler

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 4

You have two servers named SQL1 and SQL2 that have SQL Server 2008 installed. SQL1contains a database that is mirrored asynchronously to SQL2.

The database contents are updated once a month. You need to upgrade the database to SQL Server 2012. The solution must minimize downtime. Which upgrade steps should you recommend?To answer, move the appropriate actions from the list of actions to the answer area andarrange them in the correct order.

Build List and Reorder:

Correct Answer:

Section: (none)Explanation

Explanation/Reference:

QUESTION 5Your 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 utilization exceeds 90 percent.

You need to identify which feature meets each monitoring requirement. Which featuresshould youidentify?To answer, drag the appropriate feature to the correct monitoring requirement in the answerarea.

A. Policy-Based Managment and a SQL-Server Agent alertB. Policy-Based Managment and SQL-Server Server Integration Services (SSIS)C. Policy-Based Managment and triggersD. triggers and trace flagsE. triggers and a SQL Server Agent alertF. a SQL Server Agent Alert and triggersG. trace flags and SQL-Server Server Integration Services (SSIS)H. SQL-Server Server Integration Services (SSIS) and a SQL Server Agent alert

Correct Answer: ESection: (none)Explanation

Explanation/Reference:

QUESTION 6You deploy a database by using SQL Server 2012. The database contains a table named Table1.

You need to recommend a solution that meets the following requirements:• Stores the most recent data from Table1 by using the fastest storage solution possible.• Stores the historical data from Table1 by using a slower storage solution. What should yourecommend?

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

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 7You are creating a database that will store usernames and passwords for an application.

http://www.gratisexam.com/

You need to recommend a solution to store the passwords in the database. What should yourecommend? More than one answer choice may achieve the goal. Select the BEST answer.

A. One-way encryptionB. Transparent Data Encryption (TDE)C. Encrypting File System (EFS)D. Reversible encryption

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 8You work as a Database Administrator (DBA) for a company named ABC.com. The company uses a MicrosoftSQL Server 2012 infrastructure.

A server named ABC-SQL1 hosts multiple databases that are accessed using OLTP (OnlineTransaction Processing) applications.

You are concerned about the lack of redundancy provided by this single server solution.You want to configure a solution that ensures high-availability for the databases whileminimizing costs. You need to ensure that the databases remain online in the event of ahardware failure of ABC-SQL1.

You configure a second server named ABC-SQL2 and install SQL Server 2012.Which of the following solutions would provide the high-availability and enable users to

run reports on both copies of the databases?

A. AlwaysOn availability groupsB. A failover clusterC. Database mirroringD. Transaction log shipping

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 9You work as a Developer at ABC.com. All databases are hosted on Windows Server 2012 servers running SQLServer 2012.

You are developing a custom CRM application named CorpCRM. The application will store usernames and passwords in a SQL Server 2012 database named CorpCRMDB1.

You need to ensure the usernames and passwords are secure.Which of the following would be most suitable password storage solution?

A. One-way encryptionB. Reversible encryptionC. Encrypting File System (EFS)D. Secure Sockets Layer (SSL)

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 10You work as a Database Administrator (DBA) at ABC.com. All databases are hosted on Windows Server 2012 servers running SQL Server 2012.

The Sales department uses a database named SalesDB. SalesDB contains a large tablenamed Orders that lists every order ever received by the company.

You want to improve the performance of SalesDB. You want to configure the database toprovide the fastest possible access to the most recent orders.

Historical orders can be stored using a slower storage solution.How can you achieve this goal?

A. By configuring database mirroring.B. By configuring a failover cluster.C. By partitioning the Orders table.D. By partitioning a partitioned view of the Orders table.

Correct Answer: CSection: (none)

Explanation

Explanation/Reference:

QUESTION 11You work as a Database Administrator (DBA) for a company named ABC.com. The company uses a Microsoft SQL Server 2012 infrastructure.

You have a database named CorpDB. CorpDB contains 2TB of data.You plan to import a large amount of data into tables in CorpDB.

You want to minimize the size of the transaction log while the data is imported.What should you do?

A. You should configure the recovery model of the database to Full.B. You should configure the recovery model of the database to Bulk-Logged.C. You should start a new transaction log file.D. You should configure a new filegroup for the existing log file.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 12DRAG 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 automatic failover implemented. Environment2 must have AlwaysOn with automatic failover implemented.

You need to identify the minimum number of SQL Server 2012 servers that must be deployed to eachenvironment to ensure that all data remains available if a physical server fails. How many servers should youidentify? To answer, drag the appropriate number to the correct environment in the answer area.

Select and Place:

Correct Answer:

Section: (none)Explanation

Explanation/Reference:According to these references, the answer looks correct.

References:http://msdn.microsoft.com/en-us/library/ms189852.aspxhttp://msdn.microsoft.com/en-us/library/hh510230.aspx

QUESTION 13DRAG 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.

Select and Place:

Correct Answer:

Section: (none)

Explanation

Explanation/Reference:According to these references, the answer looks correct.

References:http://msdn.microsoft.com/en-us/library/windows/desktop/aa364223.aspxhttp://msdn.microsoft.com/en-us/library/bb510667.aspxhttp://msdn.microsoft.com/en-us/library/bb879935.aspxhttp://msdn.microsoft.com/en-us/library/bb934049.aspxhttp://msdn.microsoft.com/en-us/library/windows/hardware/gg487306.aspxhttp://msdn.microsoft.com/en-us/library/ff773063.aspx

QUESTION 14You plan to install two SQL Server 2012 environments named Environment1 andEnvironment2. Your company identifies the following availability requirements for eachenvironment:• Environment1 must have mirroring with manual failover implemented.• Environment2 must have AlwaysOn with automatic failover implemented.

You need to identify the minimum number of SQL Server 2012 servers that must be deployedto each environment to ensure that all data remains available if a physical server fails. Howmany servers should you identify?To answer, drag the appropriate number to the correct environment in the answer area.

Select and Place:

Correct Answer:

Section: (none)Explanation

Explanation/Reference:According to these references, the answer looks correct.

References:http://msdn.microsoft.com/en-us/library/ms189852.aspxhttp://msdn.microsoft.com/en-us/library/hh510230.aspx

QUESTION 15DRAG DROPYou plan to deploy SQL Server 2012. Your company identifies the following monitoring requirements for thedatabase:

An e-mail message must be sent if the SQL Server Authentication mode changes. An e-mail message must be sent if CPU utilization exceeds 90 percent.

You need to identify which feature meets each monitoring requirement. Which features should you identify? Toanswer, drag the appropriate feature to the correct monitoring requirement in the answer area.

Select and Place:

Correct Answer:

Section: (none)Explanation

Explanation/Reference:According to these references, the answer looks correct.

References:http://msdn.microsoft.com/en-us/library/bb510667.aspxhttp://msdn.microsoft.com/en-us/library/ms180982.aspxhttp://msdn.microsoft.com/en-us/library/ms141026.aspxhttp://msdn.microsoft.com/en-us/library/ms188396.aspx

QUESTION 16DRAG DROPYou are designing two stored procedures named Procedure1 and Procedure2. You identify the followingrequirements:

Procedure1 must take a parameter that ensures that multiple rows of data can pass into the storedprocedure.Procedure2 must use business logic that resides in a Microsoft .NET Framework assembly.

You need to identify the appropriate technology for each stored procedure. Which technologies should youidentify? To answer, drag the appropriate technology to the correct stored procedure in the answer area.(Answer choices may be used once, more than once, or not at all.)

Select and Place:

Correct Answer:

Section: (none)Explanation

Explanation/Reference:According to these references, the answer looks correct.

References:http://msdn.microsoft.com/en-us/library/ms131102.aspxhttp://msdn.microsoft.com/en-us/library/bb522446.aspxhttp://msdn.microsoft.com/en-us/library/bb510489.aspx

QUESTION 17DRAG DROPYou plan to deploy SQL Server 2012. You must create two tables named Table1 and Table2 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 be defined for the columns. The solution must minimize thestorage requirements for the tables. Which options should you recommend? To answer, drag the appropriateoptions to the correct column in the answer area.

Select and Place:

Correct Answer:

Section: (none)Explanation

Explanation/Reference:According to these references, the answer looks correct.

References:http://msdn.microsoft.com/en-us/library/cc280604.aspxhttp://msdn.microsoft.com/en-us/library/ms186241.aspx

QUESTION 18DRAG DROPYou are designing a database for a university. The database will contain two tables named Classes andStudentGrades that have the following specifications:

Classes will store brochures in the XPS format. The brochures must be structured in folders and must be accessible by using UNC paths.StudentGrades must be backed up on a separate schedule than the rest of the database.

You need to identify which SQL Server technology meets the specifications of each table. Which technologiesshould you identify? To answer, drag the appropriate technology to the correct table in the answer area.

Select and Place:

Correct Answer:

Section: (none)Explanation

Explanation/Reference:According to these references, the answer looks correct.

References:http://msdn.microsoft.com/en-us/library/gg471497.aspxhttp://msdn.microsoft.com/en-us/library/ff929144.aspxhttp://msdn.microsoft.com/en-us/library/ms189563.aspxhttp://msdn.microsoft.com/en-us/library/ms190174.aspxhttp://msdn.microsoft.com/en-us/library/ms187956.aspx

QUESTION 19DRAG 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:

http://www.gratisexam.com/

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 answerarea.

Select and Place:

Correct Answer:

Section: (none)Explanation

Explanation/Reference:According to this reference, the answer looks correct.

Reference:http://msdn.microsoft.com/en-US/library/ms187752.aspx

QUESTION 20DRAG DROPYou are designing an authentication strategy for a new server that has SQL Server 2012 installed. The strategymust 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 theamount of events that are logged. Which technologies should you recommend? To answer, drag theappropriate solution to the correct business requirement in the answer area.

Select and Place:

Correct Answer:

Section: (none)Explanation

Explanation/Reference:According to these references, the answer looks correct.

References:http://msdn.microsoft.com/en-us/library/ms175850.aspxhttp://msdn.microsoft.com/en-us/library/bb326598.aspxhttp://msdn.microsoft.com/en-us/library/ms187634.aspx

http://msdn.microsoft.com/en-us/library/bb510667.aspx

Exam

QUESTION 1You need to recommend the actions that are required to partition a table.

In which order should the four actions be performed?

To answer, move the actions from the list to the answer area and arrange them in the correct order.

Build List and Reorder:

Correct Answer:

Section: (none)Explanation

Explanation/Reference:According to Technethttp://technet.microsoft.com/en-us/library/ms188730.aspx

QUESTION 2You plan to deploy SQL Server 2012. Your company identifies the following monitoring 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?

A. Change Data CaptureB. the Check constraintC. Extended eventD. a maintenence planE. Policy-Based Management

Correct Answer: DESection: (none)Explanation

Explanation/Reference:This should be a drag and drop question.

The name of all stored procedures must start with "usp_" always. = Policy-Based ManagementAll distribution statistics must be updated daily. = a maintenence plan

QUESTION 3You work as a Database Administrator (DBA) for a company named ABC.com. The company uses a Microsoft SQL Server 2012 infrastructure.

You are configuring a highly-available database solution using an AlwaysOn availabilitygroup on two servers running SQL Server 2012.

The two servers are in separate datacenters. The two datacenters are connected by a fast WAN link with a network latency of less than 10ms.

Which of the following failover types should you configure for the availability group?

A. You should configure the asynchronous manual failover failover type.B. You should configure the synchronous manual failover failover type.C. You should configure the synchronous automatic failover failover type.D. You should configure the Asynchronous automatic failover failover type.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 4You work as a Database Administrator (DBA) for a company named ABC.com. The company uses a Microsoft SQL Server 2012 infrastructure.

A server named ABC-SQL1 hosts multiple databases that are accessed using OLTP (Online TransactionProcessing) applications.

You are concerned about the lack of redundancy provided by this single server solution.You want to configure a solution that ensures high-availability for the databases while minimizing costs. You need to ensure that the databases remain online in the event of a hardware failure of ABC-SQL1.

You configure a second server named ABC-SQL2 and install SQL Server 2012.

Which of the following solutions would provide the high-availability and enable users torun reports on both copies of the databases?

A. AlwaysOn availability groupsB. A failover clusterC. Database mirroringD. Transaction log shipping

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 5You work as a Database Administrator (DBA) for a company named ABC.com. The company uses a Microsoft SQL Server 2012 infrastructure.

http://www.gratisexam.com/

The sales and marketing departments contain a total of 60 users. Each user uses a custom application that stores data in a SQL Server database. Each user has a separate database.A server named ABC-SQL1 hosts the 60 databases.

You need to configure a backup solution for all the databases. The solution must ensure that any new databases configured on ABC-SQL1 are automatically added to thebackupschedule.

The backup schedule consists of a full backup every night, a differential backup every hourand a transaction log backup every 15 minutes.How should you configure the backup solution?

A. You should configure SQL Server Agent jobs.B. You should configure Change Data Capture.C. You should configure Policy-Based Management.D. You should configure a Maintenance Plan.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 6You work as a Database Administrator (DBA) for a company named ABC.com. The company uses a Microsoft SQL Server 2012 infrastructure.You have a database named CorpDB.

A full backup of CorpDB is taken every week.A differential backup of CorpDB is taken every night at midnight.A transaction log backup of CorpDB is taken at 8am, 12pm, 4pm and 8pm.

You plan to deploy some changes to CorpDB at after the 4pm log backup completes. You need to ensure that you can undo the changes quickly if the deployment fails.

During the deployment of the changes, no other changes must be made by users to the database.

You need a backup and recovery strategy for deploying the changes.

Which two of the following actions would meet the backup and recovery requirementswhilst ensuring the regular backup schedule is not disrupted? (Choose two).

A. Take a full backup of the database before deploying the changes.B. Take a copy-only backup of the database before deploying the changes.

C. Take a snapshot of the database before deploying the changes.D. Restore the database from the backup.E. Restore the snapshot to another server and recover the required objects from the snapshot.F. Revert the database to the snapshot.

Correct Answer: CFSection: (none)Explanation

Explanation/Reference:

QUESTION 7You work as a Database Administrator (DBA) for a company named ABC.com. The company uses a Microsoft SQL Server 2012 infrastructure.

You are configuring a highly-available database solution using an AlwaysOn availabilitygroup on two servers running SQL Server 2012.

The two servers are in separate datacenters. The two datacenters are connected by a WAN link with a network latency of more than 200ms.

Which of the following failover types should you configure for the availability group?

A. You should configure the asynchronous manual failover failover type.B. You should configure the synchronous manual failover failover type.C. You should configure the synchronous automatic failover failover type.D. You should configure the Asynchronous automatic failover failover type.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 8You work as a Database Administrator (DBA) at ABC.com. The company has a SQL Server 2008 R2 environment.

You have a requirement for a temporary database that requires the features of SQL Server 2012.

The database must be highly available for one week while it is in use after which time the database will bedeleted.Your solution must not affect the current SQL Server environment.

Which of the following is the best solution to meet the requirement?

A. SQL Server 2012 Express with Advanced ServicesB. SQL Server 2012 StandardC. SQL Server 2012 EnterpriseD. SQL Azure

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 9You need to validate rows before they are added to a table every time a row is added using a user-definedfunction.What should you use?

More than one answer may achieve the goal.Select the BEST answer.

A. DML TriggerB. Default constraintC. Foreign keyD. CHECK constraint

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 10You need to ensure that a stored procedure fails if an INSERT statment within the stored procedure fails.

What action should you take?

A. THROW 51000, 'Abort!'B. SET XACT_ABORT OFFC. SET XACT_ABORT OND. TRY....CATCH

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 11You need to move a database in between servers.You need to guarantee database users will be able to login in the database with a minimum of managementeffort.

Select the BEST answer.

A. Application roleB. Database userC. Server loginD. Server role

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 12You need to grant access to a OLTP database regardless of the user operating the application.

Which strategy should you use?

Select the BEST answer.

A. Application roleB. Database userC. Server loginD. Server role

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 13Which feature should you enable and configure so session requests addressed to a specific instancecan be allocated to different processor resources based on session rquest properties?

A. Resource GovernorB. Windows System Resource ManagerC. Processor affinityD. I/O affinity

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 14You need to design a high availability strategy to guarantee database access in an eventof server failure and minimize data storage utilization.

Which is the BEST solution?

A. Database MirrorB. AlwaysOn availability groupsC. Clustered SQL Server instancesD. Log shipping

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 15You work as a Database Administrator (DBA) for a company named ABC.com. The company uses a Microsoft SQL Server 2012 infrastructure.

You have a database named CorpDB. CorpDB contains a table named SalesInfo..You discover that some table has been deleted from the SalesInfo table.You are unable to find out who deleted the information.

You need to implement a solution to monitor the deletion of any further information from the SalesInfo table.

You want to minimize the development effort required for the solution..What should you configure?

A. You should configure table permissions.B. You should configure a user role.C. You should configure change data capture.D. You should configure a trigger.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 16You work as a Developer at ABC.com. All databases are hosted on Windows Server 2012 servers running SQLServer 2012.

Yhe company has a database named Products.Tables in the Products database contain data including part numbers, product name, color, type and size.

Users in the Marketing department have created brochures for each product. The brochures have been created in the XML Paper Specification (XPS) format.

You have been asked to add a table to the Products database to store the product brochures.The brochures need to be stored in a folder structure.

Company users will also need to access the brochures from Windows applications using UNC paths.

How can you meet these requirements?

A. By implementing the XMLNAMESPACES feature.B. By implementing the FILEGROUP feature.C. By implementing the FILETABLE feature.D. By implementing the FILESTREAM feature.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 17

You work as a Database Administrator (DBA) for a company named ABC.com. The company has a Windows Azure subscription.The company uses a cloud based SQL Server environment hosted on SQL Azure.

Developers in your company are creating an ecommerce website.You are designing a database for the website. The database will be hosted on SQL Azure.

The database will store and reuse web site login details and customer credit card numbers.

You need to ensure the username, passwords and credit card details are securely stored in the database.

Which of the following would be the most suitable secure storage solution?

A. Secure Sockets Layer (SSL)B. IPSecC. Data encryptionD. Transparent Data Encryption (TDE)E. Encrypting File System (EFS)

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 18You work as a Database Administrator (DBA) for a company named ABC.com. The company uses a Microsoft SQL Server 2012 infrastructure.

Computer users use custom applications that store data in SQL Server databases hosted ona server named ABC-SQL1.

You discover that the Windows Application event log on ABC-SQL1 contains error events.

You need to configure a solution that will run an application whenever an event with a specific event ID number is generated in the Windows Application event log.

What should you configure?

A. You should configure an alert and a job.B. You should configure an alert and a maintenance plan.C. You should configure a trigger and a maintenance plan.D. You should configure a trigger and a job.E. You should configure an alert and a trigger.

Correct Answer: ASection: (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 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 snapshotB. A data-tier applicationC. Change data captureD. SQL Server Integration Services (SSIS)

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

Exam

QUESTION 1You 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) scriptsB. Extended EventsC. TriggersD. SQL Server Analysis Services (SSAS) scriptsE. Contained database

Correct Answer: ESection: (none)Explanation

Explanation/Reference:

QUESTION 2Your 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. Synchronous manual failoverB. Asynchronous manual failoverC. Asynchronous automatic failoverD. Synchronous automatic failover

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 3You 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 invocationof 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 thestored procedure.

B. 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 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 CHECKIDENT command toreset 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: ESection: (none)Explanation

Explanation/Reference:

QUESTION 4You 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 be deleted.

You need to recommend a solution to implement the database while minimizing costs. The solution must notaffect any existing applications.

What should you recommend? More than one answer choice may achieve the goal. Select the BEST answer.

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

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 5You are building a stored procedure for a SQL Azure database. The procedure will add multiple rows to atable. 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 callerof the stored procedure.

What should you include in the design?

A. An explicit transaction that has error handling enabledB. An implicit transaction that has XACT_ABORT enabledC. An explicit transaction that has XACT_ABORT disabledD. An implicit transaction that has error handling enabled

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 6You are designing a database named DB1. Changes will be deployed to DB1 every Wednesday night. You need to recommend a strategy to deploy the changes to DB1. The strategy must meet the following requirements:

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 the entire 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 the database to another server and recover the original objects from therestored 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 therestored database.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 7You 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 be deleted.

You need to recommend a solution to implement the database while minimizing costs. The solution must notaffect any existing applications.

What should you recommend? More than one answer choice may achieve the goal. Select the BEST answer.

A. SQL AzureB. SQL Server 2012 Express with Advanced ServicesC. SQL Server 2012 EnterpriseD. SQL Server 2012 Standard

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 8You are troubleshooting an application that runs a query. The application frequently causes deadlocks. You need to identify which transaction causes the deadlock.

What should you do? More than one answer choice may achieve the goal. Select the BEST answer.

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

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 9You 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 an additional server that has SQL Server 2012 installed. You need to design a high-availability solution for the databases 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 BESTanswer.

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

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 10You deploy a database by using SQL Server 2012. The database contains a table named Table 1. You need to recommend a solution to track all of the deletions executed on Table1.

The solution must minimize the amount of custom code required. What should you recommend?

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

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 11You have a SQL Server 2012 environment that contains 20 servers. The corporate security policy states that all SQL Server 2012 instances must meet specific security standards.

You need to recommend a management strategy 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. Maintenance plansB. Policy-Based ManagementC. Multi server jobsD. Common criteria compliance

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 12You are creating a database that will store usernames and passwords for an application. You need to recommend a solution to store the passwords in the database.

What should you recommend?

More than one answer choice may achieve the goal. Select the BEST answer.

A. One-way encryptionB. Transparent Data Encryption (TDE)C. Encrypting File System (EFS)D. Reversible encryption

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 13You deploy a database by using SQL Server 2012. The database contains a table named Table1.

You need to recommend a solution that meets the following requirements:

Stores the most recent data from Table1 by using the fastest storage solution possible. Stores the historical data 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 14You are designing a monitoring application for a new SQL Server 2012 instance. You need to recommend a solution to generate a report that displays the 10 most frequent wait types that occurfor the instance.

What should you include in the recommendation? More than one answer choice may achieve the goal. Select the BEST answer.

A. The DBCC SQLPERF(WAITSTATS) commandB. The SQL Server error logC. SQL Server ProfilerD. The sys.dm_os_wait_stats dynamic management view

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 15You are designing a database for a university. The database will contain two tables named Classesand Enrollment that have the following specifications:

• Classes will store brochures in the XPS format. The brochures must be structured in foldersand must be accessible by using UNC paths.• Enrollment will store information about students and their classes. Performance must beenhanced for queries of the current enrollments.

You need to identify which SQL Server technology meets the specifications of each table. Which technologies should you identify?

To answer, drag the appropriate technology to the correct table in the answer area.

A. FilestreamB. FiletableC. Partition tables

D. Partition views

Correct Answer: BCSection: (none)Explanation

Explanation/Reference:Filetable on the first and Partition Tables on the second -- should be a drag and drop Question

QUESTION 16You have a SQL Server 2012 environment that contains 20 servers. The corporate security policy states that all SQL Server 2012 instances must meet specific security standards.

You need to recommend a management strategy 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 17You deploy a database by using SQL Server 2012. The database contains a table named Table 1. You need to recommend a solution to track all of the deletions executed on Table1.

The solution must minimize the amount of custom code required. What should you recommend?

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

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 18You 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 an additional server that has SQL Server 2012 installed. You need to design a high-availability solution for the databases 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 19You deploy a database by using SQL Server 2012. The database contains a table named Table1. You need to recommend a solution that meets the following requirements:

• Stores the most recent data from Table1 by using the fastest storage solution possible.• Stores the historical data 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 20You work as a Database Administrator (DBA) at ABC.com. You are in the process of deploying new servers running SQL Server 2012.

You need to deploy a SQL Server 2012 server to host databases used to host databases used by Researchand Development department.The databases used by the Research and Development department will store sensitive data.

A company security policy states that if Research and Development department database files are moved toanother server, the files must be encrypted.Which of the following solutions would meet the encryption requirement?

A. Encrypting File System (EFS).B. Transparent Data Encryption (TDE).C. Windows Bitlocker Drive Encryption.D. Secure Sockets Layer (SSL)

Correct Answer: B

Section: (none)Explanation

Explanation/Reference:

http://www.gratisexam.com/