Postgres Quiz Archive

You have 200 seconds to answer 20 Random questions so think fast!

You will need to score 80% or over to pass!


Created by Paul Sammy

PostgreSQL 14 Internals Chapter 1

A quiz to test the knowledge of those reading and learning from Postgres 14 Internals book by Egor Rogov, covering topics in Chapter 1.

1 / 20

Which fork contains the actual table data?

2 / 20

It is the postmasters job to listener for incoming connections?

3 / 20

What is the purpose of wal writer?

4 / 20

Who is the Author of the Postgres 14 Internals book?

5 / 20

What is the name of the system catalog table for relations?

6 / 20

Some System Catalog tables are common to all databases in the cluster?

7 / 20

What is another name for the postgres process?

8 / 20

Which fork is specific for unlogged tables?

9 / 20

What command is used to create the Postgres cluster?

10 / 20

What is the purpose of the template0 database?

11 / 20

What is the default standard size for a fork file?

12 / 20

Which of the below objects can be referred to as relations?

choose 3

13 / 20

Files are logically split into pages?

14 / 20

What is the purpose of the template1 database?

15 / 20

The default Page size is 2k?

16 / 20

Which of below are predefined schemas?

choose 2

17 / 20

Which of below are predefined schemas?

choose 3

18 / 20

Tablespaces are used to define physical data layout?

19 / 20

What is the purpose of the visibility map?

20 / 20

What is the name of the directory that contains the files related to the Postgres cluster?

Your score is

0%

Created by Paul Sammy

PostgreSQL 14 Internals Chapter 2

A quiz to test the knowledge of those reading and learning from Postgres 14 Internals book by Egor Rogov, covering topics in Chapter 2.

1 / 10

Snapshot isolation is preferred but increases the number of required locks?

2 / 10

Which parameters sets the database default isolation level?

3 / 10

which of the below statements will start a transaction as Read Repeatable?

4 / 10

What is the acronym used for the attributes that ensure Data consistency, integrity and durability?

5 / 10

The more locks a transaction acquires, the better it is isolated from other transactions?

6 / 10

A phantom read anomaly occurs when?

7 / 10

What are some of database features we can use to avoid a non repeatable read?

Select more than 1 answer below:

8 / 10

Data Consistency is best handled at the application layer rather than at the database layer?

9 / 10

The SQL standard specifies three isolation levels?

10 / 10

Lost updates are forbidden by the standard at all isolation levels?

Your score is

0%

Created by Paul Sammy

PostgreSQL 14 Internals Chapter 3

A quiz to test the knowledge of those reading and learning from Postgres 14 Internals book by Egor Rogov, covering topics in Chapter 3.

1 / 10

Which function can we use to find the current transaction ID?

2 / 10

CLOG files are stored in which directory?

3 / 10

When a row is created, its xmin value is set to the transaction ID of which command?

4 / 10

Page header sizes can be easily displayed using the <choose from answers> extension

5 / 10

status of a subtransaction is written into CLOG?

6 / 10

a transaction containing a savepoint is will still be considered as only a single transaction?

7 / 10

Which of the below are true about a Pages Item Pointer?

8 / 10

virtual IDs exist only in PGDATA/pg_vxid when not cached?

9 / 10

index row headers like table row headers contain xmin and xmax fields?

10 / 10

at any one time Postgres can have several versions of a row?

Your score is

0%