053 第500题

500.You opened the encryption wallet and then issued the following command:

SQL>CREATE TABLESPACE securespace

DATAFILE ‘/home/user/oradata/secure01.dbf‘

SIZE 150M

ENCRYPTION USING ‘3DES168‘

DEFAULT STORAGE(ENCRYPT);

Then you closed the wallet. Later, you issued the following command to create the EMPLOYEES table in

the SECURESPACE tablespace and you use the NO SALT option for the EMPID column.

What is the outcome?

A. It creates the table and encrypts the data in it.

B. It generates an error because the wallet is closed.

C. It creates the table but does not encrypt the data in it.

D. It generates an error because the NO SALT option cannot be used with the ENCRYPT option.

Answer: B

Use this clause to specify the encryption properties of the tablespace. This clause does not actually encrypt the tablespace.
You must also specify theENCRYPT keyword
as part of the DEFAULT storage_clause in
this statement in order for the tablespace to be encrypted. In addition, you must already have used ALTER SYSTEM SET ENCRYPTION WALLET OPEN IDENTIFIED BY ...
to load the TDE master key into database memory for the duration of the instance, or establish a connection to the HSM to send the encrypted table and tablespace keys to the HSM and receive them back decrypted.

SALT | NO SALT Specify SALT to
instruct the database to append a random string, called "salt," to the clear text of the column before encrypting it. This is the default.

Specify NO SALT to
prevent the database from appending salt to the clear text of the column before encrypting it.

The following considerations apply when specifying SALT or NO SALT for
encrypted columns:

  • If you want to use the column as an index key, then you must specify NO SALT.
    Refer to Oracle
    Database Advanced Security Administrator‘s Guide
     for a description of "salt" in this context.
  • If you specify table compression for the table, then the database does not compress the data in encrypted columns with SALT.

You cannot specify SALT or NO SALT for
LOB encryption.

实验

SQL> CREATE TABLESPACE securespace

2  datafile ‘E:\oradata\test\secures01.dbf‘

3  SIZE 150M

4  ENCRYPTION USING ‘3DES168‘

5  DEFAULT STORAGE(ENCRYPT);

CREATE TABLESPACE securespace

*

第 1 行出现错误:

ORA-28365: Wallet 未打开

时间: 2024-11-09 05:11:03

053 第500题的相关文章

经典图论500题

1 =============================以下是最小生成树+并查集====================================== 2 [HDU] 3 *1213 How Many Tables 基础并查集★ 4 *1272 小希的迷宫 基础并查集★ 5 *1325&&poj1308 Is It A Tree? 基础并查集★ 6 *1856 More is better 基础并查集★ 7 *1102 Constructing Roads 基础最小生成树★ 8

逻辑思维500题之计算法

第二章 计算法 本文转载于http://blog.csdn.net/x_iya/article/details/8907978#t0 计算时间,可以得出生命:计算贡献,可以得出价值.计算可以说充满着人的整个世界,人的每时每刻都需要用到计算.一个人如果可以加强自己的计算思维,那么他的人生将是慎密而精彩的. 初级题: 29.如何分酒? 一个人晚上出去打了10斤酒,回家的路上碰到了一个朋友,恰巧这个朋友也是去打酒的.不过,酒家已经没有多余的酒了,且此时天色已晚,别的酒家也都已经打烊了,朋友看起来十分着

图论 500题——主要为hdu/poj/zoj

转自——http://blog.csdn.net/qwe20060514/article/details/8112550 =============================以下是最小生成树+并查集======================================[HDU]1213   How Many Tables   基础并查集★1272   小希的迷宫   基础并查集★1325&&poj1308  Is It A Tree?   基础并查集★1856   More i

图论精炼500题

忘了从哪转的了... =============================以下是最小生成树+并查集====================================== [HDU] 1213               How Many Tables                    基础并查集★ 1272               小希的迷宫                     基础并查集★ 1325&&poj1308    Is It A Tree?       

图论500题

=============================以下是最小生成树+并查集====================================== [HDU] 1213   How Many Tables   基础并查集★ 1272   小希的迷宫   基础并查集★ 1325&&poj1308  Is It A Tree?   基础并查集★ 1856   More is better   基础并查集★ 1102   Constructing Roads  基础最小生成树★ 12

053第383题

383.At the request of a user, you issue the following command to restore a dropped table: flashback table "BIN$F2JFfMq8Q5unbC0ceE9eJg==$0" to before drop; Later, the user notifies you that the data in the table seems to be very old and out of da

[转载]图论500题

=============================以下是最小生成树+并查集====================================== [HDU] 1213   How Many Tables   基础并查集★ 1272   小希的迷宫   基础并查集★ 1325&&poj1308  Is It A Tree?   基础并查集★ 1856   More is better   基础并查集★ 1102   Constructing Roads  基础最小生成树★ 12

053第246题

246.The OPTIMIZER_USE_PLAN_BASELINES parameter is set to TRUE. The optimizer generates a plan for a SQL statement but does not find a matching plan in the SQL plan baseline. Which two operations are performed by the optimizer in this scenario? (Choos

053第256题

256.Sales details are being stored on a daily basis in the SALES_2007 table. A large amount of data is added to the table daily. To save disk space, you issued the following command: ALTER TABLE sales_2007 COMPRESS FOR ALL OPERATIONS; What would be t