Categories
70-462 Dumps

70-462 Real Exam Dumps Questions and answers 81-90

Get Full Version of the Exam
http://www.EnsurePass.com/70-462.html

Question No.81 DRAG DROP

You administer a Microsoft SQL Server 2012 environment that contains a production SQL Server 2005 instance named SQL2005 and a development SQL Server 2012 instance named SQL2012. The development team develops a new application that uses the SQL Server 2012 functionality. You are planning to migrate a database from SQL2005 to SQL2012 so that the development team can test their new application. You need to migrate the database without affecting the production environment. Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

image

Correct Answer:

image

Question No.82 DRAG DROP

You administer three Microsoft SQL Server 2008 R2 instances. Database mirroring is configured in High-Safety mode with Automatic Failover between the following three servers:

SQL1 is the Principal server. SQL2 is the mirror server.

SQL3 is the witness server.

You need to upgrade SQL1 and SQL2 to SQL Server 2012. You need to ensure that downtime is minimized during the upgrade. Which six actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

image

Correct Answer:

image

Question No.83

You administer a Microsoft SQL Server 2012 server that has SQL Server Integration Services (SSIS) installed. You plan to deploy new SSIS packages to the server. The SSIS packages use the Project Deployment Model together with parameters and Integration Services environment variables. You need to configure the SQL Server environment to support these packages. What should you do?

  1. Create SSIS configuration files for the packages.

  2. Create an Integration Services catalog.

  3. Install Data Quality Services.

  4. Install Master Data services.

Correct Answer: B

Question No.84

You administer a Microsoft SQL Server 2012 server. When transaction logs grow, SQL Server must send an email message to the database administrators. You need to configure SQL Server to send the email messages. What should you configure?

  1. SQL Mail

  2. An Extended Events session

  3. Alerts and operators in SQL Server Agent

  4. Policies under Policy-Based Management

Correct Answer: C

Question No.85

You administer two instances of Microsoft SQL Server 2012. You deploy an application that uses a database on the named instance. The application is unable to connect to the database on the named instance. You need to ensure that the application can connect to the named instance.

What should you do?

  1. Use the Data Quality Client to configure the application.

  2. Start the SQL Server Browser Service.

  3. Use the Master Data Services Configuration Manager to configure the application.

  4. Start the SQL Server Integration Services Service.

Correct Answer: B

Question No.86 DRAG DROP

You administer a Microsoft SQL Server 2012 database. You use an OrderDetail table that has the following definition:

image

You need to create a non-clustered index on the SalesOrderID column in the OrderDetail table to include only rows that contain a value in the SpecialOfferID column. Which four Transact-SQL statements should you use? (To answer, move the appropriate statements from the list of statements to the answer area and arrange them in the correct order.)

image

Correct Answer:

image

Question No.87

You administer a Microsoft SQL Server 2012 database. The database contains a table that has the following definition:

image

You want to export data from the table to a flat file by using the SQL Server Import and Export Wizard. You need to ensure that the following requirements are met:

The first row of the file contains the first row of data. Each record is of the same length.

The date follows the U.S. date format.

The file supports international characters.

What should you do? (To answer, configure the appropriate option or options in the dialog box in the answer area.)

image

Correct Answer:

image

To achieve the requirements of the question you must do the following:

  1. The first row of the file contains the first row of data.

    The Checkbox 鈥渃olumn names in the first data row鈥?must be checked off

  2. Each record is of the same length.

    The Format-Listbox must be changed to 鈥淔ixed鈥? Then every line has the same length (Attention: Lines then are NOT separated by CrLf as usual).

    If you choose delimited then CrLf seperates the lines, but they have Differenz length. If you choose Ragged right then the last filed has different sizes.

  3. The date follows the U.S. date Format: Set the field Locale to 鈥淓nglish (US)鈥?/p>

  4. The file supports international characters The Checkbox 鈥淯nicode鈥?must be checked.

Why is that necessary? The field Customername in the table has Type nvarchar(50). That means it is a unicode-field and can be filled with international characters like german umlaute

It is described here:

http://msdn.microsoft.com/en-us/library/ms178430(v=sql.110).aspx?appid=dev10idef1amp;l=de- deamp;k=k(sql11.dts.impexpwizard.chooseadestination.f1)amp;rd=true

Question No.88

You administer a Microsoft SQL Server 2012 database. Users report that an application that accesses the database displays an error, but the error does not provide meaningful information. No entries are found in the SQL Server log or Windows event logs related to the error. You need to identify the root cause of the issue by retrieving the error message. What should you do?

  1. Update all stored procedure to use a TRY…CATCH block.

  2. Create a SQL Profiler session to capture all ErrorLog and EventLog events.

  3. Flag all stored procedures for recompilation by using sp_recompile.

  4. Execute sp_who.

Correct Answer: A

Question No.89

You administer a Microsoft SQL Server 2012 instance that contains a financial database hosted on a storage area network (SAN).

The financial database has the following characteristics:

  • A data file of 2 terabytes is located on a dedicated LUN (drive D).

  • A transaction log of 10 GB is located on a dedicated LUN (drive E).

  • Drive D has 1 terabyte of free disk space.

  • Drive E has 5 GB of free disk space.

The database is continually modified by users during business hours from Monday through Friday between 09:00 hours and 17:00 hours.

Five percent of the existing data is modified each day.

The Finance department loads large CSV files into a number of tables each business day at 11:15 hours and 15:15 hours by using the BCP or BULK INSERT commands.

Each data load adds 3 GB of data to the database.

These data load operations must occur in the minimum amount of time. A full database backup is performed every Sunday at 10:00 hours.

Backup operations will be performed every two hours (11:00, 13:00, 15:00, and 17:00) during business hours.

You implement log shipping of the financial database to another SQL Server 2012 instance.

You decide to failover to this secondary database. You need to ensure that all transactions will be replicated to the secondary database.

Which backup option should you use?

  1. Differential

  2. Transaction Log

  3. FULL

  4. SIMPLE

  5. SKIP

  6. RESTART

  7. STANDBY

  8. CHECKSUM

  9. DBO_ONLY

  10. COPY_ONLY

  11. NORECOVERY

  12. NO_CHECKSUM

  13. CONTINUE_AFTER_ERROR

  14. BULK_LOGGED

Correct Answer: K

Explanation:

http://technet.microsoft.com/en-us/library/ms187103.aspx http://msdn.microsoft.com/en-us/library/ms191233.aspx http://msdn.microsoft.com/en-us/library/ms178117.aspx

Question No.90

What is the maximum number of SQL Server 2012 Enterprise edition Database Engine instances that you can deploy on a non-clustered server running Windows Server 2008 R2 Enterprise edition?

  1. 10

  2. 25

  3. 50

D. 100

Correct Answer: C

Get Full Version of 70-462 Dumps

Categories
70-462 Dumps

70-462 Real Exam Dumps Questions and answers 11-20

Get Full Version of the Exam
http://www.EnsurePass.com/70-462.html

Question No.11

You administer a Microsoft SQL Server 2012 database. You provide temporary securityadmin access to User1 to the database server. You need to know if User1 adds logins to securityadmin. Which server-level audit action group should you use?

  1. SERVER_STATE_CHANGE_GROUP

  2. SERVER_PRINCIPAL_IMPERSONATION_GROUP

  3. SUCCESSFUL_LOGIN_GROUP

  4. SERVER_ROLE_MEMBER_CHANGE_GROUP

Correct Answer: D

Explanation:

http://technet.microsoft.com/en-us/library/cc280663.aspx SERVER_STATE_CHANGE_GROUP

This event is raised when the SQL Server service state is modified. Equivalent to the Audit Server Starts and Stops Event Class.

SERVER_PRINCIPAL_IMPERSONATION_GROUP

This event is raised when there is an impersonation within server scope, such as EXECUTE AS

lt;logingt;.

Equivalent to the Audit Server Principal Impersonation Event Class. SUCCESSFUL_LOGIN_GROUP Indicates that a principal has successfully logged in to SQL Server. Events in this class are raised by new connections or by connections that are reused from a connection pool. Equivalent to the Audit Login Event Class.

SERVER_ROLE_MEMBER_CHANGE_GROUP

This event is raised whenever a login is added or removed from a fixed server role. This event is raised for the sp_addsrvrolemember and sp_dropsrvrolemember stored procedures. Equivalent to the Audit Add Login to Server Role Event Class.

Question No.12

You administer a Microsoft SQL Server 2012 instance.

