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. What is the name of the catalog that stores metadata for all cluster objects?

2 / 20

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

3 / 20

3. Which of below are predefined schemas?

choose 2

4 / 20

4. What is the purpose of the public schema?

5 / 20

5. Tablespaces are used to define physical data layout?

6 / 20

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

7 / 20

7. What is the purpose of the template0 database?

8 / 20

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

9 / 20

9. Postgres uses a thread based process model?

10 / 20

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

11 / 20

11. TOAST tables reside in a seperate schema?

12 / 20

12. What is the default standard size for a fork file?

13 / 20

13. What is a schema?

14 / 20

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

Choose 2 option

15 / 20

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

choose 3

16 / 20

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

17 / 20

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

18 / 20

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

19 / 20

19. Which 3 databases exist directly after cluster initialization?

choose 3 options

20 / 20

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

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. Data Consistency is best handled at the application layer rather than at the database layer?

2 / 10

2. A phantom read anomaly occurs when?

3 / 10

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

choose 3

4 / 10

4. The SQL standard specifies three isolation levels?

5 / 10

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

6 / 10

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

7 / 10

7. Which parameters sets the database default isolation level?

8 / 10

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

9 / 10

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

10 / 10

10. non-repeatable read anomaly occurs when?

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. Each page has a layer that usually consists of?

choose 2

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

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

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. What does an Item Pointer contain?

choose 3

9 / 10

9. Tuples can also be referred to as columns?

10 / 10

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

Your score is

0%