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

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

2 / 20

What is the purpose of the template1 database?

3 / 20

Which of below are predefined schemas?

choose 2

4 / 20

Files are logically split into pages?

5 / 20

TOAST tables reside in a seperate schema?

6 / 20

pg_catalog schema is used to store system catalog tables?

7 / 20

What is the purpose of autovacuum?

8 / 20

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

9 / 20

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

10 / 20

Users should not modify the template0 database

11 / 20

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

12 / 20

What is the name of the 2 default tablespaces created after initialization?

choose 2

13 / 20

How many files or forks on disk will a 10Mb table with no index have?

14 / 20

Who is the Author of the Postgres 14 Internals book?

15 / 20

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

16 / 20

The information_schema schema provides information on Postgres release notes?

17 / 20

What is the name of the mechanism used to store a row bigger than a page size?

18 / 20

The default Page size is 2k?

19 / 20

It is the postmasters job to listener for incoming connections?

20 / 20

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

Choose 2 option

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

A phantom read anomaly occurs when?

2 / 10

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

3 / 10

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

4 / 10

The SQL standard specifies three isolation levels?

5 / 10

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

6 / 10

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

choose 3

7 / 10

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

8 / 10

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

9 / 10

What is the default Isolation Level?

10 / 10

Which of the below would best describe a dirty read?

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 header sizes can be easily displayed using the <choose from answers> extension

2 / 10

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

3 / 10

Each page has a layer that usually consists of?

choose 2

4 / 10

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

5 / 10

Information about subtransactions is stored under?

6 / 10

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

7 / 10

CLOG contains how many bits for each transaction?

8 / 10

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

9 / 10

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

10 / 10

Tuples can also be referred to as columns?

Your score is

0%