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 of below are predefined schemas?

choose 3

2 / 20

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

3 / 20

3. Which of below are predefined schemas?

choose 2

4 / 20

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

5 / 20

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

6 / 20

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

7 / 20

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

8 / 20

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

9 / 20

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

10 / 20

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

11 / 20

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

12 / 20

12. What is the purpose of the public schema?

13 / 20

13. Users should not modify the template0 database

14 / 20

14. What is the purpose of the template1 database?

15 / 20

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

16 / 20

16. Which fork is specific for unlogged tables?

17 / 20

17. What is the purpose of autovacuum?

18 / 20

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

19 / 20

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

20 / 20

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

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 parameters sets the database default isolation level?

2 / 10

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

Select more than 1 answer below:

3 / 10

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

4 / 10

4. A phantom read anomaly occurs when?

5 / 10

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

6 / 10

6. What is the default Isolation Level?

7 / 10

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

8 / 10

8. The SQL standard specifies three isolation levels?

9 / 10

9. non-repeatable read anomaly occurs when?

10 / 10

10. Based on Snapshot Isolation use of MVCC which of the below are permitted?

choose 3

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. If a transaction aborts, all page changes are reverted(rolled back) in place?

2 / 10

2. Page header sizes can be easily displayed using the <choose from answers> extension

3 / 10

3. When a transaction is committed Postgres uses a special <replace with answer> structure?

4 / 10

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

5 / 10

5. When a row is created, its xmin value is set to the transaction ID of which command?

6 / 10

6. To identify different versions of one and the same row, PostgreSQL marks each of them with which two value?

7 / 10

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

8 / 10

8. CLOG contains how many bits for each transaction?

9 / 10

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

10 / 10

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

Your score is

0%