Official Bank 0/281

PostgreSQL CE 8 Silver (PGCES-02) - Post SQL Actual Exam Questions

Last updated on May 01, 2026

97% Exam Compliance
281 Total Questions
1
Question

The following question concerns the use of multibyte characters in PostgreSQL. Select two correct items about character encoding in PostgreSQL.

Select 2
Options
A

"./configure --enable-multibyte" must be designated at time of build.

B

When the database cluster is initialized, the or --multibyte option must be specified.

C

Character encoding can be set on a per database basis.

D

Only a single character encoding can be specified for each database cluster.

E

Different character encodings can be specified for server and clients.

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question

The table "t1" is defined by the following SQL statement: CREATE TABLE t1 (id integer, name varchar(20)); You want to increase the execution speed of the SQL statement below: SELECT id, name FROM t1 WHERE id < 123 AND upper(name) = 'MAMMOTH'; Select the most suitable SQL statement to create an index.

Options
A

CREATE INDEX t1_idx ON t1 (id, upper(name));

B

CREATE INDEX t1_idx ON t1 USING HASH (id);

C

CREATE INDEX t1_idx ON t1 (name);

D

ALTER TABLE ADD INDEX ON t1 (id, upper(name));

E

ALTER TABLE ADD INDEX ON t1 (id, name);

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question

I would like to check the privileges on the "items" table in psql. Select the most appropriate command.

Options
A

\a items

B

\d items

C

\t items

D

\p items

E

\z items

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question

Select one incorrect statement concerning changes from PostgreSQL version 7.4 to 8.0.

Options
A

SAVEPOINT function was added.

B

Point-In-Time Recovery function was added.

C

The shared buffer control algorithm was improved.

D

Two-phase commit function was added.

E

CSV mode was added to the copy command.

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question

The following SQL defines an INSERT with respect to item_view. Select the keyword that is applicable in the underlined blank. CREATE _______ foo AS ON INSERT TO item_view DO INSTEAD INSERT INTO item_table VALUES (NEW.id, NEW.itemname);

Options
A

RULE

B

VIEW

C

TRIGGER

D

FUNCTION

E

CONSTRAINT

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

Finish Practice?

Are you sure you want to finish? This will end your practice session.