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 column in system catalogs servers as the Primary Key

2 / 20

What is the purpose of the public schema?

3 / 20

The information_schema schema provides information on Postgres release notes?

4 / 20

Users should not modify the template0 database

5 / 20

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

6 / 20

Which fork contains the actual table data?

7 / 20

What is the purpose of autovacuum?

8 / 20

Tablespaces are used to define physical data layout?

9 / 20

Postgres by default has built in connection pooling abilities?

10 / 20

A single Postgres Instance can server only one database?

11 / 20

Each Database has its own System Catalog?

12 / 20

A schema can belong to more than one database?

13 / 20

System Catalog tables begin with which prefix?

14 / 20

It is the postmasters job to listener for incoming connections?

15 / 20

What is the default standard size for a fork file?

16 / 20

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

17 / 20

What is another name for the postgres process?

18 / 20

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

19 / 20

Which of below are predefined schemas?

choose 2

20 / 20

What is the point of the pg_global tablespace?

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 parameters sets the database default isolation level?

2 / 10

The SQL standard specifies three isolation levels?

3 / 10

Which of the below would best describe a dirty read?

4 / 10

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

choose 3

5 / 10

non-repeatable read anomaly occurs when?

6 / 10

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

Select more than 1 answer below:

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

What is the default Isolation Level?

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

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

2 / 10

Page free space can often become fragmented?

3 / 10

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

4 / 10

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

5 / 10

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

6 / 10

status of a subtransaction is written into CLOG?

7 / 10

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

8 / 10

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

9 / 10

Information about subtransactions is stored under?

10 / 10

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

Your score is

0%