0

web technology Online Quiz - 192

Description: web technology Online Quiz - 192
Number of Questions: 20
Created by:
Tags: web technology
Attempted 0/20 Correct 0 Score 0

What are different variants of SQL Server 2005?

  1. Developer Edition

  2. Express Edition

  3. Integration Edition

  4. Standard Edition


Correct Option: A

What are the different recovery models in SQL Server 2005?

  1. Simple

  2. Bulk Logged

  3. Full

  4. All of the above


Correct Option: D

You are planning for a new installation of SQL Server 2005. You need to select the protocols that client computers might use to connect to the server. Which two protocols will you use to achieve this goal?

  1. Named Pipes

  2. Shared Memory

  3. Virtual Interface Adapter

  4. TCP/IP


Correct Option: D

You have currently installed SQL Server 7.0 Standard Edition SP4 and wish to upgrade to SQL Server 2005. Which versions of SQL Server 2005 can you upgrade to?

  1. SQL Server 2005 Developer Edition

  2. SQL Server 2005 Enterprise Edition

  3. SQL Server 2005 Express Edition

  4. SQL Server 2005 Standard Edition


Correct Option: D

You are importing data into SQL server 2005 database. You are receiving text files that contain Sales transactions from stores across the city. You need to import the files into Sales Database. What should you do?

  1. Use the bcp command

  2. Use the BULKINSERT statement

  3. Create a custom format file

  4. None of the above


Correct Option: A

What is Full Text Search in SQL Server 2005?

  1. Allows fast and flexible indexing for keyword based query

  2. Provides a message based communication platform

  3. Supports sending Email from the database

  4. None of the above


Correct Option: A

It is possible to rename a database and database objects in SQL Server 2005

  1. True

  2. False


Correct Option: B
  1. Model database

  2. Master Database

  3. msdb

  4. Temporary database


Correct Option: A

You want to send Personalized Messages to a group of people. Which SQL Server 2005 services would you use?

  1. Database Mirroring

  2. Integration Services

  3. Notification Services

  4. All of the above


Correct Option: C

Which SQL Server 2005 tool helps in running T-SQL queries from command prompt?

  1. DTUTIL

  2. BCP

  3. Object Explorer

  4. None of the above


Correct Option: D

What are the requirements to create a CLR based user-defined type?

  1. The CLR must be enable for the database

  2. The CLR must be enabled for the instance

  3. A class created with a Microsoft .NET language

  4. A class created with a CLR-compatible language


Correct Option: B

Which TCP/IP port does SQL Server run on?

  1. 143

  2. 1433

  3. 1432

  4. 142


Correct Option: B

If you want to let a member of your technical support staff back up a database without having to grant any other permission to a database or SQL Server instance, to which role should you add the staff member?

  1. sysadmin

  2. db_owner

  3. db_accessadmin

  4. db_backupoperator


Correct Option: D

Which of the following objects can you use in a check constraint?

  1. System Function

  2. Stored procedure

  3. User-Defined-Function

  4. Views


Correct Option: A

You perform a full backup of the Adventure Works database that completes at midnight. Differential backups are scheduled to run every four hours beginning at 04:00. Transaction log backups are scheduled to run every five minutes. What information does the transaction log backup created at 09:15 contain?

  1. All transactions that have been issued since 09:10

  2. Transactions that have been committed since 09:10

  3. Pages that have changed since 09:10

  4. Extents that have changed since 09:10


Correct Option: B

One of your users has discovered some malicious updates to your data that occurred the day before at about 2 P.M. how can you return the database to the state it was in just before the update occurred?

  1. Perform a full database restoration with point-in-time recovery

  2. Perform a differential database restoration with point-in-time recovery

  3. Perform a transaction log restoration with point-in-time recovery

  4. You cannot return the database to the previous state


Correct Option: C

You want to access data that is located on two SQL Server 2005 computers. One Server is SQL 1 and the other server is SQL 2. You have permissions to write a stored Procedure on SQL 1 but on SQL 2 you have only permission to select data. You write a stored procedure on SQL 1. The stored procedure accesses SQL 2 by OPENQUERY T-SQL Statement. The query fails. What should you do to solve the problem?

  1. Add SQL 2 as linked server to SQL 1

  2. Add SQL 2 as remote Server to SQL 1

  3. (c) Reference SQL 2 by an alias

  4. None of the above


Correct Option: A

What is bcp utility in SQL Server 2005?

  1. Copies data between an instance of Microsoft SQL Server and a data file in a user-specified format

  2. Configures and executes a SQL Server Integration Services package

  3. Transact-SQL statements, system procedures, and script files at the command prompt are possible with this utility

  4. Runs scripts designed for managing Reporting Services report servers


Correct Option: A

AI Explanation

To answer this question, you need to understand the purpose of the bcp utility in SQL Server 2005.

Option A) Copies data between an instance of Microsoft SQL Server and a data file in a user-specified format - This option is correct. The bcp utility in SQL Server 2005 is used to copy data between SQL Server and a data file in a user-specified format. It allows you to import and export large amounts of data quickly and efficiently.

Option B) Configures and executes a SQL Server Integration Services package - This option is incorrect. The bcp utility is not used to configure or execute SQL Server Integration Services packages. Integration Services packages are typically used for complex data integration and transformation tasks.

Option C) Transact-SQL statements, system procedures, and script files at the command prompt are possible with this utility - This option is incorrect. The bcp utility is used specifically for copying data and does not support execution of Transact-SQL statements, system procedures, or script files.

Option D) Runs scripts designed for managing Reporting Services report servers - This option is incorrect. The bcp utility is not used for running scripts designed for managing Reporting Services report servers. Reporting Services has its own set of tools and utilities for managing reports.

The correct answer is A) Copies data between an instance of Microsoft SQL Server and a data file in a user-specified format. This option is correct because the bcp utility is primarily used for importing and exporting data between SQL Server and data files.

You use the bcp utility to import data during nonworking hours. After importing data into the database, you execute a full backup statement. You need to ensure that the impact on the database during the insert is reduced to a minimum. Which of the following options can help you achieve that?

  1. Set the recovery model to Full

  2. Set the recovery model to Simple

  3. Set the recovery model to Bulk-Logged

  4. Back up the transaction log while performing the inserts


Correct Option: C

Which type of index physically orders the rows in a table?

  1. Unique Index

  2. Clustered Index

  3. Non-Clustered Index

  4. Foreign Key


Correct Option: B
- Hide questions