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

1. System Catalog tables begin with which prefix?

2 / 20

2. What is the process first launched at server start?

3 / 20

3. Users should not modify the template0 database

4 / 20

4. What is the purpose of wal writer?

5 / 20

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

6 / 20

6. Which of below are predefined schemas?

choose 2

7 / 20

7. Which of below are predefined schemas?

choose 3

8 / 20

8. It is the postmasters job to listener for incoming connections?

9 / 20

9. What is the purpose of the template0 database?

10 / 20

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

11 / 20

11. What is a schema?

12 / 20

12. To be able to restore data consistency, Postgres maintains

13 / 20

13. What is the purpose of the visibility map?

14 / 20

14. Which fork keeps track of available space within pages?

15 / 20

15. Postgres server spawns a new backend session for each connection?

16 / 20

16. Each Database has its own System Catalog?

17 / 20

17. What is another name for the postgres process?

18 / 20

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

19 / 20

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

20 / 20

20. A single Postgres Instance can server only one database?

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

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

choose 3

2 / 10

2. The SQL standard specifies three isolation levels?

3 / 10

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

4 / 10

4. A phantom read anomaly occurs when?

5 / 10

5. Which parameters sets the database default isolation level?

6 / 10

6. Which of the below are valid Isolations Levels?

choose 2

7 / 10

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

8 / 10

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

9 / 10

9. What is the default Isolation Level?

10 / 10

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

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

1. UPDATE can be regarded as which 2 separate operations?

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

5. CLOG files are stored in which directory?

6 / 10

6. CLOG contains how many bits for each transaction?

7 / 10

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

8 / 10

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

9 / 10

9. The page header is located in the highest address?

10 / 10

10. Page free space can often become fragmented?

Your score is

0%