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. Tablespaces are used to define physical data layout?

2 / 20

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

3 / 20

3. Users should not modify the template0 database

4 / 20

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

5 / 20

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

6 / 20

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

7 / 20

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

8 / 20

8. Which of below are predefined schemas?

choose 2

9 / 20

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

10 / 20

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

11 / 20

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

12 / 20

12. Which 3 databases exist directly after cluster initialization?

choose 3 options

13 / 20

13. Which of below are predefined schemas?

choose 3

14 / 20

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

15 / 20

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

choose 3

16 / 20

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

17 / 20

17. What is the purpose of the template1 database?

18 / 20

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

19 / 20

19. What is the purpose of the visibility map?

20 / 20

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

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. What is the default Isolation Level?

3 / 10

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

4 / 10

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

5 / 10

5. Which parameters sets the database default isolation level?

6 / 10

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

Select more than 1 answer below:

7 / 10

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

choose 3

8 / 10

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

9 / 10

9. non-repeatable read anomaly occurs when?

10 / 10

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

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. What does an Item Pointer contain?

choose 3

2 / 10

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

3 / 10

3. Which function can we use to find the current transaction ID?

4 / 10

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

5 / 10

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

6 / 10

6. CLOG files are stored in which directory?

7 / 10

7. Information about subtransactions is stored under?

8 / 10

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

9 / 10

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

10 / 10

10. Page free space can often become fragmented?

Your score is

0%