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

Each tablespaces can only be assigned for use by one database

2 / 20

The default Page size is 2k?

3 / 20

Which of below are predefined schemas?

choose 3

4 / 20

What is the process first launched at server start?

5 / 20

What is a schema?

6 / 20

What is another name for the postgres process?

7 / 20

Files are logically split into pages?

8 / 20

What column in system catalogs servers as the Primary Key

9 / 20

Which of below are predefined schemas?

choose 2

10 / 20

A schema can belong to more than one database?

11 / 20

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

12 / 20

Postgres uses a thread based process model?

13 / 20

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

14 / 20

Tablespaces are used to define physical data layout?

15 / 20

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

16 / 20

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

17 / 20

What is the point of the pg_global tablespace?

18 / 20

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

19 / 20

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

choose 3

20 / 20

What is the purpose of the postgres 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 isolation level in theory could mean an application does not have to consider isolation anomalies?

2 / 10

Which parameters sets the database default isolation level?

3 / 10

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

4 / 10

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

5 / 10

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

6 / 10

A phantom read anomaly occurs when?

7 / 10

What is the default Isolation Level?

8 / 10

Which of the below would best describe a dirty read?

9 / 10

Lost updates are forbidden by the standard at all isolation levels?

10 / 10

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

choose 3

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

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

2 / 10

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

3 / 10

A page along with its tuples is read into the buffer cache with compression transformations to enhance cache efficiency?

4 / 10

CLOG Pages are never cached in memory?

5 / 10

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

6 / 10

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

7 / 10

Page free space can often become fragmented?

8 / 10

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

9 / 10

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

10 / 10

Information about subtransactions is stored under?

Your score is

0%