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. A Postgres cluster consists of 2 or more physical servers accessing one Postgres Instance?

2 / 20

2. Users should not modify the template0 database

3 / 20

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

4 / 20

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

5 / 20

5. What is the purpose of the template0 database?

6 / 20

6. What is the purpose of autovacuum?

7 / 20

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

choose 2

8 / 20

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

9 / 20

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

10 / 20

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

11 / 20

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

12 / 20

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

13 / 20

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

Choose 2 option

14 / 20

14. It is the postmasters job to listener for incoming connections?

15 / 20

15. Each Database has its own System Catalog?

16 / 20

16. Which of below are predefined schemas?

choose 3

17 / 20

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

18 / 20

18. What is a schema?

19 / 20

19. System Catalog tables begin with which prefix?

20 / 20

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

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. non-repeatable read anomaly occurs when?

2 / 10

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

3 / 10

3. The SQL standard specifies three isolation levels?

4 / 10

4. Which parameters sets the database default isolation level?

5 / 10

5. A phantom read anomaly occurs when?

6 / 10

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

7 / 10

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

8 / 10

8. Which of the below are valid Isolations Levels?

choose 2

9 / 10

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

choose 3

10 / 10

10. What is the default Isolation Level?

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. If a transaction is read only which kind of Transaction ID is it allocated?

2 / 10

2. CLOG contains how many bits for each transaction?

3 / 10

3. Which of the below are true about a Pages Item Pointer?

4 / 10

4. CLOG Pages are never cached in memory?

5 / 10

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

6 / 10

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

choose 2

7 / 10

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

8 / 10

8. What does an Item Pointer contain?

choose 3

9 / 10

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

10 / 10

10. In Postgres, tables are often referred to as which of the below?

Your score is

0%