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. Users should not modify the template0 database

3 / 20

3. Which of below are predefined schemas?

choose 3

4 / 20

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

5 / 20

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

6 / 20

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

7 / 20

7. Postgres uses a thread based process model?

8 / 20

8. How many rows in a page does Postgres aim to have before considering TOAST?

9 / 20

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

10 / 20

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

11 / 20

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

12 / 20

12. Files are logically split into pages?

13 / 20

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

14 / 20

14. What is the purpose of the visibility map?

15 / 20

15. Tablespaces are used to define physical data layout?

16 / 20

16. What column in system catalogs servers as the Primary Key

17 / 20

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

Choose 2 option

18 / 20

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

19 / 20

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

choose 2

20 / 20

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

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. What is the default Isolation Level?

2 / 10

2. A phantom read anomaly occurs when?

3 / 10

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

4 / 10

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

5 / 10

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

choose 3

6 / 10

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

7 / 10

7. What is the acronym used for the attributes that ensure Data consistency, integrity and durability?

8 / 10

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

9 / 10

9. Which of the below are valid Isolations Levels?

choose 2

10 / 10

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

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 of the below are true about a Pages Item Pointer?

2 / 10

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

3 / 10

3. status of a subtransaction is written into CLOG?

4 / 10

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

5 / 10

5. Information about subtransactions is stored under?

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

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

Your score is

0%