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. What is the purpose of wal writer?

2 / 20

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

Choose 2 option

3 / 20

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

4 / 20

4. Which 3 databases exist directly after cluster initialization?

choose 3 options

5 / 20

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

6 / 20

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

7 / 20

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

choose 3

8 / 20

8. Postgres uses a thread based process model?

9 / 20

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

10 / 20

10. What is the purpose of the visibility map?

11 / 20

11. The default Page size is 2k?

12 / 20

12. Tablespaces can be used to segregate data based on performance needs?

13 / 20

13. Users should not modify the template0 database

14 / 20

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

15 / 20

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

16 / 20

16. Which of below are predefined schemas?

choose 2

17 / 20

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

18 / 20

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

19 / 20

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

20 / 20

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

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

2 / 10

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

3 / 10

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

4 / 10

4. A phantom read anomaly occurs when?

5 / 10

5. Snapshot isolation is preferred but increases the number of required locks?

6 / 10

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

7 / 10

7. Which of the below are valid Isolations Levels?

choose 2

8 / 10

8. What is the default Isolation Level?

9 / 10

9. non-repeatable read anomaly occurs when?

10 / 10

10. Which parameters sets the database 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. Postgres table physical data files are always cross compatible across platforms?

2 / 10

2. CLOG contains how many bits for each transaction?

3 / 10

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

choose 2

4 / 10

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

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

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

Your score is

0%