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. Postgres server spawns a new backend session for each connection?

2 / 20

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

3 / 20

3. System Catalog tables begin with which prefix?

4 / 20

4. What 3 files/forks as a minimum make up a table on disk?

5 / 20

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

6 / 20

6. Tablespaces are used to define physical data layout?

7 / 20

7. The pg_default tablespace should never be used to create user tables?

8 / 20

8. What is another name for the postgres process?

9 / 20

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

10 / 20

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

11 / 20

11. Which of below are predefined schemas?

choose 3

12 / 20

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

13 / 20

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

14 / 20

14. Users should not modify the template0 database

15 / 20

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

16 / 20

16. Which of the below objects can be referred to as relations?

choose 3

17 / 20

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

18 / 20

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

19 / 20

19. What is the purpose of the template1 database?

20 / 20

20. TOAST tables reside in a seperate schema?

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

2 / 10

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

3 / 10

3. A phantom read anomaly occurs when?

4 / 10

4. Which parameters sets the database default isolation level?

5 / 10

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

6 / 10

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

7 / 10

7. At any moment the database system can contain several versions of one and the same row?

8 / 10

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

9 / 10

9. Which of the below are valid Isolations Levels?

choose 2

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

2 / 10

2. at any one time Postgres can have several versions of a row?

3 / 10

3. status of a subtransaction is written into CLOG?

4 / 10

4. Page free space can often become fragmented?

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

8. CLOG files are stored in which directory?

9 / 10

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

10 / 10

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

Your score is

0%