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

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

2 / 20

A single Postgres Instance can server only one database?

3 / 20

What is a schema?

4 / 20

A schema can belong to more than one database?

5 / 20

System Catalog tables begin with which prefix?

6 / 20

What is the point of the pg_global tablespace?

7 / 20

Which fork keeps track of available space within pages?

8 / 20

To be able to restore data consistency, Postgres maintains

9 / 20

The default Page size is 2k?

10 / 20

What is the purpose of the visibility map?

11 / 20

Which 3 databases exist directly after cluster initialization?

choose 3 options

12 / 20

Tablespaces can be used to segregate data based on performance needs?

13 / 20

How does Postgres know which schema to use if not specified?

14 / 20

What command is used to create the Postgres cluster?

15 / 20

Postgres uses a thread based process model?

16 / 20

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

choose 2

17 / 20

Which fork contains the actual table data?

18 / 20

What is the process first launched at server start?

19 / 20

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

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

Which parameters sets the database default isolation level?

2 / 10

Which of the below are valid Isolations Levels?

choose 2

3 / 10

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

4 / 10

non-repeatable read anomaly occurs when?

5 / 10

The SQL standard specifies three isolation levels?

6 / 10

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

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

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

9 / 10

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

10 / 10

What is the 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

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

2 / 10

The page Special Space is located at the start of the page with highest address

3 / 10

Page header sizes can be easily displayed using the <choose from answers> extension

4 / 10

CLOG files are stored in which directory?

5 / 10

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

6 / 10

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

7 / 10

status of a subtransaction is written into CLOG?

8 / 10

Information about subtransactions is stored under?

9 / 10

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

10 / 10

Page free space can often become fragmented?

Your score is

0%