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. Tablespaces are used to define physical data layout?

2 / 20

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

3 / 20

3. Which fork contains the actual table data?

4 / 20

4. The default Page size is 2k?

5 / 20

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

6 / 20

6. What is the purpose of the visibility map?

7 / 20

7. What is the purpose of the template1 database?

8 / 20

8. Who is the Author of the Postgres 14 Internals book?

9 / 20

9. What 3 files/forks as a minimum make up a table on disk?

10 / 20

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

11 / 20

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

12 / 20

12. Which of below are predefined schemas?

choose 2

13 / 20

13. What is the purpose of the template0 database?

14 / 20

14. pg_catalog schema is used to store system catalog tables?

15 / 20

15. What is the name of the catalog that stores metadata for all cluster objects?

16 / 20

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

Choose 2 option

17 / 20

17. What is the purpose of autovacuum?

18 / 20

18. What is a schema?

19 / 20

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

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 of the below would best describe a dirty read?

2 / 10

2. Which of the below are valid Isolations Levels?

choose 2

3 / 10

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

4 / 10

4. A phantom read anomaly occurs when?

5 / 10

5. Which parameters sets the database default isolation level?

6 / 10

6. Data Consistency is best handled at the application layer rather than at the database layer?

7 / 10

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

8 / 10

8. The SQL standard specifies three isolation levels?

9 / 10

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

Select more than 1 answer below:

10 / 10

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

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. a transaction containing a savepoint is will still be considered as only a single transaction?

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

5. The page header stores checksum and the sizes of the other parts of the page?

6 / 10

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

7 / 10

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

choose 2

8 / 10

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

9 / 10

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

10 / 10

10. What does an Item Pointer contain?

choose 3

Your score is

0%