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

Which fork keeps track of available space within pages?

2 / 20

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

3 / 20

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

4 / 20

The default Page size is 2k?

5 / 20

A schema can belong to more than one database?

6 / 20

What is the purpose of the postgres database?

7 / 20

What 3 files/forks as a minimum make up a table on disk?

8 / 20

Tablespaces are used to define physical data layout?

9 / 20

What is a schema?

10 / 20

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

11 / 20

Postgres server spawns a new backend session for each connection?

12 / 20

Postgres uses a thread based process model?

13 / 20

What is the process first launched at server start?

14 / 20

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

15 / 20

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

16 / 20

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

choose 3

17 / 20

System Catalog tables begin with which prefix?

18 / 20

pg_catalog schema is used to store system catalog tables?

19 / 20

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

Choose 2 option

20 / 20

A single Postgres Instance can server only one database?

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 are valid Isolations Levels?

choose 2

2 / 10

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

3 / 10

A phantom read anomaly occurs when?

4 / 10

Which of the below would best describe a dirty read?

5 / 10

What is the default Isolation Level?

6 / 10

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

7 / 10

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

8 / 10

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

choose 3

9 / 10

Which parameters sets the database default isolation level?

10 / 10

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

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

Which 2 items does a Virtual XID consist of?

2 / 10

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

3 / 10

When a transaction is committed Postgres uses a special <replace with answer> structure?

4 / 10

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

5 / 10

In Postgres, tables are often referred to as which of the below?

6 / 10

Tuples can also be referred to as columns?

7 / 10

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

8 / 10

What does an Item Pointer contain?

choose 3

9 / 10

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

10 / 10

Each page has a layer that usually consists of?

choose 2

Your score is

0%