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

System Catalog tables begin with which prefix?

2 / 20

What is the default standard size for a fork file?

3 / 20

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

choose 2

4 / 20

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

5 / 20

Which of below are predefined schemas?

choose 3

6 / 20

Who is the Author of the Postgres 14 Internals book?

7 / 20

What is the purpose of the public schema?

8 / 20

Which 3 databases exist directly after cluster initialization?

choose 3 options

9 / 20

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

10 / 20

The information_schema schema provides information on Postgres release notes?

11 / 20

pg_catalog schema is used to store system catalog tables?

12 / 20

What column in system catalogs servers as the Primary Key

13 / 20

Users should not modify the template0 database

14 / 20

A single Postgres Instance can server only one database?

15 / 20

Tablespaces are used to define physical data layout?

16 / 20

Postgres server spawns a new backend session for each connection?

17 / 20

A schema can belong to more than one database?

18 / 20

The default Page size is 2k?

19 / 20

What is the process first launched at server start?

20 / 20

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

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

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

Select more than 1 answer below:

2 / 10

Which parameters sets the database default isolation level?

3 / 10

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

4 / 10

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

5 / 10

Which of the below are valid Isolations Levels?

choose 2

6 / 10

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

7 / 10

The SQL standard specifies three isolation levels?

8 / 10

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

choose 3

9 / 10

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

10 / 10

A phantom read anomaly occurs when?

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

Tuples can also be referred to as columns?

3 / 10

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

4 / 10

If a transaction aborts, all page changes are reverted(rolled back) in place?

5 / 10

Which function can we use to find the current transaction ID?

6 / 10

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

7 / 10

indexes do not use row versioning?

8 / 10

status of a subtransaction is written into CLOG?

9 / 10

CLOG Pages are never cached in memory?

10 / 10

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

Your score is

0%