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 template0 database?

2 / 20

2. What is the name of the mechanism used to store a row bigger than a page size?

3 / 20

3. How does Postgres know which schema to use if not specified?

4 / 20

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

5 / 20

5. Which fork contains the actual table data?

6 / 20

6. Users should not modify the template0 database

7 / 20

7. Which fork is specific for unlogged tables?

8 / 20

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

9 / 20

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

10 / 20

10. What is the purpose of the template1 database?

11 / 20

11. What is the purpose of the postgres database?

12 / 20

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

13 / 20

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

14 / 20

14. Files are logically split into pages?

15 / 20

15. Which of below are predefined schemas?

choose 3

16 / 20

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

17 / 20

17. The default Page size is 2k?

18 / 20

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

19 / 20

19. Postgres uses a thread based process model?

20 / 20

20. Which 3 databases exist directly after cluster initialization?

choose 3 options

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 default Isolation Level?

2 / 10

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

3 / 10

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

4 / 10

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

Select more than 1 answer below:

5 / 10

5. A phantom read anomaly occurs when?

6 / 10

6. Which parameters sets the database default isolation level?

7 / 10

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

8 / 10

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

9 / 10

9. Which of the below are valid Isolations Levels?

choose 2

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. Information about subtransactions is stored under?

2 / 10

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

3 / 10

3. indexes do not use row versioning?

4 / 10

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

5 / 10

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

6 / 10

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

7 / 10

7. Indexes values also support multi versioning with several versions of an index value existing at any point in time?

8 / 10

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

9 / 10

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

10 / 10

10. When a transaction is committed Postgres uses a special <replace with answer> structure?

Your score is

0%