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 fork is specific for unlogged tables?

2 / 20

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

3 / 20

3. What is the purpose of wal writer?

4 / 20

4. Each Database has its own System Catalog?

5 / 20

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

Choose 2 option

6 / 20

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

7 / 20

7. What is a schema?

8 / 20

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

9 / 20

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

10 / 20

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

11 / 20

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

12 / 20

12. What is the purpose of autovacuum?

13 / 20

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

14 / 20

14. Postgres uses a thread based process model?

15 / 20

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

16 / 20

16. What is the purpose of the postgres database?

17 / 20

17. Which of below are predefined schemas?

choose 3

18 / 20

18. Which 3 databases exist directly after cluster initialization?

choose 3 options

19 / 20

19. Users should not modify the template0 database

20 / 20

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

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. A phantom read anomaly occurs when?

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

5. What is the acronym used for the attributes that ensure Data consistency, integrity and durability?

6 / 10

6. What is the 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. Based on Snapshot Isolation use of MVCC which of the below are permitted?

choose 3

9 / 10

9. Which parameters sets the database default isolation level?

10 / 10

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

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. Indexes values also support multi versioning with several versions of an index value existing at any point in time?

2 / 10

2. Tuples can also be referred to as columns?

3 / 10

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

4 / 10

4. CLOG files are stored in which directory?

5 / 10

5. CLOG Pages are never cached in memory?

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. 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. CLOG contains how many bits for each transaction?

10 / 10

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

Your score is

0%