2013年10月31日星期四

Latest PostgreSQL-CE PGCES-02 of exam practice questions and answers

Many people think that passing some difficult IT certification exams needs to be proficient in much of IT expertise and only these IT personnels who grasp the comprehensive IT knowledge would be able to enroll in the exam. In fact, there are many ways to help you make up for your lack of knowledge, and pass the IT certification exams in the same. Perhaps you would spend less time and effort than the people who grasp fairly comprehensive expertise. The saying goes, all roads lead to Rome.

ITCertKing senior experts have developed exercises and answers about PostgreSQL-CE certification PGCES-02 exam with their knowledge and experience, which have 95% similarity with the real exam. I believe that you will be very confident of our products. If you choose to use ITCertKing's products, ITCertKing can help you 100% pass your first time to attend PostgreSQL-CE certification PGCES-02 exam. If you fail the exam, we will give a full refund to you.

Why we are ahead of the other sites in the IT training industry? Because the information we provide have a wider coverage, higher quality, and the accuracy is also higher. So ITCertKing is not only the best choice for you to participate in the PostgreSQL-CE certification PGCES-02 exam, but also the best protection for your success.

If you choose ITCertKing, success is not far away for you. And soon you can get PostgreSQL-CE certification PGCES-02 exam certificate. The product of ITCertKing not only can 100% guarantee you to pass the exam, but also can provide you a free one-year update service.

Exam Code: PGCES-02
Exam Name: PostgreSQL-CE (PostgreSQL CE 8 Silver)
One year free update, No help, Full refund!
Total Q&A: 145 Questions and Answers
Last Update: 2013-10-31

God wants me to be a person who have strength, rather than a good-looking doll. When I chose the IT industry I have proven to God my strength. But God forced me to keep moving. PostgreSQL-CE PGCES-02 exam is a major challenge in my life, so I am desperately trying to learn. But it does not matter, because I purchased ITCertKing's PostgreSQL-CE PGCES-02 exam training materials. With it, I can pass the PostgreSQL-CE PGCES-02 exam easily. Road is under our feet, only you can decide its direction. To choose ITCertKing's PostgreSQL-CE PGCES-02 exam training materials, and it is equivalent to have a better future.

Choosing to participate in PostgreSQL-CE certification PGCES-02 exam is a wise choice, because if you have a PostgreSQL-CE PGCES-02 authentication certificate, your salary and job position will be improved quickly and then your living standard will provide at the same time. But passing PostgreSQL-CE certification PGCES-02 exam is not very easy, it need to spend a lot of time and energy to master relevant IT professional knowledge. ITCertKing is a professional IT training website to make the training scheme for PostgreSQL-CE certification PGCES-02 exam. At first you can free download part of exercises questions and answers about PostgreSQL-CE certification PGCES-02 exam on www.ITCertKing.com as a try, so that you can check the reliability of our product. Generally, if you have tried ITCertKing's products, you'll very confident of our products.

PGCES-02 Free Demo Download: http://www.itcertking.com/Pgces-02_exam.html

NO.1 Four SQL statements were executed in the following order. CREATE TABLE foo (bar INT); ALTER
TABLE foo ALTER bar TYPE BIGINT; ALTER TABLE foo ADD baz VARCHAR(5); ALTER TABLE foo
DROP bar; Select two SQL statements that generate an error when executed.
A.INSERT INTO foo VALUES ('12345');
B.INSERT INTO foo VALUES ('5000000000');
C.INSERT INTO foo VALUES ('ABC');
D.INSERT INTO foo VALUES (2000000000);
E.INSERT INTO foo VALUES (NULL);
Answer:B D

PostgreSQL-CE   PGCES-02   PGCES-02 certification   PGCES-02 study guide

NO.2 Table "t1" is defined below. Table "t1" has a column "id" of type INTEGER, and a column "name" of
type TEXT. t1: The following SQL is executed while client "A" is connected. BEGIN; SELECT * FROM t1
WHERE id = 2 FOR UPDATE; SELECT * FROM t1 WHERE id = 1 FOR UPDATE; -- (*) While the second
'SELECT' statement, shown with (*), is being executed, a separate client "B" connects and executes the
following SQL. Select the correct statement about the execution results. UPDATE t1 SET name = 'turtle'
WHERE id = 2; Note: the default transaction isolation level is set to "read committed".
A.The update process for client "B" is blocked until the current connection for client "A" is finished.
B.The update process for client "B" is blocked until the current transaction for client "A" is finished.
C.The 'UPDATE' process for client "B" proceeds regardless of the condition of client "A".
D.The process of client "B" immediately generates an error.
E.The processes for both clients are blocked, and an error stating that a deadlock has been detected is
generated.
Answer:B

