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过程。

  • 相关阅读:
    log4net配置文件详解
    Window 中杀死指定端口 cmd 命令行 taskkill
    weui获取checkbox选中值 带GIF效果演示
    动态新增行数据
    JAVA的WebService创建和使用
    Linux-20211008
    SpringBoot
    winfrom将控件保存为图片
    VB相关记录
    代码编辑说明文档
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13316414.html
Copyright © 2011-2022 走看看