You need to stop a blocking process that has an SPID of 64 without stopping other processes. What should you do?

  1. Execute the following Transact-SQL statement:

    EXECUTE sp_KillSPID 64

  2. Restart the SQL Server service.

  3. Execute the following Transact-SQL statement:

    KILL 64

  4. Execute the following Transact-SQL statement:

ALTER SESSION KILL #39;64#39;

Correct Answer: C

Explanation:

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

Question No.13 DRAG DROP

You administer a Microsoft SQL Server 2012 server. A variety of issues occur from time to time in the production environment. You need to identify the appropriate tool for each issue. Which tool or tools should you use? (To answer, drag the appropriate tool or tools to the correct issue or issues in the answer area. Each tool may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)

image

Correct Answer:

image

Question No.14

You administer a Microsoft SQL Server 2012 database. Users report that an application that accesses the database displays an error, but the error does not provide meaningful information. No entries are found in the SQL Server log or Windows event logs related to the error. You need to identify the root cause of the issue by retrieving the error message. What should you do?

  1. Create an Extended Events session by using the sqlserver.error_reported event.

  2. Create a SQL Profiler session to capture all ErrorLog and EventLog events.

  3. Flag all stored procedures for recompilation by using sp_recompile.

  4. Execute sp_who.

Correct Answer: A

Explanation:

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

Event sqlserver.error_reported: This event gets fired every time that an error happens in the server

Question No.15

You administer a Microsoft SQL Server 2012 server. One of the databases on the server supports a highly active OLTP application. Users report abnormally long wait times when they submit data into the application. You need to identify which queries are taking longer than 1 second to run over an extended period of time. What should you do?

  1. Use SQL Profiler to trace all queries that are processing on the server. Filter queries that have a Duration value of more than 1,000.

  2. Use sp_configure to set a value for blocked process threshold. Create an extended event session.

  3. Use the Job Activity monitor to review all processes that are actively running. Review the Job History to find out the duration of each step.

  4. Run the sp_who command from a query window.

  5. Run the DBCC TRACEON 1222 command from a query window and review the SQL Server event log.

Correct Answer: A

Explanation:

The SQL Server lock monitor is responsible for implementing the logic to detect a blocking scenario if the 鈥榖locked process threshold鈥?value is greater than 0. However, the lock monitor only wakes up every 5 seconds to detect this condition (it is also looking for other conditions such as deadlocks). Therefore, if you set a 鈥榖locked process threshold鈥?value to 1, it will not detect a process that has been blocking for 1 second. The minimum time it can detect a blocked process is 5 seconds.

http://support.microsoft.com/kb/2157154

Question No.16 DRAG DROP

You administer a Microsoft SQL Server database that is used by an application. Users of the application report performance issues. You need to choose the appropriate tool for performance- tuning of SQL Server databases. Which tool or tools should you use? (To answer, drag the appropriate tool or tools to their corresponding task or tasks in the answer area. Each tool may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)

image

Correct Answer:

image

Question No.17

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

  1. Execute sp_configure #39;max log size#39;, 2G.

  2. Use the ALTER DATABASE…SET LOGFILE command along with the maxsize parameter.

  3. In SQL Server Management Studio, right-click the instance and select Database Settings. Set the maximum size of the file for the transaction log.

  4. In SQL Server Management Studio, right-click the database, select Properties, and then click Files. Open the Transaction log Autogrowth window and set the maximum size of the file.

Correct Answer: D

Question No.18

You administer a Microsoft SQL Server 2012 server. The MSSQLSERVER service uses a domain account named CONTOSO\SQLService. You plan to configure Instant File Initialization. You need to ensure that Data File Autogrow operations use Instant File Initialization. What should you do? Choose all that apply.

  1. Restart the SQL Server Agent Service.

  2. Disable snapshot isolation.

  3. Restart the SQL Server Service.

  4. Add the CONTOSO\SQLService account to the Perform Volume Maintenance Tasks local security policy.

  5. Add the CONTOSO\SQLService account to the Server Operators fixed server role.

  6. Enable snapshot isolation.

Correct Answer: CD

Explanation:

http://msdn.microsoft.com/en-us/library/ms175935.aspx http://www.mssqltips.com/sqlservertip/2752/effect-of-instant-file-initialization-within-sql- server/ How To Enable Instant File Initialization

  1. Open Local Security Policy and go to Local Policies gt; User Rights Assignment.

  2. Double click Perform Volume Maintenance Tasks and add your SQL Server database engine service account.

  3. Restart the SQL Server service using SQL Server Configuration Manager and this setting should now be enabled.

Question No.19 DRAG DROP

You administer a single Microsoft SQL Server instance on a two-node failover cluster that has nodes named Node A and Node B. The instance is currently running on Node A. You want to patch both Node A and Node B by using the most recent SQL Server Service Pack. You need to ensure that the following requirements are met:

Both nodes receive the update. Downtime is minimized.

No data is lost.

Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

image

Correct Answer:

image

Question No.20

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

  1. Run the New SQL Server stand-alone installation Wizard on Node C.

  2. Run the Add Node to SQL Server Failover Cluster Wizard on Node C.

  3. Use Node B to install SQL Server on Node C.

  4. Use Node A to install SQL Server on Node C.

Correct Answer: B

Explanation:

http://technet.microsoft.com/en-us/library/ms191545.aspx To add a node to an existing SQL Server failover cluster, you must run SQL Server Setup on the node that is to be added to the SQL Server failover cluster instance. Do not run Setup on the active node.

The Installation Wizard will launch the SQL Server Installation Center. To add a node to an existing failover cluster instance, click Installation in the left-hand pane. Then, select Add node to a SQL Server failover cluster.

Get Full Version of 70-462 Dumps

Categories
70-462 Dumps

70-462 Real Exam Dumps Questions and answers 21-30

Get Full Version of the Exam
http://www.EnsurePass.com/70-462.html

Question No.21

You administer a Microsoft SQL Server 2012 database. The database contains a Product table created by using the following definition:

image

You need to ensure that the minimum amount of disk space is used to store the data in the Product table. What should you do?

  1. Convert all indexes to Column Store indexes.

  2. Implement Unicode Compression.

  3. Implement row-level compression.

  4. Implement page-level compression.

Correct Answer: D

Explanation:

http://msdn.microsoft.com/en-us/library/cc280449.aspx http://msdn.microsoft.com/en-us/library/cc280464.aspx http://msdn.microsoft.com/en-us/library/cc280576.aspx http://msdn.microsoft.com/en-us/library/ee240835.aspx

Question No.22

You administer a Microsoft SQL Server 2012 instance. After a routine shutdown, the drive that contains tempdb fails. You need to be able to start the SQL Server. What should you do?

  1. Modify tempdb location in startup parameters.

  2. Start SQL Server in minimal configuration mode.

  3. Start SQL Server in single-user mode.

  4. Configure SQL Server to bypass Windows application logging.

Correct Answer: B

Explanation:

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

Question No.23

You administer a single server that contains a Microsoft SQL Server 2012 default instance. You plan to install a new application that requires the deployment of a database on the server. The application login requires sysadmin permissions. You need to ensure that the application login is unable to access other production databases. What should you do?

  1. Use the SQL Server default instance and configure an affinity mask.

  2. Install a new named SQL Server instance on the server.

  3. Use the SQL Server default instance and enable Contained Databases.

  4. Install a new default SQL Server instance on the server.

Correct Answer: B

Explanation:

I would have gone with Contained Databases, but the application requires sysadmin permissions.

Question No.24

You administer a Microsoft SQL Server 2012 Enterprise Edition server that uses 64 cores. You discover performance issues when large amounts of data are written to tables under heavy system load. You need to limit the number of cores that handle I/O. What should you configure?

  1. Processor affinity

  2. Lightweight pooling

  3. Max worker threads

  4. I/O affinity

Correct Answer: D

Explanation:

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

Question No.25

You administer a Microsoft SQL Server 2012 instance that contains a financial database hosted on a storage area network (SAN). The financial database has the following characteristics:

A data file of 2 terabytes is located on a dedicated LUN (drive D). A transaction log of 10 GB is located on a dedicated LUN (drive E). Drive D has 1 terabyte of free disk space.

Drive E has 5 GB of free disk space.

The database is continually modified by users during business hours from Monday through Friday between 09:00 hours and 17:00 hours. Five percent of the existing data is modified each day.

The Finance department loads large CSV files into a number of tables each business day at 11:15 hours and 15:15 hours by using the BCP or BULK INSERT commands. Each data load adds 3 GB of data to the database.

These data load operations must occur in the minimum amount of time. A full database backup is performed every Sunday at 10:00 hours. Backup operations will be performed every two hours (11:00, 13:00, 15:00, and 17:00) during business hours.

