Download PostgreSQL CE 8 Silver.PGCES-02.Pass4Success.2025-10-29.50q.vcex

Vendor: PostgreSQL
Exam Code: PGCES-02
Exam Name: PostgreSQL CE 8 Silver
Date: Oct 29, 2025
File Size: 31 KB

How to open VCEX files?

Files with VCEX extension can be opened by ProfExam Simulator.

Demo Questions

Question 1
The "animal" table consists of the following data: Select the correct result returned by executing the following SQL statement: SELECT name FROM animal ORDER BY weight DESC LIMIT 2 OFFSET 1;
  1. A syntax error will occur. 
Correct answer: A, D
Question 2
A pg_hba.conf file is set up as follows. local all all md5 host all all 127.0.0.1/32 md5 host all all 172.16.1.0/24 md5 When user foo connects to database bar from host IP address 172.16.1.2, I would like password verification to not be performed. Select one appropriate line for the new pg_hba.conf file.
  1. Add 'host foo bar 172.16.1.2/32 trust' to the first row. 
  2. Add 'host bar foo 172.16.1.2/32 trust' to the first row. 
  3. Add 'host foo bar 172.16.1.2/32 trust' to the last row. 
  4. Add 'host bar foo 172.16.1.2/32 trust' to the last row. 
  5. The settings are fine as is. 
Correct answer: B
Question 3
The table "foo" is defined as follows: CREATE TABLE foo (bar
TEXT); Next, four SQL statements were executed in the following order. INSERT INTO foo VALUES ('bar'); -------- (1)
ALTER TABLE foo ADD COLUMN c1 TEXT; ---- (2) ALTER
TABLE foo ADD UNIQUE (c1); ------- (3) ALTER TABLE foo
DROP COLUMN bar; ------- (4) Select the correct statement from those below.
  1. An error occurs when executing the (1) SQL statement. 
  2. An error occurs when executing the (2) SQL statement. 
  3. An error occurs when executing the (3) SQL statement. 
  4. An error occurs when executing the (4) SQL statement. 
  5. No error is generated. 
Correct answer: E
Question 4
A sequence has the following definition: CREATE SEQUENCE seq1 CACHE 10 CYCLE; Select the value that is returned by executing the following SQL. SELECT nextval('seq1');
  1. 10 
  2. 11 
  3. -10 
Correct answer: A, C
Question 5
A set of tables are defined as follows: t1 t2 How many rows are returned by executing the following SQL statement? SELECT * FROM t1 LEFT OUTER JOIN t2 USING (id);
  1. 2 rows 
  2. 3 rows 
  3. 4 rows 
  4. 5 rows 
  5. 6 rows 
Correct answer: A, E
Question 6
The table "custom" is defined below. The "id" column and "introducer" column are of
INTEGER type, and the "email" column is of TEXT type.
id | email | introducer ---- +-----------------+-----------2 |
Three SQL statements were executed in the following order:
INSERT INTO custom SELECT max(id) + 1, '[email protected]', 4
FROM custom; UPDATE custom SET introducer = 999 WHERE email = '[email protected]'; DELETE FROM custom WHERE introducer NOT IN (SELECT id FROM custom); Select the number of rows in the "custom" table after the execution.
  1. 0 rows 
  2. 1 row 
  3. 2 rows 
  4. 3 rows 
  5. 4 rows 
Correct answer: C
Question 7
The present time is noon of July 7th, 2007, and the result of the following SQL sentence was '2007-07-17 12:00:00'. Select the correct expression to fill in the blank below. SELECT CURRENT_TIMESTAMP::timestamp + ________________ ;
  1. '10 day'::timestamp 
  2. '10 day'::interval 
  3. 10::day 
  4. 8640000::time 
  5. age(8640000) 
Correct answer: A
Question 8
Select two incorrect statements concerning PostgreSQL license.
  1. It can be used freely. 
  2. It can be duplicated freely. 
  3. It can be freely redistributed. 
  4. Developers are responsible for its maintenance support. 
  5. Developers are only responsible for handling its crucial faults. 
Correct answer: A
Question 9
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.
  1. CREATE INDEX t1_idx ON t1 (id, upper(name)); 
  2. CREATE INDEX t1_idx ON t1 USING HASH (id); 
  3. CREATE INDEX t1_idx ON t1 (name); 
  4. ALTER TABLE ADD INDEX ON t1 (id, upper(name)); 
  5. ALTER TABLE ADD INDEX ON t1 (id, name); 
Correct answer: A
Question 10
Select two SQL statements which abort a transaction.
  1. END 
  2. ROLLBACK 
  3. TRUNCATE 
  4. ABORT 
  5. DROP TRANSTACTION 
Correct answer: B, D
Question 11
Select two suitable statements regarding a postmaster process.
  1. A postmaster process waits for client connection requests. 
  2. A postmaster process receives and processes database queries. 
  3. A postmaster process creates a child process which processes the given queries. 
  4. A postmaster process collects statistical information. 
  5. A postmaster process is created for each client connection. 
Correct answer: A, C
HOW TO OPEN VCE FILES

Use VCE Exam Simulator to open VCE files
Avanaset

HOW TO OPEN VCEX FILES

Use ProfExam Simulator to open VCEX files
ProfExam Screen

ProfExam
ProfExam at a 20% markdown

You have the opportunity to purchase ProfExam at a 20% reduced price

Get Now!