单选题The SAVE_AMT column in the ACCOUNTS table contains the balance details of customers in a bank. As part of the year-end tax and interest calculation process, all the rows in the table need to be accessed. The bank authorities want to track access to the

题目
单选题
The SAVE_AMT column in the ACCOUNTS table contains the balance details of customers in a bank. As part of the year-end tax and interest calculation process, all the rows in the table need to be accessed. The bank authorities want to track access to the rows containing balance amounts exceeding $200,000, and then send an alert message to the administrator. Which method would you suggest to the bank for achieving this task?()
A

implementing value-based auditing by using triggers

B

implementing fine-grained auditing with audit condition and event handler

C

performing standard database auditing to audit object privileges by setting the AUDIT_TRAIL parameter to EXTENDED

D

performing standard database auditing to audit SQL statements with granularity level set to ACCESS

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You are planning to import customer data from the Customer table and the Country table in your SQL Server 2000 database into a SQL Server 2005 database. You want to ensure that during the import process,each value in the CountryCode column of the Customer table has a corresponding record in the CountryCode column in the Country table of the SQL Server 2005 database. You define a foreign key between these two tables. Thus,referential integrity will guarantee that the import routine fails if there are any records where a CountryCode value does not exist in the Country table but does exist in the Customer table. You need to ensure that the import process does not fail if records are encountered that do not exist in the Country table. What should you do?()

  • A、Drop the foreign key. Import the data by using the script. Re-create the foreign key.
  • B、Create a CHECK constraint.
  • C、Create a DML INSTEAD OF trigger that writes the failed records to a file or table.
  • D、Create a DML AFTER trigger that writes the failed records to a file or table.

正确答案:C

第2题:

A warehouse fact table in your Oracle 12c Database is range-partitioned by month and accessed frequently with queries that span multiple partitions The table has a local prefixed, range partitioned index. Some of these queries access very few rows in some partitions and all the rows in other partitions, but these queries still perform a full scan for all accessed partitions. This commonly occurs when the range of dates begins at the end of a month or ends close to the start of a month. You want an execution plan to be generated that uses indexed access when only a few rows are accessed from a segment, while still allowing full scans for segments where many rows are returned. Which three methods could transparently help to achieve this result?()

  • A、Using a partial local Index on the warehouse fact table month column with indexing disabled to the table partitions that return most of their rows to the queries.
  • B、Using a partial local Index on the warehouse fact table month column with indexing disabled for the table partitions that return a few rows to the queries.
  • C、Using a partitioned view that does a UNION ALL query on the partitions of the warehouse fact table, which retains the existing local partitioned column.
  • D、Converting the partitioned table to a partitioned view that does a UNION ALL query on the monthly tables, which retains the existing local partitioned column
  • E、Using a partial global index on the warehouse fact table month column with indexing disabling for the table partitions that return most of their rows to the queries.
  • F、Using a partial global index on the warehouse fact table month column with indexing disabled for the table partitions that return a few rows to the queries.

正确答案:B,C,F

第3题:

The EMPLOYEES table has these columns:Management wants to add a default value to the SALARY column. You plan to alter the table by using this SQL statement:What is true about your ALTER statement?()

A. Column definitions cannot be altered to add DEFAULT values.

B. A change to the DEFAULT value affects only subsequent insertions to the table.

C. Column definitions cannot be altered at add DEFAULT values for columns with a NUMBER data type.

D. All the rows that have a NULL value for the SALARY column will be updated with the value 5000.


参考答案:B

第4题:

You need to change the definition of an existing table. The COMMERCIALS table needs its DESCRIPTION column changed to hold varying length characters up to 2000 bytes. The column can currently hold 1000 bytes per value. The table contains 20000 rows. Which statement is valid?()

  • A、ALTER TABLE commercials MODIFY (description CHAR2(2000));
  • B、ALTER TABLE commercials CHANGE (description CHAR2(2000));
  • C、ALTER TABLE commercials CHANGE (description VARCHAR2 (2000));
  • D、ALTER TABLE commercials MODIFY (description VARCHAR2 (2000));
  • E、You cannot increase the size of a column if the table has rows.

正确答案:D

第5题:

Which two operations can be performed on an external table()

  • A、Create a view on the table.
  • B、Create an index on the table.
  • C、Create a synonym on the table.
  • D、Add a virtual column to the table.
  • E、Update the table using the UPDATE statement.
  • F、Delete rows in the table using the DELETE command.

正确答案:A,C

第6题:

Which statement is true about a routing table?()

  • A、It contains routes learned dynamically only.
  • B、It finds the best path to each destination by using a modified shortest-path-first calculation.
  • C、It contains only active BGP routes.
  • D、It contains all accepted routes to all destinations.

正确答案:D

第7题:

The ST_INFO master table has millions of rows that are updated very rarely. It has a STATE_CODE column that contains the value for 25 states. The table is frequently queried on the STATE_CODE column. Which type of index would you suggest to improve the query performance?()

  • A、B-tree
  • B、bitmap
  • C、reverse key
  • D、function based

正确答案:B

第8题:

Which statement is true about a routing table?()

A. It contains routes learned dynamically only.

B. It finds the best path to each destination by using a modified shortest-path-first calculation.

C. It contains only active BGP routes.

D. It contains all accepted routes to all destinations.


参考答案:D

第9题:

The SAVE_AMT column in the ACCOUNTS table contains the balance details of customers in a bank. As part of the year/x7fend tax and interest calculation process, all the rows in the table need to be accessed. The bank authorities want to track access to the rows containing balance amounts exceeding $200,000, and then send an alert message to the administrator.  Which method would you suggest to the bank for achieving this task?()

  • A、implementing value­based auditing by using triggers
  • B、implementing fine­grained auditing with audit condition and event handler
  • C、performing standard database auditing to audit object privileges by setting the AUDIT_TRAIL parameter to EXTENDED
  • D、performing standard database auditing to audit SQL statements with granularity level set to ACCESS

正确答案:B

第10题:

You create a table in your database that contains 50,000 rows approximately. The queries performed on the table are complex and performed on the table frequently. Which advisor helps you achieve the best performance of database for queries by recommending the appropriate indexes?()  

  • A、SQL Access Advisor
  • B、 Memory Advisor
  • C、SQL Tuning Advisor
  • D、 Segment Advisor

正确答案:A

更多相关问题