You need to ensure that your backup will continue if any invalid checksum is encountered. Which backup option should you use?

  1. STANDBY

  2. Differential

  3. FULL

  4. CHECKSUM

  5. BULK_LOGGED

  6. CONTINUE_AFTER_ERROR

  7. SIMPLE

  8. DBO_ONLY

  9. COPY_ONLY

  10. SKIP

  11. RESTART

  12. Transaction log

  13. NO_CHECKSUM

  14. NORECOVERY

Correct Answer: F

Explanation:

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

us/library/microsoft.sqlserver.management.smo.backuprestorebase.continueaftererror.aspx

Question No.26

You administer a Microsoft SQL Server 2012 instance that contains a financial database hosted on a storage area network (SAN). The financial database has the following characteristics:

  • A data file of 2 terabytes is located on a dedicated LUN (drive D).

  • A transaction log of 10 GB is located on a dedicated LUN (drive E).

  • Drive D has 1 terabyte of free disk space.

  • Drive E has 5 GB of free disk space.

The database is continually modified by users during business hours from Monday through Friday between 09:00 hours and 17:00 hours. Five percent of the existing data is modified each day.

The Finance department loads large CSV files into a number of tables each business day at 11:15 hours and 15:15 hours by using the BCP or BULK INSERT commands. Each data load adds 3 GB of data to the database.

These data load operations must occur in the minimum amount of time. A full database backup is performed every Sunday at 10:00 hours. Backup operations will be performed every two hours (11:00, 13:00, 15:00, and 17:00) during business hours. On Wednesday at 10:00 hours, the development team requests you to refresh the database on a development server by using the most recent version. You need to perform a full database backup that will be restored on the development server. Which backup option should you use?

  1. NORECOVERY

  2. FULL

  3. NO_CHECKSUM

  4. CHECKSUM

  5. Differential

  6. 8ULK_LOGGED

  7. STANDBY

  8. RESTART

  9. SKIP

  10. Transaction log

  11. DBO ONLY

  12. COPY_ONLY

  13. SIMPLE

  14. CONTINUE AFTER ERROR

Correct Answer: L

Explanation:

Copy-only backup do not affect the normal sequence of backups. A copy-only backup is created independently of your regularly scheduled, conventional backups. A copy-only backup does not affect your overall backup and restore procedures for the database.

Question No.27

You administer a Microsoft SQL Server 2012 instance that contains a financial database hosted on a storage area network (SAN). The financial database has the following characteristics:

A data file of 2 terabytes is located on a dedicated LUN (drive D). A transaction log of 10 GB is located on a dedicated LUN (drive E). Drive D has 1 terabyte of free disk space.

Drive E has 5 GB of free disk space.

The database is continually modified by users during business hours from Monday through Friday between 09:00 hours and 17:00 hours. Five percent of the existing data is modified each day.

The Finance department loads large CSV files into a number of tables each business day at 11:15 hours and 15:15 hours by using the BCP or BULK INSERT commands. Each data load adds 3 GB of data to the database.

These data load operations must occur in the minimum amount of time. A full database backup is performed every Sunday at 10:00 hours. Backup operations will be performed every two hours (11:00, 13:00, 15:00, and 17:00) during business hours. You need to ensure that the minimum amount of data is lost. Which recovery model should the database use?

  1. FULL

  2. DBO_ONLY

  3. CONTINUE_AFTER_ERROR

  4. CHECKSUM

  5. NO_CHECKSUM

  6. SIMPLE

  7. Transaction log

  8. SKIP

  9. RESTART

  10. COPY_ONLY

  11. NORECOVERY

  12. BULK_LOGGED

  13. Differential

  14. STANDBY

Correct Answer: A

Question No.28

You administer a Microsoft SQL Server 2012 instance that contains a financial database hosted on a storage area network (SAN). The financial database has the following characteristics:

A data file of 2 terabytes is located on a dedicated LUN (drive D). A transaction log of 10 GB is located on a dedicated LUN (drive E). Drive D has 1 terabyte of free disk space.

Drive E has 5 GB of free disk space.

The database is continually modified by users during business hours from Monday through Friday between 09:00 hours and 17:00 hours. Five percent of the existing data is modified each day.

The Finance department loads large CSV files into a number of tables each business day at 11:15 hours and 15:15 hours by using the BCP or BULK INSERT commands. Each data load adds 3 GB of data to the database.

These data load operations must occur in the minimum amount of time. A full database backup is performed every Sunday at 10:00 hours. Backup operations will be performed every two hours (11:00, 13:00, 15:00, and 17:00) during business hours. You need to ensure that the backup size is as small as possible. Which backup should you perform every two hours?

  1. BULK_LOGGED

  2. NO_CHECKSUM

  3. FULL

  4. RESTART

  5. CHECKSUM

  6. STANDBY

  7. DBO.ONLY

  8. NORECOVERY

  9. SIMPLE

  10. SKIP

  11. Transaction tog

  12. COPY_ONLY

  13. Differential

  14. CONTINUE_AFTER_ERROR

Correct Answer: K

Explanation:

http://msdn.microsoft.com/en-us/library/ms186865.aspx http://msdn.microsoft.com/en-us/library/ms191429.aspx http://msdn.microsoft.com/en-us/library/ms179478.aspx

Question No.29

You administer a Microsoft SQL Server 2012 instance named SQL2012 that hosts an OLTP database of 1 terabyte in size. The database is modified by users only from Monday through Friday from 09:00 hours to 17:00 hours. Users modify more than 30 percent of the data in the database during the week. Backups are performed as shown in the following schedule:

image

The Finance department plans to execute a batch process every Saturday at 09:00 hours. This batch process will take a maximum of 8 hours to complete. The batch process will update three tables that are 10 GB in size. The batch process will update these tables multiple times. When the batch process completes, the Finance department runs a report to find out whether the batch process has completed correctly. You need to ensure that if the Finance department disapproves the batch process, the batch operation can be rolled back in the minimum amount of time. What should you do on Saturday?

  1. Perform a differential backup at 08:59 hours.

  2. Record the LSN of the transaction log at 08:59 hours. Perform a transaction log backup at 17:01 hours.

  3. Create a database snapshot at 08:59 hours.

  4. Record the LSN of the transaction log at 08:59 hours. Perform a transaction log backup at 08:59 hours.

  5. Create a marked transaction in the transaction log at 08:59 hours. Perform a transaction log backup at 17:01 hours.

  6. Create a marked transaction in the transaction log at 08:59 hours. Perform a transaction log backup at 08:59 hours.

Correct Answer: C

Question No.30

You administer a Microsoft SQL Server 2012 instance. The instance contains a database that supports a retail sales application. The application generates hundreds of transactions per second and is online 24 hours per day and 7 days per week. You plan to define a backup strategy for the database. You need to ensure that the following requirements are met:

  • No more than 5 minutes worth of transactions are lost.

  • Data can be recovered by using the minimum amount of administrative effort.

What should you do? Choose all that apply.

  1. Configure the database to use the SIMPLE recovery model.

  2. Create a DIFFERENTIAL database backup every 4 hours.

  3. Create a LOG backup every 5 minutes.

  4. Configure the database to use the FULL recovery model.

  5. Create a FULL database backup every 24 hours.

  6. Create a DIFFERENTIAL database backup every 24 hours.

Correct Answer: BCDE

Get Full Version of 70-462 Dumps

Categories
70-462 Dumps

70-462 Real Exam Dumps Questions and answers 31-40

Get Full Version of the Exam
http://www.EnsurePass.com/70-462.html

Question No.31

You administer a Microsoft SQL Server 2012 database that contains a table named OrderDetail. You discover that the NCI_OrderDetail_CustomerID non-clustered index is fragmented. You need to reduce fragmentation. You need to achieve this goal without taking the index offline. Which Transact-SQL batch should you use?

  1. CREATE INDEX NCI_OrderDetail_CustomerID ON OrderDetail.CustomerID WITH DROP EXISTING

  2. ALTER INDEX NCI_OrderDetail_CustomerID ON OrderDetail.CustomerID REORGANIZE

  3. ALTER INDEX ALL ON OrderDetail REBUILD

  4. ALTER INDEX NCI_OrderDetail_CustomerID ON OrderDetail.CustomerID REBUILD

Correct Answer: B

Explanation:

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

Question No.32

You administer a Microsoft SQL Server database named Sales. The database is 3 terabytes in size. The Sales database is configured as shown in the following table.

image

You discover that all files except Sales_2.ndf are corrupt. You need to recover the corrupted data in the minimum amount of time. What should you do?

  1. Perform a restore from a full backup.

  2. Perform a transaction log restore.

  3. Perform a file restore.

  4. Perform a filegroup restore.

