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 command is used to create the Postgres cluster?

2 / 20

2. What is the purpose of wal writer?

3 / 20

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

4 / 20

4. What is the purpose of the public schema?

5 / 20

5. Which of below are predefined schemas?

choose 2

6 / 20

6. Which fork is specific for unlogged tables?

7 / 20

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

8 / 20

8. Which fork contains the actual table data?

9 / 20

9. Tablespaces are used to define physical data layout?

10 / 20

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

11 / 20

11. What is the default standard size for a fork file?

12 / 20

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

13 / 20

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

14 / 20

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

15 / 20

15. TOAST tables reside in a seperate schema?

16 / 20

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

choose 2

17 / 20

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

18 / 20

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

19 / 20

19. Users should not modify the template0 database

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 of the below are valid Isolations Levels?

choose 2

2 / 10

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

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. Lost updates are forbidden by the standard at all isolation levels?

6 / 10

6. Which parameters sets the database default isolation level?

7 / 10

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

8 / 10

8. non-repeatable read anomaly occurs when?

9 / 10

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

10 / 10

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

Select more than 1 answer below:

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. If a transaction is read only which kind of Transaction ID is it allocated?

3 / 10

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

4 / 10

4. A page along with its tuples is read into the buffer cache with compression transformations to enhance cache efficiency?

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

8. Tuples can also be referred to as columns?

9 / 10

9. Page header sizes can be easily displayed using the <choose from answers> extension

10 / 10

10. What does an Item Pointer contain?

choose 3

Your score is

0%