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. What is the purpose of the template1 database?

2 / 20

2. Postgres uses a thread based process model?

3 / 20

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

4 / 20

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

5 / 20

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

6 / 20

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

7 / 20

7. What is the purpose of the visibility map?

8 / 20

8. Users should not modify the template0 database

9 / 20

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

10 / 20

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

11 / 20

11. What is the point of the pg_global tablespace?

12 / 20

12. Each tablespaces can only be assigned for use by one database

13 / 20

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

14 / 20

14. Which fork is specific for unlogged tables?

15 / 20

15. System Catalog tables begin with which prefix?

16 / 20

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

17 / 20

17. What is the purpose of the public schema?

18 / 20

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

choose 3

19 / 20

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

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

2 / 10

2. Which of the below are valid Isolations Levels?

choose 2

3 / 10

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

Select more than 1 answer below:

4 / 10

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

5 / 10

5. A phantom read anomaly occurs when?

6 / 10

6. What is the default Isolation Level?

7 / 10

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

8 / 10

8. The SQL standard specifies three isolation levels?

9 / 10

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

choose 3

10 / 10

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

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. To identify different versions of one and the same row, PostgreSQL marks each of them with which two value?

2 / 10

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

3 / 10

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

choose 2

4 / 10

4. Which 2 items does a Virtual XID consist of?

5 / 10

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

6 / 10

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

7 / 10

7. What does an Item Pointer contain?

choose 3

8 / 10

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

9 / 10

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

10 / 10

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

Your score is

0%