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

Postgres server spawns a new backend session for each connection?

2 / 20

Each tablespaces can only be assigned for use by one database

3 / 20

What command is used to create the Postgres cluster?

4 / 20

A single Postgres Instance can server only one database?

5 / 20

The information_schema schema provides information on Postgres release notes?

6 / 20

What is the purpose of the postgres database?

7 / 20

What column in system catalogs servers as the Primary Key

8 / 20

A schema can belong to more than one database?

9 / 20

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

Choose 2 option

10 / 20

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

11 / 20

What is the purpose of wal writer?

12 / 20

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

choose 3

13 / 20

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

14 / 20

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

15 / 20

What is a schema?

16 / 20

Who is the Author of the Postgres 14 Internals book?

17 / 20

What is the purpose of the template0 database?

18 / 20

Which fork is specific for unlogged tables?

19 / 20

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

choose 2

20 / 20

Some System Catalog tables are common to all databases in the 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

A phantom read anomaly occurs when?

2 / 10

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

3 / 10

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

4 / 10

What is the default Isolation Level?

5 / 10

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

6 / 10

Which of the below are valid Isolations Levels?

choose 2

7 / 10

Which of the below would best describe a dirty read?

8 / 10

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

choose 3

9 / 10

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

Select more than 1 answer below:

10 / 10

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

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

status of a subtransaction is written into CLOG?

2 / 10

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

3 / 10

CLOG contains how many bits for each transaction?

4 / 10

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

5 / 10

Page free space can often become fragmented?

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

Postgres table physical data files are always cross compatible across platforms?

10 / 10

What does an Item Pointer contain?

choose 3

Your score is

0%