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

Tablespaces are used to define physical data layout?

2 / 20

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

Choose 2 option

3 / 20

Each tablespaces can only be assigned for use by one database

4 / 20

The information_schema schema provides information on Postgres release notes?

5 / 20

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

6 / 20

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

7 / 20

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

8 / 20

Postgres uses a thread based process model?

9 / 20

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

choose 3

10 / 20

Which 3 databases exist directly after cluster initialization?

choose 3 options

11 / 20

A single Postgres Instance can server only one database?

12 / 20

Each Database has its own System Catalog?

13 / 20

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

14 / 20

Which of below are predefined schemas?

choose 3

15 / 20

Users should not modify the template0 database

16 / 20

What is the purpose of the visibility map?

17 / 20

System Catalog tables begin with which prefix?

18 / 20

It is the postmasters job to listener for incoming connections?

19 / 20

Which of below are predefined schemas?

choose 2

20 / 20

What is the purpose of the template1 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

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

2 / 10

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

3 / 10

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

4 / 10

non-repeatable read anomaly occurs when?

5 / 10

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

choose 3

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

The SQL standard specifies three isolation levels?

10 / 10

which of the below statements will start a transaction as Read Repeatable?

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

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

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

To identify different versions of one and the same row, PostgreSQL marks each of them with which two value?

6 / 10

When a row is created, its xmin value is set to the transaction ID of which command?

7 / 10

Which of the below are true about a Pages Item Pointer?

8 / 10

UPDATE can be regarded as which 2 separate operations?

9 / 10

Information about subtransactions is stored under?

10 / 10

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

Your score is

0%