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 purpose of the template1 database?

2 / 20

Tablespaces are used to define physical data layout?

3 / 20

What is the purpose of the template0 database?

4 / 20

The information_schema schema provides information on Postgres release notes?

5 / 20

A single Postgres Instance can server only one database?

6 / 20

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

choose 3

7 / 20

Each tablespaces can only be assigned for use by one database

8 / 20

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

9 / 20

What is the purpose of wal writer?

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

TOAST tables reside in a seperate schema?

13 / 20

To be able to restore data consistency, Postgres maintains

14 / 20

What is the default standard size for a fork file?

15 / 20

It is the postmasters job to listener for incoming connections?

16 / 20

What is the purpose of the public schema?

17 / 20

Who is the Author of the Postgres 14 Internals book?

18 / 20

What is the purpose of the postgres database?

19 / 20

Which of below are predefined schemas?

choose 3

20 / 20

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

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

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

2 / 10

Which of the below are valid Isolations Levels?

choose 2

3 / 10

The SQL standard specifies three isolation levels?

4 / 10

Which parameters sets the database default isolation level?

5 / 10

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

Select more than 1 answer below:

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

non-repeatable read anomaly occurs when?

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

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

2 / 10

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

3 / 10

Each page has a layer that usually consists of?

choose 2

4 / 10

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

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

The page Special Space is located at the start of the page with highest address

Your score is

0%