0

databases Online Quiz - 124

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

Which two types of metadata can be retrieved by using the various procedures in the DBMS_METADATA PL/SQL package? (Choose two.)

  1. data definition language (DDL) for all objects in a schema

  2. DDL for all object grants on a table in the database

  3. report of invalidated objects in a schema

  4. report of statistics of an object in the database


Correct Option: A,B

Which two statements are true about SecureFile LOB options? (Choose two.)

  1. The COMPRESSION HIGH option can be enabled only for CLOBs.

  2. The COMPRESSION HIGH option can be enabled for all internal LOBs.

  3. The DECRYPT option can be used to remove encryption only if the LOB column is empty.

  4. The DECRYPT option can be used to remove encryption from LOB columns that are empty or contain data.


Correct Option: B,D

Which two types of query results cannot be stored in the query result cache? (Choose two.)

  1. subquery results

  2. results of a query having the SYSDATE function

  3. results of a query having the GROUP BY clause

  4. results of a query having the DATE data type in the WHERE clause


Correct Option: A,B

Identify two methods for immunizing PL/SQL code against SQL injection attacks ?

  1. Use subprograms as pasrt of packages instead of stand-alone parameters

  2. Use dynamic SQL’s constructed using concatenation of input values.

  3. Use bind arguments

  4. Usage of the NOT NULL constraint in PL/SQL code can degrade performance


Correct Option: C

Which two statements are true about REF CURSOR types?

  1. REF CURSOR types cannot be defined inside a package

  2. SYS_ REFCURSOR can be used to declare cursor variables in stored procedures and functions

  3. A REF CURSOR return type can be declared using %TYPE or %ROWTYPE or a user-defined record.

  4. Only a weak REF CURSOR type can be used as a formal parameter of a stored procedure or function.


Correct Option: B,C

Which two conditions must be true for a PL/SQL function to be cached?

  1. It must be part of a package.

  2. It must be a pipelined table function.

  3. It must not be defined in an anonymous block.

  4. It must have at least one OUT or IN OUT parameter.


Correct Option: C,D

Which one of the following Data Mining Extension (DMX) queries allows you to browse data in mining models?

    1. Insert into
    1. Create mining structure
    1. Browse data
    1. Select from
    1. Browse mining model

Correct Option: D

When is using Relational OLAP most justified?

    1. Many dimensions, large dense datasets
    1. Few dimensions, small dense datasets
    1. Few dimensions, small sparse datasets
    1. Many dimensions, small sparse datasets
    1. Many dimensions, large sparse datasets

Correct Option: B

Which one of the following is the purpose of Business Intelligence?

    1. To show current warehouse product output levels on an assembly line
    1. To track realtime sales figures
    1. To help users make better business decisions
    1. To show orders currently being processed
    1. To keep track of business contacts and leads

Correct Option: C

which one of the following forms the basis of a Dependent Data mart?

    1. Comprehensive data on operations from all departments
    1. A subset of a data warehouse
    1. Individual invoices
    1. Accounting profit and loss reports
    1. Data managed by a particular department of the company

Correct Option: B

Which data fields should be indexed in a data warehouse?

    1. Data fields that reference numeric data should be indexed.
    1. Only data fields that change over time should be indexed.
    1. Data fields that are referenced by queries should be indexed.
    1. All data fields should be indexed.
    1. Data fields that reference text and large object data should be indexed.

Correct Option: A

Which one of the following is the most dynamic kind of business data that can be implemented in a database?

    1. Data about an organization's staff
    1. Data about accounting entries
    1. Data about an organization's structure
    1. Data about an organization's products
    1. Data about transaction activity

Correct Option: E

which one of the following is NOT a function of a Data Extraction tool?

    1. Capture and store data rules.
    1. Generate programs to extract data from a source system.
    1. Store data warehouse database designs.
    1. Store the layout or design of the load files.
    1. Generate programs to transform data.

Correct Option: E

Which one of the following mechanisms allows the Data Mining Extensions (DMX) to be used for predictions?

    1. Bollenger bands
    1. Averaging
    1. Prediction joins
    1. Analytic parsing
    1. Relative strength

Correct Option: C

How is the Snowflake schema different from the star schema?

    1. Snowflake queries are faster than the star schema.
    1. Snowflake links each table to each other, while star schema links each table to a central table.
    1. Snowflake has additional tables linked to the outer tables of a star schema.
    1. Snowflake is more optimized for a data warehouse.
    1. Snowflake is less complicated than star schema.

Correct Option: C

When creating Data Mart architecture, which one of the following items do you review?

    1. Database backups
    1. Time an uncommon query will take
    1. People entering data into the source database
    1. Number of tables in the data mart, so they do not exceed six tables
    1. Requirements of the department that will use the data mart

Correct Option: E

What are the Text and Image Functions?A. PATINDEX,TEXTPTR,TEXTVALIDB. BINARY_CHECKSUM MIN ,CHECKSUM SUM ,CHECKSUM_AGG STDEV ,COUNT STDEVP ,COUNT_BIG C.BINARY_CHECKSUM MIN ,CHECKSUM SUM ,CHECKSUM_AGG STDEV ,TEXTPTR,TEXTVALID

  1. A only

  2. Both A nad B

  3. B Only

  4. Both B and C


Correct Option: A

Which is the correct query to find the Min, Max and 2nd Max in Sql server?

  1. select min(field4) as Min,Max(field4) as Max,(select Max(field4) from table1 where field4 not in(Select Min(field4) from table1)) as 2nmax from table1

  2. select min(field4) as Min,Max(field4) as Max,(select Min(field4) from table1 where field4 not in(Select Max(field4) from table1)) as 2nmax from table1

  3. select min(field4) as Min,Max(field4) as Max,(select Max(field4) from table1 where field4 not in(Select Max(field4) from table1)) as 2nmax from table1

  4. None of the Above


Correct Option: C

Instead of Cursor what can be used to perform row by row operation there by increasing performance?

  1. Corelated Subquery

  2. Index

  3. TOP()

  4. None


Correct Option: A

How many clustered and non clustered indexex exists for single table

  1. 1,10

  2. 10,10

  3. 1,249

  4. 249,1


Correct Option: C
- Hide questions