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

2 / 20

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

3 / 20

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

4 / 20

4. What is the purpose of the template1 database?

5 / 20

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

6 / 20

6. What is the purpose of the visibility map?

7 / 20

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

choose 2

8 / 20

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

9 / 20

9. What is the purpose of autovacuum?

10 / 20

10. Each tablespaces can only be assigned for use by one database

11 / 20

11. The default Page size is 2k?

12 / 20

12. Each Database has its own System Catalog?

13 / 20

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

14 / 20

14. What is the point of the pg_global tablespace?

15 / 20

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

16 / 20

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

Choose 2 option

17 / 20

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

18 / 20

18. What is the purpose of the template0 database?

19 / 20

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

20 / 20

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

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. Data Consistency is best handled at the application layer rather than at the database layer?

3 / 10

3. The SQL standard specifies three isolation levels?

4 / 10

4. A phantom read anomaly occurs when?

5 / 10

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

6 / 10

6. Which parameters sets the database default isolation level?

7 / 10

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

Select more than 1 answer below:

8 / 10

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

9 / 10

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

10 / 10

10. non-repeatable read anomaly occurs when?

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. Which 2 items does a Virtual XID consist of?

2 / 10

2. What does an Item Pointer contain?

choose 3

3 / 10

3. Page free space can often become fragmented?

4 / 10

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

5 / 10

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

6 / 10

6. Tuples can also be referred to as columns?

7 / 10

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

8 / 10

8. CLOG contains how many bits for each transaction?

9 / 10

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

10 / 10

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

Your score is

0%