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. Each Database has its own System Catalog?

2 / 20

2. The default Page size is 2k?

3 / 20

3. System Catalog tables begin with which prefix?

4 / 20

4. What is the purpose of autovacuum?

5 / 20

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

6 / 20

6. Which fork contains the actual table data?

7 / 20

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

8 / 20

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

9 / 20

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

10 / 20

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

11 / 20

11. What is the purpose of the visibility map?

12 / 20

12. What is the purpose of the template1 database?

13 / 20

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

14 / 20

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

choose 3

15 / 20

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

16 / 20

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

17 / 20

17. Users should not modify the template0 database

18 / 20

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

19 / 20

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

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 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 would best describe a dirty read?

4 / 10

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

choose 3

5 / 10

5. Which of the below are valid Isolations Levels?

choose 2

6 / 10

6. A phantom read anomaly occurs when?

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

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

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. Information about subtransactions is stored under?

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. virtual IDs exist only in PGDATA/pg_vxid when not cached?

5 / 10

5. psql provides a special mode that allows you to continue a transaction after a failure?

6 / 10

6. If a transaction aborts, all page changes are reverted(rolled back) in place?

7 / 10

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

8 / 10

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

9 / 10

9. indexes do not use row versioning?

10 / 10

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

Your score is

0%