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

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

2 / 20

What is the purpose of the public schema?

3 / 20

What is the purpose of the template0 database?

4 / 20

What is the default standard size for a fork file?

5 / 20

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

choose 2

6 / 20

What is the purpose of autovacuum?

7 / 20

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

8 / 20

Users should not modify the template0 database

9 / 20

Files are logically split into pages?

10 / 20

What is another name for the postgres process?

11 / 20

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

12 / 20

Which of below are predefined schemas?

choose 2

13 / 20

The information_schema schema provides information on Postgres release notes?

14 / 20

Postgres server spawns a new backend session for each connection?

15 / 20

What is the purpose of wal writer?

16 / 20

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

17 / 20

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

18 / 20

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

19 / 20

What command is used to create the Postgres cluster?

20 / 20

Which 3 databases exist directly after cluster initialization?

choose 3 options

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

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

2 / 10

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

3 / 10

What is the default Isolation Level?

4 / 10

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

choose 3

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

The SQL standard specifies three isolation levels?

9 / 10

non-repeatable read anomaly occurs when?

10 / 10

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

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

The page header is located in the highest address?

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

UPDATE can be regarded as which 2 separate operations?

6 / 10

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

7 / 10

CLOG files are stored in which directory?

8 / 10

Each page has a layer that usually consists of?

choose 2

9 / 10

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

10 / 10

status of a subtransaction is written into CLOG?

Your score is

0%