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. How does Postgres know which schema to use if not specified?

2 / 20

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

3 / 20

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

4 / 20

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

5 / 20

5. Users should not modify the template0 database

6 / 20

6. What is the purpose of the postgres database?

7 / 20

7. The default Page size is 2k?

8 / 20

8. TOAST tables reside in a seperate schema?

9 / 20

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

10 / 20

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

choose 3

11 / 20

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

Choose 2 option

12 / 20

12. Tablespaces are used to define physical data layout?

13 / 20

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

14 / 20

14. Which of below are predefined schemas?

choose 2

15 / 20

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

16 / 20

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

17 / 20

17. What is another name for the postgres process?

18 / 20

18. What is a schema?

19 / 20

19. System Catalog tables begin with which prefix?

20 / 20

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

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. Which of the below are valid Isolations Levels?

choose 2

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

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

choose 3

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

9. What is the default Isolation Level?

10 / 10

10. Lost updates are forbidden by the standard at all isolation levels?

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. The page Special Space is located at the start of the page with highest address

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

5. at any one time Postgres can have several versions of a row?

6 / 10

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

7 / 10

7. virtual IDs exist only in PGDATA/pg_vxid when not cached?

8 / 10

8. Page free space can often become fragmented?

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. Which 2 items does a Virtual XID consist of?

Your score is

0%