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

Which of below are predefined schemas?

choose 3

2 / 20

Which fork contains the actual table data?

3 / 20

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

4 / 20

Users should not modify the template0 database

5 / 20

What is the point of the pg_global tablespace?

6 / 20

What is another name for the postgres process?

7 / 20

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

8 / 20

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

9 / 20

pg_catalog schema is used to store system catalog tables?

10 / 20

A single Postgres Instance can server only one database?

11 / 20

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

12 / 20

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

13 / 20

What 3 files/forks as a minimum make up a table on disk?

14 / 20

Each tablespaces can only be assigned for use by one database

15 / 20

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

choose 3

16 / 20

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

Choose 2 option

17 / 20

The default Page size is 2k?

18 / 20

Each Database has its own System Catalog?

19 / 20

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

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

The SQL standard specifies three isolation levels?

2 / 10

Which of the below are valid Isolations Levels?

choose 2

3 / 10

A phantom read anomaly occurs when?

4 / 10

Which of the below would best describe a dirty read?

5 / 10

non-repeatable read anomaly occurs when?

6 / 10

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

7 / 10

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

Select more than 1 answer below:

8 / 10

Which parameters sets the database default isolation level?

9 / 10

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

10 / 10

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

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 Special Space is located at the start of the page with highest address

2 / 10

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

3 / 10

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

4 / 10

Which 2 of the below represent transaction IDs used for row versioning?

5 / 10

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

6 / 10

status of a subtransaction is written into CLOG?

7 / 10

The page header stores checksum and the sizes of the other parts of the page?

8 / 10

In Postgres, tables are often referred to as which of the below?

9 / 10

If a transaction is read only which kind of Transaction ID is it allocated?

10 / 10

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

Your score is

0%