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 purpose of the template0 database?

2 / 20

2. What is the point of the pg_global tablespace?

3 / 20

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

Choose 2 option

4 / 20

4. Tablespaces are used to define physical data layout?

5 / 20

5. Postgres uses a thread based process model?

6 / 20

6. What is the purpose of the template1 database?

7 / 20

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

8 / 20

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

9 / 20

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

10 / 20

10. The default Page size is 2k?

11 / 20

11. Which of below are predefined schemas?

choose 3

12 / 20

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

13 / 20

13. What command is used to create the Postgres cluster?

14 / 20

14. What is the purpose of wal writer?

15 / 20

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

16 / 20

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

17 / 20

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

18 / 20

18. TOAST tables reside in a seperate schema?

19 / 20

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

20 / 20

20. Users should not modify the template0 database

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. Lost updates are forbidden by the standard at all isolation levels?

2 / 10

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

3 / 10

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

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

6 / 10

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

7 / 10

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

8 / 10

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

choose 3

9 / 10

9. A phantom read anomaly occurs when?

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. Which of the below are true about a Pages Item Pointer?

2 / 10

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

3 / 10

3. Information about subtransactions is stored under?

4 / 10

4. What does an Item Pointer contain?

choose 3

5 / 10

5. CLOG files are stored in which directory?

6 / 10

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

7 / 10

7. The page Special Space is located at the start of the page with highest address

8 / 10

8. CLOG contains how many bits for each transaction?

9 / 10

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

10 / 10

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

Your score is

0%