0

databases Online Quiz - 224

Description: databases Online Quiz - 224
Number of Questions: 20
Created by:
Tags: databases
Attempted 0/20 Correct 0 Score 0

In NPS, in the expression 'NULL = NULL' results in a value of 'true'

  1. 0

  2. NULL=NULL

  3. 1

  4. 2


Correct Option: B

In NPS, you can use datasliceid to view distribution

  1. No

  2. Yes

  3. 0

  4. 1


Correct Option: B

Which operators can be used for a subquery to return multiple rows? (MCQ)

  1. IN

  2. ALL

  3. <>

  4. ANY


Correct Option: A,B,D

Choose the options which represent true statements? (MCQ)

  1. SQL is a language for accessing data from an Oracle server

  2. iSQL*Plus cannot be abbreviated

  3. SQL cannot be abbreviated.

  4. iSQL*Plus is a language for accessing data from an Oracle


Correct Option: A,C

Which of the following options IS NOT represent types of Single-Row functions?

  1. Number functions

  2. Conversion functions

  3. Date Functions

  4. Compute functions


Correct Option: D

Which of the following options represent explicit data-type conversion functions?

  1. TO_CHAR

  2. TO_VALUE

  3. TO_DATE

  4. TO_ERROR


Correct Option: A,C

What can NOT you accomplish using a SQL SELECT statement?

  1. Creation of a new table based off of the output of SELECT statements

  2. Return information from specific columns

  3. Return information from specific rows

  4. The combination of values in different tables


Correct Option: A

A subquery can consist of a statement located within a clause from a parent statement?

  1. Creation of a new table based off of the output of SELECT statements

  2. Return information from specific columns

  3. Return information from specific rows

  4. The combination of values in different tables


Correct Option: B,C,D
  1. dbmobld.sql

  2. utlsampl.sql

  3. autoextend.sql

  4. whocan.sql


Correct Option: B
  1. system global area

  2. shared global area

  3. source global area

  4. synthetic global area


Correct Option: B
  1. data files

  2. redo logs

  3. password files

  4. control files


Correct Option: C

You are preparing 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 can you use to achieve this goal?

  1. Multiprotocol

  2. TCP/IP

  3. Shared Memory

  4. Virtual Interface Adapter (VIA)


Correct Option: B
  1. Ensure that both SQL1 and SQL2 use the same login name as the security context for each

  2. Configure SQL2 as a remote server. Write the query on SQL1.

  3. Configure SQL2 as a linked server to impersonate the remote login.

  4. Configure SQL2 as a distributed server. Use pass-through authentication.


Correct Option: C

You are responsible for implementing maintenance jobs on a SQL Server 2005 database server. Certain jobs run every Sunday and other jobs run at the beginning of every month. You need to schedule the jobs in the way that uses the least amount of administrative effort. What should you do?

  1. Create a job schedule that runs every Sunday. Assign weekly tasks to this schedule. Create a

  2. Create a job for each task that runs once a day. Use a Transact-SQL statement to check the

  3. Create a job schedule that runs once a day. Assign jobs to this job schedule. If the day is

  4. Create a job for each task that runs once a week on Sunday. Add a second job schedule that


Correct Option: A

A support engineer reports that inserting new sales transactions in a SQL Server 2005 database results in an error. You investigate the error. You discover that in one of the databases, a developer has accidentally deleted some data in a table that is critical for transaction processing. The database uses the full recovery model. You need to restore the table. You need to achieve this goal without affecting the availability of other data in the database. What should you do?

  1. Back up the current transaction log. Restore the database with a different name and stop at

  2. Back up the current transaction log. Restore the database to the point just before the data loss.

  3. Restore the database from the existing backup files to a time just before the data loss.

  4. Restore the database to the point of the last full backup.


Correct Option: A

A power failure occurs on the storage area network (SAN) where your SQL Server 2005 database server is located. You need to check the allocation as well as the structural and logical integrity of all databases, including their system catalogs. What should you do?

  1. Execute DBCC CHECKFILEGROUP for each filegroup.

  2. Execute DBCC CHECKCATALOG.

  3. Execute DBCC CHECKDB.

  4. Execute DBCC CHECKTABLE for each table.


Correct Option: C
- Hide questions