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. Postgres by default has built in connection pooling abilities?

2 / 20

2. System Catalog tables begin with which prefix?

3 / 20

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

choose 2

4 / 20

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

5 / 20

5. What is the purpose of the template0 database?

6 / 20

6. Users should not modify the template0 database

7 / 20

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

Choose 2 option

8 / 20

8. What is the purpose of the template1 database?

9 / 20

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

10 / 20

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

11 / 20

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

12 / 20

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

13 / 20

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

14 / 20

14. What is another name for the postgres process?

15 / 20

15. Files are logically split into pages?

16 / 20

16. Postgres uses a thread based process model?

17 / 20

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

18 / 20

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

19 / 20

19. What is the point of the pg_global tablespace?

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. The SQL standard specifies three isolation levels?

3 / 10

3. Which of the below are valid Isolations Levels?

choose 2

4 / 10

4. What is the default Isolation Level?

5 / 10

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

Select more than 1 answer below:

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

10. non-repeatable read anomaly occurs when?

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 function can we use to find the current transaction ID?

2 / 10

2. What does an Item Pointer contain?

choose 3

3 / 10

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

4 / 10

4. Tuples can also be referred to as columns?

5 / 10

5. index row headers like table row headers contain xmin and xmax fields?

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

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

choose 2

10 / 10

10. psql provides a special mode that allows you to continue a transaction after a failure?

Your score is

0%