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 uses a thread based process model?

2 / 20

2. How many files or forks on disk will a 10Mb table with no index have?

3 / 20

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

4 / 20

4. What is the purpose of wal writer?

5 / 20

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

6 / 20

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

7 / 20

7. Which of below are predefined schemas?

choose 2

8 / 20

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

9 / 20

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

10 / 20

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

11 / 20

11. Which 3 databases exist directly after cluster initialization?

choose 3 options

12 / 20

12. Files are logically split into pages?

13 / 20

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

14 / 20

14. Which fork keeps track of available space within pages?

15 / 20

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

choose 3

16 / 20

16. Users should not modify the template0 database

17 / 20

17. What is the point of the pg_global tablespace?

18 / 20

18. What is the purpose of the postgres database?

19 / 20

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

20 / 20

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

choose 2

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

3 / 10

3. Which of the below are valid Isolations Levels?

choose 2

4 / 10

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

5 / 10

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

6 / 10

6. non-repeatable read anomaly occurs when?

7 / 10

7. The SQL standard specifies three isolation levels?

8 / 10

8. A phantom read anomaly occurs when?

9 / 10

9. What is the default Isolation Level?

10 / 10

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

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. Each page has a layer that usually consists of?

choose 2

2 / 10

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

3 / 10

3. Information about subtransactions is stored under?

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

6 / 10

6. Tuples can also be referred to as columns?

7 / 10

7. What does an Item Pointer contain?

choose 3

8 / 10

8. Rows of TOAST tables are handled in such a way that they are never update?

9 / 10

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

10 / 10

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

Your score is

0%