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

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

2 / 20

Which of below are predefined schemas?

choose 2

3 / 20

pg_catalog schema is used to store system catalog tables?

4 / 20

Tablespaces are used to define physical data layout?

5 / 20

What is the purpose of the template0 database?

6 / 20

Which fork contains the actual table data?

7 / 20

It is the postmasters job to listener for incoming connections?

8 / 20

Each tablespaces can only be assigned for use by one database

9 / 20

What is the purpose of the postgres database?

10 / 20

The default Page size is 2k?

11 / 20

Which fork keeps track of available space within pages?

12 / 20

TOAST tables reside in a seperate schema?

13 / 20

A single Postgres Instance can server only one database?

14 / 20

Each Database has its own System Catalog?

15 / 20

Files are logically split into pages?

16 / 20

Which 3 databases exist directly after cluster initialization?

choose 3 options

17 / 20

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

18 / 20

To be able to restore data consistency, Postgres maintains

19 / 20

What is a schema?

20 / 20

Postgres server spawns a new backend session for each connection?

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

At any moment the database system can contain several versions of one and the same row?

2 / 10

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

Select more than 1 answer below:

3 / 10

What is the default Isolation Level?

4 / 10

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

choose 3

5 / 10

The SQL standard specifies three isolation levels?

6 / 10

non-repeatable read anomaly occurs when?

7 / 10

Which parameters sets the database default isolation level?

8 / 10

Which of the below would best describe a dirty read?

9 / 10

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

10 / 10

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

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

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

2 / 10

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

3 / 10

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

4 / 10

The page header is located in the highest address?

5 / 10

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

6 / 10

Information about subtransactions is stored under?

7 / 10

Which 2 items does a Virtual XID consist of?

8 / 10

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

9 / 10

What does an Item Pointer contain?

choose 3

10 / 10

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

Your score is

0%