Correct Answer: C

Explanation:

http://technet.microsoft.com/en-us/library/ms187048.aspx http://msdn.microsoft.com/en- us/library/aa337540.aspx

Under the simple recovery model, the file must belong to a read-only filegroup. Under the full or bulk-logged recovery model, before you can restore files, you must back up the active transaction log (known as the tail of the log). For more information, see Back Up a Transaction Log (SQL Server).

To restore a database that is encrypted, you must have access to the certificate or asymmetric key that was used to encrypt the database. Without the certificate or asymmetric key, the database cannot be restored. As a result, the certificate that is used to encrypt the database encryption key must be retained as long as the backup is needed. For more information, see SQL Server Certificates and Asymmetric Keys.

Question No.33 DRAG DROP

You administer a Microsoft SQL Server 2012 clustered instance that has two nodes named Node 1 and Node 2. Node 1 fails and the cluster fails over to Node 2. You need to replace Node 1 and add it to the cluster. Which four actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

image

Correct Answer:

image

Question No.34 DRAG DROP

You administer a Microsoft SQL Server 2012 database. The database uses SQL Server Agent jobs to perform regular FULL and LOG backups. The database uses the FULL recovery model. You plan to perform a bulk import of a very large text file. You need to ensure that the following requirements are met during the bulk operation:

The database transaction log is minimally affected.

The database is online and all user transactions are recoverable. All transactions are fully recoverable prior to the import.

Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

image

Correct Answer:

image

Question No.35 DRAG DROP

You administer a Microsoft SQL Server database. You want to import data from a text file to the database. You need to ensure that the following requirements are met:

Data import is performed by using a stored procedure. Data is loaded as a unit and is minimally logged.

Which data import command and recovery model should you choose? (To answer, drag the appropriate data import command or recovery model to the appropriate location or locations in the answer area. Each data import command or recovery model may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)

image

Correct Answer:

image

Question No.36 DRAG DROP

You administer a Microsoft SQL Server 2012 database. The database is backed up according to the following schedule:

Daily full backup at 23:00 hours.

Differential backups on the hour, except at 23:00 hours.

Log backups every 10 minutes from the hour, except on the hour.

The database uses the Full recovery model.

A developer accidentally drops a number of tables and stored procedures from the database between 22:40 hours and 23:10 hours. You perform a database restore at 23:30 hours to recover the dropped table.

You need to restore the database by using the minimum amount of administrative effort. You also need to ensure minimal data loss.

Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

image

Correct Answer:

image

Question No.37 DRAG DROP

You administer a Microsoft SQL Server 2012 instance that contains a database of confidential data. You need to encrypt the database files at the page level. You also need to encrypt the transaction log files. Which four actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

image

Correct Answer:

image

Question No.38

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

  1. Query the sys.dm_db_index_usage_stats DMV.

  2. Query the sys.dm_db_missing_index_details DMV.

  3. Use the Database Engine Tuning Advisor.

  4. Query the sys.dm_db_missing_index_columns DMV.

Correct Answer: C

Explanation:

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

Question No.39

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

  1. a Database Audit Specification

  2. a Policy

  3. an Alert

  4. a SQL Profiler Trace

  5. a Resource Pool

  6. an Extended Event session

  7. a Server Audit Specification

Correct Answer: G

Question No.40

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

  1. an Alert

  2. a Server Audit Specification

  3. an Extended Event session

  4. a Resource Pool

  5. a Policy

  6. a SQL Profiler Trace

  7. a Database Audit Specification

Correct Answer: A

Get Full Version of 70-462 Dumps

Categories
70-462 Dumps

70-462 Real Exam Dumps Questions and answers 41-50

Get Full Version of the Exam
http://www.EnsurePass.com/70-462.html

Question No.41

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

  1. an Extended Event session

  2. a Policy

  3. a Database Audit Specification

  4. an Alert

  5. a Server Audit Specification

  6. a SQL Profiler Trace

  7. a Resource Pool

Correct Answer: F

Question No.42

You administer a Microsoft SQL Server 2012 database named Contoso on a server named Server01. You need to prevent users from disabling server audits in Server01. What should you create?

  1. an Alert

  2. a Resource Pool

  3. an Extended Event session

  4. a Policy

  5. a Database Audit Specification

  6. a SQL Profiler Trace

  7. a Server Audit Specification

Correct Answer: D

Question No.43 DRAG DROP

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

image

Correct Answer:

image

Question No.44 DRAG DROP

You administer a Microsoft SQL Server 2012 database. Your database is experiencing deadlock issues. You need to be able to monitor deadlocks. Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

image

Correct Answer:

image

Question No.45

You administer a Microsoft SQL Server 2012. A process that normally runs in less than 10 seconds has been running for more than an hour. You examine the application log and discover that the process is using session ID 60. You need to find out whether the process is being blocked. Which Transact-SQL statement should you use?

  1. EXEC sp_who 60

  2. SELECT * FROM sys.dm_exec_sessions WHERE sessionid = 60

  3. EXEC sp_helpdb 60

  4. DBCC INPUTBUFFER (60)

Correct Answer: A

Explanation:

http://msdn.microsoft.com/en-us/library/ms174313.aspx http://msdn.microsoft.com/en-us/library/ms176013.aspx http://msdn.microsoft.com/en-us/library/ms178568.aspx http://msdn.microsoft.com/en-us/library/ms187730.aspx

Question No.46

You administer all the deployments of Microsoft SQL Server 2012 in your company. You have two servers in the same data center that hosts your production database. You need to ensure that the database remains available if a catastrophic server failure or a disk failure occurs. You also need to maintain transactional consistency of the data across both servers. You need to achieve these goals without manual intervention. Which configuration should you use?

  1. Two servers configured in a Windows Failover Cluster in the same data center SQL Server configured as a clustered instance

  2. SQL Server that includes an application database configured to perform transactional replication

  3. Two servers configured in the same data center

    A primary server configured to perform log-shipping every 10 minutes A backup server configured as a warm standby

  4. Two servers configured in different data centers

    SQL Server Availability Group configured in Synchronous-Commit Availability Mode One server configured as an Active Secondary

  5. Two servers configured in the same data center

    SQL Server Availability Group configured in Asynchronous-Commit Availability Mode One server configured as an Active Secondary

  6. Two servers configured in different data centers

    SQL Server Availability Group configured in Asynchronous-Commit Availability Mode

  7. SQL Server that includes an application database configured to perform snapshot replication

  8. Two servers configured on the same subnet

SQL Server Availability Group configured in Synchronous-Commit Availability Mode

Correct Answer: H

Explanation:

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

Question No.47 DRAG DROP

You are a database administrator of a Microsoft SQL Server 2012 environment. The environment contains two servers named SQLServer01 and SQLServer02. The database Contoso exists on SQLServer01. You plan to mirror the Contoso database between SQLServer01 and SQLServer02 by using database mirroring. You need to prepare the Contoso database for database mirroring. Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

image

Correct Answer:

image

Question No.48

You create an availability group that has replicas named HA/Server01 and HA/Server02. Currently, HA/Server01 is the primary replica. You have multiple queries that read data and produce reports from the database. You need to offload the reporting workload to the secondary replica when HA/Server01 is the primary replica. What should you do?

  1. Set the Availability Mode property of HA/Server02 to Asynchronous commit.

  2. Set the Readable Secondary property of HA/Server02 to Read-intent only.

  3. Set the Connections in Primary Role property of HA/Server01 to Allow read/write connections.

  4. Set the Availability Mode property of HA/Server01 to Asynchronous commit.

Correct Answer: B

Explanation:

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

Question No.49

You administer two Microsoft SQL Server 2012 servers. Each server resides in a different, untrusted domain. You plan to configure database mirroring. You need to be able to create database mirroring endpoints on both servers. What should you do?

  1. Configure the SQL Server service account to use Network Service.

  2. Use a server certificate.

  3. Use a database certificate.

  4. Configure the SQL Server service account to use Local System.

Correct Answer: B

Question No.50

You administer a Microsoft SQL Server 2012 instance that has several SQL Server Agent jobs configured. When SQL Server Agent jobs fail, the error messages returned by the job steps do not provide the required detail. The following error message is an example error message:

quot;The job failed. The Job was invoked by User CONTOSO\ServiceAccount. The last step to run was step 1 (Subplan_1).quot;

You need to ensure that all available details of the job step failures for SQL Server Agent jobs are retained. What should you do?

  1. Configure output files.

  2. Expand agent logging to include information from all events.

  3. Disable the Limit size of job history log feature.

  4. Configure event forwarding.

