更多“单选题假设需要在数据库中创建角色test_role,可以使用如下()语句。A ALTER DATABASE ROLE test_roleB CREATE ROLE test_roleC UPDATE ROLE test_roleD ALTER ROLE test_role”相关问题
  • 第1题:

    假设需要删除某个角色test_role,可以使用如下()语句。

    A.DELETE ROLE test_role

    B.REVOKE ROLE test_role

    C.DROP ROLE test_role

    D.DELETE test_role


    参考答案:C

  • 第2题:

    假设需要在数据库中创建角色test_role,可以使用如下()语句。

    A.ALTER DATABASE ROLE test_role

    B.CREATE ROLE test_role

    C.UPDATE ROLE test_role

    D.ALTER ROLE test_role


    参考答案:B

  • 第3题:

    某管理人员要使用系统维护模块的添加SYBASE用户窗口添加登录用户,则此管理人员必须具有数据库管理系统的什么角色()

    • A、oper_role角色
    • B、sa_role角色
    • C、sso_role角色
    • D、mon_role角色

    正确答案:B,C

  • 第4题:

    创建角色可以()。

    • A、使用GRANT语句
    • B、使用REVOKE语句
    • C、使用ALTER语句
    • D、使用CREATE语句

    正确答案:D

  • 第5题:

    The list below displays four steps that you need to execute in order to switch from the primary database role to the standby database role. Choose the correct order of execution for the steps.()  1. Shot down and start up the former primary instance without mounting the instance.  2. Issue the ALTER DATABASE COMMIT TO SWITCHOVER TO PHYSICAL  STANDBY command.  3. Issue the ALTER DATABASE MOUNTS STANDBY DATABASE command.  4. End read or update activity on the former primary and standby database.

    • A、1,2,3,4
    • B、3,2,4,1
    • C、4,2,1,3
    • D、4,3,2,1

    正确答案:C

  • 第6题:

    The DBA is defining role for users. Which of the following is not an acceptable method for defining a default role?()

    • A、ALTER USER DEFAULT ROLE ALL
    • B、ALTER USER DEFAULT ROLE ALL EXCEPT ROLE_1
    • C、ALTER USER DEFAULT ROLE NONE
    • D、ALTER USER DEFAULT ROLE NONE EXCEPT ROLE_1

    正确答案:D

  • 第7题:

    To allocate another role to a user, which command is most appropriate?()

    • A、ALTER USER 
    • B、ALTER DATABASE 
    • C、ALTER SYSTEM 
    • D、GRANT

    正确答案:D

  • 第8题:

    假设数据库中创建了一个用户test,状态为锁定状态,需要使用SQL语句解除锁定,可以使用如下()语句。

    • A、ALTER USER test ACCOUNT
    • B、ALTER USER test NOLOCK
    • C、ALTER USER test ACCOUNT NOLOCK
    • D、ALTER test ACCOUNT NOLOCK

    正确答案:C

  • 第9题:

    Examine these statements: CREATE ROLE registrar GRANT UPDATE ON dtudent_grades TO registrar; GRANT registrar to user1, user2, user3; What does this set of SQL statements do?()

    • A、The set of statements contains an error and does not work.
    • B、It creates a role called REGISTRAR, adds the MODIFY privilege on the STUDENT_GRADES object to the role, and gives the REGISTRAR role to three users.
    • C、It creates a role called REGISTRAR, adds the UPDATE privilege on the STUDENT_GRADES object to the role, and gives the REGISTRAR role to three users.
    • D、It creates a role called REGISTRAR, adds the UPDATE privilege on the STUDENT_GRADES object to the role, and creates three users with the role.
    • E、It creates a role called REGISTRAR, adds the UPDATE privilege on three users, and gives the REGISTRAR role to the STUDENT_GRADES object.
    • F、It creates a role called STUDENT_GRADES, adds the UPDATE privilege on three users, and gives the UPDATE role to the registrar.

    正确答案:C

  • 第10题:

    Your company has a main office and a branch office.The branch office administrators are the only members of a custom management role group.The role group is configured to allow members to manage recipients. You notice that the branch office administrators can manage recipients in both offices.You need to ensure that the branch office administrators can manage recipients in the branch office only. What should you do?()

    • A、Create and associate a management scope to the role group.
    • B、Create and associate a management role assignment policy to the role group.
    • C、Create a new linked role group, and then add the branch office administrators to the role group.
    • D、Create a new role, and then add management role entries to the role.

    正确答案:A

  • 第11题:

    单选题
    假设需要删除某个角色test_role,可以使用如下()语句。
    A

    DELETE ROLE test_role

    B

    REVOKE ROLE test_role

    C

    DROP ROLE test_role

    D

    DELETE test_role


    正确答案: C
    解析: 暂无解析

  • 第12题:

    单选题
    假设需要在数据库中创建角色test_role,可以使用如下()语句。
    A

    ALTER DATABASE ROLE test_role

    B

    CREATE ROLE test_role

    C

    UPDATE ROLE test_role

    D

    ALTER ROLE test_role


    正确答案: A
    解析: 暂无解析

  • 第13题:

    假设在数据库中已经创建了某个用户test,需要将其口令修改为oracle,可以使用如下()语句。

    A.ALTER USER test IDENTIFIED BY oracle

    B.ALTER USER test PASSWORD oracle

    C.CREATE USER test IDENTIFIED BY oracle

    D.UPDATE USER test IDENTIFIED BY oracle


    参考答案:A

  • 第14题:

    假设数据库中创建了一个用户test,状态为锁定状态,需要使用SQL语句解除锁定,可以使用如下()语句。

    A.ALTER USER test ACCOUNT

    B.ALTER USER test NOLOCK

    C.ALTER USER test ACCOUNT NOLOCK

    D.ALTER test ACCOUNT NOLOCK


    参考答案:C

  • 第15题:

    用来为一个用户分配概要文件的命令是()。

    • A、ALTER PROFILE
    • B、ALTER USER
    • C、SET PROFILE
    • D、ALTER ROLE

    正确答案:B

  • 第16题:

    You want to create a role to meet these requirements:  1:The role is to be protected from unauthorized usage.  2:The password of the role is not to be embedded in the application source code or stored in a table.  Which method would you use to restrict enabling of such roles()

    • A、Create the role with global authentication.
    • B、Create the role with external authentication.
    • C、Create the role as a secure application role.
    • D、Create the role as a password-protected role.
    • E、Create a role and use Fine-Grained Access Control (FGAC) to secure the role.

    正确答案:C

  • 第17题:

    假设需要在数据库中创建角色test_role,可以使用如下()语句。

    • A、ALTER DATABASE ROLE test_role
    • B、CREATE ROLE test_role
    • C、UPDATE ROLE test_role
    • D、ALTER ROLE test_role

    正确答案:B

  • 第18题:

    假设需要删除某个角色test_role,可以使用如下()语句。

    • A、DELETE ROLE test_role
    • B、REVOKE ROLE test_role
    • C、DROP ROLE test_role
    • D、DELETE test_role

    正确答案:C

  • 第19题:

    You want to create a role to meet these requirements: 1. The role is to be protected from unauthorized usage. 2. The password of the role is not to be embedded in the application source code or stored in a table. method would you use to restrict enabling of such roles()

    • A、Create the role with external authentication.
    • B、Create the role as a secure application role.
    • C、Create the role as a password-protected role.
    • D、Create a role and use Fine-Grained Access Control (FGAC) to secure the role

    正确答案:B

  • 第20题:

    You have been asked to create three users, PUB1, PUB2 and PUB3, for three newly hired employees and to allocate unlimited quota on their default tablespace PUBLISHER_TBS with no other privileges. After creating the users, which method can you use for granting the required privileges?()

    • A、grant CONNECT role to all of the three users
    • B、grant RESOURCE role to all of the three users
    • C、grant both CONNECT and RESOURCE role to all of the three users
    • D、execute ALTER USER .. QUOTA UNLIMITED ON publisher_tbs command for all of the three users
    • E、create role with UNLIMITED TABLESPACE system privilege and assign the role to all of the three users

    正确答案:D

  • 第21题:

    假设在数据库中已经创建了某个用户test,需要将其口令修改为oracle,可以使用如下()语句。

    • A、ALTER USER test IDENTIFIED BY oracle
    • B、ALTER USER test PASSWORD oracle
    • C、CREATE USER test IDENTIFIED BY oracle
    • D、UPDATE USER test IDENTIFIED BY oracle

    正确答案:A

  • 第22题:

    单选题
    The list below displays four steps that you need to execute in order to switch from the primary database role to the standby database role. Choose the correct order of execution for the steps.()  1. Shot down and start up the former primary instance without mounting the instance.  2. Issue the ALTER DATABASE COMMIT TO SWITCHOVER TO PHYSICAL  STANDBY command.  3. Issue the ALTER DATABASE MOUNTS STANDBY DATABASE command.  4. End read or update activity on the former primary and standby database.
    A

    1,2,3,4

    B

    3,2,4,1

    C

    4,2,1,3

    D

    4,3,2,1


    正确答案: B
    解析: 暂无解析

  • 第23题:

    单选题
    Examine these statements: CREATE ROLE registrar GRANT UPDATE ON dtudent_grades TO registrar; GRANT registrar to user1, user2, user3; What does this set of SQL statements do? ()
    A

    The set of statements contains an error and does not work.

    B

    It creates a role called REGISTRAR, adds the MODIFY privilege on the STUDENT_GRADES object to the role, and gives the REGISTRAR role to three users.

    C

    It creates a role called REGISTRAR, adds the UPDATE privilege on the STUDENT_GRADES object to the role, and gives the REGISTRAR role to three users.

    D

    It creates a role called REGISTRAR, adds the UPDATE privilege on the STUDENT_GRADES object to the role, and creates three users with the role.

    E

    It creates a role called REGISTRAR, adds the UPDATE privilege on three users, and gives the REGISTRAR role to the STUDENT_GRADES object.

    F

    It creates a role called STUDENT_GRADES, adds the UPDATE privilege on three users, and gives the UPDATE role to the registrar.


    正确答案: B
    解析: 暂无解析

  • 第24题:

    单选题
    You have been asked to create three users, PUB1, PUB2 and PUB3, for three newly hired employees and to allocate unlimited quota on their default tablespace PUBLISHER_TBS with no other privileges. After creating the users, which method can you use for granting the required privileges?()
    A

    grant CONNECT role to all of the three users

    B

    grant RESOURCE role to all of the three users

    C

    grant both CONNECT and RESOURCE role to all of the three users

    D

    execute ALTER USER .. QUOTA UNLIMITED ON publisher_tbs command for all of the three users

    E

    create role with UNLIMITED TABLESPACE system privilege and assign the role to all of the three users


    正确答案: C
    解析: 暂无解析