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

pg_catalog schema is used to store system catalog tables?

2 / 20

To be able to restore data consistency, Postgres maintains

3 / 20

Which 3 databases exist directly after cluster initialization?

choose 3 options

4 / 20

Postgres server spawns a new backend session for each connection?

5 / 20

What is the purpose of the visibility map?

6 / 20

What is the point of the pg_global tablespace?

7 / 20

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

8 / 20

What is the purpose of autovacuum?

9 / 20

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

Choose 2 option

10 / 20

TOAST tables reside in a seperate schema?

11 / 20

Which of below are predefined schemas?

choose 3

12 / 20

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

13 / 20

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

14 / 20

What is the default standard size for a fork file?

15 / 20

What is the purpose of the postgres database?

16 / 20

What is the purpose of wal writer?

17 / 20

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

18 / 20

Each tablespaces can only be assigned for use by one database

19 / 20

It is the postmasters job to listener for incoming connections?

20 / 20

Each Database has its own System Catalog?

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

2 / 10

What is the default Isolation Level?

3 / 10

Which parameters sets the database default isolation level?

4 / 10

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

5 / 10

A phantom read anomaly occurs when?

6 / 10

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

7 / 10

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

8 / 10

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

choose 3

9 / 10

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

10 / 10

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

Select more than 1 answer below:

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

Page free space can often become fragmented?

3 / 10

Each page has a layer that usually consists of?

choose 2

4 / 10

If a transaction aborts, all page changes are reverted(rolled back) in place?

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

CLOG Pages are never cached in memory?

Your score is

0%