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 of below are predefined schemas?

choose 3

2 / 20

TOAST tables reside in a seperate schema?

3 / 20

What column in system catalogs servers as the Primary Key

4 / 20

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

5 / 20

Which fork keeps track of available space within pages?

6 / 20

The information_schema schema provides information on Postgres release notes?

7 / 20

Postgres uses a thread based process model?

8 / 20

pg_catalog schema is used to store system catalog tables?

9 / 20

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

10 / 20

Postgres by default has built in connection pooling abilities?

11 / 20

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

12 / 20

What is another name for the postgres process?

13 / 20

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

14 / 20

A single Postgres Instance can server only one database?

15 / 20

What is the purpose of the template1 database?

16 / 20

What is the name of the system catalog table for relations?

17 / 20

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

18 / 20

What is the purpose of the postgres database?

19 / 20

Postgres server spawns a new backend session for each connection?

20 / 20

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

choose 2

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

non-repeatable read anomaly occurs when?

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

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

Which parameters sets the database default isolation level?

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

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

2 / 10

Which 2 items does a Virtual XID consist of?

3 / 10

Each page has a layer that usually consists of?

choose 2

4 / 10

status of a subtransaction is written into CLOG?

5 / 10

indexes do not use row versioning?

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

Page free space can often become fragmented?

10 / 10

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

Your score is

0%