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. The default Page size is 2k?

2 / 20

2. Which fork is specific for unlogged tables?

3 / 20

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

choose 2

4 / 20

4. Users should not modify the template0 database

5 / 20

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

6 / 20

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

7 / 20

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

8 / 20

8. What is a schema?

9 / 20

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

10 / 20

10. TOAST tables reside in a seperate schema?

11 / 20

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

12 / 20

12. The information_schema schema provides information on Postgres release notes?

13 / 20

13. What is another name for the postgres process?

14 / 20

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

15 / 20

15. Each Database has its own System Catalog?

16 / 20

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

17 / 20

17. What is the purpose of the postgres database?

18 / 20

18. Some System Catalog tables are common to all databases in the cluster?

19 / 20

19. What is the purpose of autovacuum?

20 / 20

20. Which of below are predefined schemas?

choose 3

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 statements will start a transaction as Read Repeatable?

3 / 10

3. Based on Snapshot Isolation use of MVCC which of the below are permitted?

choose 3

4 / 10

4. A phantom read anomaly occurs when?

5 / 10

5. non-repeatable read anomaly occurs when?

6 / 10

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

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. What is the default Isolation Level?

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. Which 2 of the below represent transaction IDs used for row versioning?

2 / 10

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

choose 2

3 / 10

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

4 / 10

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

5 / 10

5. If a transaction is read only which kind of Transaction ID is it allocated?

6 / 10

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

7 / 10

7. a transaction containing a savepoint is will still be considered as only a single transaction?

8 / 10

8. Tuples can also be referred to as columns?

9 / 10

9. UPDATE can be regarded as which 2 separate operations?

10 / 10

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

Your score is

0%