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. Which 3 databases exist directly after cluster initialization?

choose 3 options

2 / 20

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

3 / 20

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

4 / 20

4. TOAST tables reside in a seperate schema?

5 / 20

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

6 / 20

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

choose 2

7 / 20

7. What is the process first launched at server start?

8 / 20

8. What is the purpose of the postgres database?

9 / 20

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

10 / 20

10. Postgres uses a thread based process model?

11 / 20

11. Which of below are predefined schemas?

choose 3

12 / 20

12. Which of below are predefined schemas?

choose 2

13 / 20

13. What is a schema?

14 / 20

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

15 / 20

15. What is the purpose of wal writer?

16 / 20

16. What is the purpose of the public schema?

17 / 20

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

18 / 20

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

19 / 20

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

20 / 20

20. The default Page size is 2k?

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

2 / 10

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

3 / 10

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

4 / 10

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

choose 3

5 / 10

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

6 / 10

6. A phantom read anomaly occurs when?

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. The more locks a transaction acquires, the better it is isolated from other transactions?

9 / 10

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

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. Tuples can also be referred to as columns?

2 / 10

2. Page free space can often become fragmented?

3 / 10

3. If a transaction aborts, all page changes are reverted(rolled back) in place?

4 / 10

4. When a row is created, its xmin value is set to the transaction ID of which command?

5 / 10

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

6 / 10

6. Which 2 items does a Virtual XID consist of?

7 / 10

7. To identify different versions of one and the same row, PostgreSQL marks each of them with which two value?

8 / 10

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

9 / 10

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

choose 2

10 / 10

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

Your score is

0%