Free PGCES-02 Exam Braindumps (page: 1)

Page 1 of 36

Select two suitable statements regarding the following SQL statement:
CREATE TRIGGER trigger_1 AFTER UPDATE ON sales FOR EACH ROW EXECUTE PROCEDURE write_log();

  1. It is defining a trigger "trigger_1".
  2. Every time 'UPDATE' is executed on the "sales" table, the "write_log" function is called once.
  3. The "write_log" function is called before 'UPDATE' takes place.
  4. 'UPDATE' is not executed if "write_log" returns NULL.
  5. 'DROP TRIGGER trigger_1 ON sales;' deletes the defined trigger.

Answer(s): A,E



Select two transaction isolation levels supported in PostgreSQL.

  1. DIRTY READ
  2. READ COMMITTED
  3. REPEATABLE READ
  4. PHANTOM READ
  5. SERIALIZABLE

Answer(s): B,E



PostgreSQL can use an index to access a table. Select two incorrect statements about indexes.

  1. An index is created by 'CREATE INDEX', and deleted by 'DROP INDEX'.
  2. By using an index effectively, searching and sorting performs faster.
  3. There are B-tree, Hash, R-tree and GiST index types.
  4. By creating an index, performance always improves.
  5. Creating an unused index does not affect the performance of a database at all.

Answer(s): D,E



Select two incorrect statements regarding 'DOMAIN'.

  1. When defining a domain, you can add a default value and constraints to the original data.
  2. Domain is a namespace existing between databases and objects such as tables.
  3. A domain is created by 'CREATE DOMAIN'.
  4. A domain can be used as a column type when defining a table.
  5. To define a domain, both input and output functions are required.

Answer(s): B,E



Page 1 of 36



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

Gabe commented on January 02, 2020
easy check out
UNITED STATES
upvote