Quality Microsoft 70-432 Study Material

Page 1

Microsoft 70-432

TS: Microsoft SQL Server 2008, Implementation and Maintenance Version: Demo 3.3


Microsoft 70-432 Exam QUESTION NO: 1 You are the administrator of a Microsoft Windows Server 2003 computer. Your company purchases a new enterprise sales application that runs SQL Server 2008. The application uses stored procedures that include the EXECUTE AS clause and that use Microsoft Windows accounts. The company's written security policy states that all enterprise applications must run under the context of a service account that requires the minimum amount of privileges. You need to configure the SQL Server service torun under the appropriate context for the installation of the new enterprise sales application. Under which context should the SQL Server service run? A. Under the context of the local system account B. Under the context of the local service account C. Under the context of the domain user account D. Under the context of the local Administrator account Answer: C Explanation:

QUESTION NO: 2 You maintain a SQL Server 2008 instance that contains a database named OrderEntry. The OrderEntry database contains a table named OrderDelivery You add a column named DeliveryPoint to the OrderDelivery table. The DeliveryPoint column is of the Geography data type. The OrderDelivery table does not contain indexes. You need to create a spatial index on the DeliveryPoint column. What should you do first? A. Define a primary key for the OrderDelivery table. B. Create a clustered index for the OrderDelivery table. C. Ensure that the DeliveryPoint column does not allow NULL values. D. Copy the OrderDelivery data to a temporary table and truncate the existing OrderDelivery table. Answer: A Explanation:

QUESTION NO: 3 You administer a SQL Server 2008 instance that contains a database named DB1. DB1 contains a table named Table1.

"Excellent Results in Minimum Time" - SelfTestExams.com

2


Microsoft 70-432 Exam The DB1 database includes a stored procedure named Procedure1. Procedure 1 uses a sp_executesql Transact-SQL statement to select data from Table1. According to business requirements, users are not allowed to access tables directly in any database. When a user executes Procedure1, the following exception is raised: "Msg 229, Level 14, State 5, Line 1 The SELECT permission was denied on the object Table1', database 'DB1', schema 'dbo'." You need to ensure that the user can successfully execute Procedure1 without violating the business requirements. What should you do? A. Execute the GRANT SELECT ON dbo.Table1 TO User1 Transact-SQL statement. B. Execute the GRANT EXECUTE ON dbo.Procedure1 TO User1 Transact-SQL statement. C. Alter Procedure1 and add the WITH EXECUTE AS OWNER option to its header. D. Alter Procedure1 and add the EXECUTE AS USER = 'dbo' option immediately before the call to the sp_executesql stored procedure. Answer: C Explanation:

QUESTION NO: 4 You administer two SQL Server 2008 instances named Instance 1 and Instance 2. A database named AdventureWorks resides on Instance1. You move the AdventureWorks database from Instance1 to Instance2. A SQL Server login named Mary with the password "Re#99$45" is used by a user to access the database on Instance1. You create the same SQL Server login on Instance2. The user attempts to access the AdventureWorks database on Instance2 by using the SQL Server login Mary. However, the user receives an error message which indicates that the access to the AdventureWorks database is denied. You need to ensure that the user can access the AdventureWorks database. Which Transact-SQL statements should you execute on Instance!? A. USE AdventureWorks; ALTER USER Mary WITH LOGIN = Mary; B. USE AdventureWorks: ALTER LOGIN Mary ENABLE;

"Excellent Results in Minimum Time" - SelfTestExams.com

3


Microsoft 70-432 Exam C. USE Adventure Works; ALTER LOGIN Mary WITH PASSWORD = 'Re#99$45' UNLOCK; D. USE AdventureWorks; ALTER LOGIN Mary WITH DEFAULT_DATABASE = AdventureWorks; Answer: A Explanation:

