Free PGCES-02 Exam Braindumps (page: 12)

Page 11 of 36

Choose the most suitable statement about user management of PostgreSQL.
Note: the version of PostgreSQL is 8.0.

  1. Usernames not registered in the operating system cannot be registered as PostgreSQL
    users.
  2. To create a new user for PostgreSQL, the "newuser" command is used.
  3. PostgreSQL cannot be in a state where multiple users exist at the same time.
  4. If you create a user that has permission to create other users, that user will become a
    superuser that is not subject to any access restriction checks.
  5. To delete an existing user for PostgreSQL, "deleteuser" command is used.

Answer(s): D



I would like to enable all users to SELECT the "item" table.
Select the most appropriate SQL statement from below.

  1. GRANT public SELECT ON item;
  2. GRANT SELECT ON item TO public;
  3. REVOKE 'r' ON item TO public;
  4. REVOKE READ ON item TO public;
  5. REVOKE public SELECT ON item;

Answer(s): B



Configuration file pg_hda.conf is set as below on a host currently running PostgreSQL.
local all all trust
host all all 192.168.1.0/24 reject
host all all 192.168.0.0/16 trust
Select a host IP address which is authorized to connect to this database via the network. Note: INET domain socket communication is available.

  1. 127.0.0.1
  2. 192.168.1.1
  3. 192.168.0.1
  4. 192.168.1.0
  5. None can be connected.

Answer(s): C



Select one correct command to shutdown the postmaster AFTER all the clients have disconnected.

  1. pg_ctl stop
  2. pg_ctl -m fast stop
  3. pg_ctl -m immediate stop
  4. pg_ctl -m wait stop
  5. pg_ctl -s stop

Answer(s): A






Post your Comments and Discuss Postgresql PGCES-02 exam with other Community members:

PGCES-02 Discussions & Posts