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

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

2 / 20

To be able to restore data consistency, Postgres maintains

3 / 20

What 3 files/forks as a minimum make up a table on disk?

4 / 20

What command is used to create the Postgres cluster?

5 / 20

Tablespaces are used to define physical data layout?

6 / 20

Which fork contains the actual table data?

7 / 20

The pg_default tablespace should never be used to create user tables?

8 / 20

A schema can belong to more than one database?

9 / 20

What is the default standard size for a fork file?

10 / 20

When PostgreSQL is running what can it be referred to as?

Choose 2 option

11 / 20

What is the purpose of the template0 database?

12 / 20

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

13 / 20

Each tablespaces can only be assigned for use by one database

14 / 20

The default Page size is 2k?

15 / 20

Who is the Author of the Postgres 14 Internals book?

16 / 20

Which fork keeps track of available space within pages?

17 / 20

pg_catalog schema is used to store system catalog tables?

18 / 20

What is the purpose of the template1 database?

19 / 20

Which fork is specific for unlogged tables?

20 / 20

Users should not modify the template0 database

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

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

2 / 10

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

3 / 10

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

Select more than 1 answer below:

4 / 10

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

5 / 10

A phantom read anomaly occurs when?

6 / 10

Which of the below are valid Isolations Levels?

choose 2

7 / 10

non-repeatable read anomaly occurs when?

8 / 10

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

9 / 10

Based on Snapshot Isolation use of MVCC which of the below are permitted?

choose 3

10 / 10

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

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

To identify different versions of one and the same row, PostgreSQL marks each of them with which two value?

2 / 10

indexes do not use row versioning?

3 / 10

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

4 / 10

Indexes values also support multi versioning with several versions of an index value existing at any point in time?

5 / 10

When a transaction is committed Postgres uses a special <replace with answer> structure?

6 / 10

status of a subtransaction is written into CLOG?

7 / 10

CLOG files are stored in which directory?

8 / 10

Tuples can also be referred to as columns?

9 / 10

If a transaction is read only which kind of Transaction ID is it allocated?

10 / 10

psql provides a special mode that allows you to continue a transaction after a failure?

Your score is

0%