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 3 databases exist directly after cluster initialization?

choose 3 options

2 / 20

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

3 / 20

What is another name for the postgres process?

4 / 20

Each Database has its own System Catalog?

5 / 20

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

6 / 20

Which fork keeps track of available space within pages?

7 / 20

What is the purpose of the visibility map?

8 / 20

pg_catalog schema is used to store system catalog tables?

9 / 20

The information_schema schema provides information on Postgres release notes?

10 / 20

To understand each other, a client and a server must use one and the same interfacing protocol?

11 / 20

Who is the Author of the Postgres 14 Internals book?

12 / 20

Postgres server spawns a new backend session for each connection?

13 / 20

What is the purpose of the postgres database?

14 / 20

Tablespaces are used to define physical data layout?

15 / 20

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

16 / 20

The default Page size is 2k?

17 / 20

Each tablespaces can only be assigned for use by one database

18 / 20

Which fork is specific for unlogged tables?

19 / 20

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

Choose 2 option

20 / 20

Which of below are predefined schemas?

choose 3

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 SQL standard specifies three isolation levels?

2 / 10

Which isolation level in theory could mean an application does not have to consider isolation anomalies?

3 / 10

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

4 / 10

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

5 / 10

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

6 / 10

Which parameters sets the database default isolation level?

7 / 10

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

choose 3

8 / 10

non-repeatable read anomaly occurs when?

9 / 10

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

10 / 10

A phantom read anomaly occurs when?

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

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

2 / 10

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

3 / 10

CLOG files are stored in which directory?

4 / 10

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

5 / 10

The page header stores checksum and the sizes of the other parts of the page?

6 / 10

Which 2 items does a Virtual XID consist of?

7 / 10

A page along with its tuples is read into the buffer cache with compression transformations to enhance cache efficiency?

8 / 10

CLOG contains how many bits for each transaction?

9 / 10

indexes do not use row versioning?

10 / 10

Each page has a layer that usually consists of?

choose 2

Your score is

0%