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 process first launched at server start?

2 / 20

What is the purpose of the template0 database?

3 / 20

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

4 / 20

What is the purpose of wal writer?

5 / 20

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

choose 3

6 / 20

A single Postgres Instance can server only one database?

7 / 20

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

8 / 20

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

9 / 20

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

10 / 20

System Catalog tables begin with which prefix?

11 / 20

The default Page size is 2k?

12 / 20

Each Database has its own System Catalog?

13 / 20

If we create a new tablespace which directory will symbolic links be created from?

14 / 20

Which 3 databases exist directly after cluster initialization?

choose 3 options

15 / 20

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

16 / 20

pg_catalog schema is used to store system catalog tables?

17 / 20

What is the default standard size for a fork file?

18 / 20

Each tablespaces can only be assigned for use by one database

19 / 20

To be able to restore data consistency, Postgres maintains

20 / 20

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

choose 2

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

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

2 / 10

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

3 / 10

Which of the below are valid Isolations Levels?

choose 2

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

The SQL standard specifies three isolation levels?

7 / 10

non-repeatable read anomaly occurs when?

8 / 10

A phantom read anomaly occurs when?

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

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

choose 3

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

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

2 / 10

The page header is located in the highest address?

3 / 10

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

4 / 10

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

5 / 10

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

6 / 10

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

7 / 10

Each page has a layer that usually consists of?

choose 2

8 / 10

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

9 / 10

Which 2 items does a Virtual XID consist of?

10 / 10

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

Your score is

0%