最新的Microsoft Administering Microsoft SQL Server 2012/2014 Databases - 070-462免費考試真題

問題1
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?

正確答案: D
說明:(僅 VCESoft 成員可見)
問題2
You are a database developer of a Microsoft SQL Server 2012 database. You are designing a table that will store Customer data from different sources. The table will include a column that contains the CustomerID from the source system and a column that contains the SourceID. A sample of this data is as shown in the following table.

You need to ensure that the table has no duplicate CustomerID within a SourceID. You also need to ensure that the data in the table is in the order of SourceID and then CustomerID. Which Transact- SQL statement should you use?

正確答案: D
問題3
You administer a database that has User A, B and C.
User A must be able to create new tables and stored procedures, User B must be able to select, update, delete and insert data.
User C must be able to provide windows logins to the database
To which role or roles should you add to UserB? Select all that apply.

正確答案: B,C
說明:(僅 VCESoft 成員可見)
問題4
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.)
正確答案:

Explanation

References:
問題5
You administer a Microsoft SQL Server 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.
The financial database has been damaged.
You need to perform a tail-log backup.
Which backup option should you use?

正確答案: M
問題6
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.)
正確答案:

Explanation
問題7
Note: This question is part of a series of questions that use the same set of answer choices. An answer choice may be correct for more than one question in the series.
You administer a SQL Server 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 following requirements are met:
* The Sales role does not have the Select permission on the Customers schema.
* UserA has the Select permission on the Regions table.
Which Transact-SQL statement should you use?

正確答案: I
說明:(僅 VCESoft 成員可見)
問題8
If you are required to move an SQL 2012 database from one server to another, which of the following will do this at the database level?

正確答案: A
說明:(僅 VCESoft 成員可見)
問題9
You administer a Microsoft Azure SQL Database database named Human_Resources. The database contains 2 tables named Employees and SalaryDetails.
You add two Windows groups as logins for the server:
* CORP\Employees - All company employees
* CORP\HRAdmins - HR administrators only
* HR Administrators are also company employees.
You need to grant users access according to the following requirements:
* CORP\Employees should have SELECT access to the Employees table.
* Only users in CORP\HRAdmins should have SELECT access to the SalaryDetails table.
* Logins are based only on Windows security groups.
What should you do?

正確答案: C
問題10
You administer a Microsoft SQL Server database.
You have a SQL Server Agent job instance that runs using the service account. You have a job step within the job that requires elevated privileges.
You need to ensure that the job step can run using a different user account.
What should you use?

正確答案: B
問題11
You have a two- node SQL Server 2014 cluster that has an Always On availability group configured in synchronous mode. You plan to provide a reporting solution by using a third node in the cluster.
You need to add the third node. The solution must prevent any impact on the performance of database writes.
You install another server that has SQL Server installed.
Which three additional 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.
正確答案:
問題12
You create a table that has the StudentCode, SubjectCode, and Marks columns to record mid-year marks for students. The table has marks obtained by 50 students for various subjects.
You need to ensure that the top half of the students arranged by their average marks must be given a rank of 1 and the remaining students must be given a rank of 2.
Which Transact-SQL query should you use?

正確答案: D
問題13
You want to reproduce the same SQL Server 2012 installation configuration across five servers.
Which of the following files will you generate by using SQL Server Setup to accomplish this goal?

正確答案: A
問題14
You are developing a database application by using Microsoft SQL Server 2012. An application that uses a database begins to run slowly.
You discover that a large amount of memory is consumed by single-use dynamic queries.
You need to reduce procedure cache usage from these statements without creating any additional indexes.
What should you do?

正確答案: K