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

Postgres uses a thread based process model?

2 / 20

What is a schema?

3 / 20

Which 3 databases exist directly after cluster initialization?

choose 3 options

4 / 20

What is the process first launched at server start?

5 / 20

Users should not modify the template0 database

6 / 20

Which fork keeps track of available space within pages?

7 / 20

A single Postgres Instance can server only one database?

8 / 20

What is the purpose of autovacuum?

9 / 20

pg_catalog schema is used to store system catalog tables?

10 / 20

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

11 / 20

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

12 / 20

What is the purpose of wal writer?

13 / 20

To be able to restore data consistency, Postgres maintains

14 / 20

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

15 / 20

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

16 / 20

TOAST tables reside in a seperate schema?

17 / 20

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

choose 2

18 / 20

Postgres server spawns a new backend session for each connection?

19 / 20

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

20 / 20

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

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

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

Select more than 1 answer below:

2 / 10

What is the default Isolation Level?

3 / 10

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

4 / 10

Which of the below would best describe a dirty read?

5 / 10

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

6 / 10

non-repeatable read anomaly occurs when?

7 / 10

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

8 / 10

A phantom read anomaly occurs when?

9 / 10

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

10 / 10

What is the acronym used for the attributes that ensure Data consistency, integrity and durability?

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

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

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

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

6 / 10

CLOG Pages are never cached in memory?

7 / 10

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

8 / 10

CLOG contains how many bits for each transaction?

9 / 10

Which of the below are true about a Pages Item Pointer?

10 / 10

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

Your score is

0%