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
  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

Which Script creates objects owned by the user SCOOT/TIGER..?

  1. dbmobld.sql

  2. utlsampl.sql

  3. autoextend.sql

  4. whocan.sql


Correct Option: B

which one is not the oracle database component type...

  1. memory

  2. disk

  3. tape

  4. processes


Correct Option: C

SGA means..?

  1. system global area

  2. shared global area

  3. source global area

  4. synthetic global area


Correct Option: B

which one is not mandatory file in Disk Components

  1. data files

  2. redo logs

  3. password files

  4. control files


Correct Option: C

To see the back ground processes in UNIX, use ps - ________command

  1. fu oracle

  2. cu oracle

  3. au oracle

  4. cp oracle


Correct Option: A

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

You configure a new SQL Server 2005 computer to use TCP/IP with all default settings. Your corporate policy requires that each server use a firewall. You find that you can connect to the SQL Server instance from the local computer. However, client computers cannot connect to the SQL Server instance. You need to identify the most likely cause of the connection issues. What should you do first?

  1. Ensure that port 1433 is open in your firewall.

  2. Ensure that port 443 is open in your firewall.

  3. Ensure that client computers connect by using Shared Memory protocol.

  4. Ensure that the server is not paused.


Correct Option: A

Companyxyz.com has multiple servers in a distributed environment. You work with two SQL Server 2005 computers named SQL1 and SQL2. Each server uses SQL Server Authentication and they use different logins. You need to write a distributed query that joins the data on SQL1 with the data on SQL2. What should you do?

  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

You discover that the msdb database on a SQL Server 2005 computer is corrupt and must be restored. Databases are backed up daily. The database backup files are written to a network share, but the file names do not clearly indicate which databases are in each file. You need to locate the correct backup file as quickly as possible. The first file in the list is named DB_Backup.bak. Which Transact-SQL statement should you use?

  1. RESTORE LABELONLYFROM DISK = N\Server1\Backup\DB_Backup.bak

  2. RESTORE HEADERONLYFROM DISK = N\Server1\Backup\DB_Backup.bak

  3. RESTORE VERIFYONLYFROM DISK = N\Server1\Backup\DB_Backup.bak

  4. RESTORE DATABASE MSDBFROM DISK = N\Server1\Backup\DB_Backup.bak


Correct Option: B

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