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. The pg_default tablespace should never be used to create user tables?

2 / 20

2. What is a schema?

3 / 20

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

4 / 20

4. What is the purpose of the template0 database?

5 / 20

5. Which 3 databases exist directly after cluster initialization?

choose 3 options

6 / 20

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

7 / 20

7. What is another name for the postgres process?

8 / 20

8. System Catalog tables begin with which prefix?

9 / 20

9. What is the purpose of wal writer?

10 / 20

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

11 / 20

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

12 / 20

12. What is the purpose of the postgres database?

13 / 20

13. What is the point of the pg_global tablespace?

14 / 20

14. TOAST tables reside in a seperate schema?

15 / 20

15. A Postgres cluster consists of 2 or more physical servers accessing one Postgres Instance?

16 / 20

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

17 / 20

17. Tablespaces are used to define physical data layout?

18 / 20

18. What is the purpose of the template1 database?

19 / 20

19. What is the purpose of the public schema?

20 / 20

20. A single Postgres Instance can server only one database?

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 acronym used for the attributes that ensure Data consistency, integrity and durability?

2 / 10

2. non-repeatable read anomaly occurs when?

3 / 10

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

4 / 10

4. A phantom read anomaly occurs when?

5 / 10

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

choose 3

6 / 10

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

7 / 10

7. What are some of database features we can use to avoid a non repeatable read?

Select more than 1 answer below:

8 / 10

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

9 / 10

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

10 / 10

10. Which of the below are valid Isolations Levels?

choose 2

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. CLOG files are stored in which directory?

2 / 10

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

3 / 10

3. Information about subtransactions is stored under?

4 / 10

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

5 / 10

5. Rows of TOAST tables are handled in such a way that they are never update?

6 / 10

6. Each page has a layer that usually consists of?

choose 2

7 / 10

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

8 / 10

8. Tuples can also be referred to as columns?

9 / 10

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

10 / 10

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

Your score is

0%