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. Users should not modify the template0 database

2 / 20

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

choose 3

3 / 20

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

Choose 2 option

4 / 20

4. TOAST tables reside in a seperate schema?

5 / 20

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

6 / 20

6. Postgres uses a thread based process model?

7 / 20

7. Which of below are predefined schemas?

choose 3

8 / 20

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

9 / 20

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

10 / 20

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

11 / 20

11. What is the purpose of the public schema?

12 / 20

12. Postgres by default has built in connection pooling abilities?

13 / 20

13. What is the point of the pg_global tablespace?

14 / 20

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

15 / 20

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

16 / 20

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

17 / 20

17. Each tablespaces can only be assigned for use by one database

18 / 20

18. Which 3 databases exist directly after cluster initialization?

choose 3 options

19 / 20

19. What is the purpose of the postgres database?

20 / 20

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

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. non-repeatable read anomaly occurs when?

3 / 10

3. A phantom read anomaly occurs when?

4 / 10

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

5 / 10

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

6 / 10

6. Which parameters sets the database default isolation level?

7 / 10

7. Which of the below would best describe a dirty read?

8 / 10

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

9 / 10

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

choose 3

10 / 10

10. Which of the below are valid Isolations Levels?

choose 2

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. psql provides a special mode that allows you to continue a transaction after a failure?

3 / 10

3. status of a subtransaction is written into CLOG?

4 / 10

4. Which 2 items does a Virtual XID consist of?

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

8. Rows of TOAST tables are handled in such a way that they are never update?

9 / 10

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

10 / 10

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

Your score is

0%