Correct Answer: B

Explanation:

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

Get Full Version of 70-462 Dumps

Categories
70-462 Dumps

70-462 Real Exam Dumps Questions and answers 51-60

Get Full Version of the Exam
http://www.EnsurePass.com/70-462.html

Question No.51 DRAG DROP

You administer a Microsoft SQL Server database. Service accounts for SQL Agent are configured to use a local user. A Microsoft SQL Server Integration Services (SSIS) job step has been created within a SQL Server Agent job. The SSIS package accesses a network share when exporting data from a SQL Server database. When you execute the SQL Server Agent job, it fails due to a permissions failure on a share on a remote server. You need to ensure that the SQL Server Agent job can execute the SSIS package. Which four actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

image

Correct Answer:

image

Question No.52

You administer a Microsoft SQL Server 2012 instance. You need to configure a new database to support FILETABLES. What should you do? Choose all that apply.

  1. Disable FILESTREAM on the Database.

  2. Enable FILESTREAM on the Server Instance.

  3. Configure the Database for Partial Containment.

  4. Create a non-empty FILESTREAM file group.

  5. Enable Contained Databases on the Server Instance.

  6. Set the FILESTREAM directory name on the Database.

Correct Answer: BDF

Explanation:

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

Question No.53

You administer two instances of Microsoft SQL Server 2012. You deploy an application that uses a database on the named instance. The application is unable to connect to the database on the named instance. You need to ensure that the application can connect to the named instance.

What should you do?

  1. Configure the application as data-tiered.

  2. Open port 1433 on the Windows firewall on the server.

  3. Configure the named SQL Server instance to use an account that is a member of the Domain Admins group.

  4. Start the SQL Server Browser Service.

Correct Answer: D

Question No.54

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

You attempt to restore the Orders database and the restore fails. You copy the encryption file to the original location. A hardware failure occurs and so a new server must be installed and configured. After installing SQL Server to the new server, you restore the Orders database and copy the encryption files to their original location. However, you are unable to access the database. You need to be able to restore the database. Which Transact-SQL statement should you use before attempting the restore?

image

Correct Answer: B

Question No.55

You have configured Resource Governor with three resource pools. You have assigned the first resource pool a minimum CPU and memory value of 20%. You have assigned the second resource pool a minimum CPU and memory value of 30%. You want to assign maximum CPU and memory values to the third resource pool. What is the maximum CPU and memory value you can assign to this resource pool?

A. 30%

B. 50%

C. 70%

D. 100%

Correct Answer: D

Question No.56

You administer a SQL Server 2012 server that contains a database named SalesDb. SalesDb contains a schema named Customers that has a table named Regions. A user named UserA is a member of a role named Sales. UserA is granted the Select permission on the Regions table.

The Sales role is granted the Select permission on the Customers schema. You need to ensure that the Sales role, including UserA, is disallowed to select from any of the tables in the Customers schema. Which Transact-SQL statement should you use?

  1. REVOKE SELECT ON Schema::Customers FROM UserA

  2. DENY SELECT ON Object::Regions FROM UserA

  3. EXEC sp_addrolemember #39;Sales#39;, #39;UserA#39;

  4. DENY SELECT ON Object::Regions FROM Sales

  5. REVOKE SELECT ON Object::Regions FROM UserA

  6. DENY SELECT ON Schema::Customers FROM Sales

  7. DENY SELECT ON Schema::Customers FROM UserA

  8. EXEC sp_droproleraember #39;Sales#39;, #39;UserA#39;

  9. REVOKE SELECT ON Object::Regions FROM Sales

  10. REVOKE SELECT ON Schema::Customers FROM Sales

Correct Answer: F Explanation: References:

http://msdn.microsoft.com/en-us/library/ms188369.aspx http://msdn.microsoft.com/en-us/library/ms187750.aspx http://msdn.microsoft.com/en-us/library/ff848791.aspx

Question No.57

You administer a SQL Server 2012 server that contains a database named SalesDb. SalesDb contains a schema named Customers that has a table named Regions. A user named UserA is a member of a role named Sales. UserA is granted the Select permission on the Regions table.

The Sales role is granted the Select permission on the Customers schema. You need to ensure that UserA is disallowed to select from any of the tables in the Customers schema. Which Transact-SQL statement should you use?

  1. DENY SELECT ON Object::Regions FROM UserA

  2. DENY SELECT ON Object::Regions FROM Sales

  3. REVOKE SELECT ON Schema::Customers FROM Sales

  4. REVOKE SELECT ON Schema::Customers FROM UserA

  5. REVOKE SELECT ON Object::Regions FROM Sales

  6. REVOKE SELECT ON Object::Regions FROM UserA

  7. DENY SELECT ON Schema::Customers FROM Sales

  8. DENY SELECT ON Schema::Customers FROM UserA

  9. EXEC sp_addrolemember #39;Sales#39;, #39;UserA#39;

  10. EXEC sp droprolemember #39;Sales#39;, #39;UserA#39;

Correct Answer: H

Explanation:

http://msdn.microsoft.com/en-us/library/ms188369.aspx http://msdn.microsoft.com/en-us/library/ms187750.aspx http://msdn.microsoft.com/en-us/library/ff848791.aspx

Question No.58

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

  1. DENY SELECT ON Object::Regions FROM UserA

  2. DENY SELECT ON Schema::Customers FROM UserA

  3. EXEC sp_addrolemember #39;Sales#39;, #39;UserA#39;

  4. REVOKE SELECT ON Object:: Regions FROM UserA

  5. REVOKE SELECT ON Object::Regions FROM Sales

  6. EXEC sp_droproiemember #39;Sales#39;, #39;DserA#39;

  7. REVOKE SELECT ON Schema::Customers FROM UserA

  8. DENY SELECT ON Object::Regions FROM Sales

  9. DENY SELECT ON Schema:: Customers FROM Sales

  10. REVOKE SELECT ON Schema:: Customers FROM Sales

Correct Answer: D

Explanation:

http://msdn.microsoft.com/en-us/library/ms188369.aspx http://msdn.microsoft.com/en-us/library/ms187750.aspx http://msdn.microsoft.com/en-us/library/ff848791.aspx

Question No.59

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

  1. REVOKE SELECT OK Schema::Customers FROM UserA

  2. REVOKE SELECT ON Object::Regions FROM UserA

  3. EXEC sp_addrolemember #39;Sales#39;, #39;UserA#39;

  4. DENY SELECT ON Schema::Customers FROM Sales

  5. EXEC sp_droprolemember #39;Sales#39;, #39;UserA#39;

  6. REVOKE SELECT ON Schema::Customers FROM Sales

  7. DENY SELECT ON Object::Regions FROM UserA

  8. REVOKE SELECT ON Object::Regions FROM Sales

  9. DENY SELECT ON Schema::Customers FROM UserA

  10. DENY SELECT ON Object::Regions FROM Sales

Correct Answer: J

Explanation:

http://msdn.microsoft.com/en-us/library/ms188369.aspx http://msdn.microsoft.com/en-us/library/ms187750.aspx http://msdn.microsoft.com/en-us/library/ff848791.aspx

Question No.60

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

  1. Use the SQL Server default instance and enable Contained Databases.

  2. Use the SQL Server default instance and configure a user-defined server role. Add the login for the ticketing application to this role.

  3. Install a new named SQL Server instance on the server.

  4. Install a new default SQL Server instance on the server.

Correct Answer: C

Get Full Version of 70-462 Dumps

Categories
70-462 Dumps

70-462 Real Exam Dumps Questions and answers 61-70

Get Full Version of the Exam
http://www.EnsurePass.com/70-462.html

Question No.61

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

  1. Create a ConfigurationFile.ini file from Node B, and then run the AddNode command-line tool on Node A.

  2. Use Node A to install SQL Server on Node C.

  3. Run the Add Node to SQL Server Failover Cluster Wizard on Node C.

  4. Use Cluster Administrator to add a new Resource Group to Node B.

Correct Answer: C

Question No.62

You administer a Microsoft SQL Server 2012 database. The database contains a customer table created by using the following definition:

image

You need to ensure that the minimum amount of disk space is used to store the data in the customer table. What should you do?

  1. Implement row-level compression.

  2. Implement page-level compression.

  3. Convert all indexes to Column Store indexes.

  4. Implement Unicode compression.

Correct Answer: B

