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 contains the actual table data?

2 / 20

A single Postgres Instance can server only one database?

3 / 20

Postgres uses a thread based process model?

4 / 20

Postgres by default has built in connection pooling abilities?

5 / 20

What is the default standard size for a fork file?

6 / 20

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

7 / 20

To be able to restore data consistency, Postgres maintains

8 / 20

What command is used to create the Postgres cluster?

9 / 20

What is a schema?

10 / 20

Which of below are predefined schemas?

choose 3

11 / 20

It is the postmasters job to listener for incoming connections?

12 / 20

To understand each other, a client and a server must use one and the same interfacing protocol?

13 / 20

Tablespaces are used to define physical data layout?

14 / 20

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

15 / 20

How many rows in a page does Postgres aim to have before considering TOAST?

16 / 20

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

choose 3

17 / 20

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

choose 2

18 / 20

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

19 / 20

What column in system catalogs servers as the Primary Key

20 / 20

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

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

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

choose 3

3 / 10

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

4 / 10

What is the default Isolation Level?

5 / 10

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

6 / 10

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

Select more than 1 answer below:

7 / 10

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

8 / 10

Which of the below would best describe a dirty read?

9 / 10

Which of the below are valid Isolations Levels?

choose 2

10 / 10

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

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

indexes do not use row versioning?

2 / 10

virtual IDs exist only in PGDATA/pg_vxid when not cached?

3 / 10

Tuples can also be referred to as columns?

4 / 10

Information about subtransactions is stored under?

5 / 10

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

6 / 10

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

7 / 10

Which 2 items does a Virtual XID consist of?

8 / 10

Each page has a layer that usually consists of?

choose 2

9 / 10

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

10 / 10

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

Your score is

0%