Free PGCES-02 Braindumps


  • Exam Number: PGCES-02
  • Provider: Postgresql
  • Questions: 142
  • Updated On: 15-Oct-2018

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

A. It is defining a trigger "trigger_1".
B. Every time 'UPDATE' is executed on the "sales" table, the "write_log" function is called once.
C. The "write_log" function is called before 'UPDATE' takes place.
D. 'UPDATE' is not executed if "write_log" returns NULL.
E. 'DROP TRIGGER trigger_1 ON sales;' deletes the defined trigger.

Answer(s): A, E
QUESTION: 2
Select two transaction isolation levels supported in PostgreSQL.

A. DIRTY READ
B. READ COMMITTED
C. REPEATABLE READ
D. PHANTOM READ
E. SERIALIZABLE

Answer(s): B, E
QUESTION: 3
PostgreSQL can use an index to access a table. Select two incorrect statements about indexes.

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

Answer(s): D, E
QUESTION: 4
Select two incorrect statements regarding 'DOMAIN'.

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

Answer(s): B, E
QUESTION: 5

Get The Premium Version

Allbraindumps.com
 Test Questions PDF from Myitguides.com

 Test Questions PDF from Myitguides.com