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. Each Database has its own System Catalog?

2 / 20

2. What is the purpose of the template0 database?

3 / 20

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

4 / 20

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

5 / 20

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

6 / 20

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

7 / 20

7. Which 3 databases exist directly after cluster initialization?

choose 3 options

8 / 20

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

choose 3

9 / 20

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

10 / 20

10. Tablespaces are used to define physical data layout?

11 / 20

11. Which fork contains the actual table data?

12 / 20

12. System Catalog tables begin with which prefix?

13 / 20

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

14 / 20

14. Which fork is specific for unlogged tables?

15 / 20

15. What is the name of the directory that contains the files related to the Postgres cluster?

16 / 20

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

17 / 20

17. What is a schema?

18 / 20

18. What is the purpose of wal writer?

19 / 20

19. What is the purpose of the template1 database?

20 / 20

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

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. At any moment the database system can contain several versions of one and the same row?

3 / 10

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

4 / 10

4. A phantom read anomaly occurs when?

5 / 10

5. Which parameters sets the database default isolation level?

6 / 10

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

7 / 10

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

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. which of the below statements will start a transaction as Read Repeatable?

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. What does an Item Pointer contain?

choose 3

2 / 10

2. status of a subtransaction is written into CLOG?

3 / 10

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

4 / 10

4. Page header sizes can be easily displayed using the <choose from answers> extension

5 / 10

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

6 / 10

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

7 / 10

7. The page header stores checksum and the sizes of the other parts of the page?

8 / 10

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

9 / 10

9. CLOG Pages are never cached in memory?

10 / 10

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

Your score is

0%