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

What column in system catalogs servers as the Primary Key

3 / 20

Tablespaces are used to define physical data layout?

4 / 20

What is another name for the postgres process?

5 / 20

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

6 / 20

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

7 / 20

What is the purpose of the template0 database?

8 / 20

Each tablespaces can only be assigned for use by one database

9 / 20

What is the purpose of the public schema?

10 / 20

pg_catalog schema is used to store system catalog tables?

11 / 20

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

12 / 20

What is the point of the pg_global tablespace?

13 / 20

Which fork contains the actual table data?

14 / 20

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

15 / 20

What is the purpose of the visibility map?

16 / 20

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

17 / 20

What is the purpose of wal writer?

18 / 20

Postgres server spawns a new backend session for each connection?

19 / 20

Postgres by default has built in connection pooling abilities?

20 / 20

What is the purpose of the template1 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 would best describe a dirty read?

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

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

choose 3

6 / 10

The more locks a transaction acquires, the better it is isolated from other transactions?

7 / 10

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

Select more than 1 answer below:

8 / 10

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

9 / 10

A phantom read anomaly occurs when?

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

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

2 / 10

Each page has a layer that usually consists of?

choose 2

3 / 10

Information about subtransactions is stored under?

4 / 10

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

5 / 10

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

6 / 10

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

7 / 10

a transaction containing a savepoint is will still be considered as only a single transaction?

8 / 10

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

9 / 10

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

10 / 10

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

Your score is

0%