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. Each tablespaces can only be assigned for use by one database

2 / 20

2. What is the purpose of the visibility map?

3 / 20

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

4 / 20

4. A schema can belong to more than one database?

5 / 20

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

6 / 20

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

7 / 20

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

8 / 20

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

9 / 20

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

10 / 20

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

11 / 20

11. Which 3 databases exist directly after cluster initialization?

choose 3 options

12 / 20

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

13 / 20

13. What is the purpose of wal writer?

14 / 20

14. Which fork contains the actual table data?

15 / 20

15. System Catalog tables begin with which prefix?

16 / 20

16. Who is the Author of the Postgres 14 Internals book?

17 / 20

17. What is the purpose of the public schema?

18 / 20

18. Postgres uses a thread based process model?

19 / 20

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

20 / 20

20. Which fork is specific for unlogged tables?

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. What is the acronym used for the attributes that ensure Data consistency, integrity and durability?

3 / 10

3. At any moment the database system can contain several versions of one and the same row?

4 / 10

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

Select more than 1 answer below:

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 are valid Isolations Levels?

choose 2

7 / 10

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

8 / 10

8. Which parameters sets the database default isolation level?

9 / 10

9. A phantom read anomaly occurs when?

10 / 10

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

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 do not use row versioning?

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

5. Page free space can often become fragmented?

6 / 10

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

7 / 10

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

8 / 10

8. Each page has a layer that usually consists of?

choose 2

9 / 10

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

10 / 10

10. Tuples can also be referred to as columns?

Your score is

0%