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

How does Postgres know which schema to use if not specified?

3 / 20

Postgres server spawns a new backend session for each connection?

4 / 20

What column in system catalogs servers as the Primary Key

5 / 20

pg_catalog schema is used to store system catalog tables?

6 / 20

A schema can belong to more than one database?

7 / 20

What is the purpose of the template1 database?

8 / 20

Users should not modify the template0 database

9 / 20

If we create a new tablespace which directory will symbolic links be created from?

10 / 20

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

11 / 20

Each Database has its own System Catalog?

12 / 20

Files are logically split into pages?

13 / 20

What is another name for the postgres process?

14 / 20

What is the purpose of the postgres database?

15 / 20

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

16 / 20

A Postgres cluster consists of 2 or more physical servers accessing one Postgres Instance?

17 / 20

Tablespaces can be used to segregate data based on performance needs?

18 / 20

What is the purpose of wal writer?

19 / 20

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

20 / 20

What is the name of the catalog that stores metadata for all cluster objects?

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 of the below would best describe a dirty read?

3 / 10

Which parameters sets the database default isolation level?

4 / 10

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

5 / 10

The SQL standard specifies three isolation levels?

6 / 10

What is the default Isolation Level?

7 / 10

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

8 / 10

non-repeatable read anomaly occurs when?

9 / 10

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

choose 3

10 / 10

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

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

Page free space can often become fragmented?

2 / 10

Which 2 of the below represent transaction IDs used for row versioning?

3 / 10

Rows of TOAST tables are handled in such a way that they are never update?

4 / 10

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

5 / 10

Tuples can also be referred to as columns?

6 / 10

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

7 / 10

Postgres table physical data files are always cross compatible across platforms?

8 / 10

indexes do not use row versioning?

9 / 10

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

10 / 10

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

Your score is

0%