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 tablespaces can only be assigned for use by one database

2 / 20

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

3 / 20

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

choose 3

4 / 20

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

5 / 20

5. Tablespaces are used to define physical data layout?

6 / 20

6. What is the purpose of the postgres database?

7 / 20

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

8 / 20

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

9 / 20

9. System Catalog tables begin with which prefix?

10 / 20

10. Which of below are predefined schemas?

choose 3

11 / 20

11. Each Database has its own System Catalog?

12 / 20

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

13 / 20

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

14 / 20

14. What is the purpose of the template0 database?

15 / 20

15. What is the purpose of wal writer?

16 / 20

16. Which of below are predefined schemas?

choose 2

17 / 20

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

18 / 20

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

19 / 20

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

20 / 20

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

choose 2

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 parameters sets the database default isolation level?

2 / 10

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

3 / 10

3. At any moment the database system can contain several versions of one and the same row?

4 / 10

4. The SQL standard specifies three isolation levels?

5 / 10

5. What is the default Isolation Level?

6 / 10

6. non-repeatable read anomaly occurs when?

7 / 10

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

8 / 10

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

9 / 10

9. A phantom read anomaly occurs when?

10 / 10

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

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. Tuples can also be referred to as columns?

3 / 10

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

4 / 10

4. CLOG files are stored in which directory?

5 / 10

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

6 / 10

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

7 / 10

7. When a transaction is committed Postgres uses a special <replace with answer> structure?

8 / 10

8. Page free space can often become fragmented?

9 / 10

9. CLOG Pages are never cached in memory?

10 / 10

10. What does an Item Pointer contain?

choose 3

Your score is

0%