zoukankan      html  css  js  c++  java
  • OCP-1Z0-053-V12.02-483题

    483.Evaluate the following block of code:

    BEGIN DBMS_NETWORK_ACL_ADMIN.CREATE_ACL ( acl =>

    'mycompany-com-permissions.xml', principal => 'ACCT_MGR', is_grant => TRUE, privilege => 'connect');

    DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL ( acl => 'mycompany-com-permissions.xml', host =>

    '*.mycompany.com');

    END;

    What is the outcome of the above code?

    A. It produces an error because a fully qualified host name needs to be specified.

    B. It produces an error because the range of ports associated with the hosts has not been specified.

    C. It creates an access control list (ACL) with the user ACCT_MGR who gets the CONNECT and RESOLVE privileges.

    D. It creates an access control list (ACL) with the user ACCT_MGR who gets the CONNECT privilege but

    not the RESOLVE privilege.

    Answer: C

    答案解析:

    参考:http://blog.csdn.net/rlhua/article/details/15029727

    创建访问控制列表(ACL)。ACL 是在XML 文件中保存的用户和权限的列表。以acl参数命名的XML 文档与XML DB中的/sys/acl/文件夹相关。在题中例中,ACCT_MGR被授予connect权限。ACL 中的用户名区分大小写,而且必须与会话的用户名相匹配。只有resolve和connect权限,connect权限包含resolve权限。可选参数可以指定这些权限的开始和结束时间戳。要将更多用户和权限添加到此ACL 中,可使用ADD_PRIVILEGE过程。

  • 相关阅读:
    什么叫套接字
    浅谈labviEW定时器
    C#线程篇---Task(任务)和线程池不得不说的秘密
    async与await详解
    异步编程与多线程的联系与区别
    什么是Task
    MVC模式的介绍(C#)
    Git指令
    Redis安装部署、Jedis的使用
    Oracle——序列、索引、同义词
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13316414.html
Copyright © 2011-2022 走看看