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. A single Postgres Instance can server only one database?

2 / 20

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

3 / 20

3. Which 3 databases exist directly after cluster initialization?

choose 3 options

4 / 20

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

5 / 20

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

6 / 20

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

7 / 20

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

8 / 20

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

9 / 20

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

10 / 20

10. The information_schema schema provides information on Postgres release notes?

11 / 20

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

12 / 20

12. Postgres uses a thread based process model?

13 / 20

13. What is the purpose of the template0 database?

14 / 20

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

15 / 20

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

16 / 20

16. Each Database has its own System Catalog?

17 / 20

17. Users should not modify the template0 database

18 / 20

18. Files are logically split into pages?

19 / 20

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

20 / 20

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

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 would best describe a dirty read?

2 / 10

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

3 / 10

3. non-repeatable read anomaly occurs when?

4 / 10

4. Which of the below are valid Isolations Levels?

choose 2

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

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

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. What is the 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. Indexes values also support multi versioning with several versions of an index value existing at any point in time?

2 / 10

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

3 / 10

3. status of a subtransaction is written into CLOG?

4 / 10

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

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

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

Your score is

0%