PostgreSQL-CE test questions   PGCES-02 practice test   PGCES-02   PGCES-02

NO.3 Select an incorrect statement regarding the following SQL statement. Note that "user_view" is a view.
CREATE OR REPLACE RULE rule_1 AS ON UPDATE TO user_view DO INSTEAD NOTHING;
A.It is defining a rule "rule_1".
B.It will replace "rule_1" if it already exists.
C.Executing 'UPDATE user_view' will no longer output errors.
D.When executing 'UPDATE user_view', data is updated in the table that is the origin of the view.
E.'DROP RULE rule_1 ON user_view' deletes the above definition.
Answer:D

PostgreSQL-CE test   PGCES-02   PGCES-02 exam dumps

NO.4 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 |
aaa@example.com | 1 3 | bbb@example.com | 2 4 | ccc@example.com | 2 Three SQL statements were
executed in the following order: INSERT INTO custom SELECT max(id) 1, 'ddd@example.com', 4 FROM
custom; UPDATE custom SET introducer = 999 WHERE email = 'bbb@example.com'; DELETE FROM
custom WHERE introducer NOT IN (SELECT id FROM custom); Select the number of rows in the
"custom" table after the execution.
A.0 rows
B.1 row
C.2 rows
D.3 rows
E.4 rows
Answer:C

PostgreSQL-CE   PGCES-02   PGCES-02 braindump

NO.5 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:B E

PostgreSQL-CE   PGCES-02   PGCES-02

NO.6 Select two suitable statements regarding the data types of PostgreSQL.
A.One field can handle up to 1GB of data.
B.'n' in CHARACTER(n) represents the number of bytes.
C.Only the INTEGER type can be declared as an array.
D.There is a non-standard PostgreSQL data type, called Geometric data type, which handles
2-dimensional data.
E.A large object data type can be used to store data of unlimited size.
Answer:A D

PostgreSQL-CE   PGCES-02   PGCES-02 pdf   PGCES-02 pdf   PGCES-02 answers real questions   PGCES-02 exam simulations

NO.7 A table named "sample" is defined as below. Select two statements which will generate a constraint
error. CREATE TABLE sample ( i INTEGER PRIMARY KEY, j INTEGER, CHECK ( i > 0 AND j < 0 ) );
A.INSERT INTO sample VALUES (1, 0);
B.INSERT INTO sample VALUES (2, -2);
C.INSERT INTO sample VALUES (3, NULL);
D.INSERT INTO sample VALUES (NULL, -4);
E.INSERT INTO sample VALUES (5, -5);
Answer:A D

PostgreSQL-CE   PGCES-02 exam   PGCES-02 exam simulations   PGCES-02 demo   PGCES-02

NO.8 SQL statements were executed in the following order: CREATE TABLE fmaster (id INTEGER
PRIMARY KEY, name TEXT); CREATE TABLE ftrans (id INTEGER REFERENCES fmaster (id), stat
INTEGER, date DATE); INSERT INTO fmaster VALUES (1, 'itemA'); INSERT INTO ftrans VALUES (1, 1,
CURRENT_DATE); Select two SQL statements that will generate an error when executed next.
A.INSERT INTO ftrans VALUES (1, 1, CURRENT_DATE);
B.INSERT INTO ftrans VALUES (2, 1, '2007-07-07');
C.UPDATE fmaster SET name = 'itemAX' WHERE id = 1;
D.UPDATE fmaster SET id = 100 WHERE id = 1;
E.UPDATE ftrans SET id = 200 WHERE id = 1;
Answer:A C

PostgreSQL-CE   PGCES-02   PGCES-02 certification   PGCES-02 dumps   PGCES-02 questions   PGCES-02 certification training

NO.9 The "sample" table consists of the following data: How many rows are returned by executing the
following SQL statement? SELECT * FROM sample WHERE v ~ 'ab';
A.0 rows
B.1 row
C.2 rows
D.3 rows
E.4 rows
Answer:C

PostgreSQL-CE braindump   PGCES-02   PGCES-02 test questions   PGCES-02 certification

NO.10 Select the correct SQL statement which concatenates strings 'ABC' and 'abc' to form 'ABCabc'.
A.SELECT 'ABC' . 'abc';
B.SELECT cat('ABC', 'abc') FROM pg_operator;
C.SELECT 'ABC' 'abc';
D.SELECT 'ABC' 'abc' FROM pg_operator;
E.SELECT 'ABC' || 'abc';
Answer:E

PostgreSQL-CE   PGCES-02   PGCES-02 test questions   PGCES-02 dumps

NO.11 Select the most suitable statement about PostgreSQL from below.
A.PostgreSQL is a card-type database management system.
B.PostgreSQL is a hierarchical database management system.
C.PostgreSQL is a network-type database management system.
D.PostgreSQL is an XML database management system.
E.PostgreSQL is a relational database management system.
Answer:E

