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. Which of the below objects can be referred to as relations?

choose 3

2 / 20

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

3 / 20

3. What is the purpose of the template0 database?

4 / 20

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

5 / 20

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

6 / 20

6. Each Database has its own System Catalog?

7 / 20

7. Postgres uses a thread based process model?

8 / 20

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

9 / 20

9. To understand each other, a client and a server must use one and the same interfacing protocol?

10 / 20

10. What is another name for the postgres process?

11 / 20

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

12 / 20

12. What is the purpose of autovacuum?

13 / 20

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

14 / 20

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

15 / 20

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

Choose 2 option

16 / 20

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

17 / 20

17. Which fork contains the actual table data?

18 / 20

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

19 / 20

19. What is the point of the pg_global tablespace?

20 / 20

20. Tablespaces are used to define physical data layout?

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. A phantom read anomaly occurs when?

3 / 10

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

4 / 10

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

5 / 10

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

6 / 10

6. The SQL standard specifies three isolation levels?

7 / 10

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

8 / 10

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

9 / 10

9. Which of the below are valid Isolations Levels?

choose 2

10 / 10

10. Which parameters sets the database default isolation level?

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. CLOG files are stored in which directory?

2 / 10

2. When a row is created, its xmin value is set to the transaction ID of which command?

3 / 10

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

4 / 10

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

5 / 10

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

6 / 10

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

7 / 10

7. Tuples can also be referred to as columns?

8 / 10

8. What does an Item Pointer contain?

choose 3

9 / 10

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

10 / 10

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

Your score is

0%