Question No.63

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

  1. In the Database Mail Configuration Wizard, configure the Database Mail profile as a private profile for the AgentPortalUser account.

  2. Disable the guest user in the msdb database.

  3. Use the sysmail_help_profileaccount_sp stored procedure to add accounts to the Database Mail profile.

  4. In the Database Mail Configuration Wizard, create an email account for each recipient#39;s email address in the Database Mail profile.

Correct Answer: A

Explanation:

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

Question No.64 DRAG DROP

You administer a Microsoft SQL Server 2012 database. You need to convert the database to a contained database. You also need to ensure that all users are converted to contained users. Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

image

Correct Answer:

image

Question No.65

You administer a Microsoft SQL Server 2012 default instance. The instance is hosted by a server that has a local firewall configured. The firewall only allows inbound connections on port 1433.

The server only hosts a single instance of SQL Server. You need to ensure that the instance is configured to allow remote connections even if the SQL Server is unresponsive to client connections. What should you do? Choose all that apply.

  1. Enable inbound connections on TCP port 1434 in the Windows Firewall on the server.

  2. Execute the following Transact-SQL command: sp_configure #39;remote admin connections#39;,

  3. Execute the Reconfigure command.

  4. Execute the following Transact-SQL command: sp_configure #39;remote access#39;, 1

  5. Restart the SQL Server Agent Service.

  6. Enable inbound connections on TCP port 135 in the Windows Firewall on the server.

Correct Answer: ABC

Explanation:

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

Question No.66

You administer all the deployments of Microsoft SQL Server 2012 in your company. You need to ensure that an OLTP database that includes up-to-the-minute reporting requirements can be off- loaded from the primary database to another server. You also need to be able to add indexes to the secondary database. Which configuration should you use?

  1. Two servers configured in different data centers

    SQL Server Availability Group configured in Synchronous-Commit Availability Mode One server configured as an Active Secondary

  2. Two servers configured in the same data center

    SQL Server Availability Group configured in Asynchronous-Commit Availability Mode One server configured as an Active Secondary

  3. Two servers configured in the same data center

    A primary server configured to perform log-shipping every 10 minutes A backup server configured as a warm standby

  4. Two servers configured in different data centers

    SQL Server Availability Group configured in Asynchronous-Commit Availability Mode

  5. Two servers configured on the same subnet

    SQL Server Availability Group configured in Synchronous-Commit Availability Mode

  6. SQL Server that includes an application database configured to perform transactional replication

  7. SQL Server that includes an application database configured to perform snapshot replication

  8. Two servers configured in a Windows Failover Cluster in the same data center SQL Server configured as a clustered instance

Correct Answer: F

Question No.67

You administer all the deployments of Microsoft SQL Server 2012 in your company. You need to ensure that data changes are sent to a non-SQL Server database server in near real time. You also need to ensure that data on the primary server is unaffected. Which configuration should you use?

  1. SQL Server that includes an application database configured to perform transactional replication

  2. Two servers configured in different data centers

    SQL Server Availability Group configured in Asynchronous-Commit Availability Mode

  3. Two servers configured in different data centers

    SQL Server Availability Group configured in Synchronous-Commit Availability Mode One server configured as an Active Secondary

  4. SQL Server that includes an application database configured to perform snapshot replication

  5. Two servers configured in the same data center

    SQL Server Availability Group configured in Asynchronous-Commit Availability Mode One server configured as an Active Secondary

  6. Two servers configured on the same subnet

    SQL Server Availability Group configured in Synchronous-Commit Availability Mode

  7. Two servers configured in a Windows Failover Cluster in the same data center SQL Server configured as a clustered instance

  8. Two servers configured in the same data center

A primary server configured to perform log-shipping every 10 minutes A backup server configured as a warm standby

Correct Answer: A

Question No.68

You administer all the deployments of Microsoft SQL Server 2012 in your company. A database contains a large product catalog that is updated periodically. You need to be able to send the entire product catalog to all branch offices on a monthly basis. Which configuration should you use?

  1. Two servers configured in the same data center

    A primary server configured to perform log-shipping every 10 minutes A backup server configured as a warm standby

  2. SQL Server that includes an application database configured to perform transactional replication

  3. Two servers configured in the same data center

    SQL Server Availability Group configured in Asynchronous-Commit Availability Mode One server configured as an Active Secondary

  4. Two servers configured in a Windows Failover Cluster in the same data center

    SQL Server configured as a clustered instance

  5. SQL Server that includes an application database configured to perform snapshot replication

  6. Two servers configured in different data centers

    SQL Server Availability Group configured in Synchronous-Commit Availability Mode One server configured as an Active Secondary

  7. Two servers configured on the same subnet

    SQL Server Availability Group configured in Synchronous-Commit Availability Mode

  8. Two servers configured in different data centers

SQL Server Availability Group configured in Asynchronous-Commit Availability Mode

Correct Answer: E

Question No.69

You administer all the deployments of Microsoft SQL Server 2012 in your company. You need to ensure that an OLTP database that uses a storage area network (SAN) remains available if any of the servers fail. You also need to minimize the amount of storage used by the database. Which configuration should you use?

  1. Two servers configured in different data centers

    SQL Server Availability Group configured in Synchronous-Commit Availability Mode One server configured as an Active Secondary

  2. SQL Server that includes an application database configured to perform transactional replication

  3. Two servers configured in the same data center

    SQL Server Availability Group configured in Asynchronous-Commit Availability Mode One server configured as an Active Secondary

  4. Two servers configured in different data centers

    SQL Server Availability Group configured in Asynchronous-Commit Availability Mode

  5. Two servers configured in the same data center

    A primary server configured to perform log-shipping every 10 minutes A backup server configured as a warm standby

  6. Two servers configured on the same subnet

    SQL Server Availability Group configured in Synchronous-Commit Availability Mode

  7. SQL Server that includes an application database configured to perform snapshot replication

  8. Two servers configured in a Windows Failover Cluster in the same data center SQL Server configured as a clustered instance

Correct Answer: H

Question No.70

You administer a Microsoft SQL Server 2012 server that hosts a transactional database and a reporting database. The transactional database is updated through a web application and is operational throughout the day. The reporting database is only updated from the transactional database. The recovery model and backup schedule are configured as shown in the following table:

image

The differential backup of the reporting database fails. Then, the reporting database fails at 14:00 hours. You need to ensure that the reporting database is restored. You also need to ensure that data loss is minimal. What should you do?

  1. Restore the latest full backup, and restore the latest differential backup. Then, restore the latest log backup.

  2. Perform a point-in-time restore.

  3. Restore the latest full backup.

  4. Restore the latest full backup, and restore the latest differential backup.

    Then, restore each log backup taken before the time of failure from the most recent differential backup.

  5. Restore the latest full backup. Then, restore the latest differential backup.

  6. Restore the latest full backup.

    Then, restore each differential backup taken before the time of failure from the most recent full backup.

  7. Perform a page restore.

  8. Perform a partial restore.

Correct Answer: C

Get Full Version of 70-462 Dumps

Categories
70-462 Dumps

70-462 Real Exam Dumps Questions and answers 71-80

Get Full Version of the Exam
http://www.EnsurePass.com/70-462.html

Question No.71

You administer a Microsoft SQL Server 2012 server that hosts a transactional database and a reporting database. The transactional database is updated through a web application and is operational throughout the day. The reporting database is only updated from the transactional database. The recovery model and backup schedule are configured as shown in the following table:

image

At 14:00 hours, you discover that pages 71, 520, and 713 on one of the database files are corrupted on the reporting database. You need to ensure that the databases are restored. You also need to ensure that data loss is minimal. What should you do?

  1. Perform a partial restore.

  2. Restore the latest full backup, and restore the latest differential backup.

    Then, restore each log backup taken before the time of failure from the most recent differential backup.

  3. Restore the latest full backup.

  4. Restore the latest full backup, and restore the latest differential backup. Then, restore the latest log backup.

  5. Perform a page restore.

  6. Restore the latest full backup.

    Then, restore each differential backup taken before the time of failure from the most recent full backup.

  7. Perform a point-in-time restore.

  8. Restore the latest full backup.

Then, restore the latest differential backup.

Correct Answer: H

Explanation:

File restore

Restores a file or filegroup in a multi-filegroup database. Note that under the simple recovery model, the file must belong to a read-only filegroup. After a full file restore, a differential file backup can be restored.

Page restore

Restores individual pages. Page restore is available only under the full and bulk-logged recovery models

Piecemeal restore

Restores the database in stages, beginning with the primary filegroup and one or more secondary filegroups. A piecemeal restore begins with a RESTORE DATABASE using the PARTIAL option and specifying one or more secondary filegroups to be restored

Question No.72

