QUESTION 119Which of the following practices are considered bad practices? (Choose all that apply.)

A. Aliasing columns by using the AS clauseB. Aliasing tables by using the AS clauseC. Not assigning column aliases when the column is a result of a computationD. Using * in the SELECT list

Answer: CD

QUESTION 120Why is it important to use the appropriate type for attributes?

A. Because the type of your attribute enables you to control the formatting of the valuesB. Because the type constrains the values to a certain domain of supported valuesC. Because the type prevents duplicatesD. Because the type prevents NULLs

Answer: B

QUESTION 121Which of the following functions would you consider using to generate surrogate keys? (Choose all that apply.)

A. NEWIDB. NEWSEQUENTIALIDC. GETDATED. CURRENT_TIMESTAMP

Answer: AB

QUESTION 122You need to create a view named uv_CustomerFullNames. The view must prevent the underlying structure of the customer table from being changed.Part of the correct T-SQL statement has been provided in the answer area. Provide the complete code.

QUESTION 123You are designing a data warehouse that uses SQL Server 2012. You are preparing to update the contents of a fact table that contains a non-clustered columnstore index.You need to run an update statement against the table.What should you do first?

A. Pause the columnstore index.B. Change the recovery model of the database to Bulk-logged.C. Change the non-clustered columnstore index to be a clustered columnstore index.D. Drop the columnstore index.

Answer: D

QUESTION 124You are installing the Data Quality Server component of Data Quality Services. You need to provision the hardware and install the software for the server that runs the Data Quality Server. You must ensure that the minimum Data Quality Server prerequisites are met. What should you do?

QUESTION 126You maintain a SQL Server Integration Services (SSIS) package. The package was developed by using SQL Server 2008 Business Intelligence Development Studio (BIDS). The package includes custom scripts that must be upgraded.You need to upgrade the package to SQL Server 2012.Which tool should you use?

QUESTION 127You install a SQL Server 2012 database engine instance on a production server. A month later, you install SQL Server 2012 Integration Services (SSIS). You must develop an SSIS project and deploy it to the server by using the Project Deployment model. Operations log records that are outside the configured retention period must be cleaned automatically.You need to create the SSIS catalog on the production server and ensure that the operations log cleaning requirement is met. What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

Answer: AGQUESTION 128You 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?

A. Execute sp_configure ‘max log size’, 2G.B. use the ALTER DATABASE…SET LOGFILE command along with the maxsize parameter.C. In SQL Server Management Studio, right-click the instance and select Database Settings. Set the maximum size of the file for the transaction log.D. 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.

Answer: DQUESTION 129You 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?

Answer: DExplanation:The sp_helpdb – sp_helpdb [ [ @dbname= ] ‘name’ – does not accept a spid – http://technet.microsoft.com/en-us/library/ms178568.aspxQUESTION 130You 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?

A. 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.B. Use sp_configure to set a value for blocked process threshold. Create an extended event session.C. 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.C. Run the sp_who command from a query window.D. Run the DBCC TRACEON 1222 command from a query window and review the SQL Server event log.

QUESTION 131You 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?

A. Create an Extended Events session by using the sqlserver.error_reported event.B. Create a SQL Profiler session to capture all ErrorLog and EventLog events.C. Flag all stored procedures for recompilation by using sp_recompile.D. Execute sp_who.