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 name of the directory that contains the files related to the Postgres cluster?

2 / 20

2. Which 3 databases exist directly after cluster initialization?

choose 3 options

3 / 20

3. The default Page size is 2k?

4 / 20

4. Which of below are predefined schemas?

choose 3

5 / 20

5. How many rows in a page does Postgres aim to have before considering TOAST?

6 / 20

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

7 / 20

7. What is the purpose of wal writer?

8 / 20

8. What is the purpose of the postgres database?

9 / 20

9. Each Database has its own System Catalog?

10 / 20

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

11 / 20

11. What is the purpose of autovacuum?

12 / 20

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

13 / 20

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

14 / 20

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

15 / 20

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

16 / 20

16. What is the point of the pg_global tablespace?

17 / 20

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

18 / 20

18. To understand each other, a client and a server must use one and the same interfacing protocol?

19 / 20

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

20 / 20

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

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. At any moment the database system can contain several versions of one and the same row?

2 / 10

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

3 / 10

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

4 / 10

4. The SQL standard specifies three isolation levels?

5 / 10

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

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

choose 2

8 / 10

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

Select more than 1 answer below:

9 / 10

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

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. When a transaction is committed Postgres uses a special <replace with answer> structure?

2 / 10

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

3 / 10

3. CLOG Pages are never cached in memory?

4 / 10

4. virtual IDs exist only in PGDATA/pg_vxid when not cached?

5 / 10

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

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. Which of the below are true about a Pages Item Pointer?

9 / 10

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

10 / 10

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

Your score is

0%