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 template1 database?

2 / 20

2. What is the purpose of the template0 database?

3 / 20

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

4 / 20

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

5 / 20

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

6 / 20

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

7 / 20

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

8 / 20

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

9 / 20

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

10 / 20

10. System Catalog tables begin with which prefix?

11 / 20

11. TOAST tables reside in a seperate schema?

12 / 20

12. What is the purpose of autovacuum?

13 / 20

13. Which of below are predefined schemas?

choose 2

14 / 20

14. Files are logically split into pages?

15 / 20

15. Users should not modify the template0 database

16 / 20

16. What is the purpose of the visibility map?

17 / 20

17. Which fork is specific for unlogged tables?

18 / 20

18. Which of below are predefined schemas?

choose 3

19 / 20

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

20 / 20

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

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. Snapshot isolation is preferred but increases the number of required locks?

3 / 10

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

choose 3

4 / 10

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

5 / 10

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

6 / 10

6. Which parameters sets the database default isolation level?

7 / 10

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

8 / 10

8. What is the default Isolation Level?

9 / 10

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

Select more than 1 answer below:

10 / 10

10. A phantom 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. Postgres table physical data files are always cross compatible across platforms?

2 / 10

2. Which function can we use to find the current transaction ID?

3 / 10

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

4 / 10

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

5 / 10

5. Indexes values also support multi versioning with several versions of an index value existing at any point in time?

6 / 10

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

7 / 10

7. CLOG Pages are never cached in memory?

8 / 10

8. CLOG contains how many bits for each transaction?

9 / 10

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

10 / 10

10. CLOG files are stored in which directory?

Your score is

0%