You administer a Microsoft SQL Server 2012 server that hosts a transactional database and a reporting database. The transactional database is updated through a web application and is operational throughout the day. The reporting database is only updated from the transactional database. The recovery model and backup schedule are configured as shown in the following table:

image

At 16:20 hours, you discover that pages 17, 137, and 205 on one of the database files are corrupted on the transactional database. You need to ensure that the transactional database is restored. You also need to ensure that data loss is minimal. What should you do?

  1. Perform a partial restore.

  2. Restore the latest full backup, and restore the latest differential backup.

    Then, restore each log backup taken before the time of failure from the most recent differential backup.

  3. Perform a point-in-time restore.

  4. Restore the latest full backup.

  5. Restore the latest full backup, and restore the latest differential backup. Then, restore the latest log backup.

  6. Perform a page restore.

  7. Restore the latest full backup.

    Then, restore each differential backup taken before the time of failure from the most recent full backup.

  8. Restore the latest full backup. Then, restore the latest differential backup.

Correct Answer: F

Explanation:

Requirements for Restoring Pages

A page restore is subject to the following requirements:

The databases must be using the full or bulk-logged recovery model. Some issues exist if you are using the bulk-logged model. For more information, see the following section.

Pages in read-only filegroups cannot be restored. Trying to make a filegroup read- only will fail if there is a page restore going on at the same time in the filegroup. The restore sequence must start with a full, file, or filegroup backup. A page restore requires an unbroken chain of log backups up to the current log file, and they must all be applied so that the page is brought up to date with the current log file.

As in a file-restore sequence, in each restore step, you can add more pages to the roll forward set.

A database backup and page restore cannot be run at the same time. Bulk-logged Recovery Model and Page Restore

For a database that uses the bulk-logged recovery model, page restore has the following additional conditions:

Backing up while filegroup or page data is offline is problematic for bulk-logged data, because the offline data is not recorded in the log. Any offline page can prevent backing up the log. In this cases, consider using DBCC REPAIR, because this might cause less data loss than restoring to the most recent backup.

If a log backup of a bulk-logged database encounters a bad page, it fails unless WITH CONTINUE_AFTER_ERROR is specified.

Page restore generally does not work with bulk-logged recovery. A best practice for performing page restore is to set the database to the full recovery model, and try a log backup. If the log backup works, you can continue with the page restore. If the log backup fails, you either have to lose work since the previous log backup or you have to try running DBCC must be run with the REPAIR_ALLOW_DATA_LOSS option.

Question No.73

You administer a Microsoft SQL Server 2012 server that hosts a transactional database and a reporting database. The transactional database is updated through a web application and is operational throughout the day. The reporting database is only updated from the transactional database. The recovery model and backup schedule are configured as shown in the following table:

image

One of the hard disk drives that stores the reporting database fails at 16:40 hours. You need to ensure that the reporting database is restored. You also need to ensure that data loss is minimal. What should you do?

  1. Restore the latest full backup.

    Then, restore each differential backup taken before the time of failure from the most recent full backup.

  2. Perform a partial restore.

  3. Restore the latest full backup, and restore the latest differential backup. Then, restore the latest log backup.

  4. Perform a point-in-time restore.

  5. Restore the latest full backup.

  6. Perform a page restore.

  7. Restore the latest full backup, and restore the latest differential backup.

    Then, restore each log backup taken before the time of failure from the most recent differential backup.

  8. Restore the latest full backup. Then, restore the latest differential backup.

Correct Answer: H

Explanation:

Most recent available backup before the failure is the Differential Backup at 13:00, which is linked to the Full Backup at 01:00. So the answer would be (H).

Question No.74 DRAG DROP

You administer three Microsoft SQL Server 2012 servers named ServerA, ServerB, and ServerC. ServerA is the acting principal and ServerB is the mirror. You need to add ServerC as a witness to the existing mirroring session between ServerA and ServerB. You need to achieve this goal without delaying synchronization. Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

image

Correct Answer:

image

Question No.75

You administer a Microsoft SQL Server 2012 database. You create an availability group named haContosoDbs. Your primary replica is available at Server01\Contoso01. You need to configure the availability group to have the highest availability. You also need to ensure that no data is lost. Which Transact-SQL statement should you use?

image

Correct Answer: C

Question No.76 DRAG DROP

You administer several Microsoft SQL Server 2012 servers. Your company has a number of offices across the world connected by using a wide area network (WAN). Connections between offices vary significantly in both bandwidth and reliability. You need to identify the correct replication method for each scenario. What should you do? (To answer, drag the appropriate replication method or methods to the correct location or locations in the answer are a. Each replication method may be used once, more than once, or not at all.)

image

Correct Answer:

image

Question No.77

You administer several Microsoft SQL Server 2012 database servers. Merge replication has been configured for an application that is distributed across offices throughout a wide area network (WAN). Many of the tables involved in replication use the XML and varchar (max) data types.

Occasionally, merge replication fails due to timeout errors. You need to reduce the occurrence of these timeout errors. What should you do?

  1. Set the Merge agent on the problem subscribers to use the slow link agent profile.

  2. Create a snapshot publication, and reconfigure the problem subscribers to use the snapshot publication.

  3. Change the Merge agent on the problem subscribers to run continuously.

  4. Set the Remote Connection Timeout on the Publisher to 0.

Correct Answer: A

Explanation:

When replication is configured, a set of agent profiles is installed on the Distributor. An agent profile contains a set of parameters that are used each time an agent runs: each agent logs in to the Distributor during its startup process and queries for the parameters in its profile.

For merge subscriptions that use Web synchronization, profiles are downloaded and stored at the Subscriber. If the profile is changed, the profile at the Subscriber is updated the next time the Merge Agent runs. For more information about Web synchronization, see Web Synchronization for Merge Replication.

Replication provides a default profile for each agent and additional predefined profiles for the Log Reader Agent, Distribution Agent, and Merge Agent. In addition to the profiles provided, you can create profiles suited to your application requirements. An agent profile allows you to change key parameters easily for all agents associated with that profile. For example, if you have 20 Snapshot Agents and need to change the query timeout value (the – QueryTimeout parameter), you can update the profile used by the Snapshot Agents and all agents of that type will begin using the new value automatically the next time they run.

You might also have different profiles for different instances of an agent. For example, a Merge Agent that connects to the Publisher and Distributor over a dialup connection could use a set of parameters that are better suited to the slower communications link by using the slow link profile.

Question No.78 DRAG DROP

You administer two Microsoft SQL Server 2012 servers named ServerA and ServerB. You use a database named AdventureWorks. You need to prepare the AdventureWorks database for database mirroring. ServerB will act as the mirror in a mirroring partnership along with ServerA. Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

image

Correct Answer:

image

Question No.79

You create an availability group named HaContoso that has replicas named Server01/HA, Server02/HA, and Server03/HA. Currently, Server01l/HA is the primary replica. You need to ensure that the following requirements are met:

Backup operations occur on Server02/HA.

If Server02/HA is unavailable, backup operations occur on Server03/HA. Backup operations do not occur on Server01/HA.

How should you configure HaContoso?

  1. set the backup preference of HaContoso to Prefer Secondary. Set the backup priority of Server02/HA to 20.

    Set the backup priority of Server03/HA to 10.

  2. Set the backup preference of HaContoso to Secondary only. Set the backup priority of Server02/HA to 20.

    Set the backup priority of Server03/HA to 10.

  3. Set the backup preference of HaContoso to Secondary only. Set the backup priority of Server02/HA to 10.

    Set the backup priority of Server03/HA to 20.

  4. set the exclude replica of Server01/HA to true. Set the backup priority of Server02/HA to 10. Set the backup priority of Server03/HA to 20.

Correct Answer: B

Explanation:

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

Question No.80

You administer a Microsoft SQL Server 2012 instance that has several SQL Server Agent jobs configured. When SQL Server Agent jobs fail, the error messages returned by the job steps are truncated. The following error message is an example of the truncated error message:

quot;Executed as user CONTOSO\ServiceAccount. …0.4035.00 for 64-bit Copyright (C) Microsoft Corp 1984-2011. All rights reserved. Started 63513 PM Error 2012-06-23 183536.87 Code 0XC001000E Source UserImport Description Code 0x00000000 Source Log Import Activity Descript… The package execution fa… The step failed.quot;

You need to ensure that all the details of the job step failures are retained for SQL Server Agent jobs.

What should you do?

  1. Expand agent logging to include information from all events.

  2. Disable the Limit size of job history log feature.

  3. Configure event forwarding.

  4. Configure output files.

Correct Answer: D

Get Full Version of 70-462 Dumps

Categories
70-462 Dumps

