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

Each Database has its own System Catalog?

3 / 20

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

4 / 20

What is the purpose of the template0 database?

5 / 20

What command is used to create the Postgres cluster?

6 / 20

What is the default standard size for a fork file?

7 / 20

Which fork is specific for unlogged tables?

8 / 20

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

9 / 20

What is the purpose of the visibility map?

10 / 20

Postgres server spawns a new backend session for each connection?

11 / 20

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

12 / 20

pg_catalog schema is used to store system catalog tables?

13 / 20

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

choose 2

14 / 20

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

15 / 20

How many files or forks on disk will a 10Mb table with no index have?

16 / 20

What is a schema?

17 / 20

What is the purpose of the template1 database?

18 / 20

Tablespaces are used to define physical data layout?

19 / 20

What column in system catalogs servers as the Primary Key

20 / 20

What is the process first launched at server start?

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

Which of the below are valid Isolations Levels?

choose 2

2 / 10

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

3 / 10

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

Select more than 1 answer below:

4 / 10

Which parameters sets the database default isolation level?

5 / 10

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

choose 3

6 / 10

The SQL standard specifies three isolation levels?

7 / 10

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

8 / 10

What is the default Isolation Level?

9 / 10

non-repeatable read anomaly occurs when?

10 / 10

Which of the below would best describe a dirty read?

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

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

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

CLOG Pages are never cached in memory?

6 / 10

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

7 / 10

Which 2 items does a Virtual XID consist of?

8 / 10

CLOG files are stored in which directory?

9 / 10

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

10 / 10

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

Your score is

0%