PostgreSQL-CE exam dumps   PGCES-02   PGCES-02 questions   PGCES-02 answers real questions

NO.12 Table "t1" is defined as follows: CREATE TABLE t1 (value VARCHAR(5)); A set of SQL statements were
executed in the following order. Select the number of rows that table "t1" has after execution. BEGIN;
INSERT INTO t1 VALUES ('AA'); SAVEPOINT point1; INSERT INTO t1 VALUES ('BB'); SAVEPOINT
point2; INSERT INTO t1 VALUES ('CC'); ROLLBACK TO point1; INSERT INTO t1 VALUES ('DD'); END;
A.1 row
B.2 rows
C.3 rows
D.4 rows
E.0 rows
Answer:B

PostgreSQL-CE test questions   PGCES-02   PGCES-02 braindump   PGCES-02

NO.13 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:A E

PostgreSQL-CE certification   PGCES-02 test answers   PGCES-02 certification   PGCES-02

NO.14 The "sample" table consists of the following data: How many rows are returned by executing the
following SQL statement? SELECT DISTINCT ON (data) * FROM sample;
A.2 rows
B.3 rows
C.4 rows
D.5 rows
E.6 rows
Answer:B

PostgreSQL-CE pdf   PGCES-02   PGCES-02 questions

NO.15 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;
A.A syntax error will occur.
Answer:A

PostgreSQL-CE original questions   PGCES-02 exam simulations   PGCES-02

NO.16 The table "score" is defined as follows: gid | score -----+------ 1 | 70 1 | 60 2 | 100 3 | 80 3 | 50 The
following query was executed. Select the number of rows in the result. SELECT gid, max(score) FROM
score GROUP BY gid HAVING max(score) > 60;
A.1 row
B.2 rows
C.3 rows
D.4 rows
E.5 rows
Answer:C

PostgreSQL-CE exam simulations   PGCES-02   PGCES-02 exam simulations   PGCES-02   PGCES-02 test answers   PGCES-02

NO.17 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:D E

PostgreSQL-CE original questions   PGCES-02 dumps   PGCES-02 answers real questions   PGCES-02 demo

NO.18 Select the most suitable statement about the PostgreSQL license from below.
A.PostgreSQL is distributed under the GPL license.
B.PostgreSQL is distributed under the PostgreSQL license.
C.PostgreSQL is distributed under the LGPL license.
D.PostgreSQL is distributed under the BSD license.
E.PostgreSQL is distributed under the X11(MIT) license.
Answer:D

PostgreSQL-CE   PGCES-02   PGCES-02   PGCES-02 certification training   PGCES-02 study guide

NO.19 Select two suitable statements regarding creating a new table.
A.There is no upper limit to the number of columns in a table.
B.A newly created table is empty and has 0 rows.
C.You can only use alphabetic characters for a table name.
D.The row name must be within 16 characters.
E.The SQL 'CREATE TABLE' statement is used to create a new table.
Answer:B E

PostgreSQL-CE   PGCES-02   PGCES-02 test answers

NO.20 Select two suitable statements about major version upgrades of PostgreSQL from below.
A.You can use the databases of the old major version.
B.To use the data from the old version, you only need to replace the program.
C.To use the data from the old version, you need to conduct a backup and restore.
D.There is a possibility of configuration parameter changes after major version upgrades.
E.Upgrade scripts can be executed while the old version of PostgreSQL is running.
Answer:C D

PostgreSQL-CE   PGCES-02 exam   PGCES-02 questions   PGCES-02

NO.21 The tables "t1" and "t2" are defined below. The tables "t1" and "t2" have columns "id" which are type of
INTEGER and column "name"s which are type of TEXT. t1 t2 The following SQL command was executed.
Select the number of rows in the result. SELECT * FROM t1 NATURAL FULL OUTER JOIN t2;
A.2 rows
B.3 rows
C.4 rows
D.5 rows
E.6 rows
Answer:D

PostgreSQL-CE   PGCES-02 exam prep   PGCES-02   PGCES-02   PGCES-02   PGCES-02

NO.22 Given the following two table definitions, select one SQL statement which will cause an error. CREATE
TABLE sample1 (id INTEGER, data TEXT); CREATE TABLE sample2 (id INTEGER);
A.SELECT id AS data, data FROM sample1;
B.SELECT id, id FROM sample1;
C.SELECT s1.id, s2.id FROM sample1 AS s1, sample1 AS s2;
D.SELECT s1.id, s2.id FROM sample1 s1, sample2 s2;
E.SELECT s1.id, s2.data FROM sample1 s1, sample2 s2;
Answer:E

