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. Postgres by default has built in connection pooling abilities?

3 / 20

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

choose 2

4 / 20

4. What is the point of the pg_global tablespace?

5 / 20

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

6 / 20

6. System Catalog tables begin with which prefix?

7 / 20

7. The default Page size is 2k?

8 / 20

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

9 / 20

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

10 / 20

10. Tablespaces are used to define physical data layout?

11 / 20

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

12 / 20

12. What is the purpose of the template1 database?

13 / 20

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

14 / 20

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

15 / 20

15. Users should not modify the template0 database

16 / 20

16. What is the name of the system catalog table for relations?

17 / 20

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

18 / 20

18. Who is the Author of the Postgres 14 Internals book?

19 / 20

19. Postgres server spawns a new backend session for each connection?

20 / 20

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

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 are valid Isolations Levels?

choose 2

2 / 10

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

3 / 10

3. Which parameters sets the database default isolation level?

4 / 10

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

5 / 10

5. What is the default Isolation Level?

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

9. What are some of database features we can use to avoid a non repeatable read?

Select more than 1 answer below:

10 / 10

10. A phantom 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. A page along with its tuples is read into the buffer cache with compression transformations to enhance cache efficiency?

2 / 10

2. index row headers like table row headers contain xmin and xmax fields?

3 / 10

3. Page free space can often become fragmented?

4 / 10

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

5 / 10

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

choose 2

6 / 10

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

7 / 10

7. status of a subtransaction is written into CLOG?

8 / 10

8. Postgres table physical data files are always cross compatible across platforms?

9 / 10

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

10 / 10

10. Rows of TOAST tables are handled in such a way that they are never update?

Your score is

0%