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. Which 3 databases exist directly after cluster initialization?

choose 3 options

2 / 20

2. Users should not modify the template0 database

3 / 20

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

4 / 20

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

5 / 20

5. What is the purpose of the template1 database?

6 / 20

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

7 / 20

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

8 / 20

8. Which of below are predefined schemas?

choose 3

9 / 20

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

Choose 2 option

10 / 20

10. What is the point of the pg_global tablespace?

11 / 20

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

12 / 20

12. What is another name for the postgres process?

13 / 20

13. pg_catalog schema is used to store system catalog tables?

14 / 20

14. Which of below are predefined schemas?

choose 2

15 / 20

15. What is the purpose of the template0 database?

16 / 20

16. Which fork is specific for unlogged tables?

17 / 20

17. What column in system catalogs servers as the Primary Key

18 / 20

18. Which fork contains the actual table data?

19 / 20

19. How many rows in a page does Postgres aim to have before considering TOAST?

20 / 20

20. Tablespaces can be used to segregate data based on performance needs?

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. What is the default Isolation Level?

2 / 10

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

choose 3

3 / 10

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

4 / 10

4. The SQL standard specifies three isolation levels?

5 / 10

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

6 / 10

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

7 / 10

7. non-repeatable read anomaly occurs when?

8 / 10

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

Select more than 1 answer below:

9 / 10

9. Which of the below are valid Isolations Levels?

choose 2

10 / 10

10. Which parameters sets the database 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

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

2 / 10

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

3 / 10

3. Tuples can also be referred to as columns?

4 / 10

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

5 / 10

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

6 / 10

6. What does an Item Pointer contain?

choose 3

7 / 10

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

8 / 10

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

9 / 10

9. Which of the below are true about a Pages Item Pointer?

10 / 10

10. status of a subtransaction is written into CLOG?

Your score is

0%