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. To understand each other, a client and a server must use one and the same interfacing protocol?

2 / 20

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

3 / 20

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

4 / 20

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

5 / 20

5. What is the purpose of the postgres database?

6 / 20

6. What is the name of the directory that contains the files related to the Postgres cluster?

7 / 20

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

8 / 20

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

choose 2

9 / 20

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

10 / 20

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

11 / 20

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

choose 3

12 / 20

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

13 / 20

13. What is a schema?

14 / 20

14. Postgres uses a thread based process model?

15 / 20

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

16 / 20

16. Users should not modify the template0 database

17 / 20

17. Which fork is specific for unlogged tables?

18 / 20

18. TOAST tables reside in a seperate schema?

19 / 20

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

20 / 20

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

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 isolation level in theory could mean an application does not have to consider isolation anomalies?

2 / 10

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

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

5 / 10

5. A phantom read anomaly occurs when?

6 / 10

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

7 / 10

7. Which of the below would best describe a dirty read?

8 / 10

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

9 / 10

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

10 / 10

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

choose 3

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. status of a subtransaction is written into CLOG?

2 / 10

2. Page free space can often become fragmented?

3 / 10

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

4 / 10

4. CLOG files are stored in which directory?

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

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

choose 2

Your score is

0%