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 a schema?

2 / 20

Some System Catalog tables are common to all databases in the cluster?

3 / 20

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

4 / 20

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

choose 2

5 / 20

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

Choose 2 option

6 / 20

Which fork keeps track of available space within pages?

7 / 20

Users should not modify the template0 database

8 / 20

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

9 / 20

Who is the Author of the Postgres 14 Internals book?

10 / 20

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

11 / 20

Each Database has its own System Catalog?

12 / 20

What column in system catalogs servers as the Primary Key

13 / 20

What is another name for the postgres process?

14 / 20

What command is used to create the Postgres cluster?

15 / 20

The information_schema schema provides information on Postgres release notes?

16 / 20

Postgres by default has built in connection pooling abilities?

17 / 20

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

18 / 20

Which of below are predefined schemas?

choose 2

19 / 20

What is the default standard size for a fork file?

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

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

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

A phantom read anomaly occurs when?

4 / 10

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

5 / 10

Which of the below would best describe a dirty read?

6 / 10

non-repeatable read anomaly occurs when?

7 / 10

Which parameters sets the database default isolation level?

8 / 10

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

choose 3

9 / 10

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

10 / 10

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

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

Tuples can also be referred to as columns?

2 / 10

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

3 / 10

Indexes values also support multi versioning with several versions of an index value existing at any point in time?

4 / 10

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

5 / 10

Each page has a layer that usually consists of?

choose 2

6 / 10

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

7 / 10

What does an Item Pointer contain?

choose 3

8 / 10

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

9 / 10

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

10 / 10

If a transaction is read only which kind of Transaction ID is it allocated?

Your score is

0%