PostgreSQL-CE braindump   PGCES-02 original questions   PGCES-02   PGCES-02 certification

NO.23 Select two transaction isolation levels supported in PostgreSQL.
A.DIRTY READ
B.READ COMMITTED
C.REPEATABLE READ
D.PHANTOM READ
E.SERIALIZABLE
Answer:B E

PostgreSQL-CE test answers   PGCES-02   PGCES-02   PGCES-02 test questions

NO.24 Select two incorrect statements concerning PostgreSQL license.
A.It can be used freely.
B.It can be duplicated freely.
C.It can be freely redistributed.
D.Developers are responsible for its maintenance support.
E.Developers are only responsible for handling its crucial faults.
Answer:D E

PostgreSQL-CE   PGCES-02 test answers   PGCES-02   PGCES-02

NO.25 The following SQL statements were executed using psql. Select the appropriate statement about the
result. LISTEN sign_v; BEGIN; NOTIFY sign_v; COMMIT; LISTEN sign_v;
A.At the point that 'NOTIFY sign_v' is executed, a message that starts with "Asynchronous notification
'sign_v' received" is output.
B.At the point that 'COMMIT' is executed, a message that starts with "Asynchronous notification 'sign_v'
received" is output.
C.At the point that 'SELECT * FROM pg_user;" is executed, a message that starts with "Asynchronous
notification 'sign_v' received" is output.
D.When 'LISTEN sign_v' is executed for the second time, a message that starts with "Asynchronous
notification 'sign_v' received" is output.
E.The message "Asynchronous notification 'sign_v' received" is not received while in this connection.
Answer:B

PostgreSQL-CE   PGCES-02 certification   PGCES-02   PGCES-02   PGCES-02   PGCES-02 exam simulations

NO.26 Select three SQL statements which return NULL.
A.SELECT 0 = NULL;
B.SELECT NULL != NULL;
C.SELECT NULL IS NULL;
D.SELECT NULL;
E.SELECT 'null'::TEXT;
Answer:A B D

PostgreSQL-CE demo   PGCES-02 questions   PGCES-02 test   PGCES-02 exam prep   PGCES-02

NO.27 Select two suitable statements about sequences.
A.A sequence always returns a 4-byte INTEGER type value, so the maximum value is 2147483647.
B.A sequence is defined by 'CREATE SEQUENCE', and deleted by 'DROP SEQUENCE'.
C.Although the "nextval" function is called during a transaction, it will have no effect if that transaction is
rolled back.
D.A sequence always generates 0 or consecutive positive numbers.
E.A sequence number can be set by calling the "setval" function.
Answer:B E

PostgreSQL-CE certification training   PGCES-02 practice test   PGCES-02   PGCES-02 exam simulations

NO.28 The following is the result of executing the createlang command which is installed with PostgreSQL.
$ createlang -U postgres --list mydb Procedural Languages Name | Trusted? ---------+--------- plpgsql | yes
Select two correct statements from below.
A.The procedural language plpgsql is installed in the database mydb using the above command.
B.The procedural language plpgsql can be used in the database mydb.
C.plpgsql is a trusted language, so it can execute the OS commands on the server side.
D.plpgsql is a trusted language, so it can read/write OS files on the server side.
E.plpgsql is a safe language with restricted operations.
Answer:B E

PostgreSQL-CE exam prep   PGCES-02   PGCES-02 dumps   PGCES-02   PGCES-02 exam prep

NO.29 Select two correct descriptions about views.
A.A view is created by 'DECLARE VIEW', and deleted by 'DROP VIEW'.
B.A view is a virtual table which does not exist.
C.A view is created to simplify complicated queries.
D.You can create a view with the same name as already existing tables.
E.A view only exists while the postmaster is running, and is deleted when the postmaster stops.
Answer:B C

PostgreSQL-CE test   PGCES-02 original questions   PGCES-02 braindump   PGCES-02   PGCES-02

NO.30 Select one incorrect statement concerning the relational data model.
A.It expresses the real world in a collection of 2-dimensional tables called a relation.
B.It is a model based on set theory.
C.It has a logical structure independent of physical data structure.
D.It is made up of a multiple stage hierarchy where each of the set elements has parent child relationships.
E.It is a model that was proposed by E.F. Codd in 1970.
Answer:D

PostgreSQL-CE practice test   PGCES-02   PGCES-02   PGCES-02 study guide

ITCertKing offer the latest HP3-C29 exam material and high-quality E20-554 pdf questions & answers. Our 642-384 VCE testing engine and 70-687 study guide can help you pass the real exam. High-quality MB2-866 dumps training materials can 100% guarantee you pass the exam faster and easier. Pass the exam to obtain certification is so simple.

Article Link: http://www.itcertking.com/Pgces-02_exam.html

没有评论:

发表评论