70-462 Real Exam Dumps Questions and answers 1-10

Get Full Version of the Exam
http://www.EnsurePass.com/70-462.html

Question No.1

You administer a Microsoft SQL Server 2012 database. The database has a table named Customers owned by UserA and another table named Orders owned by UserB.

You also have a stored procedure named GetCustomerOrderInfo owned by UserB. GetCustomerOrderInfo selects data from both tables.

You create a new user named UserC.

You need to ensure that UserC can call the GetCustomerOrderInfo stored procedure. You also need to assign only the minimum required permissions to UserC.

Which permission or permissions should you assign to UserC? Choose all that apply.

  1. The Select permission on Customers

  2. The Execute permission on GetCustomerOrderInfo

  3. The Take Ownership permission on Customers

  4. The Control permission on GetCustomerOrderInfo

  5. The Take Ownership permission on Orders

  6. The Select permission on Orders

Correct Answer: AB

Explanation:

The question seems to be missing something. Or the original answer is incorrect. I#39;ve changed it to what I believe to be the correct answer. The original answer included quot;The Select permission on Orders.quot;, but due to ownership chaining, you would only need to give Execute permissions to UserC to access the Orders table since UserB is the owner.

(BF) – need to test this Reference:

http://msdn.microsoft.com/en-us/library/ms188676.aspx http://stackoverflow.com/questions/2212044/sql-server-how-to-permission-schemas http://sqlservercentral.com/blogs/steve_jones/2012/03/14/ownership-chains-in-sql-server

Question No.2

You administer a Microsoft SQL Server 2012 database named ContosoDb. The database contains a table named Suppliers and a column named IsActive in the Purchases schema.

You create a new user named ContosoUser in ContosoDb. ContosoUser has no permissions to the Suppliers table.

You need to ensure that ContosoUser can delete rows that are not active from Suppliers. You also need to grant ContosoUser only the minimum required permissions.

Which Transact-SQL statement should you use?

  1. GRANT DELETE ON Purchases. Suppliers TC ContosoUser

  2. CREATE PROCEDURE Purchases.PurgelnactiveSuppliers WITH EXECUTE AS USER = #39;dbo#39; AS

    DELETE FROM Purchases.Suppliers WHERE IsActive = 0 GO

    GRANT EXECUTE ON Purchases.PurgelnactiveSuppliers TO ContosoUser

  3. GRANT SELECT ON Purchases.Suppliers TO ContosoUser

  4. CREATE PROCEDURE Purchases. PurgeInactiveSuppliers AS

DELETE FROM Purchases.Suppliers WHERE IsActive = 0 GO

GRANT EXECUTE ON Purchases. PurgeInactiveSuppliers TO ContosoUser

Correct Answer: B

Explanation:

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

Question No.3

You use a contained database named ContosoDb within a domain. You need to create a user who can log on to the ContosoDb database.

You also need to ensure that you can port the database to different database servers within the domain without additional user account configurations.

Which type of user should you create?

  1. User mapped to a certificate

  2. SQL user without login

  3. Domain user

  4. SQL user with login

Correct Answer: C

Question No.4

You administer a Microsoft SQL Server 2012 database that has multiple tables in the Sales schema. Some users must be prevented from deleting records in any of the tables in the Sales schema.

You need to manage users who are prevented from deleting records in the Sales schema. You need to achieve this goal by using the minimum amount of administrative effort.

What should you do?

  1. Create a custom database role that includes the users. Deny Delete permissions on the Sales schema for the custom database role.

  2. Include the Sales schema as an owned schema for the db_denydatawriter role. Add the users to the db_denydatawriter role.

  3. Deny Delete permissions on each table in the Sales schema for each user.

  4. Create a custom database role that includes the users. Deny Delete permissions on each table in the Sales schema for the custom database role.

Correct Answer: A

Question No.5

You are the lead database administrator (DBA) of a Microsoft SQL Server 2012 environment. All DBAs are members of the DOMAIN\JrDBAs Active Directory group.

You grant DOMAIN\JrDBAs access to the SQL Server.

You need to create a server role named SpecialDBARole that can perform the following functions:

  • View all databases.

  • View the server state.

  • Assign GRANT, DENY, and REVOKE permissions on logins.

You need to add DOMAIN\JrDBAs to the server role.

You also need to provide the least level of privileges necessary.

Which SQL statement or statements should you use? Choose all that apply.

  1. CREATE SERVER ROLE [SpecialDBARole] AUTHORIZATION setupadmin;

  2. ALTER SERVER ROLE [SpecialDBARole] ADD MEMBER [DOMAIN\JrDBAs];

  3. CREATE SERVER ROLE [SpecialDBARole] AUTHORIZATION securityadmin;

  4. GRANT VIEW DEFINITION TO [SpecialDBARole];

  5. CREATE SERVER ROLE [SpecialDBARole] AUTHORIZATION serveradmin;

  6. GRANT VIEW SERVER STATE, VIEW ANY DATABASE TO [SpecialDBARole];

Correct Answer: BCF

Question No.6 DRAG DROP

You administer a Microsoft SQL Server 2012 database. All database traffic to the SQL Server must be encrypted by using secure socket layer (SSL) certificates or the connection must be refused. Network administrators have deployed server certificates to the Windows store of all Windows servers on the network from a trusted Certificate Authority. This is the only Certificate Authority allowed to distribute certificates on the network.

You enable the Force Encryption flag for the MSSQLServer protocols, but client computers are unable to connect. They receive the following error message:

quot;A connection was successfully established with the server, but then an error occurred during the pre-login handshake, (provider: SSL Provider, error: 0 – The certificate chain was issued by an authority that is not trusted.) (Microsoft SQL Server)quot;

You notice the following entry in the SQL Server log:

quot;A self-generated certificate was successfully loaded for encryption.quot;

You need to configure SQL Server to encrypt all client traffic across the network.

You also need to ensure that client computers are able to connect to the server by using a trusted certificate.

Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

image

Correct Answer:

image

Question No.7

You administer a Microsoft SQL Server 2012 database that has Trustworthy set to On. You create a stored procedure that returns database-level information from Dynamic Management Views.

You grant User1 access to execute the stored procedure.

You need to ensure that the stored procedure returns the required information when User1 executes the stored procedure.

You need to achieve this goal by granting the minimum permissions required.

What should you do? (Each correct answer presents a complete solution. Choose all that apply.)

  1. Create a SQL Server login that has VIEW SERVER STATE permissions. Create an application role and a secured password for the role.

  2. Modify the stored procedure to include the EXECUTE AS OWNER statement. Grant VIEW SERVER STATE permissions to the owner of the stored procedure.

  3. Create a SQL Server login that has VIEW SERVER STATE permissions. Modify the stored procedure to include the EXECUTE AS {newlogin} statement.

  4. Grant the db_owner role on the database to User1.

  5. Grant the sysadmin role on the database to User1.

Correct Answer: BC

Explanation:

According to these references, this answer looks correct. References:

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

Question No.8

You are migrating a database named Orders to a new server that runs Microsoft SQL Server 2012. You attempt to add the [Corpnet\User1] login to the database. However, you receive the following error message:

quot;User already exists in current database.quot;

You need to configure the [Corpnet\User1] login to be able to access the Orders database and retain the original permissions.

You need to achieve this goal by using the minimum required permissions. Which Transact-SQL statement should you use?

  1. DROP USER [User1];

    CREATE USER [Corpnet\User1] FOR LOGIN [Corpnet\User1]; ALTER ROLE [db_owner] ADD MEM3ER [Corpnet\User1];

  2. ALTER SERVER RCLS Isysadmin] ADD MEMBER [Corpnet\User1];

  3. ALTER USER [Corpnet\User1] WITH LOGIN [Corpnet\User1];

  4. ALTER ROLE [db owner] ADD MEMBBR [Corpnet\User1];

Correct Answer: C

Question No.9

You administer a Microsoft SQL Server 2012 database.

You configure Transparent Data Encryption (TDE) on the Orders database by using the following statements:

You attempt to restore the Orders database and the restore fails.

You copy the encryption file to the original location. A hardware failure occurs and so a new server must be installed and configured. After installing SQL Server to the new server, you restore the Orders database and copy the encryption files to their original location. However, you are unable to access the database.

You need to be able to restore the database.

Which Transact-SQL statement should you use before attempting the restore?

image

Correct Answer: C

Question No.10 DRAG DROP

You administer a Microsoft SQL Server 2012 server that has multiple databases.

You need to ensure that users are unable to create stored procedures that begin with sp_.

Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

image

Correct Answer:

image

Get Full Version of 70-462 Dumps