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 the purpose of the template1 database?

2 / 20

Some System Catalog tables are common to all databases in the cluster?

3 / 20

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

4 / 20

What is the purpose of the visibility map?

5 / 20

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

6 / 20

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

7 / 20

To be able to restore data consistency, Postgres maintains

8 / 20

What is the purpose of wal writer?

9 / 20

The information_schema schema provides information on Postgres release notes?

10 / 20

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

11 / 20

A schema can belong to more than one database?

12 / 20

Which of below are predefined schemas?

choose 2

13 / 20

A single Postgres Instance can server only one database?

14 / 20

When PostgreSQL is running what can it be referred to as?

Choose 2 option

15 / 20

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

16 / 20

What is the default standard size for a fork file?

17 / 20

What is the purpose of autovacuum?

18 / 20

Each Database has its own System Catalog?

19 / 20

What column in system catalogs servers as the Primary Key

20 / 20

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

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

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

choose 3

2 / 10

Which parameters sets the database default isolation level?

3 / 10

What is the default Isolation Level?

4 / 10

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

5 / 10

Which of the below would best describe a dirty read?

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

non-repeatable read anomaly occurs when?

10 / 10

The SQL standard specifies three isolation levels?

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

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

2 / 10

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

3 / 10

status of a subtransaction is written into CLOG?

4 / 10

The page header is located in the highest address?

5 / 10

UPDATE can be regarded as which 2 separate operations?

6 / 10

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

7 / 10

Tuples can also be referred to as columns?

8 / 10

Indexes values also support multi versioning with several versions of an index value existing at any point in time?

9 / 10

indexes do not use row versioning?

10 / 10

Each page has a layer that usually consists of?

choose 2

Your score is

0%