QUESTION NO: 5 You are managing a SQL Server 2008 instance which includes a database called TesterDB for Home.com. The data file and the transaction log file which are located on the D: drive that owns only 10 percent useful space. You should make sure that you move both files to the G: drive. Which is the correct answer? A. You should implement the statement below: ALTER DATABASE Finance SET RESTRICTED_USER WITH ROLLBACK_IMMEDIATE; Move the data file and B. Run the following Transact-SQL statements. ALTER DATABASE Finance MODIFY FILE(NAME = Finance_Data, FILENAME = C. mdf'); ALTER DATABASE Finance SET MULTI_USER; D. You should utilize the following Transact-SQL statement. E. ALTER DATABASE TesterDB SET OFFLINE WITH ROLLBACK_IMMEDIATE; F. ALTER DATABASE TesterDB G. mdf'); ldf'); ALTER DATABASE TesterDB SET ONLINE; Answer: B Explanation:

QUESTION NO: 6 You administer a remote SQL Server 2008 instance that contains a database named InsightDB. The InsightDB database is used by an application that is continuously connected. The application uses the INSERT command extensively and triggers the population of multiple tables. Users of the application report that the application performance is poor. You suspect that the performance issues are related to blocking. You need to monitor the state of the instance at regular intervals without affecting the application performance further. Which tool should you use? A. SQL Server Profiler B. Windows System Monitor C. Dynamic Management Views D. SQL Server Resource Governor

"Excellent Results in Minimum Time" - SelfTestExams.com

4


Microsoft 70-432 Exam Answer: C Explanation:

QUESTION NO: 7 You administer a SQL Server 2008 instance. The instance contains a database named DB1. You plan to allow all the application developers to use SQL Server Profiler to capture traces to troubleshoot the application that uses the database DB1. You need to grant the minimum necessary permission to the application developers. What should you do? A. Grant the appropriate database-level permissions to all database users of the application developers. B. Grant the appropriate server-level permissions to all SQL Server logins of the application developers. C. Add all the database users of the application developers to a fixed database role. D. Add all the SQL Server logins of the application developers to a fixed server role. Answer: B Explanation:

QUESTION NO: 8 You upgrade an instance of Microsoft SQL Server 2000 to SQL Server 2008. The SQL Server Agent service is configured to use the LocalSystem account. A job uses a CMDExec step to access a file located on a remote network share. After the upgrade, the job step fails to complete execution. You need to configure the job step so that it can successfully complete execution. What should you do? A. Configure a certificate. B. Configure the job step to use a proxy account. C. Configure the SQL Server Agent service to use a local Windows account. D. Configure the SQL Server Agent service to use the NetworkService account. Answer: B Explanation:

QUESTION NO: 9 You are mastering the company database. During the development, you find that Transact-SQL

"Excellent Results in Minimum Time" - SelfTestExams.com

5


Microsoft 70-432 Exam query below is running slowly:SELECT VideoTitle, UpcNum, RetailPrice, Release Date FROM Srvideo.VideoTitle WITH (INDEX(0)) WHERE ReleaseDate BETWEEN '20050401' AND '20050510' A clustered index exists on the VideoTitle column. There is a nonclustered index on the ReleaseDate column which contains the UpcNum and RetailPrice columns. The result of the avg_fragmentation_in_percent is 30 percent, when you search the sys.dm_db_index_physical_stats dynamic management function (DMF) or the VideoTitle table,In order to find this method to solve this problem, which is the correct answer? A. You should reproduce the whole indexes on the VideoTitle table. B. You should delete the query hint from the query. C. You should alter the query hint to force the optimizer to force a unclustered index seek. D. You should Re-create the index on only the ReleaseDate column. Answer: B Explanation:

QUESTION NO: 10 You administer a SQL Server 2008 instance. The server contains a very large database that is used by an application that is constantly available. Users report that the server performance has degraded. You need to use the Database Engine Tuning Advisor to improve the performance of the application. You also need to ensure that the performance of the production server is unaffected while analyzing the workload. What should you do? A. Enable the XP_MSVER stored procedure on the local server. B. Enable the XP_MSVER stored procedure on the remote server. C. Use the dta.exe utility on the production server along with an XML input file. D. Configure a test server that has a similar hardware configuration. Use the dta.exe utility on the test server along with an XML input file. Answer: D Explanation:

"Excellent Results in Minimum Time" - SelfTestExams.com

6


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.