Postgresql PGCES-02 Exam
PGCES-02 PostgreSQL CE 8 Silver (Page 2 )

Updated On: 7-Feb-2026

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



Select two suitable statements regarding the data types of PostgreSQL.

  1. One field can handle up to 1GB of data.
  2. 'n' in CHARACTER(n) represents the number of bytes.
  3. Only the INTEGER type can be declared as an array.
  4. There is a non-standard PostgreSQL data type, called Geometric data type, which handles 2-dimensional data.
  5. A large object data type can be used to store data of unlimited size.

Answer(s): A,D



Viewing page 2 of 30
Viewing questions 6 - 10 out of 142 questions



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

Join the PGCES-02 Discussion