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. To be able to restore data consistency, Postgres maintains

2 / 20

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

3 / 20

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

4 / 20

4. Which of below are predefined schemas?

choose 2

5 / 20

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

6 / 20

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

7 / 20

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

8 / 20

8. What is the name of the 2 default tablespaces created after initialization?

choose 2

9 / 20

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

10 / 20

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

11 / 20

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

12 / 20

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

choose 3

13 / 20

13. Users should not modify the template0 database

14 / 20

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

Choose 2 option

15 / 20

15. Each Database has its own System Catalog?

16 / 20

16. What is the name of the system catalog table for relations?

17 / 20

17. Which fork is specific for unlogged tables?

18 / 20

18. Some System Catalog tables are common to all databases in the cluster?

19 / 20

19. What is the purpose of autovacuum?

20 / 20

20. What is the name of the mechanism used to store a row bigger than a page size?

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

4 / 10

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

5 / 10

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

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. Based on Snapshot Isolation use of MVCC which of the below are permitted?

choose 3

9 / 10

9. What is the default Isolation Level?

10 / 10

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

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

2 / 10

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

3 / 10

3. CLOG Pages are never cached in memory?

4 / 10

4. a transaction containing a savepoint is will still be considered as only a single transaction?

5 / 10

5. The page header is located in the highest address?

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

10. Postgres table physical data files are always cross compatible across platforms?

Your score is

0%